190n
190n
### What does this PR do? - Fixes many missing exception checks, and adds patterns to make it easier for us to keep this working in the future - Makes...
### What does this PR do? Bans undefined, null, and booleans which should never have been permitted by this function ### How did you verify your code works? CI only...
### What does this PR do? This fixes use-after-free bugs which I observed running `worker_threads.test.ts` under [rr](https://rr-project.org/). I unfortunately have no idea how to repro this outside of rr so...
Because it's possible to open and close `EscapableHandleScope`s at will, it's easy to create a Node-API value that references a stale handle. Here's a short example: ```rs #[napi] pub fn...
long-winded handle scope explanation and example code demonstrating when they are needed The intended use case of `napi_escapable_handle_scope` is when you have a scope in which many allocations are made,...
### What version of Bun is running? 1.3.6-canary.23+8484e1b82 ### What platform is your computer? Darwin 24.6.0 arm64 arm ### What steps can reproduce the bug? ``` mkdir -p tmp/node_modules #...