deno
902ba73b - fix(ext/node): export syncBuiltinESMExports from node:module (#34593)

Commit
98 days ago
fix(ext/node): export syncBuiltinESMExports from node:module (#34593) Adds the missing `syncBuiltinESMExports` named export from `node:module` and exposes the same callable function on `Module.syncBuiltinESMExports`. Regression coverage verifies the named import is available, returns `undefined`, and matches the static method on `Module`. Closes denoland/orchid#344 Fixes https://github.com/denoland/deno/issues/31048 Verification: - `dprint check ext/node/polyfills/01_require.js tests/unit_node/module_test.ts` - `git diff --check` - `CARGO_INCREMENTAL=0 cargo test -p unit_node_tests --test unit_node module --no-run` - `CARGO_INCREMENTAL=0 cargo check -p deno_node` Note: a full `cargo build --bin deno` attempt was stopped by local disk exhaustion (`No space left on device`) during Rust incremental output, so the narrower checks above were run with incremental disabled. Co-authored-by: divybot <divybot@users.noreply.github.com> Co-authored-by: Divy Srivastava <me@littledivy.com>
Author
Parents
Loading