Files
node/lib
Joyee Cheung efce655c0f module: reduce circular dependency of internal/modules/cjs/loader
Previously `internal/bootstrap/pre_execution.js` requires
`internal/modules/cjs/loader.js` which in turn requires
`internal/bootstrap/pre_execution.js`. This patch moves the
entry point execution logic out of `pre_execution.js` and
puts it into `internal/modules/run_main.js`. It also tests
that `Module.runMain` can be monkey-patched before further
deprecation/refactoring can be done.

Also added an internal assertion `hasLoadedAnyUserCJSModule`
for documentation purposes.

PR-URL: https://github.com/nodejs/node/pull/30349
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2019-11-19 13:43:59 +01:00
..
2019-11-13 17:04:22 +00:00
2019-11-18 19:34:14 -08:00
2019-11-11 19:50:40 -08:00
2019-11-12 09:56:34 +00:00
2019-11-09 13:19:51 +01:00
2019-11-07 00:55:00 +01:00
2019-11-09 05:49:26 -08:00
2019-11-08 15:31:05 -08:00
2019-11-19 17:54:39 +05:30
2019-11-12 14:04:55 -08:00
2019-11-16 17:07:54 -08:00
2019-11-12 09:53:15 +00:00
2019-10-14 14:25:38 -07:00