chore: bump node to v18.12.1 (main) (#36356)
* chore: bump node in DEPS to v18.12.1 * chore: update patches * chore: add missing <algorithm> include * src: add detailed embedder process initialization AP https://github.com/nodejs/node/pull/44121 * chore: update gn build files * dns: support dns module in the snapshot https://github.com/nodejs/node/pull/44633 https://github.com/electron/electron/issues/36118 * src: fix OOB reads in process.title getter https://github.com/nodejs/node/pull/31633 * chore: fix incorrectly removed patch bit Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
b71cccb0d6
commit
c6d6af2551
19 changed files with 390 additions and 343 deletions
|
@ -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 67133b4926763429f4324c4f751d20c3c50a9155..ca83fa412f1979c0037254253939fd6dff6b5010 100644
|
||||
index 68edd781e33a3e8a451ece8191b918ca70e756eb..7d780ed13412bb307435d98d4a8830a86dd72da1 100644
|
||||
--- a/lib/internal/modules/cjs/loader.js
|
||||
+++ b/lib/internal/modules/cjs/loader.js
|
||||
@@ -133,6 +133,13 @@ const {
|
||||
@@ -134,6 +134,13 @@ const {
|
||||
CHAR_COLON
|
||||
} = require('internal/constants');
|
||||
|
||||
|
@ -23,7 +23,7 @@ index 67133b4926763429f4324c4f751d20c3c50a9155..ca83fa412f1979c0037254253939fd6d
|
|||
const {
|
||||
isProxy
|
||||
} = require('internal/util/types');
|
||||
@@ -1144,10 +1151,12 @@ Module.prototype._compile = function(content, filename) {
|
||||
@@ -1154,10 +1161,12 @@ Module.prototype._compile = function(content, filename) {
|
||||
if (requireDepth === 0) statCache = new SafeMap();
|
||||
if (inspectorWrapper) {
|
||||
result = inspectorWrapper(compiledWrapper, thisValue, exports,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue