Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move ESM loaders off-thread #44710
Move ESM loaders off-thread #44710
Changes from all commits
03f6bb4
a0bb205
cd16ccd
01f1191
5f02297
820aa55
231b964
ed412d5
4776a6d
2aed49a
78a2889
5746d17
c1afb3d
666ee10
8198a13
2d39e13
dd6a5d3
1415d6e
a374bd1
98b5512
7be92f3
382753a
2b3e6a5
c73001f
b4cccd4
b272d31
0ec518a
11c1471
0dd5114
d15b425
b796c02
599a616
42d485e
8e3e0c6
76e23d8
75fe62b
350351f
f3b2ed9
7e79b2f
c0142d6
5d7e3b4
685590c
49a4088
d40834d
47bd0bf
17ff524
2065222
b0cc21f
29d019f
8706cbd
04ebc5c
8aae17e
b74dcaa
3312b1c
7e8be7c
7b7e5be
3f4c9bf
140c03b
020b9d7
6899203
9d392ef
1c7dd71
acfa8d9
1821301
b1dcccc
0cfc683
7fd6fa1
a3982ee
47b4d83
d518e53
531c9a3
3bcf18c
b071a89
0911d15
0b1c22b
88686f5
1b1583e
3f4934a
800d151
a5a798b
f9371ae
0b79809
0cfec42
281e943
3e31a1c
595a95f
10bf7b8
106b400
cc9373a
a67af11
aab57d7
638b497
e340d24
018ab18
80cd74c
817d0e8
0590df4
cee03fa
258cf8a
8863cb9
13f3d8d
4731362
12717f7
61ad2a5
fa29a70
159ca6f
b4a8a2f
6177afa
a85288d
be8090e
f6679bc
722fd0e
544bf89
88f9042
6d8bfc6
31e7d5d
372065e
244f916
bc8e970
f44a246
221f2e2
9436c97
ad73db6
95052c6
acc0900
f02012f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: it would be great to somehow directly connect these values to where they ultimately come from (
lib/internal/worker.js
). as it is, they're kind of the string version of magic numbers that sort of happen to agree.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit (maybe out of scope): these cases are mutually exclusive with no fall-through. I think it might be cleaner and easier to grok as a map instead of a switch (where one might forget to
break
), like