-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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: throw ERR_REQUIRE_ESM
instead of ERR_INTERNAL_ASSERTION
#54868
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Review requested:
|
avivkeller
reviewed
Sep 9, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #54868 +/- ##
==========================================
- Coverage 87.90% 87.89% -0.01%
==========================================
Files 651 651
Lines 183343 183355 +12
Branches 35710 35722 +12
==========================================
- Hits 161165 161164 -1
+ Misses 15466 15461 -5
- Partials 6712 6730 +18
|
jasnell
approved these changes
Sep 10, 2024
Failed to start CI- Validating Jenkins credentials ✔ Jenkins credentials valid - Starting PR CI job ✘ Failed to start PR CI: 400 Bad Requesthttps://github.com/nodejs/node/actions/runs/10796198474 |
Failed to start CI- Validating Jenkins credentials ✔ Jenkins credentials valid - Starting PR CI job ✘ Failed to start PR CI: 400 Bad Requesthttps://github.com/nodejs/node/actions/runs/10796366576 |
lpinca
approved these changes
Sep 10, 2024
Landed in 53cdffe |
|
aduh95
added a commit
that referenced
this pull request
Sep 12, 2024
PR-URL: #54868 Fixes: #54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
aduh95
added a commit
that referenced
this pull request
Sep 13, 2024
PR-URL: #54868 Fixes: #54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
aduh95
added a commit
that referenced
this pull request
Sep 13, 2024
PR-URL: #54868 Fixes: #54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Merged
louwers
pushed a commit
to louwers/node
that referenced
this pull request
Nov 2, 2024
PR-URL: nodejs#54868 Fixes: nodejs#54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
tpoisseau
pushed a commit
to tpoisseau/node
that referenced
this pull request
Nov 21, 2024
PR-URL: nodejs#54868 Fixes: nodejs#54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
joyeecheung
pushed a commit
to joyeecheung/node
that referenced
this pull request
Feb 5, 2025
PR-URL: nodejs#54868 Fixes: nodejs#54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
joyeecheung
pushed a commit
to joyeecheung/node
that referenced
this pull request
Feb 5, 2025
PR-URL: nodejs#54868 Fixes: nodejs#54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
joyeecheung
pushed a commit
to joyeecheung/node
that referenced
this pull request
Feb 5, 2025
PR-URL: nodejs#54868 Fixes: nodejs#54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
joyeecheung
pushed a commit
to joyeecheung/node
that referenced
this pull request
Feb 5, 2025
PR-URL: nodejs#54868 Fixes: nodejs#54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Backport in #56927 |
joyeecheung
pushed a commit
to joyeecheung/node
that referenced
this pull request
Feb 6, 2025
PR-URL: nodejs#54868 Fixes: nodejs#54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
joyeecheung
pushed a commit
to joyeecheung/node
that referenced
this pull request
Feb 6, 2025
PR-URL: nodejs#54868 Fixes: nodejs#54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
joyeecheung
pushed a commit
to joyeecheung/node
that referenced
this pull request
Feb 10, 2025
PR-URL: nodejs#54868 Fixes: nodejs#54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
marco-ippolito
pushed a commit
that referenced
this pull request
Feb 11, 2025
PR-URL: #54868 Backport-PR-URL: #56927 Fixes: #54773 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Refs: #52697
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
backport-open-v20.x
Indicate that the PR has an open backport
esm
Issues and PRs related to the ECMAScript Modules implementation.
needs-ci
PRs that need a full CI run.
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.
With
--experimental-detect-module
being on by default, trying torequire()
a file with ESM syntax would result in an failed assertion if--experimental-require-module
was not passed. Instead of an assertion, let's throw the usual error.Fixes: #54773