Commit 05be31d
authored
esm: improve
PR-URL: #49965
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>getFormatOfExtensionlessFile speed1 parent 47b2883 commit 05be31dCopy full SHA for 05be31d
File tree
Expand file treeCollapse file tree
6 files changed
+76
-18
lines changedOpen diff view settings
Filter options
- lib/internal/modules/esm
- src
- typings/internalBinding
Expand file treeCollapse file tree
6 files changed
+76
-18
lines changedOpen diff view settings
Collapse file
lib/internal/modules/esm/formats.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/formats.js+11-18Lines changed: 11 additions & 18 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
| 3 | + |
7 | 4 | |
8 | | - |
9 | | - |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
10 | 9 | |
11 | 10 | |
12 | 11 | |
| ||
47 | 46 | |
48 | 47 | |
49 | 48 | |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
57 | 53 | |
58 | | - |
59 | | - |
60 | | - |
| 54 | + |
| 55 | + |
61 | 56 | |
62 | | - |
63 | | - |
64 | 57 | |
65 | 58 | |
66 | 59 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1058 | 1058 | |
1059 | 1059 | |
1060 | 1060 | |
| 1061 | + |
| 1062 | + |
| 1063 | + |
| 1064 | + |
1061 | 1065 | |
1062 | 1066 | |
1063 | 1067 | |
|
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
| 30 | + |
| 31 | + |
| 32 | + |
30 | 33 | |
31 | 34 | |
32 | 35 | |
|
Collapse file
+50Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2797 | 2797 | |
2798 | 2798 | |
2799 | 2799 | |
| 2800 | + |
| 2801 | + |
| 2802 | + |
| 2803 | + |
| 2804 | + |
| 2805 | + |
| 2806 | + |
| 2807 | + |
| 2808 | + |
| 2809 | + |
| 2810 | + |
| 2811 | + |
| 2812 | + |
| 2813 | + |
| 2814 | + |
| 2815 | + |
| 2816 | + |
| 2817 | + |
| 2818 | + |
| 2819 | + |
| 2820 | + |
| 2821 | + |
| 2822 | + |
| 2823 | + |
| 2824 | + |
| 2825 | + |
| 2826 | + |
| 2827 | + |
| 2828 | + |
| 2829 | + |
| 2830 | + |
| 2831 | + |
| 2832 | + |
| 2833 | + |
| 2834 | + |
| 2835 | + |
| 2836 | + |
| 2837 | + |
| 2838 | + |
| 2839 | + |
| 2840 | + |
| 2841 | + |
| 2842 | + |
| 2843 | + |
| 2844 | + |
2800 | 2845 | |
2801 | 2846 | |
2802 | 2847 | |
| ||
3209 | 3254 | |
3210 | 3255 | |
3211 | 3256 | |
| 3257 | + |
| 3258 | + |
| 3259 | + |
| 3260 | + |
3212 | 3261 | |
3213 | 3262 | |
3214 | 3263 | |
| ||
3329 | 3378 | |
3330 | 3379 | |
3331 | 3380 | |
| 3381 | + |
3332 | 3382 | |
3333 | 3383 | |
3334 | 3384 | |
|
Collapse file
typings/internalBinding/constants.d.ts
Copy file name to clipboardExpand all lines: typings/internalBinding/constants.d.ts+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
186 | 186 | |
187 | 187 | |
188 | 188 | |
| 189 | + |
| 190 | + |
189 | 191 | |
190 | 192 | |
191 | 193 | |
|
Collapse file
typings/internalBinding/fs.d.ts
Copy file name to clipboardExpand all lines: typings/internalBinding/fs.d.ts+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
1 | 3 | |
2 | 4 | |
3 | 5 | |
| ||
218 | 220 | |
219 | 221 | |
220 | 222 | |
| 223 | + |
| 224 | + |
221 | 225 | |
222 | 226 | |
223 | 227 | |
| ||
269 | 273 | |
270 | 274 | |
271 | 275 | |
| 276 | + |
| 277 | + |
272 | 278 | |
0 commit comments