diff options
author | snek <snek@deno.com> | 2024-09-13 17:28:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 17:28:35 -0700 |
commit | 2c0bf6fd65b3276c4818c73028b19819608c8e70 (patch) | |
tree | 8eab21bef4397eb4a8a0cbdba54373539154934e /ext/node/polyfills/02_init.js | |
parent | d162733db2944b4c35d8c3e80f37f7de843dafa1 (diff) |
fix(ext/node): attach console stream properties (#25617)
`kBindStreamsLazy` should be called with `process` during init, but it
never was.
Diffstat (limited to 'ext/node/polyfills/02_init.js')
-rw-r--r-- | ext/node/polyfills/02_init.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/node/polyfills/02_init.js b/ext/node/polyfills/02_init.js index 8a4aa8e97..b25f7ad57 100644 --- a/ext/node/polyfills/02_init.js +++ b/ext/node/polyfills/02_init.js @@ -82,3 +82,8 @@ nodeGlobals.setImmediate = nativeModuleExports["timers"].setImmediate; nodeGlobals.setInterval = nativeModuleExports["timers"].setInterval; nodeGlobals.setTimeout = nativeModuleExports["timers"].setTimeout; nodeGlobals.performance = nativeModuleExports["perf_hooks"].performance; + +nativeModuleExports["internal/console/constructor"].bindStreamsLazy( + nativeModuleExports["console"], + nativeModuleExports["process"], +); |