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
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