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

Use import attributes rather than json assertions #24

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

lishaduck
Copy link
Contributor

A quick fix from #21.
Not going to mark it as closed as I didn't test it, but it should fix it.

@timlrx
Copy link
Owner

timlrx commented Jul 13, 2024

Thanks for starting the fix. There's an additional consideration - import attributes is only supported from node v18.20 and node v20.10 onwards.

This means the package would probably need to support both versions. Will create a branch of this to handle the different conditions. I was also considering dropping support for Node 16 since it is now EOL, so this seems like a good chance to do so.

@timlrx timlrx merged commit 84bfd33 into timlrx:main Jul 13, 2024
@lishaduck lishaduck deleted the with-not-assert branch July 13, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants