Files
node/lib/internal
Chengzhong Wu adce20c0a1 test: print stack immediately avoiding GC interleaving
`require(mod)` does not keep the mod in require cache if
mod throws synchronously. This fixes the tests to print
the stack immediately in case that source map cache could
be cleaned up when the CJS module is reclaimed by GC in
the next event loop tick.

PR-URL: https://github.com/nodejs/node/pull/61699
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2026-02-08 10:10:46 +01:00
..
2026-01-25 00:07:50 +01:00
2025-10-13 10:05:45 +02:00
2026-01-13 10:04:35 -03:00
2024-10-09 06:42:16 +00:00
2026-01-20 15:21:04 +01:00
2026-02-02 14:02:21 +01:00
2026-01-13 10:04:44 -03:00
2025-07-18 07:55:10 -07:00
2026-02-02 14:02:22 +01:00
2025-10-04 22:08:00 +02:00
2026-01-13 10:04:48 -03:00

Internal Modules

The modules located in lib/internal directory are exclusively meant for internal usage within the Node.js core. They are not intended to be accessed via user modules require(). These modules may change at any point in time. Relying on these internal modules outside the core is not supported and can lead to unpredictable behavior.

In certain scenarios, accessing these internal modules for debugging or experimental purposes might be necessary. Node.js provides the --expose-internals flag to expose these modules to userland code. This flag only exists to assist Node.js maintainers with debugging internals. It is not meant for use outside the project.