Commit 8f38c19
esm: improve error message of ERR_UNSUPPORTED_ESM_URL_SCHEME
Refs: #34765
PR-URL: #34795
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 969fb1c commit 8f38c19Copy full SHA for 8f38c19
File tree
Expand file treeCollapse file tree
3 files changed
+26
-12
lines changedOpen diff view settings
Filter options
- lib/internal
- modules/esm
- test/es-module
Expand file treeCollapse file tree
3 files changed
+26
-12
lines changedOpen diff view settings
Collapse file
+11-2Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
| 29 | + |
| 30 | + |
29 | 31 | |
30 | 32 | |
31 | 33 | |
| ||
1410 | 1412 | |
1411 | 1413 | |
1412 | 1414 | |
1413 | | - |
1414 | | - |
| 1415 | + |
| 1416 | + |
| 1417 | + |
| 1418 | + |
| 1419 | + |
| 1420 | + |
| 1421 | + |
| 1422 | + |
| 1423 | + |
1415 | 1424 | |
1416 | 1425 | |
1417 | 1426 | |
|
Collapse file
lib/internal/modules/esm/resolve.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/resolve.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
747 | 747 | |
748 | 748 | |
749 | 749 | |
750 | | - |
| 750 | + |
751 | 751 | |
752 | 752 | |
753 | 753 | |
|
Collapse file
test/es-module/test-esm-dynamic-import.js
Copy file name to clipboardExpand all lines: test/es-module/test-esm-dynamic-import.js+14-9Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
20 | 16 | |
21 | 17 | |
22 | 18 | |
| ||
60 | 56 | |
61 | 57 | |
62 | 58 | |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
63 | 68 | |
0 commit comments