chore: bump node to v12.16.2 (master) (#23057)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
Electron Bot 2020-04-14 09:59:03 -07:00 committed by GitHub
parent 701c5c90fa
commit fdf7e288bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 164 additions and 381 deletions

View file

@ -6,10 +6,10 @@ 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 b83788989198cea230ac2eed10953416d956202c..5300f6e6f6724de2bbfe42270a39f9123a3fd071 100644
index 92bc9e738f508d66948b71c4967a5c3d2b0dca6c..ad82a7ab05e253a5e93a61bcaf4066cdb29017ea 100644
--- a/lib/internal/modules/cjs/loader.js
+++ b/lib/internal/modules/cjs/loader.js
@@ -101,6 +101,13 @@ const {
@@ -104,6 +104,13 @@ const {
CHAR_COLON
} = require('internal/constants');
@ -23,7 +23,7 @@ index b83788989198cea230ac2eed10953416d956202c..5300f6e6f6724de2bbfe42270a39f912
const isWindows = process.platform === 'win32';
const relativeResolveCache = ObjectCreate(null);
@@ -1153,10 +1160,12 @@ Module.prototype._compile = function(content, filename) {
@@ -1151,10 +1158,12 @@ Module.prototype._compile = function(content, filename) {
if (requireDepth === 0) statCache = new Map();
if (inspectorWrapper) {
result = inspectorWrapper(compiledWrapper, thisValue, exports,