Files
node/test/fixtures
Joyee Cheung c7c566023f 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 14:46:07 +01:00
..
2017-03-10 11:23:48 -08:00
2019-07-05 22:39:22 -07:00
2019-09-13 20:27:18 +02:00
2017-03-10 11:23:48 -08:00
…
2019-01-10 09:00:17 -05:00
…
…
2017-05-19 15:22:44 -04:00
2017-05-19 15:22:44 -04:00
…
2018-01-16 23:44:27 +01:00
2019-01-05 21:36:47 +01:00
…
…
…
2019-01-08 12:57:24 -06:00
2019-01-08 12:57:24 -06:00
2019-01-08 12:57:24 -06:00
2017-06-06 23:33:56 -07:00
…
…