Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Feb 13, 2025
1 parent 013b426 commit bd08749
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/internal/modules/esm/translators.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,6 @@ translators.set('json', function jsonStrategy(url, source) {

// Strategy for loading a wasm module
translators.set('wasm', async function(url, source) {
emitExperimentalWarning('Importing WebAssembly modules');

assertBufferSource(source, false, 'load');

debug(`Translating WASMModule ${url}`);
Expand Down
1 change: 0 additions & 1 deletion test/module-hooks/test-module-hooks-import-wasm.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-experimental-wasm-modules
// This tests that module.registerHooks() can be used to support unknown formats, like
// import(wasm)
import '../common/index.mjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ assert(undocumented.delete('--debug-arraybuffer-allocations'));
assert(undocumented.delete('--no-debug-arraybuffer-allocations'));
assert(undocumented.delete('--es-module-specifier-resolution'));
assert(undocumented.delete('--experimental-fetch'));
assert(undocumented.delete('--experimental-wasm-modules'));
assert(undocumented.delete('--experimental-global-customevent'));
assert(undocumented.delete('--experimental-global-webcrypto'));
assert(undocumented.delete('--experimental-report'));
Expand Down

0 comments on commit bd08749

Please sign in to comment.