Commit 3c04034
authored
Revert "esm: convert
This reverts commit 90b634a.
PR-URL: #43526
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>resolve hook to synchronous"1 parent f5ce6b1 commit 3c04034Copy full SHA for 3c04034
File tree
Expand file treeCollapse file tree
30 files changed
+127
-216
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal/modules/esm
- test
- es-module
- fixtures/es-module-loaders
Expand file treeCollapse file tree
30 files changed
+127
-216
lines changedOpen diff view settings
Collapse file
+8-21Lines changed: 8 additions & 21 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
324 | 324 | |
325 | 325 | |
326 | 326 | |
327 | | - |
328 | | - |
329 | | - |
330 | 327 | |
331 | 328 | |
332 | 329 | |
| ||
342 | 339 | |
343 | 340 | |
344 | 341 | |
345 | | - |
| 342 | + |
346 | 343 | |
347 | 344 | |
348 | | - |
349 | | - |
350 | | - |
351 | | - |
352 | | - |
| 345 | + |
353 | 346 | |
354 | 347 | |
355 | 348 | |
356 | 349 | |
357 | | - |
| 350 | + |
358 | 351 | |
359 | 352 | |
360 | 353 | |
| ||
363 | 356 | |
364 | 357 | |
365 | 358 | |
366 | | - |
| 359 | + |
367 | 360 | |
368 | 361 | |
369 | | - |
370 | | - |
| 362 | + |
| 363 | + |
371 | 364 | |
372 | 365 | |
373 | 366 | |
| ||
738 | 731 | |
739 | 732 | |
740 | 733 | |
741 | | - |
742 | | - |
743 | | - |
744 | 734 | |
745 | 735 | |
746 | 736 | |
| ||
774 | 764 | |
775 | 765 | |
776 | 766 | |
777 | | - |
778 | | - |
779 | | - |
780 | 767 | |
781 | 768 | |
782 | 769 | |
| ||
803 | 790 | |
804 | 791 | |
805 | 792 | |
806 | | - |
| 793 | + |
807 | 794 | |
808 | 795 | |
809 | 796 | |
| ||
1102 | 1089 | |
1103 | 1090 | |
1104 | 1091 | |
1105 | | - |
| 1092 | + |
1106 | 1093 | |
1107 | 1094 | |
1108 | 1095 | |
|
Collapse file
lib/internal/modules/esm/initialize_import_meta.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/initialize_import_meta.js+12-14Lines changed: 12 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
6 | 10 | |
7 | 11 | |
8 | 12 | |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
23 | 21 | |
24 | 22 | |
25 | 23 | |
|
Collapse file
lib/internal/modules/esm/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/loader.js+31-64Lines changed: 31 additions & 64 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
19 | | - |
20 | 18 | |
21 | 19 | |
22 | 20 | |
| ||
111 | 109 | |
112 | 110 | |
113 | 111 | |
114 | | - |
| 112 | + |
115 | 113 | |
116 | 114 | |
117 | | - |
118 | | - |
119 | 115 | |
120 | 116 | |
121 | | - |
| 117 | + |
122 | 118 | |
123 | 119 | |
124 | 120 | |
| ||
141 | 137 | |
142 | 138 | |
143 | 139 | |
144 | | - |
| 140 | + |
145 | 141 | |
146 | 142 | |
147 | 143 | |
| ||
152 | 148 | |
153 | 149 | |
154 | 150 | |
155 | | - |
| 151 | + |
156 | 152 | |
157 | 153 | |
158 | 154 | |
159 | | - |
160 | | - |
161 | | - |
| 155 | + |
162 | 156 | |
163 | 157 | |
164 | 158 | |
165 | 159 | |
166 | 160 | |
167 | | - |
168 | | - |
169 | | - |
| 161 | + |
170 | 162 | |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | | - |
181 | | - |
182 | | - |
| 163 | + |
| 164 | + |
183 | 165 | |
184 | | - |
185 | 166 | |
186 | 167 | |
187 | 168 | |
| ||
440 | 421 | |
441 | 422 | |
442 | 423 | |
443 | | - |
444 | | - |
445 | | - |
446 | | - |
447 | | - |
| 424 | + |
| 425 | + |
448 | 426 | |
449 | 427 | |
450 | 428 | |
| ||
579 | 557 | |
580 | 558 | |
581 | 559 | |
582 | | - |
583 | 560 | |
584 | 561 | |
585 | 562 | |
586 | | - |
| 563 | + |
587 | 564 | |
588 | 565 | |
589 | 566 | |
| ||
609 | 586 | |
610 | 587 | |
611 | 588 | |
612 | | - |
613 | | - |
614 | | - |
615 | | - |
616 | | - |
617 | | - |
618 | | - |
619 | | - |
620 | | - |
621 | 589 | |
622 | | - |
| 590 | + |
623 | 591 | |
624 | 592 | |
625 | 593 | |
626 | 594 | |
627 | | - |
| 595 | + |
| 596 | + |
| 597 | + |
| 598 | + |
| 599 | + |
| 600 | + |
| 601 | + |
628 | 602 | |
629 | 603 | |
630 | 604 | |
| ||
804 | 778 | |
805 | 779 | |
806 | 780 | |
807 | | - |
| 781 | + |
808 | 782 | |
809 | 783 | |
810 | 784 | |
| ||
828 | 802 | |
829 | 803 | |
830 | 804 | |
831 | | - |
832 | 805 | |
833 | 806 | |
| 807 | + |
834 | 808 | |
835 | 809 | |
836 | 810 | |
837 | 811 | |
838 | 812 | |
| 813 | + |
839 | 814 | |
840 | | - |
841 | 815 | |
842 | 816 | |
843 | 817 | |
844 | 818 | |
845 | 819 | |
846 | 820 | |
847 | 821 | |
848 | | - |
849 | | - |
850 | | - |
851 | | - |
852 | | - |
853 | | - |
854 | | - |
855 | | - |
856 | | - |
857 | | - |
858 | | - |
859 | | - |
860 | | - |
861 | 822 | |
862 | | - |
| 823 | + |
863 | 824 | |
864 | | - |
| 825 | + |
865 | 826 | |
866 | 827 | |
867 | | - |
| 828 | + |
| 829 | + |
| 830 | + |
| 831 | + |
| 832 | + |
| 833 | + |
| 834 | + |
868 | 835 | |
869 | 836 | |
870 | 837 | |
|
Collapse file
lib/internal/modules/esm/resolve.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/resolve.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1081 | 1081 | |
1082 | 1082 | |
1083 | 1083 | |
1084 | | - |
| 1084 | + |
1085 | 1085 | |
1086 | 1086 | |
1087 | 1087 | |
| ||
1227 | 1227 | |
1228 | 1228 | |
1229 | 1229 | |
1230 | | - |
| 1230 | + |
1231 | 1231 | |
1232 | 1232 | |
1233 | 1233 | |
1234 | | - |
| 1234 | + |
1235 | 1235 | |
1236 | 1236 | |
1237 | 1237 | |
|
0 commit comments