Files
node/doc/api
Antoine du Hamel a193be3dc2 esm: use import attributes instead of import assertions
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
Backport-PR-URL: https://github.com/nodejs/node/pull/51136
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>
2024-03-18 16:31:27 +00:00
..
2023-07-07 00:06:11 +03:00
2023-07-07 00:06:08 +03:00
2023-11-26 20:32:32 +01:00
2023-07-07 00:06:08 +03:00
2022-07-12 07:41:44 +02:00
2023-11-26 20:32:32 +01:00
2023-01-03 08:38:32 -05:00
2023-07-07 00:06:15 +03:00