Update dependency node-addon-api to v7 - autoclosed #433
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) #1261v5.1.0
Compare Source
Notable changes
API
Napi::AsyncProgressWorkerBase
.callback_info
fromNapi::CallBackInfo
.Npi::Env::CleanupHook
public.Napi::TypedArray::unknown_array_type
.TEST
Napi::Env
.Napi::TypedArray
.Napi::AsyncWorker
.Napi::TypedThreadSafeFunction
.Napi::Value
.Napi::Promise
.Documentation
Napi::HandleScope
example.TOOL
Commits
79a446fb9c
] - Update contributors (#1265) (Kevin Eady)01c61690c6
] - src: napi-inl: Fix a memory leak bug inAsyncProgressWorkerBase
(Ammar Faizi) #126455bd08ee26
] - src: api to get callback_info from CallBackInfo (JckXia) #1253ad76256714
] - test: add tests related to env (JckXia) #12545c3937365d
] - chore: add Windows with VS 2022 and Node.JS 19.x to the CI matrix (#1252) (Vladimir Morozov)97736c93f4
] - src: fix errors and warnings in VS 2017 (Vladimir Morozov) #1245ad7ff92c16
] - src: refactor call js wrapper (#1242) (Jack)39267baf1b
] - src: make CleanupHook public (Julian Mesa) #1240edf630cc79
] - src: fix implementation of Signal (Kevin Eady) #1216de5a502f3c
] - doc: Napi::Error is caught (Nicola Del Gobbo) #124110ad762807
] - test: removed the usage of default_configuration. (Nicola Del Gobbo) #1226e9db2adef2
] - test: Add test coverage to TSFN::New() overloads (#1201) (Jack)c849ad3f6a
] - chore: fix stale workflow (#1228) (Richard Lau)e408804ad8
] - test: adding ref for threadsafefunctions (JckXia) #1222a8afb2d73c
] - src: remove TypedArray::unknown_array_type (Kevin Eady) #1209257a52f823
] - test: Add test cased for failed task cancellations (#1214) (Jack)793268c59f
] - test: Add test case for canceling async worker tasks (#1202) (Jack)1331856ef1
] - doc: add HandleScope example (#1210) (Kevin Eady)d5fc875e5d
] - test: remove update to process.config (#1208) (Michael Dawson)30cd4a37f0
] - test: add tests for .Data method (JckXia) #1203225ca35963
] - test: Add test coverage for "TSFN::Ref()" (#1196) (Jack)5a5a213985
] - Update CI component versions (#1200) (Vladimir Morozov)fb27e72b0c
] - doc: Update CONTRIBUTING.md (Saint Gabriel) #1185e9def3ed72
] - doc: Update Readme for filter conditions in unit tests (Deepak Rajamohan) #1199efd67876e1
] - doc: updated npm script for focused tests (Peter Šándor)134961d853
] - test: CallbackInfo NewTarget() basic coverage (#1048) (Peter Šándor)1dfd03bdd5
] - Update README.md (#1187) (Saint Gabriel)576128fd19
] - doc: fix typo in async_operations.md (#1189) (Tobias Nießen)63d3c30ec1
] - test: add tests for TypedArray (Dante Calderon) #1179358ac2f080
] - Fix link to CMake.js documentation (#1180) (Kyle Kovacs)dc4f2bbe4a
] - test: Add promise unit test (#1173) (Jenny)f3124ae0ed
] - doc: fix brokenNapi::ThreadSafeFunction
link (#1172) (Feng Yu)10b440fe27
] - src: reformat all code (Kevin Eady) #116033e402971e
] - test: Add condition for window to find eslint (#1176) (Jack)d53843b83b
] - test: add missing value tests (JckXia) #1170Configuration
📅 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.