Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! esm: use import attributes instead of import assertions
  • Loading branch information
aduh95 committed Oct 11, 2023
commit 7d0bf1ff269a3f72bb739ee21423fd43f0a61148
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ tools/github_reporter
benchmark/tmp
benchmark/fixtures
doc/**/*.js
doc/changelogs/CHANGELOG_v1*.md
!doc/changelogs/CHANGELOG_v18.md
!doc/api_assets/*.js
!.eslintrc.js
6 changes: 3 additions & 3 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<!-- YAML
added: v8.5.0
changes:
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/00000
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/50140
description: Add experimental support for import attributes.
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/44710
Expand Down Expand Up @@ -246,7 +246,7 @@ added:
- v16.14.0
changes:
- version: REPLACEME
pr-url: TODO
pr-url: https://github.com/nodejs/node/pull/50140
description: Switch from Import Assertions to Import Attributes.
-->

Expand Down
8 changes: 5 additions & 3 deletions doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,11 @@ register('./path-to-my-hooks.js', {

<!-- YAML
changes:
- version: REAPLACEME
pr-url: https://github.com/nodejs/node/pull/00000
description: `importAssertions` is replaced with `importAttributes`.
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/50140
description: The property `context.importAssertions` is replaced with
`context.importAttributes`. Using the old name is still
supported and will emit an experimental warning.
- version:
- v18.6.0
- v16.17.0
Expand Down