node-addon-api
node-addon-api copied to clipboard
Module for using Node-API from C++
Bumps the all group with 10 updates in the / directory: | Package | From | To | | --- | --- | --- | | [step-security/harden-runner](https://github.com/step-security/harden-runner) | `2.13.1` |...
:robot: I have created a release *beep* *boop* --- ## [8.6.0](https://github.com/nodejs/node-addon-api/compare/v8.5.0...v8.6.0) (2025-12-05) ### Features * add SharedArrayBuffer ([#1688](https://github.com/nodejs/node-addon-api/issues/1688)) ([220bee2](https://github.com/nodejs/node-addon-api/commit/220bee244fae2e36405bf2bda33cb3985a846912)) * silence a legitimate vfptr sanitizer warning that is on by...
Currently there is no direct equivalent API to `v8::Object::SetPrototype` in NAPI, so to set the prototype of an object you have to get and invoke `Object.setPrototypeOf` from the global object....
We have merged [node-api: Add node_api_create_object_with_properties method](https://github.com/nodejs/node/pull/59953) and now it would be good to have it here as well I'd like to work on that too, so I'll open a...
in JavaScript I can do this ```js class MyEvent extends Event { constructor(type, msg) { super(type); this.message = msg; } } const target = new EventTarget(); const e = await...
Fixes: https://github.com/nodejs/node-addon-api/issues/1661 - [ ] Add docs.
In JavaScript I can make two objects that reference each other and they'll still be GCed. ```js function makeObjectsThatReferenceEachOtherButLeakNoReferences() { const a = new Uint8Array(1024); const b = new Uint8Array(1024);...
Creating this issue to track adding ASAN test build in https://github.com/nodejs/node-addon-api/blob/main/.github/workflows/ci.yml, helping identifying issues like https://github.com/nodejs/node-addon-api/issues/1602 sooner.
Breaking changes: - remove legacy except/no-except.gypi files. - Remove nothing.c.