Commit 15530fe
lib: merge cjs and esm package json reader caches
PR-URL: #48477
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent 1b2b930 commit 15530feCopy full SHA for 15530fe
File tree
Expand file treeCollapse file tree
10 files changed
+198
-217
lines changedOpen diff view settings
Filter options
- lib
- internal
- modules
- cjs
- esm
- src
- test
- fixtures/errors
- parallel
Expand file treeCollapse file tree
10 files changed
+198
-217
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+15-39Lines changed: 15 additions & 39 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
82 | 82 | |
83 | 83 | |
84 | 84 | |
85 | | - |
86 | 85 | |
87 | 86 | |
88 | 87 | |
| ||
355 | 354 | |
356 | 355 | |
357 | 356 | |
358 | | - |
359 | | - |
| 357 | + |
| 358 | + |
| 359 | + |
| 360 | + |
360 | 361 | |
361 | | - |
362 | | - |
363 | | - |
364 | | - |
365 | | - |
366 | | - |
367 | | - |
368 | | - |
369 | | - |
370 | | - |
371 | | - |
372 | | - |
373 | | - |
374 | | - |
375 | | - |
376 | | - |
377 | | - |
378 | | - |
379 | | - |
380 | | - |
381 | | - |
382 | | - |
383 | | - |
384 | | - |
385 | | - |
386 | | - |
387 | | - |
| 362 | + |
388 | 363 | |
389 | 364 | |
390 | 365 | |
| ||
414 | 389 | |
415 | 390 | |
416 | 391 | |
417 | | - |
| 392 | + |
418 | 393 | |
419 | 394 | |
420 | 395 | |
| ||
423 | 398 | |
424 | 399 | |
425 | 400 | |
426 | | - |
| 401 | + |
427 | 402 | |
428 | 403 | |
429 | 404 | |
| ||
528 | 503 | |
529 | 504 | |
530 | 505 | |
531 | | - |
532 | | - |
533 | | - |
| 506 | + |
| 507 | + |
| 508 | + |
| 509 | + |
534 | 510 | |
535 | 511 | |
536 | 512 | |
| ||
565 | 541 | |
566 | 542 | |
567 | 543 | |
568 | | - |
| 544 | + |
569 | 545 | |
570 | 546 | |
571 | 547 | |
| ||
1028 | 1004 | |
1029 | 1005 | |
1030 | 1006 | |
1031 | | - |
| 1007 | + |
1032 | 1008 | |
1033 | 1009 | |
1034 | 1010 | |
| ||
1274 | 1250 | |
1275 | 1251 | |
1276 | 1252 | |
1277 | | - |
| 1253 | + |
1278 | 1254 | |
1279 | | - |
| 1255 | + |
1280 | 1256 | |
1281 | 1257 | |
1282 | 1258 | |
|
Collapse file
lib/internal/modules/esm/package_config.js
Copy file name to clipboard+8-98Lines changed: 8 additions & 98 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | | - |
6 | | - |
7 | 4 | |
8 | 5 | |
9 | 6 | |
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 | | - |
98 | | - |
99 | | - |
| 7 | + |
100 | 8 | |
101 | 9 | |
102 | 10 | |
| ||
109 | 17 | |
110 | 18 | |
111 | 19 | |
112 | | - |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
113 | 25 | |
114 | 26 | |
115 | 27 | |
| ||
124 | 36 | |
125 | 37 | |
126 | 38 | |
127 | | - |
| 39 | + |
| 40 | + |
128 | 41 | |
129 | 42 | |
130 | 43 | |
| ||
133 | 46 | |
134 | 47 | |
135 | 48 | |
136 | | - |
137 | | - |
138 | 49 | |
139 | 50 | |
140 | 51 | |
141 | 52 | |
142 | | - |
143 | 53 | |
144 | 54 | |
Collapse file
lib/internal/modules/esm/resolve.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/resolve.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
53 | 53 | |
54 | 54 | |
55 | 55 | |
56 | | - |
| 56 | + |
57 | 57 | |
| 58 | + |
58 | 59 | |
59 | 60 | |
60 | 61 | |
| ||
734 | 735 | |
735 | 736 | |
736 | 737 | |
737 | | - |
738 | | - |
| 738 | + |
739 | 739 | |
740 | 740 | |
741 | 741 | |
| ||
759 | 759 | |
760 | 760 | |
761 | 761 | |
762 | | - |
763 | | - |
| 762 | + |
| 763 | + |
764 | 764 | |
765 | 765 | |
766 | 766 | |
|
0 commit comments