node/lib/internal/modules
Gang Chen 775bfd1579
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
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-14 01:37:41 +01:00
..
cjs loader: fix package resolution for edge case 2021-12-22 18:43:19 +00:00
esm esm: make process.exit() default to exit code 0 2022-01-14 01:37:41 +01:00
package_json_reader.js module: refactor to avoid unsafe array iteration 2021-01-06 11:30:18 +01:00
run_main.js esm: make process.exit() default to exit code 0 2022-01-14 01:37:41 +01:00