Tracking issue: latest ESM Integration support · Issue #53178 · nodejs/node (original) (raw)

What is the problem this feature will solve?

Node.js has support for --experimental-wasm-modules, but this does not currently support all the features of the latest ESM Integration source phase imports model. Source phase imports allow importing uninstantiated WebAssembly modules through the module system as higher order modules enabling portable, ergonomic flexible WebAssembly instantiations.

V8 is currently working on an implementation for the source phase syntax and engine support, as soon as this is available Node.js should be able to ship the feature as well.

What is the feature you are proposing to solve the problem?

When V8 supports the source phase mode for imports, Node.js can add this to the Wasm ESM Integration, per the current Phase 3 specification, towards unflagging --experimental-wasm-modules support further.

What alternatives have you considered?

No response