node/lib/internal/bootstrap
Joyee Cheung b621ada69a module: move the CJS exports cache to internal/modules/cjs/loader
This puts it together with the cjsParseCache and reduces the
circular dependency on the singleton loader, which is the
only place where this cache is stored.

Drive-by: remove always-false module status check because there's
no longer a local module variable after
https://github.com/nodejs/node/pull/34605 which is now invalid
leftover code at this point and only doesn't throw because
we happen to have a top-level variable called module.

PR-URL: https://github.com/nodejs/node/pull/51157
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2024-01-02 15:05:25 -03:00
..
switches module: move the CJS exports cache to internal/modules/cjs/loader 2024-01-02 15:05:25 -03:00
web lib: add --no-experimental-global-navigator CLI flag 2023-11-14 09:17:59 +01:00
node.js lib: add api to detect whether source-maps are enabled 2023-08-17 08:42:12 +00:00
realm.js lib: expose default prepareStackTrace 2024-01-02 15:05:24 -03:00
shadow_realm.js module: bootstrap module loaders in shadow realm 2023-11-23 10:15:44 +01:00