Repository URL to install this package:
|
Version:
1.60.0 ▾
|
Napi::TypedThreadSafeFunction class that is a new implementation for
thread-safe functions.Napi::AsyncProgressWorkerBase.Napi::AsyncProgressWorker::OnProgress caused by race
conditions of Napi::AsyncProgressWorker.Napi::ArrayBuffer::Detach() and Napi::ArrayBuffer::IsDetached().Napi::FinalizeCallback it needs to create a
Napi::HandleScope when it calls Napi::ObjectWrap::~ObjectWrap().Napi::TypedThreadSafeFunction.Napi::TypedThreadSafeFunction.sudo tag from Travis CI.ff642c5b85] - doc: fix tsfn docs to reflect true implementation (#860) (Kevin Eady)86feeebf54] - src: empty data OnProgress in AsyncProgressWorker (legendecas) #853a7fb5fb31c] - action: add stale action (#856) (Michael Dawson)fd44609885] - chore: setup github actions for tests (#854) (legendecas) #854c52ace4813] - script: fix complains that js files are not supported on npm run lint:fix (#852) (legendecas)b4a3364ad5] - doc: remove unused Doxygen file (#851) (Michael Dawson)b810466ae2] - doc: clarify when to use N-API (#849) (Michael Dawson)528b9f6832] - test: remove sudo from travis (#850) (Michael Dawson)4bb680de4e] - Remove misleading sentence (#847) (Nikolai Vavilov) #84748e6b584a3] - Merge pull request #742 from KevinEady/contexted-tsfn-api-gcc-4 (Gabriel Schulhof)d5e37210cc] - tools: print more instructions on clang-format check failed (#846) (legendecas) #846d9e11ff2c9] - doc: add support info (#843) (Michael Dawson) #843356e93d69a] - test: fixup testing for specific N-API version (#840) (Michael Dawson) #8405e5b9ce1b7] - Apply formatting changes (Kevin Eady)559ad8c0c0] - Merge remote-tracking branch 'upstream/master' into contexted-tsfn-api-gcc-4 (Kevin Eady)c24c455ced] - Rename to TypedThreadSafeFunction (Kevin Eady)63b43f4125] - test: fix buildType bug objectwrap_worker_thread (raisinten) #8376321f2ba1a] - test: fix typos in addon_build/index.js (raisinten) #83859c6a6aeb0] - fix: git-clang-format doesn't recognize no changes requested on given files (#835) (legendecas)1427b3ef78] - src: create a HandleScope in FinalizeCallback (blagoev) #8328fb5820557] - build: add incremental clang-format checks (legendecas) #8192c02d317e5] - build: add pre-commit package for linting (#823) (Kevin Eady)1b52c28eb8] - Clean up AsyncProgressWorker documentation (#831) (mastergberry)4abe7cfe30] - test: rename tsfnex test files (Kevin Eady)c9563caa25] - src: add ArrayBuffer::Detach() and ::IsDetached() (Tobias Nießen) #659c79cabaed2] - doc: avoid directing users to HTTP (#828) (Tobias Nießen)7a13f861ab] - doc: fix additional typo (Kevin Eady)7ec9741dd2] - Merge remote-tracking branch 'upstream/master' into contexted-tsfn-api-gcc-4 (Kevin Eady)f5fad239fa] - Update object_reference.md (#827) (kidneysolo)35b65712c2] - Fix: some typos in documentation (#826) (Helio Frota)8983383000] - Fix: some typos in the document (#825) (Ziqiu Zhao)826e466ef6] - Fixed example in addon.md. (#820) (nempoBu4) #820b54f5eb788] - Additional changes from review (Kevin Eady)59f27dac9a] - Fix common.gypi (Kevin Eady)151a914c99] - Apply documentation suggestions from code review (Kevin Eady)ceb27d4949] - src: fix leak in AsyncProgressWorkerBase<DataType> (Ferdinand Holzer) #795include_dir for use with gyp in a scalar context.Napi::Addon to help handle the loading of a native add-on into
multiple threads and or multiple times in the same thread.Napi::Addon.51e25f7c39] - doc: remove a file (#815) (Gabriel Schulhof)8c9f1809a2] - doc: add inheritance links and other changes (Gabriel Schulhof) #7986562e6b0ab] - test: added tests to check the build process (NickNaso) #808a13b36c96e] - test: fix the threasfafe function test (NickNaso) #807f27623ff61] - build: introduce include_dir (Lovell Fuller) #7669aceea71fc] - src: concentrate callbacks provided to core N-API (Gabriel Schulhof) #7862bc45bbffd] - test: refactor test to use async/await (Velmisov) #787518cfdcdc1] - test: test ObjectWrap destructor - no HandleScope (David Halls) #729c2cbbd9191] - doc: add link to n-api tutorial website (#794) (Jim Schlight) #7941c2a8d59b5] - doc: Added required return to example (#793) (pacop) #793cec2c76941] - src: wrap finalizer callback (Gabriel Schulhof) #7624ce40d22a6] - test: use assert.strictEqual() (Koki Nishihara) #777461e3640c6] - test: string tests together (Gabriel Schulhof) #7735af645f649] - src: add Addon<T> class (Gabriel Schulhof) #7496148fb4bcc] - Synchronise Node.js versions in Appveyor Windows CI with Travis (#768) (Lovell Fuller)Napi::Reference with Napi::TypedArray.Napi::ObjectWrap inheritance.Napi::ObjectWrap.Napi::ArrayBuffer and Napi::Buffer.40c7926342] - build: ensure paths with spaces can be used (Lovell Fuller) #757ef16dfb4a2] - doc: update ObjectWrap example (Gabriel Schulhof) #75448f6762bf6] - src: add __wasm32__ guards (Gus Caplan)bd2c5ec502] - Fixes issue 745. (#748) (Nicola Del Gobbo)4c01af2d87] - Fix typo in CHANGELOG (#715) (Kasumi Hanazuki)36e1af96d5] - src: fix use of Reference with typed arrays (Michael Dawson) #726d463f02bc7] - src: fix testEnumerables on ObjectWrap (Ferdinand Holzer) #736ba7ad37d44] - src: fix ObjectWrap inheritance (David Halls) #73231504c862b] - doc: fix minor typo in object_wrap.md (#741) (Daniel Bevenius) #741beccf2145d] - test: fix up delays for array buffer test (Michael Dawson) #73745cb1d9748] - Correct AsyncProgressWorker link in README (#716) (Jeroen Janssen)381c0da60c] - doc: add instance data APIs (Gabriel Schulhof) #708Napi::Object added templated property descriptors.Napi::ObjectWrap added templated methods.Napi::ObjectWrap the wrap is removed only on failure.Napi::ObjectWrap the constructor's exceptions are gracefully handled.Napi::Function added templated factory functions.Env::RunScript method to run JavaScript code contained in a string.Napi::Function.Napi::AsyncProgressQueueWorker api.NAPI_VERSION > 5.Napi::AsyncWorker::OnWorkComplete and Napi::AsyncWorker::OnExecute methods
are override-able.Napi::ThreadSafeFunction.Napi::ArrayBuffer.Napi::Object.Napi::Function.Napi::ObjectWrap.Napi::AsyncProgressQueueWorker.Napi::Object.Napi::Function.Napi::ObjectWrap.Napi::Env.Napi::AsyncProgressQueueWorker.187318e37f] - doc: Removed references to Node.js lower than 10.x. (#709) (Nicola Del Gobbo)9c9accfbbe] - src: add support for addon instance data (Gabriel Schulhof) #66382a96502a4] - src: change guards to NAPI_VERSION > 5 (Gabriel Schulhof) #697a64e8a5641] - ci: move travis from 13 to 14 (#707) (Gabriel Schulhof)4de23c9d6b] - doc: fix support bigint64/biguint64 guards (Yulong Wang) #705fedc8195e3] - doc: fix semicolon missing in async_worker.md (Azlan Mukhtar) #701cdb662506c] - doc: fix typo in bigint.md (#700) (Kelvin)e1a827ae29] - src: fix AsyncProgressQueueWorker compilation (#696) (Gabriel Schulhof) #6962c3d5df463] - Merge pull request #692 from kelvinhammond/patch-1 (Nicola Del Gobbo)623e876949] - Merge pull request #688 from NickNaso/badges (Nicola Del Gobbo)6c97913d1f] - Fix minor typo in object_lifetime_management.md (Kelvin)6b8dd47c55] - Added badge section to documentation. (NickNaso)89e62a9154] - doc: recommend tags of addon helpers (legendecas) #683ab018444ae] - src: implement AsyncProgressQueueWorker (legendecas) #585d43da6ac2b] - doc: add @legendecas to active member list (legendecas)cb498bbe7f] - doc: Add Napi::BigInt::New() overload for uint64_t (ikokostya)baaaa8452c] - doc: link threadsafe function from JS function (legendecas)7f56a78ff7] - objectwrap: remove wrap only on failure (Gabriel Schulhof)4d816183da] - doc: fix example code (András Timár, Dr) #6577ac6e21801] - gyp: fix gypfile name in index.js (Anna Henningsen) #65846484202ca] - test: user data in function property descriptor (Kevin Eady) #6520f8d730483] - doc: fix syntax error in example (András Timár, Dr) #6504e885069f1] - src: call napi\_remove\_wrap() in ObjectWrap dtor (Anna Henningsen) #4752fde5c3ca3] - test: update BigInt test for recent change in core (Michael Dawson) #649e8935bd8d9] - test: add test for own properties on ObjectWrap (Guenter Sandner) #64523ff7f0b24] - src: make OnWorkComplete and OnExecute override-able (legendecas) #58986384f94d3] - objectwrap: gracefully handle constructor exceptions (Gabriel Schulhof)9af69da01f] - remove N-API implementation, v6.x and v8.x support (Gabriel Schulhof) #643920d544779] - benchmark: add templated version of Function (Gabriel Schulhof) #63703759f7759] - ignore benchmark built archives (legendecas) #6315eeabb0214] - tsfn: Remove erroneous finalizer cleanup (Kevin Eady) #6369e0e0f31e4] - src: remove unnecessary forward declarations (Gabriel Schulhof) #63379deefb6f3] - src: explicitly disallow assign and copy (legendecas) #590af50ac281b] - error: do not replace pending exception (Gabriel Schulhof) #629b72f1d6978] - Disable caching in ArrayBuffer (Tobias Nießen) #6110e7483eb7b] - Fix code format in tests (Tobias Nießen) #6176a0646356d] - add benchmarking framework (Gabriel Schulhof) #623ffc71edd54] - Add Env::RunScript (Tobias Nießen) #616a1b106066e] - src: add templated function factories (Gabriel Schulhof) #608c584343217] - Add GetPropertyNames, HasOwnProperty, Delete (#615) (Tobias Nießen) #6153acc4b32f5] - Fix std::string encoding (#619) (Tobias Nießen) #619e71d0eadcc] - [doc] Fixed links to array documentation (#613) (Nicola Del Gobbo)3dfb1f0591] - Change "WG" to "team" (Tobias Nießen)ce91e14860] - objectwrap: add template methods (Dmitry Ashkadov) #604cfa71b60f7] - object: add templated property descriptors (Gabriel Schulhof) #610734725e971] - Correctly define copy assignment operators. (Rolf Timmermans)Napi::AsyncProgressWorker api.Napi::ThreadSafeFunction::GetContext.Napi::ThreadSafeFunction.Napi::ThreadSafeFunction::Ref and Napi::ThreadSafeFunction::Unref to Napi::ThreadSafeFunction.Napi::Object::AddFinalizer method.napi_add_finalizer() to attach data when building against N-API 5.Napi::Date api.Napi::ObjectWrap::Finalize method.Napi::AsyncProgressWorker.Napi::AsyncWorker documentation.Napi::Object::AddFinalizer method.Napi::ThreadSafeFunction.Napi::AsyncProgressWorker api.Napi::Date api.Napi::ThreadSafeFunction.c881168d49] - tsfn: add error checking on GetContext (#583) (Kevin Eady) #58324d75dd82f] - Merge pull request #588 from NickNaso/add-asyncprogress-worker-readme (Nicola Del Gobbo)aa79e37b62] - Merge pull request #587 from timrach/patch-1 (Nicola Del Gobbo)df75e08c2b] - tsfn: support direct calls to underlying napi_tsfn (Kevin Eady) #582298dfae58] - doc: Added AsyncProgressWorker to readme (NickNaso)b3609d33b6] - Fix return type and declaration of setter callback (Tim Rach)295e560f55] - test: improve guards for experimental features (legendecas)2e71842f63] - tsfn: Implement copy constructor (Kevin Eady) #546650562cab9] - src: implement AsyncProgressWorker (legendecas) #529bdfd14101f] - src: attach data with napi_add_finalizer (Gabriel Schulhof) #5779e955a802b] - doc: change node.js to Node.js per guideline (#579) (Tobias Nießen) #579b42e21e3a9] - build: move node/6 to travis allowed failures and add node/13 (#573) (Gabriel Schulhof)8d6132f609] - doc: improve AsyncWorker docs (#571) (legendecas) #571bc8fc23627] - test: do not run TSFN tests on NAPI_VERSION < 4 (legendecas) #576bcc1d58fc4] - implement Object::AddFinalizer (Gabriel Schulhof)e9a4bcd52a] - doc: updates Make.js doc to current best practices (Jim Schlight) #558b513d1aa7a] - doc: fix return type of ArrayBuffer::Data (Tobias Nießen) #55234c11cf0a4] - src: disallow copying, double close of scopes (legendecas) #566ce139a05e8] - src: make failure of closing scopes fatal (legendecas) #566740c79823e] - src: add Env() to AsyncContext (Rolf Timmermans) #568ea9ce1c801] - tsfn: add wrappers for Ref and Unref (Kevin Eady) #5612e1769e1a3] - error: remove unnecessary if condition (legendecas) #562828f223a87] - doc: fix spelling in ObjectWrap doc (#563) (Tobias Nießen) #563dd9fa8a4a8] - doc: move Arunesh and Taylor to Emeritus (#540) (Michael Dawson) #540cf8b8415df] - doc: add Kevin to the list of collaborators (#539) (Michael Dawson) #5395d6aeae7b5] - build: enable travis for fast PR check (legendecas)6192e705cd] - src: add napi_date (Mathias Küsel) #4977b1ee96d52] - doc: update prebuild_tools.md (Nurbol Alpysbayev) #5270b4f3a5b8c] - tsfn: fix crash on releasing tsfn (legendecas) #532c3c8814d2f] - implement virutal ObjectWrap::Finalize (Michael Price) #515c20bcbd069] - Merge pull request #518 from NickNaso/master (Nicola Del Gobbo)6720d57253] - Create the native threadsafe_function for test only for N-API greater than 3. (NickNaso)37b6c185ad] - Fix compilation breakage on 1.7.0 (NickNaso)Napi::ThreadSafeFunction api.Napi::AsyncWorker::GetResult() method to Napi::AsyncWorker.Napi::AsyncWorker::Destroy()() method to Napi::AsyncWorker.Napi::ThreadSafeFunction.Napi::ObjectWrap.717c9ab163] - AsyncWorker: add GetResult() method (Kevin Eady) #512d9d991bbc9] - doc: add ThreadSafeFunction to main README (#513) (Kevin Eady) #513ac6000d0fd] - doc: fix minor typo (Yohei Kishimoto) #510e9fa1eaa86] - doc: document ThreadSafeFunction (#494) (Kevin Eady) #494cab3b1e2a2] - doc: ClassPropertyDescriptor example (Ross Weir) #507c32d7dbdcf] - macros: create errors fully namespaced (Gabriel Schulhof) #5060a90df2fcb] - Implement ThreadSafeFunction class (Jinho Bang)1fb540eeb5] - Use curly brackets to include node_api.h (NickNaso) #493b2b08122ea] - AsyncWorker: make callback optional (Kevin Eady) #489a0cac77c82] - Added test for bool operator (NickNaso) #490ab7d8fcc48] - src: fix objectwrap test case (Michael Dawson) #4953b6b9eb88a] - AsyncWorker: introduce Destroy() method (Gabriel Schulhof) #488f633fbd95d] - string.md: Document existing New(env, value, length) APIs (Tux3) #486aaea55eda9] - Little fix on code example (Nicola Del Gobbo) #470e1cf9a35a1] - Use Value::IsEmpty to check for empty value (NickNaso) #4783ad5dfc7d9] - Fix link (Alba Mendez) #481a3b4d99c45] - doc: Add contribution philosophy doc (Hitesh Kanwathirtha)36863f087b] - doc: refer to TypedArray and ArrayBuffer from Array (Gabriel "|Nix|" Schulhof) #465SuppressDestruct method to Napi::AsyncWorker.void *data usage in Napi::PropertyDescriptors.83b41c2fe4] - Document adding -fvisibility=hidden flag for macOS users (Nicola Del Gobbo) #4601ed7ad8769] - doc: correct return type of Int32Value to int32_t (Bill Gallafent) #459b0f6b601aa] - src: add AsyncWorker destruction suppression (Gabriel Schulhof) #40772b1975cff] - doc: fix links to the Property Descriptor docs (Ryuichi Okumura) #458fcfc612728] - build: new build targets for debug purposes (Jinho Bang) #186c629553cd7] - doc: minor doc corrections and clarifications (Bruce A. MacNaughton) #4267b87e0b999] - doc: update number.md (Bernardo Heynemann) #436fcf173d2a1] - src: expose macros that throw errors (Gabriel Schulhof) #448b409a2f987] - package: add npm search keywords (Sam Roberts) #4520bc7987806] - doc: fix references to Weak and Persistent (Jake Barnes) #428ad6f569f85] - doc: dix typo (Abhishek Kumar Singh) #43528df833a49] - Merge pull request #441 from jschlight/master (Jim Schlight)4921e74d83] - Rearranges names to be alphabetical (Jim Schlight)48220335b0] - Membership review update (Jim Schlight)44f0695533] - Merge pull request #394 from NickNaso/create_release (Nicola DelGobbo)fa49d68416] - doc: fix some Finalizer signatures (Philipp Renoth) #414020ac4a628] - src: make Object::GetPropertyNames() const (Philipp Renoth)#41591eaa6f4cb] - src: fix callbackData leaks on error napi status (Philipp Renoth) #4170b40275752] - src: fix noexcept control flow issues (Philipp Renoth) #420c1ff2936f9] - src: fix missing void*data usage in PropertyDescriptors (Luciano Martorella) #37407a0fc4e95] - src: fix selection logic for 6.x (Michael Dawson) #402Napi::CallbackScope.Napi::CallbackScope only with N-API v3.e7cd292a74] - src: remove unused CallbackScope member (Gabriel Schulhof) #391d47399fe25] - src: guard CallbackScope with N-API v3 (Michael Dawson) #39529a0262ab9] - doc: fix typo (Dongjin Na) #385b6dc15b88d] - doc: make links point to node-addon-examples repo (Nicola Del Gobbo) #389Napi::CallbackScope class that help to have the equivalent of the scope
associated with a callback in place when making certain N-API callsNapi::Array class.Napi::ArrayBuffer class.8ce605c657] - build: avoid using package-lock.json (Jaeseok Yoon) #359fa3a6150b3] - src: use MakeCallback() -> Call() in AsyncWorker (Jinho Bang) #3612342415463] - test: create test objects in the stack instead of the heap (Dongjin Na) #37167b7db0a6f] - test: write tests for Array class (Jaeseok Yoon) #363729f6dc4ee] - test: add arraybuffer tests (Dongjin Na) #369405f3e5b5b] - src: implement CallbackScope class (Jinho Bang) #362015d95312f] - doc: fix Napi::Reference link (Gentilhomme) #365fd65078e3c] - README.md: link to new ABI stability guide (Gabriel Schulhof) #367ffebf9ba9a] - Updates for release 1.5.0 (NickNaso)Napi::AsyncContext class to handle asynchronous operation.Napi::BigInt class to work with BigInt type.Napi::VersionManagement class to retrieve the versions of Node.js and N-API.Napi::FunctionReference.Napi::Promise::Deferred2009c019af] - Merge pull request #292 from devsnek/feature/bigint (Gus Caplan)e44aca985e] - add bigint class (Gus Caplan)a3951ab973] - Add documentation for Env(). (Rolf Timmermans) #318a6f7a6ad51] - Add Env() to Promise::Deferred. (Rolf Timmermans)0097e96b92] - Fixed broken links for Symbol and String (NickNaso)b0ecd38d76] - Fix Code of conduct link properly (#323) (Jake Yoon) #323223474900f] - doc: update Version management (Dongjin Na) #3604f76262a10] - doc: some fix on Napi::Boolean documentation (NickNaso) #35478374f72d2] - doc: number documentation (NickNaso) #35651ffe453f8] - doc: doc cleanup (NickNaso) #353fc11c944b2] - doc: major doc cleanup (NickNaso) #335100d0a7cb2] - doc: first pass on objectwrap documentation (NickNaso) #321c7d54180ff] - doc: the Napi::ObjectWrap example does not compile (Arnaud Botella) #3397cdd78726a] - doc: added cpp highlight for string.md (Jaeseok Yoon) #3298ed29f547c] - doc: add blurb about ABI stability (Gabriel Schulhof) #326757eb1f5a3] - doc: add function and function reference doc (NickNaso) #2992885c18591] - doc: Create changelog for release 1.4.0 (Nicola Del Gobbo)917bd60baa] - src: remove TODOs by fixing memory leaks (Gabriel Schulhof) #343dfcb93945f] - src: implement AsyncContext class (Jinho Bang) #252211ed38d0d] - src: make 'nothing' target a static library (Gabriel Schulhof) #34897c4ab5cf2] - src: add Call and MakeCallback that accept cargs (NickNaso) #344b6e2d92c09] - src: enable DataView feature by default (Jinho) #3310a00e7c97b] - src: implement missing descriptor defs for symbols (Philipp Renoth) #28038e01b7e3b] - src: first pass on adding version management apis (NickNaso) #32579ee8381d2] - src: fix compile failure in test (Michael Dawson) #3454d92a6066f] - src: Add ObjectReference test case (Anisha Rohra) #212779560f397] - test: add operator overloading tests in Number (Your Name) #35573fed84ceb] - test: add ability to control experimental tests (Michael Dawson) #35014c69abd46] - test: write tests for Boolean class (Jaeseok Yoon) #3282ad47a83b1] - test: explicitly cast to uint32_t in test (Gabriel Schulhof) #341622ffaea76] - test: Tighten up compiler warnings (Mikhail Cheshkov) #315fd3c37b0f2] - tools: add tool to check for N-API modules (Gabriel Schulhof) #3467dc5ac8bc3] - doc: update metadata for release (Nicola Del Gobbo)d68e86adb4] - doc: Added documentation for PropertyDescriptor (Anisha Rohra) #309968a5f2000] - doc: Add documentation for ObjectReference.md (Anisha Rohra) #307908cdc314c] - doc: add TypedArray and TypedArrayOf (Kyle Farnung) #3052ff776ffe3] - backport node::Persistent (Gabriel Schulhof) #30098161970c9] - Backport perf, crash and exception handling fixes (Gabriel Schulhof) #295dd1191e086] - test: fix asyncworker test so it runs on 6.x (Michael Dawson) #29811697fcecd] - doc: ArrayBuffer and Buffer documentation (Kyle Farnung) #256605aa2babf] - Add memory management feature (NickNaso) #28686be13a611] - doc: Fix HandleScope docs (Ben Berman) #28790f92c4dc0] - doc: Update broken links in README.md (Hitesh Kanwathirtha) #290c2a620dc11] - doc: Clarify positioning versus N-API (Michael Dawson) #2886cff890ee5] - doc: Fix typo in docs (Ben Berman) #2847394bfd154] - doc: Fix typo in docs (Ben Berman) #28512b2cdeed3] - fix test files (Kyle Farnung) #2579ab6607242] - doc: Update Doc Version Number (joshgarde) #277e029a076c6] - doc: First pass at basic Node Addon API docs (Hitesh Kanwathirtha) #26874ff79717e] - doc: fix link to async_worker.md (Michael Dawson)5a63f45eda] - doc: First step of error and async doc (NickNaso) #2729d38f61afb] - doc: New Promise and Reference docs (Jim Schlight) #24343ff9fa836] - doc: Updated Object documentation (Anisha Rohra) #254b197f7cc8b] - doc: minor typos (Nick Soggin) #2484b8918b352] - Add resource parameters to AsyncWorker constructor (Jinho Bang) #2531ecf7c19b6] - doc: fix wrong link in readme (miloas) #255a750ed1932] - release: updates to metadata for next release (Michael Dawson)