chore: upgrade node to 12.6.0 (#19312)

This commit is contained in:
Samuel Attard 2019-07-17 14:22:27 -07:00 committed by GitHub
parent fbcbdb051b
commit afa5266c7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 140 additions and 246 deletions

View file

@ -6,7 +6,7 @@ Subject: Pass all globals through "require"
(cherry picked from commit 7d015419cb7a0ecfe6728431a4ed2056cd411d62)
diff --git a/lib/internal/modules/cjs/loader.js b/lib/internal/modules/cjs/loader.js
index 1fb197c6c220693b6124f44fbe4b02dd97bcfc4f..a8d7786d644bc4129d96c63ffe58bd4909496219 100644
index 865e9d13e840351bcf61bec771462fc88ee0a602..b6bef5f0fdb6f60e4baf5fbd647f191a0e290355 100644
--- a/lib/internal/modules/cjs/loader.js
+++ b/lib/internal/modules/cjs/loader.js
@@ -71,6 +71,13 @@ const {
@ -23,7 +23,7 @@ index 1fb197c6c220693b6124f44fbe4b02dd97bcfc4f..a8d7786d644bc4129d96c63ffe58bd49
const isWindows = process.platform === 'win32';
const relativeResolveCache = Object.create(null);
@@ -769,10 +776,12 @@ Module.prototype._compile = function(content, filename) {
@@ -771,10 +778,12 @@ Module.prototype._compile = function(content, filename) {
if (requireDepth === 0) statCache = new Map();
if (inspectorWrapper) {
result = inspectorWrapper(compiledWrapper, thisValue, exports,