Geoffrey Booth
cb05e4d0c2
module: remove async module customization hooks
...
Remove `module.register()` (DEP0205), the `--experimental-loader` and
`--loader` flags, and the machinery that supported them: the loader
hooks worker thread, the hooks proxy, the async module customization
hook chains for resolving and loading, the internal worker class used to
run the loader thread, and the asynchronous module job linking. Module
customization is now provided only by `module.registerHooks()`, which
runs synchronously on the thread that loads the modules.
As the loader thread no longer exists, the ES module loader always loads
and links modules synchronously, so the code that handled promises and
the re-invented `require()` for imported CommonJS customized by the
async module customization hooks is removed too. `import()` still defers
evaluation of the module to a later microtask, as before.
`worker_threads.isInternalThread` is kept for compatibility and is now
always `false`; removing it is left for a future semver-major change.
The `ERR_ASYNC_LOADER_REQUEST_NEVER_SETTLED` and
`ERR_LOADER_CHAIN_INCOMPLETE` error codes are no longer used and are
documented as removed.
Tests that exist only to exercise the async module customization hooks
are removed.
Assisted-by: Claude
Signed-off-by: Geoffrey Booth <webadmin@geoffreybooth.com >
PR-URL: https://github.com/nodejs/node/pull/67090
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-11-14 21:51:46 +00:00
..
2026-11-02 20:57:00 +00:00
2026-10-24 19:17:24 +00:00
2026-10-24 19:17:24 +00:00
2026-10-24 19:17:24 +00:00
2026-11-02 16:19:43 +00:00
2026-10-15 00:52:34 +00:00
2026-11-13 03:50:49 +00:00
2026-11-13 03:50:53 +00:00
2026-11-13 03:50:51 +00:00
2026-11-13 03:50:52 +00:00
2026-11-13 03:50:49 +00:00
2026-11-05 22:26:21 +00:00
2026-11-05 22:26:21 +00:00
2026-10-25 16:54:41 +01:00
2026-11-09 06:49:29 +00:00
2026-11-01 08:22:55 +00:00
2026-11-01 08:22:55 +00:00
2026-11-01 08:22:55 +00:00
2026-11-02 16:20:12 +00:00
2026-11-10 16:38:46 +00:00
2026-10-29 08:56:09 +00:00
2026-10-29 08:56:09 +00:00
2026-10-29 08:56:09 +00:00
2026-10-29 08:56:09 +00:00
2026-10-25 22:36:32 +01:00
2026-11-02 20:57:00 +00:00
2026-11-11 08:27:59 +00:00
2026-10-14 21:09:57 +00:00
2026-11-11 08:27:59 +00:00
2026-11-11 08:27:59 +00:00
2026-10-28 01:46:44 +00:00
2026-11-07 09:12:29 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:14 +00:00
2026-10-24 22:04:14 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:38 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:16 +00:00
2026-11-04 09:29:22 +00:00
2026-10-24 22:04:16 +00:00
2026-10-24 22:04:16 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-11-05 15:22:01 +00:00
2026-11-06 07:28:07 +00:00
2026-10-25 22:36:32 +01:00
2026-11-11 10:56:08 +00:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:14 +00:00
2026-10-25 22:36:32 +01:00
2026-11-05 15:22:01 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-11-09 18:52:14 +00:00
2026-10-24 22:04:16 +00:00
2026-10-24 22:04:14 +00:00
2026-10-25 22:36:32 +01:00
2026-11-11 10:46:21 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-30 17:34:42 +00:00
2026-11-06 07:28:07 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-11-06 07:28:07 +00:00
2026-11-06 07:28:07 +00:00
2026-11-06 07:28:07 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-21 12:57:43 +02:00
2026-10-30 07:25:47 +00:00
2026-10-15 09:46:38 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-19 04:04:58 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:14 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-11-04 05:57:21 +00:00
2026-11-04 09:20:53 +00:00
2026-11-14 18:00:51 +00:00
2026-11-11 10:46:21 +00:00
2026-11-11 14:41:13 +01:00
2026-11-04 09:20:53 +00:00
2026-10-21 13:46:45 +02:00
2026-11-04 05:57:21 +00:00
2026-11-14 18:00:51 +00:00
2026-10-25 22:36:32 +01:00
2026-10-30 17:54:15 +00:00
2026-10-16 06:40:37 +00:00
2026-10-25 22:36:32 +01:00
2026-10-11 07:07:49 +00:00
2026-11-10 23:53:40 +00:00
2026-11-06 03:18:17 +00:00
2026-11-06 03:18:17 +00:00
2026-10-21 12:57:35 +02:00
2026-10-21 12:57:35 +02:00
2026-11-06 12:53:33 +00:00
2026-10-21 12:58:11 +00:00
2026-10-25 22:36:34 +01:00
2026-10-19 15:51:08 +00:00
2026-11-04 00:17:57 +01:00
2026-10-27 10:58:13 +00:00
2026-10-24 19:17:24 +00:00
2026-11-14 08:07:11 +00:00
2026-10-16 09:48:40 +00:00
2026-10-17 06:47:05 +00:00
2026-10-30 04:55:02 +00:00
2026-10-19 02:34:09 +00:00
2026-10-29 08:56:23 +00:00
2026-11-10 12:23:21 +00:00
2026-10-19 02:34:09 +00:00
2026-10-19 02:34:09 +00:00
2026-10-19 02:34:09 +00:00
2026-11-11 22:15:53 +00:00
2026-10-30 17:54:15 +00:00
2026-11-10 16:18:30 +00:00
2026-11-08 12:20:58 +00:00
2026-11-10 12:23:36 +00:00
2026-10-13 18:55:52 +00:00
2026-11-11 17:33:37 +01:00
2026-11-14 05:16:17 +00:00
2026-11-05 21:54:08 +00:00
2026-11-08 12:21:12 +00:00
2026-11-11 17:33:39 +01:00
2026-11-04 17:43:00 +00:00
2026-11-04 17:43:00 +00:00
2026-11-04 17:43:00 +00:00
2026-11-04 17:43:00 +00:00
2026-11-04 17:43:00 +00:00
2026-11-11 17:33:39 +01:00
2026-11-11 17:33:38 +01:00
2026-11-14 05:16:17 +00:00
2026-10-24 19:50:34 +00:00
2026-11-12 21:07:37 +00:00
2026-11-04 02:23:42 +00:00
2026-10-24 22:04:13 +00:00
2026-10-28 13:31:19 +00:00
2026-10-28 13:31:19 +00:00
2026-11-08 12:21:12 +00:00
2026-10-15 00:52:34 +00:00
2026-10-23 07:51:35 +00:00
2026-10-15 00:52:34 +00:00
2026-10-12 09:13:52 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-11-07 09:33:56 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-11-11 17:33:38 +01:00
2026-11-05 18:53:46 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-24 22:04:13 +00:00
2026-11-11 17:33:39 +01:00
2026-10-25 22:36:32 +01:00
2026-11-11 17:33:39 +01:00
2026-11-11 17:33:38 +01:00
2026-10-24 22:04:16 +00:00
2026-10-25 22:36:32 +01:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-24 22:04:13 +00:00
2026-10-24 22:04:13 +00:00
2026-10-24 22:04:13 +00:00
2026-11-05 15:21:41 +00:00
2026-10-16 09:48:39 +00:00
2026-11-14 21:51:46 +00:00
2026-10-15 07:53:03 +00:00
2026-10-16 09:48:37 +00:00
2026-10-17 09:45:08 +00:00
2026-11-02 16:19:02 +00:00
2026-11-02 16:19:56 +00:00
2026-11-02 16:19:14 +00:00
2026-10-18 06:08:16 +00:00
2026-10-15 00:52:34 +00:00
2026-10-19 14:53:43 +00:00
2026-11-12 14:41:07 +00:00
2026-10-17 00:53:49 +00:00
2026-11-11 01:56:58 +00:00
2026-10-21 12:57:43 +02:00
2026-10-15 07:53:03 +00:00
2026-10-13 13:33:55 +00:00
2026-10-22 20:12:12 +00:00
2026-11-11 01:56:58 +00:00
2026-11-11 22:15:53 +00:00
2026-10-20 16:26:16 +00:00
2026-10-21 12:57:43 +02:00
2026-10-19 02:34:09 +00:00
2026-11-11 17:33:39 +01:00
2026-10-21 12:57:43 +02:00
2026-10-25 22:36:32 +01:00
2026-11-14 21:51:46 +00:00
2026-10-18 06:36:43 +00:00
2026-10-28 12:56:13 +00:00
2026-11-03 15:28:29 +00:00
2026-11-05 19:25:00 +00:00
2026-10-13 07:48:55 +00:00
2026-11-11 16:18:43 +00:00
2026-10-30 20:17:16 +00:00
2026-10-20 11:01:08 +00:00
2026-10-17 21:42:53 +00:00
2026-11-02 12:22:47 +00:00
2026-11-02 12:22:47 +00:00
2026-10-10 17:56:22 +00:00
2026-10-19 21:16:23 +00:00
2026-10-26 16:32:08 +00:00
2026-10-26 16:32:08 +00:00
2026-10-11 16:10:53 +00:00
2026-11-02 16:18:47 +00:00
2026-10-15 07:53:03 +00:00
2026-10-30 04:55:02 +00:00
2026-10-30 04:55:02 +00:00
2026-10-23 07:04:37 +00:00
2026-11-09 21:26:34 +00:00
2026-10-16 18:06:44 +00:00
2026-10-20 14:00:22 +00:00
2026-10-30 04:55:02 +00:00
2026-11-05 15:21:41 +00:00
2026-11-07 16:25:42 +00:00
2026-11-06 11:53:45 +00:00
2026-10-26 15:21:02 +00:00
2026-10-22 22:59:47 +00:00
2026-10-25 07:24:48 +00:00
2026-11-07 16:25:42 +00:00
2026-11-07 16:25:42 +00:00
2026-10-14 18:50:29 +00:00
2026-10-16 09:48:41 +00:00
2026-10-29 01:21:53 +00:00
2026-10-25 06:39:02 +00:00
2026-10-15 13:26:46 +00:00
2026-10-15 13:26:46 +00:00
2026-10-10 17:56:23 +00:00
2026-10-15 13:26:50 +00:00
2026-10-15 13:26:46 +00:00
2026-10-15 13:26:45 +00:00
2026-10-15 13:26:49 +00:00
2026-10-15 13:26:46 +00:00
2026-10-15 13:26:46 +00:00
2026-10-10 17:56:21 +00:00
2026-10-30 17:54:15 +00:00
2026-10-30 17:54:15 +00:00
2026-10-13 15:25:12 +00:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:13 +00:00
2026-10-25 22:36:32 +01:00
2026-10-21 13:46:45 +02:00
2026-11-09 12:05:43 +00:00
2026-10-24 22:04:13 +00:00
2026-10-24 22:04:13 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-23 22:47:44 +00:00
2026-10-21 12:58:11 +00:00
2026-10-21 12:57:43 +02:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:13 +00:00
2026-10-24 22:04:15 +00:00
2026-10-24 22:04:16 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-21 12:58:11 +00:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:16 +00:00
2026-11-06 07:28:07 +00:00
2026-10-24 22:04:16 +00:00
2026-10-28 15:35:06 +00:00
2026-10-24 22:04:16 +00:00
2026-10-24 22:04:16 +00:00
2026-10-24 22:04:16 +00:00
2026-11-11 17:33:39 +01:00
2026-11-11 17:33:39 +01:00
2026-11-11 17:33:39 +01:00
2026-11-11 17:33:40 +01:00
2026-10-24 22:04:13 +00:00
2026-10-28 19:34:49 +00:00
2026-10-24 22:04:15 +00:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:13 +00:00
2026-10-24 22:04:13 +00:00
2026-10-24 22:04:13 +00:00
2026-10-24 22:04:13 +00:00
2026-11-14 06:25:03 +00:00
2026-11-11 17:33:38 +01:00
2026-11-11 17:33:39 +01:00
2026-10-24 22:04:13 +00:00
2026-11-14 08:07:22 +00:00
2026-10-19 12:35:59 +00:00
2026-10-30 09:54:04 +00:00
2026-11-14 18:00:51 +00:00
2026-10-25 22:36:32 +01:00
2026-10-19 02:34:09 +00:00
2026-10-30 11:17:16 +00:00
2026-10-20 04:54:54 +00:00
2026-11-04 05:57:21 +00:00
2026-10-15 07:53:03 +00:00
2026-11-10 23:53:40 +00:00
2026-11-10 23:53:40 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-11-14 16:01:59 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-22 21:49:15 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-19 01:41:35 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-19 02:34:09 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-25 17:19:12 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-11-02 21:19:09 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-22 22:27:46 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-11-11 11:07:06 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 07:53:03 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-10-15 00:52:34 +00:00
2026-11-13 10:25:49 +00:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:14 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:14 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:14 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:14 +00:00
2026-10-24 22:04:14 +00:00
2026-10-24 22:04:14 +00:00
2026-10-25 22:36:32 +01:00
2026-10-24 22:04:14 +00:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-10-25 22:36:32 +01:00
2026-11-06 18:30:31 +00:00
2026-11-11 08:27:59 +00:00
2026-11-14 21:51:46 +00:00
2026-11-11 08:27:59 +00:00
2026-11-11 08:27:59 +00:00
2026-11-11 08:27:59 +00:00
2026-11-11 08:27:59 +00:00
2026-11-11 08:27:59 +00:00
2026-11-11 08:27:59 +00:00
2026-11-11 08:27:59 +00:00
2026-11-11 08:27:59 +00:00
2026-10-23 07:51:50 +00:00
2026-10-13 10:10:59 +02:00
2026-10-25 12:10:11 +00:00
2026-10-16 16:59:40 +00:00
2026-10-14 08:51:58 +00:00
2026-11-02 08:24:14 +00:00
2026-10-29 11:53:26 +00:00
2026-11-09 06:27:34 +00:00
2026-11-02 08:35:07 +00:00
2026-10-19 02:34:09 +00:00
2026-10-30 17:54:15 +00:00
2026-10-31 13:33:07 +00:00
2026-11-09 06:49:29 +00:00
2026-11-11 08:27:59 +00:00
2026-10-19 02:34:09 +00:00
2026-10-25 22:36:32 +01:00
2026-10-28 13:57:21 +00:00
2026-10-28 13:57:21 +00:00
2026-10-28 13:57:17 +00:00
2026-10-20 12:33:08 +00:00
2026-10-23 13:23:50 +00:00
2026-11-02 16:19:28 +00:00
2026-11-11 17:33:37 +01:00
2026-10-29 08:56:38 +00:00
2026-10-28 13:56:55 +00:00
2026-10-27 17:45:32 +00:00
2026-10-21 12:57:43 +02:00
2026-10-27 17:45:32 +00:00
2026-10-27 17:45:32 +00:00
2026-10-27 17:45:32 +00:00
2026-10-29 08:56:52 +00:00