deps: cherry-pick Swallowed Rejection Hook from V8
Cherry-picks two commits:
- https://github.com/v8/v8/commit/2075910f3d070159bebd80e128dd09fdd87be56e
- https://github.com/v8/v8/commit/907d7bcd18c13a04a14eea6699e54167494bf9f9
Refs: https://github.com/nodejs/promises-debugging/issues/8
Being an API change, they are not eligible for upstream back-merge.
/cc @nodejs/v8-update @MayaLekova @nodejs/promises-debugging
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines