-
Notifications
You must be signed in to change notification settings - Fork 30k
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: rename error code related to import attributes #50181
Conversation
Review requested:
|
removed: REPLACEME | ||
--> | ||
|
||
An import assertion has failed, preventing the specified module to be imported. |
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.
An import assertion has failed, preventing the specified module to be imported. | |
An import assertion has failed, preventing the specified module being imported. |
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'd prefer to keep it as is, it's the wording used today in https://nodejs.org/api/errors.html#err_import_assertion_type_failed.
removed: REPLACEME | ||
--> | ||
|
||
An import assertion is missing, preventing the specified module to be imported. |
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.
An import assertion is missing, preventing the specified module to be imported. | |
An import assertion is missing, preventing the specified module being imported. |
CITGM: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/3333/ Test failures seems to match the ones happening on 21.0.0 release proposal, the only addition is torrent-stream but that's a timeout. |
Landed in 37d4f08 |
PR-URL: #50181 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
PR-URL: nodejs#50181 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
Why is this |
PR-URL: nodejs#50181 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
I'm pretty sure I added the |
Ah no, I remember now, this PR changes the error codes, and that could break existing code. |
Aren't we allowed to break code since this is an experimental feature? |
Forget it. We can keep this out of LTS. |
No description provided.