-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Import attributes should be enabled for node18
and >= node20
targets
#3778
Comments
7 tasks
Thanks for the heads up! I'll add support for node v18.20+.
That's not exactly right. They're already enabled in v20.10+, just not v20+: (example) |
Thanks. I wasn't aware that |
7 tasks
This was referenced Jun 19, 2024
This was referenced Jun 30, 2024
This was referenced Sep 11, 2024
This was referenced Sep 17, 2024
This was referenced Sep 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Import attributes were initially shipped in Node 21, but have recently been backported into 18 and 20 branches, specifically available in v21.0.0, v20.10.0, v18.20.0.
Ref: https://nodejs.org/api/esm.html#import-assertions
Current behaviour enables them only for node 21 and above:
The text was updated successfully, but these errors were encountered: