node/lib/internal/process
Antoine du Hamel d1ef6aa2db
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
Fixes: https://github.com/nodejs/node/issues/50134
Refs: 159c82c5e6
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2023-10-14 03:52:38 +00:00
..
esm_loader.js util: add getCwdSafe internal util fn 2023-09-22 08:37:42 +00:00
execution.js esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
per_thread.js
permission.js permission: handle fs path traversal 2023-06-20 17:31:47 -03:00
policy.js policy: disable process.binding() when enabled 2023-08-09 14:29:06 -03:00
pre_execution.js esm: bypass CommonJS loader under --default-type 2023-10-05 17:57:32 +00:00
promises.js
report.js permission: v8.writeHeapSnapshot and process.report 2023-07-04 13:12:48 +00:00
signal.js
task_queues.js
warning.js
worker_thread_only.js