node-addon-api
8.9.2 · 12 Aug 2026MIT139.4M / weekRepositorynpmAtom feed
Upgrading node-addon-api From 4.0.0 to 4.3.0
3 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Added iterator for
Napi::Object. - New
Added unwrapping logic to handle graceful error handling for primitives.
- New
Added BigInt value test.
- Fixed
Fixed usage of
napi_extended_error_infoinNapi::Error::New().
- New
- New
Allow creating Function with move-only functor.
- Fixed
Fixed casts to not be undefined behavior.
- Fixed
Fixed the way to enable C++ exceptions.
- New
- New
Added the wraps for
napi_add_env_cleanup_hookandnapi_remove_env_cleanup_hook. - New
Added Napi::Maybe<T> class to handle pending exception when cpp exception disabled.
- New
Added the check for nullpointer on
Napi::Stringinitialization. - New
Added first set of tests for
Napi::Symbol.
- New
10 other lines we could not sort, mostly version bumps
- 4.3.0
Removed travis config.
- 4.3.0
Updated compiler used for testing.
- 4.3.0
Minor fixes all overt est suite.
- 4.3.0
Documentation of iterator for
Napi::Object. - 4.3.0
Minor fixes all over documentation.
- 4.2.0
Run tests with options to prefix build root path.
- 4.2.0
Minor fixes all over the documentation.
- 4.1.0
Napi::Referenceupdated the default value to reflect the most possible values when there are any errors occurred onnapi_reference_unref. - 4.1.0
Updated test suite to avoid parallel running.
- 4.1.0
Updated example for context sensitivity.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.