node/lib/internal/process
Gang Chen a90defebcf
esm: make process.exit() default to exit code 0
Due to a bug in top-level await implementation, it used to default to
exit code 13.

PR-URL: https://github.com/nodejs/node/pull/41388
Backport-PR-URL: https://github.com/nodejs/node/pull/41508
Fixes: https://github.com/nodejs/node/issues/40808
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
2022-01-25 08:01:02 -05:00
..
esm_loader.js repl: support --loader option in builtin REPL 2020-07-16 17:09:12 -04:00
execution.js lib: add globalThis to primordials 2021-07-20 07:11:41 -04:00
per_thread.js esm: make process.exit() default to exit code 0 2022-01-25 08:01:02 -05:00
policy.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
promises.js process: add unhandled-rejection throw and warn-with-error-code 2020-06-30 09:34:13 -07:00
report.js src: add errorProperties on process.report 2020-06-30 09:34:33 -07:00
signal.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
task_queues.js process: do not lazily load AsyncResource 2021-05-01 12:31:12 +02:00
warning.js lib: refactor to use validateString 2021-08-31 10:55:01 -04:00
worker_thread_only.js bootstrap: use different scripts to setup different configurations 2019-12-20 22:10:13 +08:00