Update dependency node-addon-api to v7 - autoclosed #59
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.0.0
->^7.0.0
Release Notes
nodejs/node-addon-api (node-addon-api)
v7.0.0
Compare Source
Notable changes
API
Napi::Error
instances that wrap primitives values.TEST
Napi::AsyncProgressQueueWorker<T>
class.Napi::AsyncProgressWorker<T>
class.Documentation
Napi::Value::IsBigInt()
.Commits
de5c899400
] - doc,chore: drop support for Node.js v14, v19 (Kevin Eady) #13243083b7f148
] - [StepSecurity] Apply security best practices (StepSecurity Bot) #1308a198e24a15
] - [Test] Add tests for async progress queue worker (Jack) #1316665f4aa845
] - doc: add missing Value::IsBigInt (Kevin Eady) #1319358b2d3b4f
] - doc: complete code curly braces in async_worker.md (wanlu) #1317858942ce31
] - src: avoid calling into C++ with a null this (Caleb Hearon) #131364f6515331
] - src: handle failure during error wrap of primitive (Gabriel Schulhof) #1310dfad6b45fe
] - [test] Add test coverage for AsyncProgressWorker (Jack) #13070e34f22839
] - release: v6.1.0. (Nicola Del Gobbo)v6.1.0
Compare Source
Notable changes
API
Napi::Value::As()
.Napi::TypeTaggable
class.NAPI_HAS_THREADS
to make TSFN available on Emscripten.NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
andNapi::Buffer::NewOrCopy()
to handle the support for external buffers.TEST
Napi::Reference<T>
class.Napi::RangeError
andNapi::TypeError
class.Napi::ObjectReference<T>
class.Napi::ObjectWrap<T>
class.Documentation
Napi::TypeTaggable
.Commits
5adb896782
] - src: enforce type checks on Napi::Value::As() (#1281) (Chengzhong Wu)d9faac7ec2
] - Fix exits/exists typo in docs for Env::AddCleanupHook() (#1306) (Mathias Stearn)164459ca03
] - doc: update class hierarchy for TypeTaggable (Gabriel Schulhof) #1303d01304437c
] - src: interject class TypeTaggable (Gabriel Schulhof) #1298d4942ccd4f
] - test: Complete test coverage for Reference<T> class (#1277) (Jack)a8ad7e7a7b
] - test: Add tests for copy/move semantics (JckXia) #1295e484327344
] - Add test coverage for typed and range err (#1280) (Jack)ebc7858593
] - test: Update wait with a condition (#1297) (Jack)0b53d885f5
] - src: defineNAPI_HAS_THREADS
(toyobayashi) #1283464610babf
] - test: complete objectRefs tests (JckXia) #1274b16c762a19
] - src: handle no support for external buffers (legendecas) #127361b8e28720
] - test: Add test covg for obj wrap (#1269) (Jack)v6.0.0
Compare Source
Notable changes
API
Napi::Object::TypeTag()
andNapi::Object::CheckTypeTag()
methods.napi_callback_info
explicit.TEST
Napi::Object::TypeTag()
andNapi::Object::CheckTypeTag()
methods.Napi::CallbackScope
.Napi::EscapableHandleScope
.Napi::Maybe<T>
.Napi::ThreadSafeFuntion
.Napi::AsyncWorker
.Documentation
Napi::Object::TypeTag()
andNapi::Object::CheckTypeTag()
methods.TOOL
x86
architecture to the CI matrix.Commits
e2726193f1
] - src: remove AsyncWorker move and complete tests (JckXia) #1266ff969485ea
] - chore: build node-addon-api against X86 (JckXia) #1276a70564cdfd
] - test: add cov for ThreadSafeFunction new overloads (JckXia) #125153f7cf1d48
] - src: make operator napi_callback_info explicit (Kevin Eady) #127578b5a15533
] - test: Add tests for ThreadSafeFunction's NonBlock function overloads (#1249) (Jack)fdc6263034
] - test: Add test covg for Maybe<T> (#1270) (Jack)35d9d669b3
] - test: add test covg for handle and escapehandle scopes (JckXia) #1263021313409e
] - test: add unit test covg for callbackscopes (JckXia) #1262b11e4de2cf
] - src: add Object::TypeTag, Object::CheckTypeTag (Kevin Eady) #1261Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.