chore: refresh all dependencies - #26
Merged
Merged
Conversation
- npm: bump all devDependencies to latest (ava 8, typescript 7, oxlint 1.78, lint-staged 17, npm-run-all2 9, chalk 6, etc.) - yarn: 4.12.0 -> 4.18.0 (4.12's compat/typescript patch breaks on TS7) - ava 8: extensions config object -> array - cargo: napi 3.12.1, napi-derive 3.6.3, tokio 1.53.1, napi-build 2.4.1 - CI: checkout/setup-node v7, cache v6, upload-artifact v7, download-artifact v8, cross-platform-actions v1.4.0 (cpa.sh shell pattern), FreeBSD 14.2 -> 15.1 - regenerate index.js / index.d.ts via napi build
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: efcd7ad0c7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@napi-rs/cli 3.8.6's WASI build flow requires the 'emnapi' package (declared as an optional peer dep, so not auto-installed) and its libemnapi-napi-rs-mt.a archive must export emnapi_create_env / emnapi_delete_env, which only exists in emnapi 2.x. - add emnapi 2.0.0-alpha.4 (pinned, per CLI's exact version-match check) - bump @emnapi/core and @emnapi/runtime to 2.0.0-alpha.4 to match - regenerate WASI wrappers (callback-demo.wasi.cjs, callback-demo.wasi-browser.js, wasi-worker*.mjs, callback-demo.wasi.d.cts) with napi build - gitignore *.wasm build artifacts
- AVA 8 requires Node ^22.20 || ^24.12 || >=26 (its emittery dep uses iterator helpers), so drop node@20 from the test matrices in favor of node@22 and node@24 - add @napi-rs/wasm-runtime as a direct devDependency: the root-level WASI wrappers (callback-demo.wasi.cjs, wasi-worker*.mjs) require it, but as a transitive dep of wasm32-conditional packages yarn's node-modules linker only nests it, so it is unresolvable from the root - use NAPI_RS_FORCE_WASI=true (the new tri-state loader only treats 'true'/'error' as force; '1' falls back to native first)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refresh all dependencies: npm, Cargo, and GitHub CI actions.
npm / yarn
Cargo
GitHub CI actions
shell: cpa.sh {0}, since therunparam is deprecated)Generated files
napi build