Socket
Socket
Sign inDemoInstall

node-addon-api

Package Overview
Dependencies
0
Maintainers
7
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345Next

8.0.0

Diff

legendecas
published 7.1.0 •

kevineady
published 7.0.0 •

nicknaso
published 6.1.0 •

nicknaso
published 6.0.0 •

nicknaso
published 5.1.0 •

nicknaso
published 5.0.0 •

Changelog

Source

2022-05-02 Version 5.0.0, @NickNaso

Notable changes:

API
  • Marked methods of wrapper classes const.
  • Enabled wrapping Napi namespace with custom namespace.
  • Added an override to Napi::Function::Call to call it with a c-style array of Napi::Value's.
  • Some other minor fixes.
TEST
  • Improved the test framework. Added the possibility to run subsets of tests more easily.
  • Added test for Napi::AsyncContext class.
  • Fixed ramdom failure on test for Napi::ThreadSafeFunction e Napi::TypedThreadSafeFunction class.
  • Fixed compilation problem on debian 8 system.
  • Added test for Napi::Object::Set() method.

Documentation

  • Added some clarifications for Napi::ClassPropertyDescriptor.
  • Added clarification about weak reference for Napi::ObjectWrap.
  • Some minor fixes all over the documentation.

TOOL

  • Fixed eslint configuration.
  • Fixed CI configuration for Windows.
  • Enabled pre-commit ClangFormat on Windows.

