Skip to content
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

feat: support import assertions #417

Merged
merged 1 commit into from May 10, 2024
Merged

Conversation

onsclom
Copy link
Contributor

@onsclom onsclom commented May 9, 2024

acorn-import-attributes did not support import assertions before, but now it does!

This is important because acorn is failing to parse runner.js in this issue due to an import assertion.

Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@onsclom I believe assert was renamed to with.

Can you also add a test for with as well?

https://github.com/tc39/proposal-import-attributes

@onsclom
Copy link
Contributor Author

onsclom commented May 10, 2024

@onsclom I believe assert was renamed to with.

Can you also add a test for with as well?

https://github.com/tc39/proposal-import-attributes

This PR introduced a test for with so we are good there!

@onsclom onsclom added the automerge Automatically merge PR once checks pass label May 10, 2024
@kodiakhq kodiakhq bot merged commit ddc5cba into main May 10, 2024
10 checks passed
@kodiakhq kodiakhq bot deleted the austinmerrick/import-assertions branch May 10, 2024 16:38
Copy link

🎉 This PR is included in version 0.27.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

styfle added a commit to vercel/next.js that referenced this pull request May 16, 2024
panteliselef pushed a commit to panteliselef/next.js that referenced this pull request May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PR once checks pass released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants