Closed mohd-akram closed 1 week ago
Changing the import syntax is not enough, there are extra changes to Babel required + the last time I checked TS highlighted with
as an error even though we're already at v5.3+ so it'd be the best to update typescript
too.
Thanks, that helped.
Babel was converting it to with type: 'json'
(I believe that's the with-legacy
option).
Support for import attributes was added in Node.js 18.20 so the CI version needed to be updated.
:tada: This PR is included in version 7.8.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Resolves
SyntaxError: Unexpected identifier 'assert'
in Node.js 22.Closes #1663