1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/ext/node
Bartek Iwańczuk 7471587d29
feat: "rejectionhandled" Web event and "rejectionHandled" Node event (#21875)
This commit adds support for "rejectionhandled" Web Event and
"rejectionHandled" Node event.

```js
import process from "node:process";

process.on("rejectionHandled", (promise) => {
  console.log("rejectionHandled", reason, promise);
});

window.addEventListener("rejectionhandled", (event) => {
  console.log("rejectionhandled", event.reason, event.promise);
});
```

---------

Co-authored-by: Matt Mastracci <matthew@mastracci.com>
2024-01-12 22:10:42 +00:00
..
benchmarks fix: implement child_process IPC (#21490) 2023-12-13 11:14:16 +01:00
ops fix: android support (#19437) 2024-01-10 06:04:14 -07:00
polyfills feat: "rejectionhandled" Web event and "rejectionHandled" Node event (#21875) 2024-01-12 22:10:42 +00:00
analyze.rs fix: cjs export rewritten to invalid identifier (#21853) 2024-01-08 17:50:52 +00:00
build.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
Cargo.toml chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
errors.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
global.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
lib.rs fix(ext/node): add fs.cp, fs.cpSync, promises.cp (#21745) 2024-01-05 18:28:33 +05:30
package_json.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
path.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
polyfill.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00

deno_node

require and other node related functionality for Deno.