Skip to content

v0.3.7

Choose a tag to compare

@github-actions github-actions released this 22 Oct 01:42
· 5 commits to main since this release
ce51eb8

Patch Changes

  • #81 0a96d2a Thanks @JounQin! - Copy the installed binding binary to the loader's local path so the runtime fallback still works when Node has cached the failed package lookup.

  • #79 0f3601d Thanks @JounQin! - Add a napi-patch bin for injecting the all-platform runtime fallback into generated napi-rs loaders. It inserts the all-platform fallback before the loader's final if (!nativeBinding) check, with no WebContainer-only guard. The API accepts an entry, package name and extra text to append; nested entries such as napi/index.js are supported. The inserted fallback is guarded by SKIP_<PACKAGE>_FALLBACK; scoped names are encoded as SKIP_SCOPE_PACKAGE_FALLBACK. A loader that already ran the fallback gives up instead of starting another nested install.