Packages

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…

Other targets from 4.0.0Latest8.9.2
0
changes to make
0
advisories fixed
8
new
3
fixes

Release by release

  1. 4.3.0

    21 Jan 20223 new · 1 fix
    • 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_info in Napi::Error::New().

  2. 4.2.0

    17 Sep 20211 new · 2 fixes
    • New

      Allow creating Function with move-only functor.

    • Fixed

      Fixed casts to not be undefined behavior.

    • Fixed

      Fixed the way to enable C++ exceptions.

  3. 4.1.0

    25 Aug 20214 new
    • New

      Added the wraps for napi_add_env_cleanup_hook and napi_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::String initialization.

    • New

      Added first set of tests for Napi::Symbol.

10 other lines we could not sort, mostly version bumps
  • 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.3.0
  • Run tests with options to prefix build root path.

    4.2.0
  • Minor fixes all over the documentation.

    4.2.0
  • Napi::Reference updated the default value to reflect the most possible values when there are any errors occurred on napi_reference_unref.

    4.1.0
  • Updated test suite to avoid parallel running.

    4.1.0
  • Updated example for context sensitivity.

    4.1.0

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.