Commits

  • [f32db917f3] - Add test coverage for async contexts (#1164) (Jack)
  • [24455f88af] - src: check for tsfn in conditional_variable wait (Kevin Eady) #1168
  • [40ed7ce409] - src: fix regression introduced by #874 (Michael Dawson)
  • [9bea434326] - doc: added some comments to ClassPropertyDescriptor. (#1149) (Nicola Del Gobbo)
  • [57c212e15f] - buld: Enable running pre-commit ClangFormat on Win (Vladimir Morozov)
  • [8c46a9501a] - doc: clarify ObjectWrap weak ref behavior (#1155) (Alba Mendez)
  • [01274966d5] - build: run Windows CI only on nondeprecated build configurations (#1152) (Darshan Sen)
  • [b8449e17e0] - src: mark methods of wrapper classes const (Nikolai Vavilov) #874
  • [5e2c1f24f8] - lint: set sourceType to 'script' (#1141) (Anna Henningsen)
  • [da8af20152] - doc: mention Napi::Env arg for Finalization callback (#1139) (extremeheat)
  • [5b51864a39] - src: enable wrapping Napi namespace with custom namespace (#1135) (Anna Henningsen)
  • [c54aeef5fd] - Add Function::Call Napi::Value override (#1026) (rgerd)
  • [e906b5a7ce] - test: fix compilation problem on debian 8 (NickNaso) #1138
  • [5790c55784] - src: do not use non-static class member for constant value (#1134) (Anna Henningsen)
  • [b7659db945] - Merge pull request #1130 from meixg/main (Jack)
  • [a840d51d21] - Add test case for Object Set using uint32 as key (meixg)
  • [2c88a7ec4c] - Merge pull request #1132 from JckXia/test-wfl-run (Jack)
  • [d3a5ed3869] - Revert "window CI to running on 2019" (JckXia)
  • [cee899ade5] - src: allow customization of ObjectWrap behavior (Aaron Meriwether) #1125
  • [91879b4082] - remove window-latest to debug (JckXia)
  • [1593ef46ee] - Testing CI run (JckXia)
  • [744c8d2410] - test: enhance the test framework (Deepak Rajamohan)
nicknaso
published 4.3.0 •

Changelog

Source

2022-01-21 Version 4.3.0, @NickNaso

Notable changes:

API
  • Added iterator for Napi::Object.
  • Fixed usage of napi_extended_error_info in Napi::Error::New().
  • Added unwrapping logic to handle graceful error handling for primitives.
TEST
  • Removed travis config.
  • Updated compiler used for testing.
  • Added BigInt value test.
  • Minor fixes all overtest suite.

Documentation

  • Documentation of iterator for Napi::Object.
  • Minor fixes all over documentation.

Commits

  • [7046834305] - Update to use recent version of stale action (Michael Dawson)
  • [293c7327ad] - Merge pull request #1075 from JckXia/handle-error-thrown (Jack)
  • [706b19986d] - test: create tools/eslint-format (Doni Rubiagatra) #1080
  • [e0567d098a] - Update documents (JckXia)
  • [691813842e] - Refactor code. Using hard coded string instead of using symbol (JckXia)
  • [7423cc5025] - Update object_wrap.md (#1094) (Alexander Floh)
  • [5aab27e6e1] - doc: add blurb about SetInstanceData (Gabriel Schulhof)
  • [e439222fe6] - test: add bigint value test (WenheLI) #1096
  • [0dfa89f4ef] - doc: document object iterators (#1090) (Darshan Sen)
  • [04b26a9d9b] - test: add first set of func Ref tests (JckXia) #1035
  • [a0b3fe9197] - Replace magic value with symbol (JckXia)
  • [173c5bc9d9] - Update PR based on review comments (JckXia)
  • [02bcfbccfd] - Update doc and appending GUID to object property (JckXia)
  • [c89f0bfb0b] - Remove un-necessary comment/iostream and updated docs to reflect on limitations with this impl (JckXia)
  • [ed4d1c51c4] - Added unwrapping logic to handle graceful error handling for primitives (JckXia)
  • [4663453eae] - src: fix usage of napi_extended_error_info in Error::New() (Darshan Sen) #1092
  • [cb228418e6] - doc: fix typo in TypedThreadSafeFunction example (#1083) (Tobias Nießen)
  • [b70acdda1f] - test: remove travis config (#1082) (Michael Dawson)
  • [1404b7cbea] - test: update compiler used for testing (#1079) (Michael Dawson)
  • [4351bffd53] - doc: fixup to meet lint rules (Michael Dawson) #1077
  • [bd8f6e6d1a] - src: add iterator for Object (Darshan Sen)
  • [d8fc7b869a] - lint: add eslint based on config-semistandard (#1067) (Doni Rubiagatra)
nicknaso
published 4.2.0 •

Changelog

Source

2021-09-17 Version 4.2.0, @NickNaso

Notable changes:

API
  • Allow creating Function with move-only functor.
  • Fixed casts to not be undefined behavior.
TEST
  • Fixed the way to enable C++ exceptions.
  • Run tests with options to prefix build root path.

Documentation

  • Fixed documentation about how to enable C++ exception.
  • Minor fixes all over documentation.

Commits

  • [2dc1f5b66c] - Merge pull request #1065 from strager/move-only-functor (Nicola Del Gobbo)
  • [2b57a4aa4c] - src: fix casts to not be undefined behavior (Anna Henningsen) #1070
  • [76de4d8222] - docs: fix typos (#1068) (todoroff)
  • [22a2f3c926] - docs: fix typo and formatting (#1062) (strager)
  • [62b666c34c] - test: run tests with opts to prefix bld root path (Deepak Rajamohan) #1055
  • [cbac3aac5d] - test: standardize unit test file names (Deepak Rajamohan) #1056
  • [3e5897a78b] - src,test: allow creating Function with move-only functor (Matthew "strager" Glazar)
  • [da2e754a02] - test: fix errors reported by newer compiler (Michael Dawson)
  • [9aaf3b1324] - doc: fix documentation about how to enable C++ exception (#1059) (Nicola Del Gobbo) #1059
  • [b2f861987f] - test: fixed the way to enable C++ exceptions. (#1061) (Nicola Del Gobbo) #1061
nicknaso
published 4.1.0 •

2345Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc