Skip to content

Update build tooling to clear the open dependency advisories - #47

Merged
ivan-digital merged 1 commit into
mainfrom
chore/dependency-updates
Aug 30, 2026
Merged

Update build tooling to clear the open dependency advisories#47
ivan-digital merged 1 commit into
mainfrom
chore/dependency-updates

Conversation

@ivan-digital

Copy link
Copy Markdown
Member

Summary

Clears 18 of the 19 Dependabot advisories GitHub reports against main with in-range dependency refreshes. Everything on the npm side is build or test tooling that never ships in the app (the Vite toolchain, Babel for the React plugin, undici via jsdom); on the Rust side serde_with is the config (de)serializer under tauri-utils.

What changed

Package Old New Advisories
undici (via jsdom) 7.25.0 7.29.0 11
vite 7.3.3 7.3.6 2
postcss (via vite) 8.5.15 8.5.26 2
esbuild (via vite) 0.27.7 0.28.2 1
@babel/core (via @vitejs/plugin-react) 7.29.0 7.29.7 1
serde_with (via tauri-utils) 3.20.0 3.22.0 1
  • pnpm update with package.json ranges left as they were; the rest of the tree moves to its latest in-range releases (react 19.2.8, vitest 4.1.11, tailwindcss 4.3.3, Radix primitives, @tauri-apps/api 2.11.1 / cli 2.11.4, lucide-react 1.37.0). No majors crossed.
  • @testing-library/jest-dom pinned to ~6.9.1: the registry deprecates 6.10.0 as a mis-published minor with breaking changes.
  • Not resolved: glib 0.18.5 → 0.20 (medium, Linux-only GTK stack). tauri 2.x requires gtk ^0.18, whose last release pins glib ^0.18; the gtk3-rs line has ended, so this waits for a Tauri release that moves off gtk3. cargo audit additionally notes quick-xml 0.39 (via plisttauri) — same situation.

Test plan

  • pnpm exec tsc --noEmit clean; pnpm test 83 passed; pnpm build (vite 7.3.6 production build) OK
  • cargo test --lib 39 passed
  • pnpm audit: no known vulnerabilities; cargo audit output identical to main (nothing introduced)
  • CI lanes on this PR

GitHub flags 19 advisories against pnpm-lock.yaml and src-tauri/Cargo.lock.
Everything on the npm side is bundler or test tooling that never ships in
the app (the Vite toolchain, Babel for the React plugin, undici via jsdom);
on the Rust side serde_with is the config (de)serializer under tauri-utils.

npm, via an in-range `pnpm update` (package.json ranges left as they were):

  undici        7.25.0 -> 7.29.0   (11 advisories; via jsdom)
  vite          7.3.3  -> 7.3.6    (2 advisories)
  postcss       8.5.15 -> 8.5.26   (2 advisories; via vite)
  esbuild       0.27.7 -> 0.28.2   (1 advisory; vite 7.3.6 accepts ^0.28)
  @babel/core   7.29.0 -> 7.29.7   (1 advisory; via @vitejs/plugin-react)

The same refresh moves the rest of the tree to its latest in-range
releases (react 19.2.8, vitest 4.1.11, tailwindcss 4.3.3, the Radix
primitives, @tauri-apps/api 2.11.1, @tauri-apps/cli 2.11.4, lucide-react
1.37.0, ...). No major versions are crossed.

@testing-library/jest-dom is held at ~6.9.1: the registry deprecates
6.10.0 as a mis-published minor with breaking changes (Node >= 22, a new
peer dependency) and points 6.x users back to 6.9.1.

cargo:

  serde_with    3.20.0 -> 3.22.0   (1 advisory; via tauri-utils)

The jiff/defmt/portable-atomic entries that appear in Cargo.lock are
optional integrations of serde_with 3.22 that the resolver records; none
of them is compiled into the app.

Still open: glib 0.18.5 (1 advisory, Linux only, fixed in 0.20). tauri 2.x
depends on gtk ^0.18 and the gtk3 bindings ended at 0.18.2, which pins
glib to 0.18. Reaching 0.20 needs a Tauri release that drops gtk3, i.e. a
major bump, so it stays as is for now.

Verified: tsc --noEmit clean, vitest 83/83, vite production build,
cargo test --lib 39/39, pnpm audit clean.
@ivan-digital
ivan-digital merged commit 1dc925c into main Aug 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant