You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: remove Node/Deno global proxy and simplify CJS wrapper (#33122)
## Summary
- Remove the v8 named property handler proxy in `ext/node/global.rs`
that intercepted `process` and `window` global accesses based on
Node/Deno context
- Now that Node.js timers are the default (#33118), the only remaining
managed globals were `process` (already set directly on `globalThis`)
and `window` (never populated in `denoGlobals`), making the proxy a
no-op
- Simplify the CJS module wrapper to match Node.js — no longer
destructures globals from `Deno[Deno.internal].nodeGlobals` since
they're all on `globalThis`
- Remove the `nodeGlobals` bag from `02_init.js` and `99_main.js`
entirely
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments