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