Commit 32261fc
module: support loading entrypoint as url
Co-Authored-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #54933
Refs: #49975
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent e99d4a4 commit 32261fcCopy full SHA for 32261fc
File tree
Expand file treeCollapse file tree
8 files changed
+147
-8
lines changedOpen diff view settings
Filter options
- doc
- api
- lib/internal
- main
- modules
- src
- test
- es-module
- fixtures/es-modules
Expand file treeCollapse file tree
8 files changed
+147
-8
lines changedOpen diff view settings
Collapse file
+24Lines changed: 24 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
795 | 795 | |
796 | 796 | |
797 | 797 | |
| 798 | + |
| 799 | + |
| 800 | + |
| 801 | + |
| 802 | + |
| 803 | + |
| 804 | + |
| 805 | + |
| 806 | + |
| 807 | + |
| 808 | + |
| 809 | + |
| 810 | + |
| 811 | + |
| 812 | + |
| 813 | + |
| 814 | + |
| 815 | + |
| 816 | + |
| 817 | + |
| 818 | + |
| 819 | + |
798 | 820 | |
799 | 821 | |
800 | 822 | |
| ||
3024 | 3046 | |
3025 | 3047 | |
3026 | 3048 | |
| 3049 | + |
3027 | 3050 | |
3028 | 3051 | |
3029 | 3052 | |
| ||
3623 | 3646 | |
3624 | 3647 | |
3625 | 3648 | |
| 3649 | + |
3626 | 3650 | |
3627 | 3651 | |
3628 | 3652 | |
|
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
160 | 160 | |
161 | 161 | |
162 | 162 | |
| 163 | + |
| 164 | + |
| 165 | + |
163 | 166 | |
164 | 167 | |
165 | 168 | |
|
Collapse file
lib/internal/main/run_main_module.js
Copy file name to clipboardExpand all lines: lib/internal/main/run_main_module.js+7-1Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
| 12 | + |
12 | 13 | |
13 | | - |
| 14 | + |
| 15 | + |
14 | 16 | |
15 | 17 | |
16 | 18 | |
17 | 19 | |
18 | 20 | |
19 | 21 | |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
20 | 26 | |
21 | 27 | |
22 | 28 | |
|
Collapse file
lib/internal/modules/run_main.js
Copy file name to clipboardExpand all lines: lib/internal/modules/run_main.js+10-7Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | 14 | |
| ||
154 | 154 | |
155 | 155 | |
156 | 156 | |
157 | | - |
158 | | - |
159 | | - |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
160 | 165 | |
161 | 166 | |
162 | 167 | |
| ||
165 | 170 | |
166 | 171 | |
167 | 172 | |
168 | | - |
169 | | - |
170 | | - |
| 173 | + |
171 | 174 | |
172 | 175 | |
173 | 176 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
406 | 406 | |
407 | 407 | |
408 | 408 | |
| 409 | + |
| 410 | + |
| 411 | + |
| 412 | + |
409 | 413 | |
410 | 414 | |
411 | 415 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
133 | 133 | |
134 | 134 | |
135 | 135 | |
| 136 | + |
136 | 137 | |
137 | 138 | |
138 | 139 | |
|
Collapse file
test/es-module/test-esm-loader-entry-url.mjs
Copy file name to clipboard+97Lines changed: 97 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 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 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
Collapse file
test/fixtures/es-modules/print-entrypoint.mjs
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
0 commit comments