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

Replace import assertions with import attributes #943

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

divergentdave
Copy link
Collaborator

See https://nodejs.org/api/esm.html#import-attributes. The "import assertions" feature has been replaced with "import attributes", and support for the assert syntax is removed as of Node.js v22. This only affects some tests. (our CI runs tests with Node.js v20 currently, and thus hasn't been affected, since both syntaxes are supported)

@divergentdave divergentdave requested a review from a team as a code owner July 29, 2024 16:09
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10147866818

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 84.836%

Totals Coverage Status
Change from base Build 10081643085: 0.0%
Covered Lines: 3472
Relevant Lines: 4104

💛 - Coveralls

@divergentdave divergentdave merged commit cbbeba7 into main Jul 29, 2024
5 checks passed
@divergentdave divergentdave deleted the david/import-attributes branch July 29, 2024 16:35
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.

3 participants