Skip to content

chore(deps-dev): bump @emnapi/core from 1.8.1 to 1.9.0#148

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/emnapi/core-1.9.0
Open

chore(deps-dev): bump @emnapi/core from 1.8.1 to 1.9.0#148
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/emnapi/core-1.9.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 17, 2026

Bumps @emnapi/core from 1.8.1 to 1.9.0.

Release notes

Sourced from @​emnapi/core's releases.

v1.9.0

What's Changed

  • fix data race and use-after-free in napi_threadsafe_function by @​toyobayashi in toyobayashi/emnapi#199
    • fix tsfn not work in JS based async_work workers
    • fix pthread_create not work in JS based async_work workers
    • emnapi_basic[-mt].a includes libuv symbols now
  • refactor: dispatch async work queue in shared memory by @​toyobayashi in toyobayashi/emnapi#200
    • Avoids deadlock when main thread block on waiting queued async work starting. Completed work can not be dispatched to main thread that cause no new worker available, then queued work never start.
    • wasm32-wasip1-threads target spawn async worker in JS will use pthread_create, no longer maintain a separate worker pool.
  • rename node_api_create_object_with_properties by @​toyobayashi in toyobayashi/emnapi#193
  • fix: execute tsfn finalizer after queue drains when aborted
  • feat: add required config hint in package entry
    const { requiredConfig } = require('emnapi')
    console.log(requiredConfig.clang.wasmld)
    [
      '--import-memory',
      '--shared-memory',
      '--export-table',
      '--export=malloc',
      '--export=free',
      '--export=napi_register_wasm_v1',
      '--export-if-defined=node_api_module_get_api_version_v1',
      '--export=emnapi_thread_crashed',
      '--export-if-defined=emnapi_async_worker_create',
      '--export-if-defined=emnapi_async_worker_init'
    ]
    

Full Changelog: toyobayashi/emnapi@v1.8.1...v1.9.0

Commits
  • c9743cf 1.9.0
  • b6b4a63 feat: add required config hint in package entry
  • 5e3e8a9nodejs/node#61956
  • 17e63e8 refactor: dispatch async work queue in shared memory (#200)
  • 361b183 [Backport] fix data race and use-after-free in napi_threadsafe_function (#199)
  • 7eb6a37 feat!: fix node_api_create_object_with_properties name (#193)
  • dbb3013 refactor: use Node-API in comments (#194)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@emnapi/core](https://github.com/toyobayashi/emnapi) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/toyobayashi/emnapi/releases)
- [Commits](toyobayashi/emnapi@v1.8.1...v1.9.0)

---
updated-dependencies:
- dependency-name: "@emnapi/core"
  dependency-version: 1.9.0
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from xarlizard as a code owner March 17, 2026 13:46
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant