chore: bump node to v16.4.0 (main) (#29699)

This commit is contained in:
electron-roller[bot] 2021-06-28 18:05:38 +02:00 committed by GitHub
parent da2baabb96
commit e4807ac020
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 191 additions and 596 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 0390f2a9a2c82f33918407091c086dcc3cbffae1..9e9f9a73d6ec98f4907b8ebc0950a1709c7ececf 100644
index 51bcfe1a4130e5c95f86daad2b2543f9a6fec0a3..9a304f05cf4e09038531007efff28c4f57218c1d 100644
--- a/lib/internal/modules/cjs/loader.js
+++ b/lib/internal/modules/cjs/loader.js
@@ -123,6 +123,13 @@ const {
@@ -121,6 +121,13 @@ const {
CHAR_COLON
} = require('internal/constants');
@ -23,7 +23,7 @@ index 0390f2a9a2c82f33918407091c086dcc3cbffae1..9e9f9a73d6ec98f4907b8ebc0950a170
const {
isProxy
} = require('internal/util/types');
@@ -1104,10 +1111,12 @@ Module.prototype._compile = function(content, filename) {
@@ -1090,10 +1097,12 @@ Module.prototype._compile = function(content, filename) {
if (requireDepth === 0) statCache = new SafeMap();
if (inspectorWrapper) {
result = inspectorWrapper(compiledWrapper, thisValue, exports,