node-addon-api
8.9.2 · 12 Aug 2026MIT139.4M / weekRepositorynpmAtom feed
Upgrading node-addon-api From 4.0.0 to 4.1.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 4
- new
- 0
- fixes
Release by release
- 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
3 other lines we could not sort, mostly version bumps
- 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.