Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
esm: isolate globalPreload#49545
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
esm: isolate globalPreload #49545
Uh oh!
There was an error while loading. Please reload this page.
Conversation
nodejs-github-bot commented Sep 7, 2023
Review requested:
|
ddff9d9 to 53a714bCompareUh oh!
There was an error while loading. Please reload this page.
aduh95 left a comment
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.
I would recommend doing a test-only PR and leave the lib/ changes as they hardly have anything to do with globalPreload, and are so small anyway that it will pollute git blame without helping much in case of conflicts.
test/fixtures/es-module-loaders/loader-this-value-inside-hook-functions.mjs Outdated Show resolvedHide resolved
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
2998e47 to a1d13f2Comparenodejs-github-bot commented Sep 8, 2023
nodejs-github-bot commented Sep 8, 2023
nodejs-github-bot commented Sep 9, 2023
nodejs-github-bot commented Sep 9, 2023
Landed in 479a50c |
PR-URL: #49545 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
PR-URL: nodejs#49545 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
PR-URL: nodejs#49545 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
PR-URL: #49545 Backport-PR-URL: #50669 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
PR-URL: nodejs/node#49545 Backport-PR-URL: nodejs/node#50669 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
PR-URL: nodejs/node#49545 Backport-PR-URL: nodejs/node#50669 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
From #49144 (comment), this PR minimizes the changes in #49144 so that if an extended period goes by before it gets backported, the potential for conflicts is as reduced as possible. The idea is that this can be merged now, without breaking anyone; and #49144 can be merged on
mainbut not backported for a while, which might cause difficulties backporting later PRs but hopefully such conflicts will be fewer because of the changes in this PR. @nodejs/loadersI left one test in
test-esm-loader-hooks.mjsbecause I expect that to remain (but change) after #49144, because presumably we’ll want to emit some kind of warning or error indefinitely when this hook is defined.