| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 675c210 commit b92416f
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -559,12 +559,12 @@ node --experimental-json-modules index.mjs # works | |||
| 559 | 559 | ||
| 560 | 560 | > Stability: 1 - Experimental | |
| 561 | 561 | ||
| 562 | - Importing Web Assembly modules is supported under the | ||
| 562 | + Importing WebAssembly modules is supported under the | ||
| 563 | 563 | `--experimental-wasm-modules` flag, allowing any `.wasm` files to be | |
| 564 | 564 | imported as normal modules while also supporting their module imports. | |
| 565 | 565 | ||
| 566 | 566 | This integration is in line with the | |
| 567 | - [ES Module Integration Proposal for Web Assembly][]. | ||
| 567 | + [ES Module Integration Proposal for WebAssembly][]. | ||
| 568 | 568 | ||
| 569 | 569 | For example, an `index.mjs` containing: | |
| 570 | 570 | ||
@@ -1389,7 +1389,7 @@ success! | |||
| 1389 | 1389 | [Core modules]: modules.md#core-modules | |
| 1390 | 1390 | [Dynamic `import()`]: https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Dynamic_Imports | |
| 1391 | 1391 | [ECMAScript Top-Level `await` proposal]: https://github.com/tc39/proposal-top-level-await/ | |
| 1392 | - [ES Module Integration Proposal for Web Assembly]: https://github.com/webassembly/esm-integration | ||
| 1392 | + [ES Module Integration Proposal for WebAssembly]: https://github.com/webassembly/esm-integration | ||
| 1393 | 1393 | [Import Assertions proposal]: https://github.com/tc39/proposal-import-assertions | |
| 1394 | 1394 | [JSON modules]: #json-modules | |
| 1395 | 1395 | [Node.js Module Resolution Algorithm]: #resolver-algorithm-specification | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -337,7 +337,7 @@ translators.set('json', async function jsonStrategy(url, source) { | |||
| 337 | 337 | ||
| 338 | 338 | // Strategy for loading a wasm module | |
| 339 | 339 | translators.set('wasm', async function(url, source) { | |
| 340 | - emitExperimentalWarning('Importing Web Assembly modules'); | ||
| 340 | + emitExperimentalWarning('Importing WebAssembly modules'); | ||
| 341 | 341 | ||
| 342 | 342 | assertBufferSource(source, false, 'load'); | |
| 343 | 343 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,7 +31,7 @@ child.on('close', (code, signal) => { | |||
| 31 | 31 | strictEqual(code, 0); | |
| 32 | 32 | strictEqual(signal, null); | |
| 33 | 33 | ok(stderr.toString().includes( | |
| 34 | - 'ExperimentalWarning: Importing Web Assembly modules is ' + | ||
| 34 | + 'ExperimentalWarning: Importing WebAssembly modules is ' + | ||
| 35 | 35 | 'an experimental feature. This feature could change at any time' | |
| 36 | 36 | )); | |
| 37 | 37 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments