Skip to content

chore(deps): refresh compatible npm and cargo dependencies - #187

Merged
mpiton merged 1 commit into
mainfrom
chore/dependency-upgrades
Sep 4, 2026
Merged

chore(deps): refresh compatible npm and cargo dependencies#187
mpiton merged 1 commit into
mainfrom
chore/dependency-upgrades

Conversation

@mpiton

@mpiton mpiton commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Summary

Compatible dependency refresh for the desktop app (npm + Cargo). Security: react-router 7.18.3 (CSRF advisory). npm audit is clean after transitive fixes.

Why

Patch/minor updates only. Majors (Vite 8, TypeScript 7, React Router 8, SeaORM 2, bincode 3, keyring 4, RustCrypto 0.9) stay deferred.

Pins kept on purpose

  • oxlint 1.59: 1.81 turns React Compiler rules into correctness errors
  • @tanstack/react-query ~5.101.2: 5.102.8 broke CaptchaView pending-image fetch
  • extism =1.30.0 / command-group =5.0.1
  • sea-orm 1.1.20

Testing

  • npx oxlint . (0 errors)
  • npx tsc -b
  • npx vitest run: 747 passed
  • cargo test --workspace: 1820 passed, 5 ignored
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo deny check advisories bans licenses sources
  • npm audit: 0 vulnerabilities

Summary by CodeRabbit

  • Chores
    • Updated application, development, and Rust dependency versions.
    • Refreshed security advisory exceptions to reflect current transitive dependencies.
    • Pinned the Unix libc dependency to version 0.2.189.

Summary by cubic

Refreshes compatible npm and Cargo dependencies, including the react-router 7.18.3 CSRF fix. Major upgrades (Vite 8, TypeScript 7, React Router 8, SeaORM 2, bincode 3, keyring 4, RustCrypto 0.9) stay deferred.

Dependencies

  • Pins extism at 1.30.0, command-group at 5.0.1, and sea-orm at 1.1.20.
  • Keeps oxlint at 1.59.0 because 1.81 turns React Compiler rules into correctness errors.
  • Caps @tanstack/react-query at ~5.101.2 because 5.102.8 broke the CaptchaView pending-image fetch.
  • Updates deny.toml ignores for wasmtime 43 advisories that still have no Extism-compatible upgrade.

Testing

  • vitest passes 747 tests; cargo test passes 1820.
  • tsc, oxlint, clippy, cargo deny, and npm audit (0 vulnerabilities) all pass cleanly.

Written for commit fda9e67. Summary will update on new commits.

Review in cubic

Bump patch and minor frontend packages, including the react-router
7.18.3 CSRF fix. Keep oxlint on 1.59 and cap TanStack Query at 5.101.x
to avoid new React Compiler lint errors and a CaptchaView query
regression in 5.102.

Refresh the Rust lockfile and compatible Cargo.toml pins. Extism stays
on 1.30.0. cargo-deny ignores are updated for wasmtime 43 advisories
that still have no Extism-compatible upgrade.
@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Essentials

Run ID: 2cf2b393-03fb-45d5-80d5-9a9947fa8c9d

📥 Commits

Reviewing files that changed from the base of the PR and between 91ca8af and fda9e67.

⛔ Files ignored due to path filters (2)
  • package-lock.json is excluded by !**/package-lock.json
  • src-tauri/Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • deny.toml
  • package.json
  • src-tauri/Cargo.toml

Included review availability: 0 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.


📝 Walkthrough

Walkthrough

The pull request updates JavaScript and Rust dependency versions. It pins Unix libc to 0.2.189 and revises RustSec advisory ignores for Extism-pinned wasmtime dependencies.

Changes

Dependency and advisory maintenance

Layer / File(s) Summary
JavaScript dependency updates
package.json
Production and development dependency version ranges were updated across the application and tooling packages.
Rust dependency updates
src-tauri/Cargo.toml
Runtime, Unix-specific, and development dependency versions were updated. Existing feature settings remain unchanged.
RustSec advisory policy
deny.toml
The previous proc-macro-error2 and quick-xml exceptions were replaced with documented ignores for Extism-pinned wasmtime 43.x and related transitive crates.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to fda9e

This updates compatible frontend and Rust dependencies and advisory policy exceptions. The supplied validation results show no current compatibility or security defect, so no merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: refreshing compatible npm and Cargo dependencies. It matches the stated pull request objectives and the files changed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)


Comment @coderabbitai help to get the list of available commands.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​tokio@​1.52.3 ⏵ 1.53.15810093100100
Updatednpm/​@​tanstack/​react-virtual@​3.14.6 ⏵ 3.14.10100 +11006895 -1100
Updatednpm/​@​radix-ui/​react-slot@​1.3.0 ⏵ 1.3.3100 +110069 +195 -2100
Updatednpm/​@​types/​react-dom@​19.2.3 ⏵ 19.2.5100 +110075 +189100
Updatednpm/​@​types/​react@​19.2.17 ⏵ 19.2.18100 +110079 +190100
Updatednpm/​@​vitest/​coverage-v8@​4.1.10 ⏵ 4.1.11991007999100
Updatednpm/​vitest@​4.1.10 ⏵ 4.1.119810079 +199100
Updatednpm/​react-router@​7.18.1 ⏵ 7.18.394 +1100 +1679 +197 +1100
Updatedcargo/​thiserror@​2.0.18 ⏵ 2.0.208010093100100
Updatedcargo/​anyhow@​1.0.103 ⏵ 1.0.1048010093100100
Updatednpm/​lucide-react@​1.24.0 ⏵ 1.40.010010098 +19680
Updatedcargo/​serde@​1.0.228 ⏵ 1.0.2298110093100100
Updatednpm/​radix-ui@​1.6.2 ⏵ 1.6.797 +110082 +294 -2100
Updatedcargo/​serde_json@​1.0.150 ⏵ 1.0.1518210093100100
Updatednpm/​sonner@​2.0.7 ⏵ 2.0.810010083 +185100
Updatednpm/​tailwindcss@​4.3.2 ⏵ 4.3.3100 +110084 +198 +2100
Updatednpm/​react@​19.2.7 ⏵ 19.2.81001008497100
Updatedcargo/​libc@​0.2.186 ⏵ 0.2.18987 +8100100 +8100100
Updatednpm/​@​tanstack/​react-query@​5.101.2 ⏵ 5.101.4991008798 +1100
Updatedcargo/​tauri-plugin-updater@​2.10.1 ⏵ 2.11.088100100100100
Updatedcargo/​tauri-plugin-clipboard-manager@​2.3.2 ⏵ 2.3.388100100100100
Updatedcargo/​tauri-plugin-notification@​2.3.3 ⏵ 2.4.089100100100100
Updatedcargo/​tauri-plugin-dialog@​2.7.1 ⏵ 2.7.389100100100100
Updatednpm/​@​tailwindcss/​vite@​4.3.2 ⏵ 4.3.3100 +110089 +198 +2100
Updatednpm/​typescript@​5.7.3 ⏵ 5.9.3100 +110090 +110090
Updatednpm/​zustand@​5.0.14 ⏵ 5.0.15100 +1100100 +190100
Updatednpm/​oxlint@​1.74.0 ⏵ 1.59.0991009196100
Updatednpm/​lefthook@​2.1.10 ⏵ 2.1.129210010094100
Updatednpm/​react-dom@​19.2.7 ⏵ 19.2.81001009298100
Updatednpm/​i18next@​26.3.6 ⏵ 26.4.110010092 +195 -2100
Updatednpm/​@​testing-library/​react@​16.3.2 ⏵ 16.3.3100 +110010093100
Updatedcargo/​flate2@​1.1.9 ⏵ 1.1.1010010093100100
Updatedcargo/​futures-util@​0.3.32 ⏵ 0.3.3410010093100100
See 9 more rows in the dashboard

View full report

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

Re-trigger cubic

@codspeed-hq

codspeed-hq Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will degrade performance by 2.92%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 2 improved benchmarks
❌ 2 regressed benchmarks
✅ 22 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
normalize_link_check_parallelism 120.8 ns 150 ns -19.44%
normalize_max_concurrent 120.8 ns 150 ns -19.44%
create_valid 310.6 ns 252.2 ns +23.13%
reject_invalid 581.1 ns 522.8 ns +11.16%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing chore/dependency-upgrades (fda9e67) with main (91ca8af)

Open in CodSpeed

@mpiton
mpiton merged commit f630fb1 into main Sep 4, 2026
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant