node-addon-api icon indicating copy to clipboard operation
node-addon-api copied to clipboard

Module for using Node-API from C++

Results 80 node-addon-api issues
Sort by recently updated
recently updated
newest added

Fails with: ```shell /home/iojs/build/workspace/node-test-node-addon-api-new/nodes/debian10-x64/node-addon-api/test/index.js:93 process.config.target_defaults.default_configuration = ^ TypeError: Cannot assign to read only property 'default_configuration' of object '#' at Object. (/home/iojs/build/workspace/node-test-node-addon-api-new/nodes/debian10-x64/node-addon-api/test/index.js:93:54) at Module._compile (node:internal/modules/cjs/loader:1159:14) at Module._extensions..js (node:internal/modules/cjs/loader:1213:10) at Module.load (node:internal/modules/cjs/loader:1037:32)...

I'm new to nodejs, I took embedtest from nodejs and added napi to it, this way I got C++ Embed, after C++/nodejs/v8 is done I will get control back. ```cpp...

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.0.0 to 5.1.0. Release notes Sourced from actions/setup-python's releases. v5.1.0 What's Changed Leveraging the raw API to retrieve the version-manifest, as it does not impose a rate...

dependencies
github_actions

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.0 to 4.1.1. Release notes Sourced from codecov/codecov-action's releases. v4.1.1 What's Changed build(deps): bump github/codeql-action from 3.24.5 to 3.24.6 by @​dependabot in codecov/codecov-action#1315 build(deps-dev): bump typescript from...

dependencies
github_actions

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.2.3 to 4.2.5. Release notes Sourced from actions/dependency-review-action's releases. 4.2.5 What's Changed Fixed a bug where some configuration options in external files were not being properly picked...

dependencies
github_actions

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.8 to 3.24.9. Changelog Sourced from github/codeql-action's changelog. CodeQL Action Changelog See the releases page for the relevant changes to the CodeQL CLI and language packs. Note...

dependencies
github_actions

I am maintaining a node.js addon that heavily switches between C++ and node.js code. Today, I found an issue that happens only once at every program execution. I have the...

I was trying this with Napi::ThreadSafeFunction but it keeps crashing when Node encounters the function call in its event loop supposedly. The C++ itself runs through without problems. ``` Napi::ThreadSafeFunction...

embind already has coroutine implementation https://github.com/emscripten-core/emscripten/blob/b5b7fedda835bdf8f172a700726109a4a3899909/system/include/emscripten/val.h#L703-L789 I just now tried to write a toy version, that makes it possible to `co_await` a JavaScript Promise in C++. class CoPromise : public...

Since we made the default for Node.js core finalizers synchronous for users running with `NAPI_EXPERIMENTAL` and introduced `env->CheckGCAccess()` in Node.js core, we must now defer all finalizers in node-addon-api, because...