node-addon-api
node-addon-api copied to clipboard
Module for using Node-API from C++
Expand the test matrix to experimental versions on Windows, too, just as we did on Linux.
Using node v20.13.1 built with debug configuration according to [Building: Building a debug build](https://github.com/nodejs/node/blob/main/BUILDING.md#building-a-debug-build) fails: ``` > [email protected] test > /Users/kevineady/Projects/node/out/Debug/node test napiVersion:9 Testing with Node-API Version '9'. Starting test...
Since https://github.com/nodejs/node/pull/50060 is now in core, we need to add support for these types. Looking at the Node-API [docs](https://nodejs.org/api/n-api.html), we can find which node-addon-api methods on `Napi::Env` should be split...
:robot: I have created a release *beep* *boop* --- ## [8.2.2](https://github.com/nodejs/node-addon-api/compare/v8.2.1...v8.2.2) (2024-10-25) ### Bug Fixes * mark external memory and version APIs as basic ([#1597](https://github.com/nodejs/node-addon-api/issues/1597)) ([78da4fa](https://github.com/nodejs/node-addon-api/commit/78da4fa2251af1e4de16efac94d92388f117ae6e)) --- This PR was...
When using ObjectWrap that does not override a finalizer a memory leak is occurring. I traced this back to #1514 Which introduced the following [code]( https://github.com/nodejs/node-addon-api/blob/ae2c23e7460d91ab5b1844d04372f42801bfa48e/napi-inl.h#L5048) which seems to trigger...
Adds new compile-time define (`NAPI_CPP_EXCEPTIONS_ALL`) to enable catching all exceptions. Must be under a flag to be semver minor. TODO: - [ ] docs - [ ] tests Fixes: #1555
Bumps the all group with 4 updates in the / directory: [eslint](https://github.com/eslint/eslint), [eslint-config-semistandard](https://github.com/standard/eslint-config-semistandard), [eslint-config-standard](https://github.com/standard/eslint-config-standard) and [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise). Updates `eslint` from 7.32.0 to 9.13.0 Release notes Sourced from eslint's releases. v9.13.0 Features...
Bumps the all group with 1 update: [github/codeql-action](https://github.com/github/codeql-action). Updates `github/codeql-action` from 3.26.12 to 3.26.13 Changelog Sourced from github/codeql-action's changelog. CodeQL Action Changelog See the releases page for the relevant changes...
Hi there. I might be beating a dead horse here (#601, #1225), but I have to try. I've got some bindings with thousands of functions and a lot of them...
How to avoid manually setting descriptors for each attribute ======= There is a class that has many properties, but I have a way to dynamically collect these properties, so I...