0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/process
cjihrig 7cf6f9e964
process: refactor unhandledRejection logic
This commit prevents a deprecation warning from being emitted
if the unhandledRejection event was actually handled.

PR-URL: https://github.com/nodejs/node/pull/28540
Fixes: https://github.com/nodejs/node/issues/28539
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2019-07-07 11:29:31 -04:00
..
esm_loader.js module: initialize module_wrap.callbackMap during pre-execution 2019-04-25 12:11:10 +08:00
execution.js process: split routines used to enhance fatal exception stack traces 2019-06-27 20:22:08 +08:00
main_thread_only.js process: improve cwd performance 2019-04-26 18:43:11 +02:00
per_thread.js process: expose uv_rusage on process.resourcesUsage() 2019-07-01 16:02:17 +02:00
policy.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
promises.js process: refactor unhandledRejection logic 2019-07-07 11:29:31 -04:00
report.js report: improve signal name validation 2019-04-10 20:36:10 -04:00
stdio.js src: move guessHandleType in the util binding 2019-04-20 13:25:41 +08:00
task_queues.js src: refactor uncaught exception handling 2019-06-19 16:16:37 +08:00
warning.js lib: require globals instead of using the global proxy 2019-04-16 04:24:26 +08:00
worker_thread_only.js