-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Commits on Apr 12, 2023
-
esm: move hook execution to separate thread
Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Geoffrey Booth <[email protected]> Co-authored-by: Michaël Zasso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03f6bb4 - Browse repository at this point
Copy the full SHA 03f6bb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0bb205 - Browse repository at this point
Copy the full SHA a0bb205View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd16ccd - Browse repository at this point
Copy the full SHA cd16ccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01f1191 - Browse repository at this point
Copy the full SHA 01f1191View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f02297 - Browse repository at this point
Copy the full SHA 5f02297View commit details -
fix startup issues in hooks worker
Hooks initialisation has a cart-before-the-horse issue (see fixme in worker)
Configuration menu - View commit details
-
Copy full SHA for 820aa55 - Browse repository at this point
Copy the full SHA 820aa55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 231b964 - Browse repository at this point
Copy the full SHA 231b964View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed412d5 - Browse repository at this point
Copy the full SHA ed412d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4776a6d - Browse repository at this point
Copy the full SHA 4776a6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aed49a - Browse repository at this point
Copy the full SHA 2aed49aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78a2889 - Browse repository at this point
Copy the full SHA 78a2889View commit details -
Restore parentURL validation to defaultResolve (and therefore also to…
… import.meta.resolve)
Configuration menu - View commit details
-
Copy full SHA for 5746d17 - Browse repository at this point
Copy the full SHA 5746d17View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1afb3d - Browse repository at this point
Copy the full SHA c1afb3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 666ee10 - Browse repository at this point
Copy the full SHA 666ee10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8198a13 - Browse repository at this point
Copy the full SHA 8198a13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d39e13 - Browse repository at this point
Copy the full SHA 2d39e13View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd6a5d3 - Browse repository at this point
Copy the full SHA dd6a5d3View commit details -
fs.write(1, message) works at least in Mac and Windows for printing f…
…rom inside a worker
Configuration menu - View commit details
-
Copy full SHA for 1415d6e - Browse repository at this point
Copy the full SHA 1415d6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a374bd1 - Browse repository at this point
Copy the full SHA a374bd1View commit details -
Exceptions thrown inside loader hooks should be returned to the main …
…thread and rethrown there so that they're printed in stdout
Configuration menu - View commit details
-
Copy full SHA for 98b5512 - Browse repository at this point
Copy the full SHA 98b5512View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7be92f3 - Browse repository at this point
Copy the full SHA 7be92f3View commit details -
Send loader initialization errors up to the main thread so they can b…
…e thrown and printed
Configuration menu - View commit details
-
Copy full SHA for 382753a - Browse repository at this point
Copy the full SHA 382753aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b3e6a5 - Browse repository at this point
Copy the full SHA 2b3e6a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c73001f - Browse repository at this point
Copy the full SHA c73001fView commit details -
Add error handling around hooks method responses being undefined or h…
…ooks method responses being too large when serialized
Configuration menu - View commit details
-
Copy full SHA for b4cccd4 - Browse repository at this point
Copy the full SHA b4cccd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b272d31 - Browse repository at this point
Copy the full SHA b272d31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ec518a - Browse repository at this point
Copy the full SHA 0ec518aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11c1471 - Browse repository at this point
Copy the full SHA 11c1471View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dd5114 - Browse repository at this point
Copy the full SHA 0dd5114View commit details -
Configuration menu - View commit details
-
Copy full SHA for d15b425 - Browse repository at this point
Copy the full SHA d15b425View commit details -
Configuration menu - View commit details
-
Copy full SHA for b796c02 - Browse repository at this point
Copy the full SHA b796c02View commit details -
use postMessage from the main thread instead of atomics to signal the worker
Configuration menu - View commit details
-
Copy full SHA for 599a616 - Browse repository at this point
Copy the full SHA 599a616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42d485e - Browse repository at this point
Copy the full SHA 42d485eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e3e0c6 - Browse repository at this point
Copy the full SHA 8e3e0c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76e23d8 - Browse repository at this point
Copy the full SHA 76e23d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75fe62b - Browse repository at this point
Copy the full SHA 75fe62bView commit details -
refactor worker exception handling
It's possible to throw/reject with anything (not only instances of Error)
Configuration menu - View commit details
-
Copy full SHA for 350351f - Browse repository at this point
Copy the full SHA 350351fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3b2ed9 - Browse repository at this point
Copy the full SHA f3b2ed9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e79b2f - Browse repository at this point
Copy the full SHA 7e79b2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0142d6 - Browse repository at this point
Copy the full SHA c0142d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d7e3b4 - Browse repository at this point
Copy the full SHA 5d7e3b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 685590c - Browse repository at this point
Copy the full SHA 685590cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49a4088 - Browse repository at this point
Copy the full SHA 49a4088View commit details -
Wrap messages passed from worker to main thread so that we can carry …
…along and restore the extra properties of Error objects
Configuration menu - View commit details
-
Copy full SHA for d40834d - Browse repository at this point
Copy the full SHA d40834dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47bd0bf - Browse repository at this point
Copy the full SHA 47bd0bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17ff524 - Browse repository at this point
Copy the full SHA 17ff524View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2065222 - Browse repository at this point
Copy the full SHA 2065222View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0cc21f - Browse repository at this point
Copy the full SHA b0cc21fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29d019f - Browse repository at this point
Copy the full SHA 29d019fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8706cbd - Browse repository at this point
Copy the full SHA 8706cbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04ebc5c - Browse repository at this point
Copy the full SHA 04ebc5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aae17e - Browse repository at this point
Copy the full SHA 8aae17eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b74dcaa - Browse repository at this point
Copy the full SHA b74dcaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3312b1c - Browse repository at this point
Copy the full SHA 3312b1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e8be7c - Browse repository at this point
Copy the full SHA 7e8be7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b7e5be - Browse repository at this point
Copy the full SHA 7b7e5beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f4c9bf - Browse repository at this point
Copy the full SHA 3f4c9bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 140c03b - Browse repository at this point
Copy the full SHA 140c03bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 020b9d7 - Browse repository at this point
Copy the full SHA 020b9d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6899203 - Browse repository at this point
Copy the full SHA 6899203View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d392ef - Browse repository at this point
Copy the full SHA 9d392efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c7dd71 - Browse repository at this point
Copy the full SHA 1c7dd71View commit details -
Configuration menu - View commit details
-
Copy full SHA for acfa8d9 - Browse repository at this point
Copy the full SHA acfa8d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1821301 - Browse repository at this point
Copy the full SHA 1821301View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1dcccc - Browse repository at this point
Copy the full SHA b1dccccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cfc683 - Browse repository at this point
Copy the full SHA 0cfc683View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fd6fa1 - Browse repository at this point
Copy the full SHA 7fd6fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3982ee - Browse repository at this point
Copy the full SHA a3982eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47b4d83 - Browse repository at this point
Copy the full SHA 47b4d83View commit details -
Configuration menu - View commit details
-
Copy full SHA for d518e53 - Browse repository at this point
Copy the full SHA d518e53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 531c9a3 - Browse repository at this point
Copy the full SHA 531c9a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bcf18c - Browse repository at this point
Copy the full SHA 3bcf18cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b071a89 - Browse repository at this point
Copy the full SHA b071a89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0911d15 - Browse repository at this point
Copy the full SHA 0911d15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b1c22b - Browse repository at this point
Copy the full SHA 0b1c22bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88686f5 - Browse repository at this point
Copy the full SHA 88686f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b1583e - Browse repository at this point
Copy the full SHA 1b1583eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f4934a - Browse repository at this point
Copy the full SHA 3f4934aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 800d151 - Browse repository at this point
Copy the full SHA 800d151View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a798b - Browse repository at this point
Copy the full SHA a5a798bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9371ae - Browse repository at this point
Copy the full SHA f9371aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b79809 - Browse repository at this point
Copy the full SHA 0b79809View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cfec42 - Browse repository at this point
Copy the full SHA 0cfec42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 281e943 - Browse repository at this point
Copy the full SHA 281e943View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e31a1c - Browse repository at this point
Copy the full SHA 3e31a1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 595a95f - Browse repository at this point
Copy the full SHA 595a95fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10bf7b8 - Browse repository at this point
Copy the full SHA 10bf7b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 106b400 - Browse repository at this point
Copy the full SHA 106b400View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc9373a - Browse repository at this point
Copy the full SHA cc9373aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a67af11 - Browse repository at this point
Copy the full SHA a67af11View commit details -
Configuration menu - View commit details
-
Copy full SHA for aab57d7 - Browse repository at this point
Copy the full SHA aab57d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 638b497 - Browse repository at this point
Copy the full SHA 638b497View commit details -
Configuration menu - View commit details
-
Copy full SHA for e340d24 - Browse repository at this point
Copy the full SHA e340d24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 018ab18 - Browse repository at this point
Copy the full SHA 018ab18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80cd74c - Browse repository at this point
Copy the full SHA 80cd74cView commit details -
Co-authored-by: Michaël Zasso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 817d0e8 - Browse repository at this point
Copy the full SHA 817d0e8View commit details -
Update lib/internal/modules/esm/shared_constants.js
Co-authored-by: Jacob Smith <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0590df4 - Browse repository at this point
Copy the full SHA 0590df4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cee03fa - Browse repository at this point
Copy the full SHA cee03faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 258cf8a - Browse repository at this point
Copy the full SHA 258cf8aView commit details -
s/NUMBER_OF_INCOMING_MESSAGES/NUMBER_OF_MESSAGES_IN_TRANSIT/
Co-authored-by: Jacob Smith <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8863cb9 - Browse repository at this point
Copy the full SHA 8863cb9View commit details -
add explanation for how
process.cwd()
can failCo-authored-by: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13f3d8d - Browse repository at this point
Copy the full SHA 13f3d8dView commit details -
Apply suggestions from code review
Co-authored-by: Jacob Smith <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4731362 - Browse repository at this point
Copy the full SHA 4731362View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12717f7 - Browse repository at this point
Copy the full SHA 12717f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61ad2a5 - Browse repository at this point
Copy the full SHA 61ad2a5View commit details -
Apply suggestions from code review
Co-authored-by: Jordan Harband <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa29a70 - Browse repository at this point
Copy the full SHA fa29a70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 159ca6f - Browse repository at this point
Copy the full SHA 159ca6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a8a2f - Browse repository at this point
Copy the full SHA b4a8a2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6177afa - Browse repository at this point
Copy the full SHA 6177afaView commit details -
revert `git mv lib/internal/modules/esm/worker.js lib/internal/main/l…
…oader_thread.js`
Configuration menu - View commit details
-
Copy full SHA for a85288d - Browse repository at this point
Copy the full SHA a85288dView commit details -
Configuration menu - View commit details
-
Copy full SHA for be8090e - Browse repository at this point
Copy the full SHA be8090eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6679bc - Browse repository at this point
Copy the full SHA f6679bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 722fd0e - Browse repository at this point
Copy the full SHA 722fd0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 544bf89 - Browse repository at this point
Copy the full SHA 544bf89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88f9042 - Browse repository at this point
Copy the full SHA 88f9042View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d8bfc6 - Browse repository at this point
Copy the full SHA 6d8bfc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31e7d5d - Browse repository at this point
Copy the full SHA 31e7d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 372065e - Browse repository at this point
Copy the full SHA 372065eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 244f916 - Browse repository at this point
Copy the full SHA 244f916View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc8e970 - Browse repository at this point
Copy the full SHA bc8e970View commit details -
Configuration menu - View commit details
-
Copy full SHA for f44a246 - Browse repository at this point
Copy the full SHA f44a246View commit details -
fix race condition that could cause a dead lock when dealing with nev…
…er settling hooks
Configuration menu - View commit details
-
Copy full SHA for 221f2e2 - Browse repository at this point
Copy the full SHA 221f2e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9436c97 - Browse repository at this point
Copy the full SHA 9436c97View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad73db6 - Browse repository at this point
Copy the full SHA ad73db6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95052c6 - Browse repository at this point
Copy the full SHA 95052c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for acc0900 - Browse repository at this point
Copy the full SHA acc0900View commit details -
Configuration menu - View commit details
-
Copy full SHA for f02012f - Browse repository at this point
Copy the full SHA f02012fView commit details