Packages

@emnapi/runtime

1.11.3 · 25 Jul 2026MIT145.1M / weekRepositoryHomepagenpmAtom feed

Upgrading @emnapi/runtime From 0.43.0 to 0.45.0

3 releases in betweenevery note read

Other targets from 0.43.0Latest1.11.3
  1. 0.43.0yours
  2. 0.43.1
  3. 0.44.0major
  4. 0.45.0target

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

  1. 0.45.0

    29 Dec 20232 new
    • New

      feat: add node_api_create_property_key_utf16 as a alias of napi_create_string_utf16

    • New

      refactor: allow macros defined in source code

  2. 0.44.0

    Migration needed12 Nov 20231 new
    • Breaking

      emnapi_get_emscripten_version has 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 since napi is the default module where Node.js wants to import symbols from. See #20035

    • New

      Add EMNAPI_{MAJOR,MINOR,PATCH}_VERSION and emnapi_get_runtime_version

  3. 0.43.1

    21 Oct 20232 fixes
    • Fixed

      Fix duplicated symbol __copy_tls in LLVM 17

    • Fixed

      Wasi threads max tid should be 0x1FFFFFFF

10 other lines we could not sort, mostly version bumps
  • feat: separate transformer packages

    0.45.0
  • fix: incorrect result of napi_create_bigint_uint64 when the input is greater than 0x7fffffffffffffff

    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.45.0
  • Delay injecting HEAP_DATA_VIEW declaration

    0.44.0
  • Move napi_adjust_external_memory to JS

    0.44.0
  • Sync latest headers

    0.44.0
  • Throw error with friendly message if symbols are not exported

    0.43.1

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.