esm: drop support for import assertions by nicolo-ribaudo · Pull Request #52104 · nodejs/node
added
c++
labels
This patch removes support for the `assert` keyword for import attributes. It was an old variant of the proposal that was only shipped in V8 and no other engine, and that has then been replaced by the `with` keyword. Chrome is planning to remove support for `assert` in version 126, which will be released in June. Node.js already supports the `with` keyword for import attributes, and this patch does not change that.
valadaptive added a commit to valadaptive/scratchblocks that referenced this pull request
These no longer build in Node 22 since import assertions were removed: nodejs/node#52104
KockaAdmiralac pushed a commit to WikiaUsers/ContentReviewLog that referenced this pull request
* fix syntax error due to `assert` nodejs/node#52104 (comment) * fix missed assert thanks for pointing it out puxlit * bump nodejs version and regenerate package-lock.json per kocka's request
evert
mentioned this pull request
nodejs-github-bot pushed a commit that referenced this pull request
tpoisseau pushed a commit to tpoisseau/node that referenced this pull request
PR-URL: nodejs#55883 Refs: nodejs#52104 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request
PR-URL: nodejs#55883 Refs: nodejs#52104 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
aduh95 added a commit that referenced this pull request
aduh95 added a commit that referenced this pull request
ruyadorno pushed a commit that referenced this pull request
jpmcb
mentioned this pull request
eucyt
mentioned this pull request