deno
05e01fff - perf(ext/node): convert child_process, fs, http, http2, https, inspector to lazy-loaded JS (#33967)

Commit
120 days ago
perf(ext/node): convert child_process, fs, http, http2, https, inspector to lazy-loaded JS (#33967) Continues the work from #33960 by moving the remaining top-level `node:*` polyfills off the eager-evaluated ESM path. `node:child_process`, `node:fs`, `node:fs/promises`, `node:http`, `node:http2`, `node:https`, `node:inspector`, and `node:inspector/promises` are rewritten as IIFEs registered under `lazy_loaded_js`, with thin `_esm.ts`/`_esm.js` wrappers in `lazy_loaded_esm` re-exporting the named members.
Author
Parents
Loading