Commit af0921d
authored
esm: add
PR-URL: #43942
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 659dc12 commit af0921dCopy full SHA for af0921d
File tree
Expand file treeCollapse file tree
15 files changed
+346
-64
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
- main
- modules
- process
- src
- test
- es-module
- fixtures/es-modules
- message
Expand file treeCollapse file tree
15 files changed
+346
-64
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 |
|---|---|---|
| ||
445 | 445 | |
446 | 446 | |
447 | 447 | |
448 | | - |
| 448 | + |
| 449 | + |
449 | 450 | |
450 | 451 | |
451 | 452 | |
| ||
594 | 595 | |
595 | 596 | |
596 | 597 | |
| 598 | + |
| 599 | + |
| 600 | + |
| 601 | + |
| 602 | + |
| 603 | + |
| 604 | + |
| 605 | + |
| 606 | + |
| 607 | + |
| 608 | + |
| 609 | + |
597 | 610 | |
598 | 611 | |
599 | 612 | |
| ||
1527 | 1540 | |
1528 | 1541 | |
1529 | 1542 | |
1530 | | - |
1531 | | - |
| 1543 | + |
| 1544 | + |
| 1545 | + |
1532 | 1546 | |
1533 | 1547 | |
1534 | 1548 | |
| ||
1682 | 1696 | |
1683 | 1697 | |
1684 | 1698 | |
| 1699 | + |
1685 | 1700 | |
1686 | 1701 | |
1687 | 1702 | |
| ||
2086 | 2101 | |
2087 | 2102 | |
2088 | 2103 | |
| 2104 | + |
2089 | 2105 | |
| 2106 | + |
2090 | 2107 | |
2091 | 2108 | |
2092 | 2109 | |
| ||
2103 | 2120 | |
2104 | 2121 | |
2105 | 2122 | |
| 2123 | + |
2106 | 2124 | |
2107 | 2125 | |
| 2126 | + |
2108 | 2127 | |
2109 | 2128 | |
2110 | 2129 | |
|
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 |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | 9 | |
| ||
36 | 37 | |
37 | 38 | |
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 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
51 | 63 | |
52 | 64 | |
53 | 65 | |
| ||
57 | 69 | |
58 | 70 | |
59 | 71 | |
| 72 | + |
60 | 73 | |
61 | 74 | |
62 | 75 | |
63 | 76 | |
64 | 77 | |
65 | 78 | |
66 | | - |
| 79 | + |
| 80 | + |
| 81 | + |
67 | 82 | |
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 |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
| 26 | + |
26 | 27 | |
27 | 28 | |
28 | 29 | |
29 | 30 | |
30 | 31 | |
31 | 32 | |
32 | | - |
| 33 | + |
| 34 | + |
33 | 35 | |
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 |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
24 | 25 | |
25 | 26 | |
26 | 27 | |
27 | 28 | |
28 | 29 | |
29 | 30 | |
30 | | - |
| 31 | + |
| 32 | + |
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+35-26Lines changed: 35 additions & 26 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | | - |
| 51 | + |
52 | 52 | |
53 | 53 | |
54 | 54 | |
| ||
60 | 60 | |
61 | 61 | |
62 | 62 | |
| 63 | + |
63 | 64 | |
64 | 65 | |
| 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 | + |
65 | 92 | |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
| 93 | + |
| 94 | + |
| 95 | + |
89 | 96 | |
90 | | - |
91 | | - |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
92 | 101 | |
93 | 102 | |
94 | 103 | |
|
Collapse file
+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
608 | 608 | |
609 | 609 | |
610 | 610 | |
611 | | - |
612 | | - |
| 611 | + |
| 612 | + |
613 | 613 | |
614 | 614 | |
| 615 | + |
| 616 | + |
| 617 | + |
| 618 | + |
615 | 619 | |
616 | 620 | |
617 | 621 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
188 | 188 | |
189 | 189 | |
190 | 190 | |
191 | | - |
| 191 | + |
| 192 | + |
| 193 | + |
192 | 194 | |
193 | 195 | |
194 | 196 | |
|
0 commit comments