190n
08a77267da
Keep event loop alive when refConcurrently has been called ( #14068 )
2024-09-20 14:57:55 -07:00
Jarred Sumner
c48997050d
Avoid creating a Napi handle scope within a finalizer ( #13870 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
2024-09-11 20:05:44 -07:00
190n
f6841a06c5
Make NAPI garbage collection tests faster ( #13898 )
2024-09-11 16:59:03 -07:00
190n
282b92d6e1
Fix issues with NAPI tests ( #13831 )
...
Co-authored-by: 190n <190n@users.noreply.github.com >
2024-09-09 17:08:40 -07:00
190n
084734db64
Implement napi_handle_scope and napi_escapable_handle_scope ( #13756 )
2024-09-07 00:55:19 -07:00
Jarred Sumner
cd6785771e
run prettier and add back format action ( #13722 )
2024-09-03 21:32:52 -07:00
190n
dc2929d4e1
Start implementing internal V8 APIs ( #12821 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-14 17:51:12 -07:00
Dylan Conway
ac4523e903
fix(napi): unref threadsafe functions on finalize ( #12788 )
2024-07-24 18:57:01 -07:00
Ashcon Partovi
d105b048b1
Use Buildkite for CI ( #11477 )
2024-06-27 14:56:07 -07:00
Jarred Sumner
c082ec5c9d
Fixes #1288 ( #11991 )
2024-06-20 16:14:14 -07:00
Ciro Spaciari
3a5077c622
fix(napi) napi_call_threadsafe_function should work with null data and napi_create_threadsafe_function should keep the process alive by default ( #11952 )
2024-06-18 13:38:04 -07:00
Jarred Sumner
0248e3c2b7
Add NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT=1 ( #9742 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-30 14:03:52 -07:00
Dylan Conway
c7289b2cd6
fix(windows): fix a few more tests ( #9550 )
...
* fix napi tests
* only windows, update passing tests
* remove closing remainder
* fix child_process-node.test.js
* might fail in ci
* oops
* fix dns tests
* remove comment
* sometimes it is slow
* update test
* maybe fix timeout error
* one more try
* off by one, valid npm package name
* update test
* fix hot tests
* revert
* remove close
2024-03-25 13:34:08 -07:00
dave caruso
072f2f15ea
ci: run windows tests and also run them concurrently ( #7758 )
2024-01-12 17:02:20 -08:00
Jarred Sumner
a93f467a74
NAPI fixes ( #7765 )
...
* napi fixes
* Make bcrypt work
* Always return this
* Fixes #7685
* [autofix.ci] apply automated fixes
* Update napi.cpp
* Make it clearer what this is doing
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-21 15:55:58 -08:00
Jarred Sumner
fe5e19da59
Implement v8::Isolate::TryGetCurrent, v8::Isolate::GetCurrent, v8::Isolate::GetCurrentContext, stub node::AddEnvironmentCleanupHook & node:: RemoveEnvironmentCleanupHook ( #7665 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-12-14 13:46:38 -08:00
Jarred Sumner
6a7b1a3208
Clean up lifetime handling for napi_create_string_utf16 ( #7311 )
...
* Clean up lifetime handling for `napi_create_string_utf16` and `napi_create_string_latin1`
* Fix `napi_create_arraybuffer`
* Update globals.d.ts
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-26 15:59:03 -08:00
Jarred Sumner
6c200c089c
Tweak napi PR ( #7177 )
...
* Fix assertion failure
* Fix the test
* Fix assertion failure
* Update bun.lockb
* Add node-gyp
* Update CMakeLists.txt
* Update napi.test.ts
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-17 17:00:44 -08:00
Olivier Guimbal
6e7014c91b
Fix napi_get_value_string_utf8 to match node ( #7175 )
...
* fix napi_get_value_string_utf8 to match node
closes #6949
* [autofix.ci] apply automated fixes
* Update test/napi/napi.test.ts
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* Update test/napi/napi.test.ts
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-11-17 05:27:58 -08:00