Commit 5cd78ba
module: experimental modules runMain separation
PR-URL: #21350
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>1 parent 9e31684 commit 5cd78baCopy full SHA for 5cd78ba
File tree
Expand file treeCollapse file tree
4 files changed
+44
-19
lines changedOpen diff view settings
Filter options
- lib/internal/modules/cjs
- test
- es-module
- fixtures/es-modules
Expand file treeCollapse file tree
4 files changed
+44
-19
lines changedOpen diff view settings
Collapse file
lib/internal/modules/cjs/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/cjs/loader.js+13-14Lines changed: 13 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
504 | 504 | |
505 | 505 | |
506 | 506 | |
507 | | - |
508 | | - |
509 | | - |
510 | | - |
511 | | - |
512 | | - |
513 | | - |
514 | | - |
515 | | - |
516 | | - |
517 | | - |
518 | | - |
519 | | - |
520 | 507 | |
521 | 508 | |
522 | 509 | |
| ||
741 | 728 | |
742 | 729 | |
743 | 730 | |
744 | | - |
| 731 | + |
| 732 | + |
| 733 | + |
| 734 | + |
| 735 | + |
| 736 | + |
| 737 | + |
| 738 | + |
| 739 | + |
| 740 | + |
| 741 | + |
| 742 | + |
| 743 | + |
745 | 744 | |
746 | 745 | |
747 | 746 | |
|
Collapse file
test/es-module/test-esm-cjs-main.js
Copy file name to clipboard+25-4Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | 1 | |
3 | | - |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
4 | 6 | |
5 | | - |
6 | | - |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
Collapse file
test/es-module/test-esm-error-cache.js
Copy file name to clipboardExpand all lines: test/es-module/test-esm-error-cache.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
|
Collapse file
test/fixtures/es-modules/cjs.js
Copy file name to clipboard+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
0 commit comments