Bump node-addon-api from 5.1.0 to 7.0.0
Bumps node-addon-api from 5.1.0 to 7.0.0.
Release notes
Sourced from node-addon-api's releases.
v7.0.0
SemVer major release to pull changes since the last release. The main motivations for the release are:
- Drop support for Node.js v14.x and v19.x.
- Ensure native receiver exists when calling instance methods and properties.
- Fix issue when creating
Napi::Errorinstances that wrap primitives values.What's Changed
- [test] Add test coverage for AsyncProgressWorker by
@JckXiain nodejs/node-addon-api#1307- doc: complete code curly braces in async_worker.md by
@gaowanluin nodejs/node-addon-api#1317- doc: add missing Value::IsBigInt by
@KevinEadyin nodejs/node-addon-api#1319- [Test] Add tests for async progress queue worker by
@JckXiain nodejs/node-addon-api#1316- [StepSecurity] Apply security best practices by
@step-security-botin nodejs/node-addon-api#1308- doc,chore: drop support for Node.js v14, v19 by
@KevinEadyin nodejs/node-addon-api#1324- release: v7.0.0 by
@KevinEadyin nodejs/node-addon-api#1336New Contributors
@gaowanlumade their first contribution in nodejs/node-addon-api#1317@step-security-botmade their first contribution in nodejs/node-addon-api#1308Full Changelog: https://github.com/nodejs/node-addon-api/compare/v6.1.0...v7.0.0
Release 6.1.0
SemVer minor release to pull changes since the last release. The main motivations for the release are:
- Enforce type checks on
Napi::Value::As().- Added
Napi::TypeTaggableclass.- Defined
NAPI_HAS_THREADSto make TSFN available on Emscripten.- Defined
NODE_API_NO_EXTERNAL_BUFFERS_ALLOWEDandNapi::Buffer::NewOrCopy()to handle the support for external buffers.What's Changed
- test: Add test covg for obj wrap by
@JckXiain nodejs/node-addon-api#1269- test: Update wait with a condition by
@JckXiain nodejs/node-addon-api#1297- Add test coverage for typed and range err by
@JckXiain nodejs/node-addon-api#1280- test: Complete test coverage for Reference class by
@JckXiain nodejs/node-addon-api#1277- Fix exits/exists typo in docs for Env::AddCleanupHook() by
@RedBeard0531in nodejs/node-addon-api#1306- src: enforce type checks on Napi::Value::As() by
@legendecasin nodejs/node-addon-api#1281New Contributors
@RedBeard0531made their first contribution in nodejs/node-addon-api#1306Full Changelog: https://github.com/nodejs/node-addon-api/compare/v6.0.0...v6.1.0
Release 6.0.0
SemVer major release to pull changes since the last release. The main motivations for the release are:
- Add
Napi::Object::TypeTag()andNapi::Object::CheckTypeTag()methods.- Set operator
napi_callback_infoexplicit.- Some minor fixes all over the test suite.
- Add tests related to
Napi::Object::TypeTag()andNapi::Object::CheckTypeTag()methods.
... (truncated)
Changelog
Sourced from node-addon-api's changelog.
2023-06-13 Version 7.0.0,
@KevinEadyNotable changes
API
- Drop support for Node.js v14.x and v19.x.
- Ensure native receiver exists when calling instance methods and properties.
- Fix issue when creating
Napi::Errorinstances that wrap primitives values.TEST
- Added tests for
Napi::AsyncProgressQueueWorker<T>class.- Added tests for
Napi::AsyncProgressWorker<T>class.Documentation
- Added documentation for
Napi::Value::IsBigInt().Commits
- [
de5c899400] - doc,chore: drop support for Node.js v14, v19 (Kevin Eady) #1324- [
3083b7f148] - [StepSecurity] Apply security best practices (StepSecurity Bot) #1308- [
a198e24a15] - [Test] Add tests for async progress queue worker (Jack) #1316- [
665f4aa845] - doc: add missing Value::IsBigInt (Kevin Eady) #1319- [
358b2d3b4f] - doc: complete code curly braces in async_worker.md (wanlu) #1317- [
858942ce31] - src: avoid calling into C++ with a null this (Caleb Hearon) #1313- [
64f6515331] - src: handle failure during error wrap of primitive (Gabriel Schulhof) #1310- [
dfad6b45fe] - [test] Add test coverage for AsyncProgressWorker (Jack) #1307- [
0e34f22839] - release: v6.1.0. (Nicola Del Gobbo)2023-04-20 Version 6.1.0,
@NickNasoNotable changes
API
- Enforce type checks on
Napi::Value::As().- Added
Napi::TypeTaggableclass.- Defined
NAPI_HAS_THREADSto make TSFN available on Emscripten.- Defined
NODE_API_NO_EXTERNAL_BUFFERS_ALLOWEDandNapi::Buffer::NewOrCopy()to handle the support for external buffers.TEST
- Added tests for
Napi::Reference<T>class.- Added tests for copy/move semantics.
- Added tests for
Napi::RangeErrorandNapi::TypeErrorclass.- Fixed inconsistent failure executing test suite.
- Added tests for
Napi::ObjectReference<T>class.
... (truncated)
Commits
39a25bfrelease: v7.0.0 (#1336)de5c899doc,chore: drop support for Node.js v14, v19 (#1324)3083b7f[StepSecurity] Apply security best practices (#1308)a198e24[Test] Add tests for async progress queue worker (#1316)665f4aadoc: add missing Value::IsBigInt (#1319)358b2d3doc: complete code curly braces in async_worker.md (#1317)858942csrc: avoid calling into C++ with a null this64f6515src: handle failure during error wrap of primitivedfad6b4[test] Add test coverage for AsyncProgressWorker (#1307)0e34f22release: v6.1.0.- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by kevineady, a new releaser for node-addon-api since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
@dependabot rebase