@emnapi/core
1.11.3 · 25 Jul 2026MIT92.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @emnapi/core From 0.43.0 to 0.45.0
3 releases in betweenevery note read
Reading releases, release notes and advisories…
- 4
- changes to make
- 0
- advisories fixed
- 3
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.44.0
- Breaking0.44.0
- Breaking0.44.0
- Breaking0.44.0
Release by release
- New
feat: add
node_api_create_property_key_utf16as a alias ofnapi_create_string_utf16 - New
refactor: allow macros defined in source code
- New
- Breaking
emnapi_get_emscripten_versionhas been removed, use__EMSCRIPTEN_{major,minor,tiny}__instead. - Breaking
Require node-api-headers as a dependency
- Breaking
Users should always define
-DBUILDING_NODE_EXTENSION - Breaking
Emscripten users should define
-DNAPI_EXTERN=__attribute__((__import_module__("env")))manually sincenapiis the default module where Node.js wants to import symbols from. See #20035 - New
Add
EMNAPI_{MAJOR,MINOR,PATCH}_VERSIONandemnapi_get_runtime_version
- Breaking
- Fixed
Fix duplicated symbol __copy_tls in LLVM 17
- Fixed
Wasi threads max tid should be 0x1FFFFFFF
- Fixed
10 other lines we could not sort, mostly version bumps
- 0.45.0
feat: separate transformer packages
- 0.45.0
fix: incorrect result of
napi_create_bigint_uint64when the input is greater than0x7fffffffffffffff - 0.45.0
build: prebuilt library is built by LLVM 17 (wasi-sdk-21 & emscripten 3.1.44)
- 0.45.0
refactor: factor out common code into macros
- 0.45.0
refactor: migrate to ESM
- 0.45.0
refactor: improve TypeScript custom transformers
- 0.44.0
Delay injecting HEAP_DATA_VIEW declaration
- 0.44.0
Move
napi_adjust_external_memoryto JS - 0.44.0
Sync latest headers
- 0.43.1
Throw error with friendly message if symbols are not exported
1 internal line (docs, tests, tooling) left out.
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.