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>
E
em committed
902ba73be5287a31bb0ece99d53092eccf673dda
Parent: 7b5bada
Committed by GitHub <noreply@github.com>
on 5/31/2026, 4:24:57 AM