diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-05-24 15:40:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 15:40:41 +0200 |
commit | 0bb5bbc7a0ff7565a4c7fa4ebc8c69e02f76e6b5 (patch) | |
tree | a5ab85f34d7984428288cb8d221cf09851d333bd /test_napi/src | |
parent | 787e1f0f92e81f025ec0dfdce2acff15900267fc (diff) |
fix(node): fire 'unhandledrejection' event when using node: or npm: imports (#19235)
This commit fixes emitting "unhandledrejection" event when there are
"node:" or "npm:" imports.
Before this commit the Node "unhandledRejection" event was emitted
using a regular listener for Web "unhandledrejection" event. This
listener was installed before any user listener had a chance to be
installed which effectively prevent emitting "unhandledrejection"
events to user code.
Closes https://github.com/denoland/deno/issues/16928
Diffstat (limited to 'test_napi/src')
0 files changed, 0 insertions, 0 deletions