Skip to content

Use import attributes rather than json assertions#24

Merged
timlrx merged 1 commit into
timlrx:mainfrom
lishaduck:with-not-assert
Jul 13, 2024
Merged

Use import attributes rather than json assertions#24
timlrx merged 1 commit into
timlrx:mainfrom
lishaduck:with-not-assert

Conversation

@lishaduck

Copy link
Copy Markdown
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

timlrx commented Jul 13, 2024

Copy link
Copy Markdown
Owner

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