Commit f594cc8
authored
esm: remove specifier resolution flag
PR-URL: #44859
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>1 parent 417458d commit f594cc8Copy full SHA for f594cc8
File tree
Expand file treeCollapse file tree
26 files changed
+24
-374
lines changedOpen diff view settings
Filter options
- doc
- api
- lib
- internal/modules
- esm
- src
- test
- es-module
- fixtures/es-module-specifiers
- dir-with-main
- package-type-commonjs
- package-type-module
Expand file treeCollapse file tree
26 files changed
+24
-374
lines changedOpen diff view settings
Collapse file
-18Lines changed: 0 additions & 18 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
427 | 427 | |
428 | 428 | |
429 | 429 | |
430 | | - |
431 | | - |
432 | | - |
433 | | - |
434 | | - |
435 | | - |
436 | | - |
437 | | - |
438 | | - |
439 | | - |
440 | | - |
441 | | - |
442 | | - |
443 | | - |
444 | | - |
445 | | - |
446 | | - |
447 | 430 | |
448 | 431 | |
449 | 432 | |
| ||
2312 | 2295 | |
2313 | 2296 | |
2314 | 2297 | |
2315 | | - |
2316 | 2298 | |
2317 | 2299 | |
2318 | 2300 | |
|
Collapse file
+4-25Lines changed: 4 additions & 25 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1518 | 1518 | |
1519 | 1519 | |
1520 | 1520 | |
1521 | | - |
1522 | | - |
1523 | | - |
1524 | | - |
1525 | | - |
1526 | | - |
1527 | | - |
1528 | | - |
1529 | | - |
1530 | | - |
1531 | | - |
1532 | | - |
1533 | | - |
1534 | | - |
1535 | | - |
1536 | | - |
1537 | | - |
1538 | | - |
1539 | | - |
1540 | | - |
1541 | | - |
1542 | | - |
1543 | | - |
1544 | | - |
1545 | | - |
| 1521 | + |
| 1522 | + |
| 1523 | + |
1546 | 1524 | |
1547 | 1525 | |
1548 | 1526 | |
| ||
1583 | 1561 | |
1584 | 1562 | |
1585 | 1563 | |
| 1564 | + |
1586 | 1565 | |
1587 | 1566 | |
1588 | 1567 | |
|
Collapse file
-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
171 | 171 | |
172 | 172 | |
173 | 173 | |
174 | | - |
175 | | - |
176 | | - |
177 | 174 | |
178 | 175 | |
179 | 176 | |
|
Collapse file
lib/internal/modules/esm/formats.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/formats.js+1-17Lines changed: 1 addition & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
9 | 8 | |
10 | 9 | |
11 | 10 | |
| ||
16 | 15 | |
17 | 16 | |
18 | 17 | |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | 18 | |
29 | | - |
| 19 | + |
30 | 20 | |
31 | 21 | |
32 | 22 | |
| ||
45 | 35 | |
46 | 36 | |
47 | 37 | |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | 38 | |
53 | 39 | |
54 | | - |
55 | | - |
56 | 40 | |
57 | 41 | |
Collapse file
lib/internal/modules/esm/get_format.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/get_format.js+14-21Lines changed: 14 additions & 21 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
15 | 14 | |
16 | 15 | |
17 | 16 | |
18 | 17 | |
19 | 18 | |
20 | | - |
21 | | - |
22 | 19 | |
23 | 20 | |
24 | 21 | |
| ||
61 | 58 | |
62 | 59 | |
63 | 60 | |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
80 | 74 | |
81 | | - |
82 | | - |
| 75 | + |
83 | 76 | |
84 | 77 | |
85 | 78 | |
|
Collapse file
lib/internal/modules/esm/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/loader.js-12Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
89 | 89 | |
90 | 90 | |
91 | 91 | |
92 | | - |
93 | | - |
94 | 92 | |
95 | 93 | |
96 | 94 | |
| ||
241 | 239 | |
242 | 240 | |
243 | 241 | |
244 | | - |
245 | | - |
246 | | - |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | | - |
254 | 242 | |
255 | 243 | |
256 | 244 | |
|
Collapse file
lib/internal/modules/esm/resolve.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/resolve.js+2-66Lines changed: 2 additions & 66 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
9 | 8 | |
10 | 9 | |
11 | 10 | |
| ||
37 | 36 | |
38 | 37 | |
39 | 38 | |
40 | | - |
| 39 | + |
41 | 40 | |
42 | 41 | |
43 | 42 | |
| ||
60 | 59 | |
61 | 60 | |
62 | 61 | |
63 | | - |
64 | 62 | |
65 | 63 | |
66 | 64 | |
| ||
234 | 232 | |
235 | 233 | |
236 | 234 | |
237 | | - |
238 | | - |
239 | | - |
240 | | - |
241 | | - |
242 | | - |
243 | | - |
244 | | - |
245 | | - |
246 | | - |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | | - |
261 | | - |
262 | | - |
263 | | - |
264 | | - |
265 | | - |
266 | | - |
267 | | - |
268 | | - |
269 | | - |
270 | | - |
271 | | - |
272 | | - |
273 | | - |
274 | | - |
275 | | - |
276 | | - |
277 | | - |
278 | | - |
279 | | - |
280 | | - |
281 | 235 | |
282 | 236 | |
283 | 237 | |
| ||
291 | 245 | |
292 | 246 | |
293 | 247 | |
294 | | - |
295 | | - |
296 | | - |
297 | | - |
298 | | - |
299 | | - |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | | - |
305 | | - |
306 | | - |
307 | | - |
308 | | - |
309 | | - |
310 | | - |
311 | | - |
312 | | - |
| 248 | + |
313 | 249 | |
314 | 250 | |
315 | 251 | |
|
Collapse file
lib/internal/modules/run_main.js
Copy file name to clipboardExpand all lines: lib/internal/modules/run_main.js-4Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | 43 | |
48 | 44 | |
49 | 45 | |
|
Collapse file
+1-5Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
180 | 180 | |
181 | 181 | |
182 | 182 | |
183 | | - |
184 | 183 | |
185 | 184 | |
186 | 185 | |
| ||
1377 | 1376 | |
1378 | 1377 | |
1379 | 1378 | |
1380 | | - |
1381 | | - |
1382 | | - |
1383 | | - |
| 1379 | + |
1384 | 1380 | |
1385 | 1381 | |
1386 | 1382 | |
|
Collapse file
+2-13Lines changed: 2 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
113 | 113 | |
114 | 114 | |
115 | 115 | |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | | - |
123 | | - |
124 | 116 | |
125 | 117 | |
126 | 118 | |
| ||
444 | 436 | |
445 | 437 | |
446 | 438 | |
447 | | - |
448 | | - |
449 | | - |
450 | | - |
451 | | - |
| 439 | + |
| 440 | + |
452 | 441 | |
453 | 442 | |
454 | 443 | |
|
0 commit comments