diff options
author | Luca Casonato <hello@lcas.dev> | 2024-08-28 21:13:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 21:13:34 +0200 |
commit | 64037b1f027ac977a0f227669d367cf2e1c71791 (patch) | |
tree | b990ff19c14a9cca3a0779ea47c818407cd3587b /ext/node/polyfills/02_init.js | |
parent | b708a13eb02510925b5fd964fe933b4896093185 (diff) |
refactor: don't virtualize the `console` global for node mode (#25263)
Turns out we only virtualized it so one could have a `Console` property,
and the other one not. We can just make this `console.Console` available
everywhere.
Diffstat (limited to 'ext/node/polyfills/02_init.js')
-rw-r--r-- | ext/node/polyfills/02_init.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/node/polyfills/02_init.js b/ext/node/polyfills/02_init.js index 7a697abe4..870ff12f3 100644 --- a/ext/node/polyfills/02_init.js +++ b/ext/node/polyfills/02_init.js @@ -76,7 +76,6 @@ nodeGlobals.Buffer = nativeModuleExports["buffer"].Buffer; nodeGlobals.clearImmediate = nativeModuleExports["timers"].clearImmediate; nodeGlobals.clearInterval = nativeModuleExports["timers"].clearInterval; nodeGlobals.clearTimeout = nativeModuleExports["timers"].clearTimeout; -nodeGlobals.console = nativeModuleExports["console"]; nodeGlobals.global = globalThis; nodeGlobals.process = nativeModuleExports["process"]; nodeGlobals.setImmediate = nativeModuleExports["timers"].setImmediate; |