Commit 45e4f82
src: move package resolver to c++
Co-authored-by: Daniel Lemire <daniel@lemire.me>
PR-URL: #50322
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>1 parent 0dd53da commit 45e4f82Copy full SHA for 45e4f82
File tree
Expand file treeCollapse file tree
26 files changed
+798
-347
lines changedOpen diff view settings
Filter options
- lib/internal/modules
- cjs
- esm
- src
- test
- es-module
- fixtures/node_modules/pkgexports-number
- parallel
- typings
- internalBinding
Expand file treeCollapse file tree
26 files changed
+798
-347
lines changedOpen diff view settings
Collapse file
lib/internal/modules/cjs/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/cjs/loader.js+14-15Lines changed: 14 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
427 | 427 | |
428 | 428 | |
429 | 429 | |
430 | | - |
| 430 | + |
431 | 431 | |
432 | 432 | |
433 | 433 | |
| ||
446 | 446 | |
447 | 447 | |
448 | 448 | |
449 | | - |
| 449 | + |
450 | 450 | |
451 | 451 | |
452 | 452 | |
453 | 453 | |
454 | | - |
455 | 454 | |
456 | | - |
| 455 | + |
457 | 456 | |
458 | 457 | |
459 | 458 | |
| ||
539 | 538 | |
540 | 539 | |
541 | 540 | |
542 | | - |
543 | | - |
| 541 | + |
| 542 | + |
544 | 543 | |
545 | 544 | |
546 | 545 | |
547 | 546 | |
548 | | - |
| 547 | + |
549 | 548 | |
550 | | - |
551 | | - |
| 549 | + |
| 550 | + |
552 | 551 | |
553 | 552 | |
554 | 553 | |
555 | 554 | |
556 | 555 | |
557 | 556 | |
558 | 557 | |
559 | | - |
560 | | - |
| 558 | + |
| 559 | + |
561 | 560 | |
562 | 561 | |
563 | | - |
| 562 | + |
564 | 563 | |
565 | 564 | |
566 | 565 | |
| ||
1099 | 1098 | |
1100 | 1099 | |
1101 | 1100 | |
1102 | | - |
| 1101 | + |
1103 | 1102 | |
1104 | 1103 | |
1105 | 1104 | |
| ||
1397 | 1396 | |
1398 | 1397 | |
1399 | 1398 | |
1400 | | - |
| 1399 | + |
1401 | 1400 | |
1402 | | - |
| 1401 | + |
1403 | 1402 | |
1404 | 1403 | |
1405 | 1404 | |
|
Collapse file
lib/internal/modules/esm/get_format.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/get_format.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
|
Collapse file
lib/internal/modules/esm/module_job.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/module_job.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
228 | 228 | |
229 | 229 | |
230 | 230 | |
231 | | - |
| 231 | + |
232 | 232 | |
233 | 233 | |
234 | 234 | |
|
Collapse file
lib/internal/modules/esm/package_config.js
Copy file name to clipboard+22-47Lines changed: 22 additions & 47 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
| 3 | + |
| 4 | + |
| 5 | + |
8 | 6 | |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
| 7 | + |
22 | 8 | |
23 | 9 | |
24 | 10 | |
25 | 11 | |
26 | | - |
| 12 | + |
27 | 13 | |
28 | 14 | |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
| 15 | + |
46 | 16 | |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
| 17 | + |
| 18 | + |
52 | 19 | |
53 | | - |
| 20 | + |
| 21 | + |
| 22 | + |
54 | 23 | |
55 | 24 | |
56 | | - |
| 25 | + |
57 | 26 | |
58 | | - |
59 | | - |
60 | 27 | |
61 | | - |
62 | | - |
63 | 28 | |
64 | 29 | |
65 | 30 | |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
66 | 40 | |
67 | 41 | |
68 | 42 | |
| 43 | + |
69 | 44 | |
Collapse file
lib/internal/modules/esm/resolve.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/resolve.js+4-14Lines changed: 4 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
198 | 198 | |
199 | 199 | |
200 | 200 | |
201 | | - |
| 201 | + |
202 | 202 | |
203 | 203 | |
204 | 204 | |
| ||
502 | 502 | |
503 | 503 | |
504 | 504 | |
505 | | - |
| 505 | + |
506 | 506 | |
507 | 507 | |
508 | 508 | |
| ||
575 | 575 | |
576 | 576 | |
577 | 577 | |
578 | | - |
| 578 | + |
579 | 579 | |
580 | 580 | |
581 | 581 | |
| ||
740 | 740 | |
741 | 741 | |
742 | 742 | |
743 | | - |
744 | | - |
745 | | - |
746 | | - |
747 | | - |
748 | | - |
749 | | - |
750 | | - |
751 | | - |
752 | 743 | |
753 | 744 | |
754 | 745 | |
| ||
796 | 787 | |
797 | 788 | |
798 | 789 | |
| 790 | + |
799 | 791 | |
800 | 792 | |
801 | 793 | |
| ||
1179 | 1171 | |
1180 | 1172 | |
1181 | 1173 | |
1182 | | - |
1183 | | - |
1184 | 1174 | |
1185 | 1175 | |
1186 | 1176 | |
|
0 commit comments