@emnapi/core
1.11.3 · 25 Jul 2026MIT92.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @emnapi/core From 0.42.0 to 0.43.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 1
- new
- 3
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.43.0
- Breaking0.43.0
Release by release
- Breaking
If you are using
emnapi.h, it should be included after includingjs_native_api.hornode_api.h - Breaking
onCreateWorker(info: { type: 'pthread' | 'async-work' })has been changed toonCreateWorker(info: { type: 'thread' | 'async-work' }) - New
Enable uncaught exceptions policy by default
- Fixed
Add missing
CHECK_ARG(env, cbinfo);tonapi_create_functionandnapi_get_new_target - Fixed
Wrap
napi_get_array_lengthandnapi_get_prototypewith PREAMBLE - Fixed
Do not include
js_native_api.hinemnapi.h
- Breaking
1 other line we could not sort, mostly version bumps
- 0.43.0
Run finalizers directly from GC
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.