mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
The old import assertions proposal has been renamed to "import attributes" with the follwing major changes: 1. The keyword is now `with` instead of `assert`. 2. Unknown assertions cause an error rather than being ignored, This commit updates the documentation to encourage folks to use the new syntax, and add aliases for module customization hooks. PR-URL: https://github.com/nodejs/node/pull/50140 Fixes: https://github.com/nodejs/node/issues/50134 Refs: https://github.com/v8/v8/commit/159c82c5e6392e78b9bba7161b1bed6e23758984 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
16 lines
305 B
Plaintext
16 lines
305 B
Plaintext
node_modules
|
|
lib/punycode.js
|
|
test/addons/??_*
|
|
test/fixtures
|
|
test/message/esm_display_syntax_error.mjs
|
|
tools/icu
|
|
tools/lint-md/lint-md.mjs
|
|
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
|