Commit 8c4dcd5
esm: sync-ify module translation
This completes the TODO to compile WASM synchronously and thus
making translation (i.e. compilation + instantiation) synchronous.
PR-URL: #59453
Refs: #55782
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>1 parent 85b8d25 commit 8c4dcd5Copy full SHA for 8c4dcd5
File tree
Expand file treeCollapse file tree
2 files changed
+6
-7
lines changedOpen diff view settings
Filter options
- lib/internal/modules/esm
Expand file treeCollapse file tree
2 files changed
+6
-7
lines changedOpen diff view settings
Collapse file
lib/internal/modules/esm/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/loader.js+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
527 | 527 | |
528 | 528 | |
529 | 529 | |
530 | | - |
| 530 | + |
531 | 531 | |
532 | 532 | |
533 | 533 | |
| ||
537 | 537 | |
538 | 538 | |
539 | 539 | |
540 | | - |
| 540 | + |
| 541 | + |
| 542 | + |
541 | 543 | |
542 | 544 | |
543 | 545 | |
|
Collapse file
lib/internal/modules/esm/translators.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/translators.js+2-5Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
432 | 432 | |
433 | 433 | |
434 | 434 | |
435 | | - |
| 435 | + |
436 | 436 | |
437 | 437 | |
438 | 438 | |
439 | 439 | |
440 | 440 | |
441 | 441 | |
442 | | - |
443 | | - |
444 | | - |
445 | | - |
| 442 | + |
446 | 443 | |
447 | 444 | |
448 | 445 | |
|
0 commit comments