Commit c39b7c2
esm: add
PR-URL: #43942
Backport-PR-URL: #49539
Fixes: #40110
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>--import flag1 parent c224e1b commit c39b7c2Copy full SHA for c39b7c2
File tree
Expand file treeCollapse file tree
16 files changed
+348
-66
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
- main
- modules
- process
- src
- test
- es-module
- fixtures
- errors
- es-modules
- message
Expand file treeCollapse file tree
16 files changed
+348
-66
lines changedOpen diff view settings
Collapse file
+22-3Lines changed: 22 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
530 | 530 | |
531 | 531 | |
532 | 532 | |
533 | | - |
| 533 | + |
| 534 | + |
534 | 535 | |
535 | 536 | |
536 | 537 | |
| ||
679 | 680 | |
680 | 681 | |
681 | 682 | |
| 683 | + |
| 684 | + |
| 685 | + |
| 686 | + |
| 687 | + |
| 688 | + |
| 689 | + |
| 690 | + |
| 691 | + |
| 692 | + |
| 693 | + |
| 694 | + |
682 | 695 | |
683 | 696 | |
684 | 697 | |
| ||
1739 | 1752 | |
1740 | 1753 | |
1741 | 1754 | |
1742 | | - |
1743 | | - |
| 1755 | + |
| 1756 | + |
| 1757 | + |
1744 | 1758 | |
1745 | 1759 | |
1746 | 1760 | |
| ||
1895 | 1909 | |
1896 | 1910 | |
1897 | 1911 | |
| 1912 | + |
1898 | 1913 | |
1899 | 1914 | |
1900 | 1915 | |
| ||
2315 | 2330 | |
2316 | 2331 | |
2317 | 2332 | |
| 2333 | + |
2318 | 2334 | |
| 2335 | + |
2319 | 2336 | |
2320 | 2337 | |
2321 | 2338 | |
| ||
2333 | 2350 | |
2334 | 2351 | |
2335 | 2352 | |
| 2353 | + |
2336 | 2354 | |
2337 | 2355 | |
2338 | 2356 | |
| 2357 | + |
2339 | 2358 | |
2340 | 2359 | |
2341 | 2360 | |
|
Collapse file
lib/internal/main/check_syntax.js
Copy file name to clipboardExpand all lines: lib/internal/main/check_syntax.js+21-6Lines changed: 21 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
| ||
38 | 39 | |
39 | 40 | |
40 | 41 | |
41 | | - |
| 42 | + |
42 | 43 | |
43 | 44 | |
44 | 45 | |
45 | | - |
| 46 | + |
46 | 47 | |
47 | | - |
| 48 | + |
48 | 49 | |
49 | 50 | |
50 | | - |
| 51 | + |
51 | 52 | |
52 | | - |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
53 | 65 | |
54 | 66 | |
55 | 67 | |
| ||
59 | 71 | |
60 | 72 | |
61 | 73 | |
| 74 | + |
62 | 75 | |
63 | 76 | |
64 | 77 | |
65 | 78 | |
66 | 79 | |
67 | 80 | |
68 | | - |
| 81 | + |
| 82 | + |
| 83 | + |
69 | 84 | |
Collapse file
lib/internal/main/eval_stdin.js
Copy file name to clipboardExpand all lines: lib/internal/main/eval_stdin.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
| 27 | + |
27 | 28 | |
28 | 29 | |
29 | 30 | |
30 | 31 | |
31 | 32 | |
32 | 33 | |
33 | | - |
| 34 | + |
| 35 | + |
34 | 36 | |
Collapse file
lib/internal/main/eval_string.js
Copy file name to clipboardExpand all lines: lib/internal/main/eval_string.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
| 25 | + |
25 | 26 | |
26 | 27 | |
27 | 28 | |
28 | 29 | |
29 | 30 | |
30 | 31 | |
31 | | - |
| 32 | + |
| 33 | + |
Collapse file
lib/internal/modules/run_main.js
Copy file name to clipboardExpand all lines: lib/internal/modules/run_main.js+6-1Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
37 | 42 | |
38 | 43 | |
39 | 44 | |
|
Collapse file
lib/internal/process/esm_loader.js
Copy file name to clipboardExpand all lines: lib/internal/process/esm_loader.js+20-9Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
| ||
56 | 57 | |
57 | 58 | |
58 | 59 | |
| 60 | + |
| 61 | + |
59 | 62 | |
60 | | - |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
61 | 77 | |
62 | 78 | |
63 | 79 | |
| ||
70 | 86 | |
71 | 87 | |
72 | 88 | |
| 89 | + |
73 | 90 | |
74 | 91 | |
75 | | - |
76 | | - |
| 92 | + |
| 93 | + |
77 | 94 | |
78 | 95 | |
79 | 96 | |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | 97 | |
87 | 98 | |
88 | 99 | |
|
Collapse file
lib/internal/process/execution.js
Copy file name to clipboardExpand all lines: lib/internal/process/execution.js+36-27Lines changed: 36 additions & 27 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
| 53 | + |
54 | 54 | |
55 | 55 | |
56 | 56 | |
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
| 65 | + |
65 | 66 | |
66 | 67 | |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
67 | 95 | |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
| 96 | + |
| 97 | + |
| 98 | + |
92 | 99 | |
93 | | - |
94 | | - |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
95 | 104 | |
96 | 105 | |
97 | 106 | |
|
Collapse file
+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
666 | 666 | |
667 | 667 | |
668 | 668 | |
669 | | - |
670 | | - |
| 669 | + |
| 670 | + |
671 | 671 | |
672 | 672 | |
| 673 | + |
| 674 | + |
| 675 | + |
| 676 | + |
673 | 677 | |
674 | 678 | |
675 | 679 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
200 | 200 | |
201 | 201 | |
202 | 202 | |
203 | | - |
| 203 | + |
| 204 | + |
| 205 | + |
204 | 206 | |
205 | 207 | |
206 | 208 | |
|
0 commit comments