Packages

node-addon-api

8.9.2 · 12 Aug 2026MIT139.4M / weekRepositorynpmAtom feed

Your version

5.1.0

13 Jan 2023Where it was published

In short

10 new3 fixed3 changed1 internal

Release note

SemVer minor release to pull changes since the last release. The main motivations for the release are:

  • Fix memory leak in Napi::AsyncProgressWorkerBase.

  • Add api to get callback_info from Napi::CallBackInfo.

  • Fix erros and warning in VS 2017.

  • Make Napi::Env::CleanupHook public.

  • Remove Napi::TypedArray::unknown_array_type.

  • Add tests related to Napi::Env.

  • Add tests related to Napi::TypedArray.

  • Add tests related to Napi::AsyncWorker.

  • Add tests related to Napi::TypedThreadSafeFunction.

  • Add tests related to Napi::Value.

  • Add test related to Napi::Promise.

  • Add Napi::HandleScope example.

  • Add Windows with VS 2022 and Node.JS 19.x to the CI matrix.

  • Fix stale workflow.

  • Update Node.js versions on CI component.

  • Add condition for Windows to find eslint.

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.