Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! esm: sync-ify module translation
Co-authored-by: James M Snell <jasnell@gmail.com>
  • Loading branch information
joyeecheung and jasnell authored Aug 12, 2025
commit ac09cb96aeed5439238c2567748f7c6cd9ced659
2 changes: 1 addition & 1 deletion lib/internal/modules/esm/translators.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ translators.set('wasm', function(url, source) {
let compiled;
try {
compiled = new WebAssembly.Module(source, {
builtins: ['js-string']
builtins: ['js-string'],
});
} catch (err) {
err.message = errPath(url) + ': ' + err.message;
Expand Down