node/lib/internal/process
Chengzhong Wu b11ee4cad3
lib: allow skipping source maps in node_modules
Files in `node_modules` are not authored by the user directly and the
original sources are less relevant to the user.

Skipping source maps in `node_modules` improves the general
performance. Add `module.setSourceMapsSupport(enabled, options)` to
skip source maps in `node_modules` if it is needed. This moves
all source maps related API to `node:module` and this a step to
promote the source maps API to stable.

PR-URL: https://github.com/nodejs/node/pull/56639
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2025-01-23 22:44:10 +00:00
..
execution.js module: add ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX 2025-01-17 12:42:50 +00:00
finalization.js lib: fix typos 2024-09-25 14:35:18 +00:00
per_thread.js process: remove support for undocumented symbol 2025-01-12 15:05:44 +00:00
permission.js src,lib: stabilize permission model 2024-12-12 12:11:58 +00:00
pre_execution.js lib: allow skipping source maps in node_modules 2025-01-23 22:44:10 +00:00
promises.js lib: rewrite AsyncLocalStorage without async_hooks 2024-08-02 19:44:20 +00:00
report.js src: add cli option to preserve env vars on dr 2024-11-08 17:49:43 +00:00
signal.js errors: improve hideStackFrames 2023-11-11 16:25:08 +00:00
task_queues.js lib: improve async_context_frame structure 2024-08-09 19:44:42 +00:00
warning.js lib: prefer logical assignment 2024-10-09 06:42:16 +00:00
worker_thread_only.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00