Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b92416f

Browse filesBrowse files
GeoffreyBoothtargos
authored andcommitted
doc: fix spelling of 'WebAssembly'
PR-URL: #40785 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 675c210 commit b92416f
Copy full SHA for b92416f

File tree

Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed
Open diff view settings
Collapse file

‎doc/api/esm.md‎

Copy file name to clipboardExpand all lines: doc/api/esm.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -559,12 +559,12 @@ node --experimental-json-modules index.mjs # works
559559
560560
> Stability: 1 - Experimental
561561
562-
Importing Web Assembly modules is supported under the
562+
Importing WebAssembly modules is supported under the
563563
`--experimental-wasm-modules` flag, allowing any `.wasm` files to be
564564
imported as normal modules while also supporting their module imports.
565565
566566
This integration is in line with the
567-
[ES Module Integration Proposal for Web Assembly][].
567+
[ES Module Integration Proposal for WebAssembly][].
568568
569569
For example, an `index.mjs` containing:
570570
@@ -1389,7 +1389,7 @@ success!
13891389
[Core modules]: modules.md#core-modules
13901390
[Dynamic `import()`]: https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Dynamic_Imports
13911391
[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
13931393
[Import Assertions proposal]: https://github.com/tc39/proposal-import-assertions
13941394
[JSON modules]: #json-modules
13951395
[Node.js Module Resolution Algorithm]: #resolver-algorithm-specification
Collapse file

‎lib/internal/modules/esm/translators.js‎

Copy file name to clipboardExpand all lines: lib/internal/modules/esm/translators.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ translators.set('json', async function jsonStrategy(url, source) {
337337

338338
// Strategy for loading a wasm module
339339
translators.set('wasm', async function(url, source) {
340-
emitExperimentalWarning('Importing Web Assembly modules');
340+
emitExperimentalWarning('Importing WebAssembly modules');
341341

342342
assertBufferSource(source, false, 'load');
343343

Collapse file

‎test/es-module/test-esm-wasm.mjs‎

Copy file name to clipboardExpand all lines: test/es-module/test-esm-wasm.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ child.on('close', (code, signal) => {
3131
strictEqual(code, 0);
3232
strictEqual(signal, null);
3333
ok(stderr.toString().includes(
34-
'ExperimentalWarning: Importing Web Assembly modules is ' +
34+
'ExperimentalWarning: Importing WebAssembly modules is ' +
3535
'an experimental feature. This feature could change at any time'
3636
));
3737
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.