Files
node/doc/api
Guy Bedford 8ae0ad0683 module: add "worker" condition for Web Worker threads
Adds a "worker" package condition that is applied within Web Worker
threads created via the `Worker` global, for the worker entry point,
its dependencies, `import()`, `require()` and `import.meta.resolve()`.
Threads created via `worker_threads`, including from within a Web
Worker, do not apply the condition. Other conditions are unaffected.

Assisted-by: OpenCode
Signed-off-by: Guy Bedford <guybedford@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66635
Reviewed-By: James M Snell <jasnell@gmail.com>
2026-10-19 17:09:42 +00:00
..
2026-10-15 00:52:34 +00:00
2026-09-03 11:40:52 +02:00
2026-09-22 10:59:57 +02:00
2026-10-19 02:34:09 +00:00
2026-10-07 16:40:44 +02:00
2026-10-14 15:17:15 +00:00
2026-09-03 15:37:21 +00:00
2026-09-25 20:28:33 +00:00
2025-12-16 20:31:28 +00:00
2026-10-05 21:26:47 +00:00
2026-09-11 13:15:27 -04:00
2026-08-03 11:44:23 +00:00
2026-10-17 21:42:53 +00:00
2026-09-25 20:28:33 +00:00
2026-10-19 02:34:09 +00:00
2026-10-07 16:40:44 +02:00