Skip to content

deps(desktop): Weekly dependency maintenance (2026-10-17) - #69

Merged
calebsmithdev merged 3 commits into
mainfrom
chore/deps-2026-10-17
Oct 17, 2026
Merged

calebsmithdev merged 3 commits into
mainfrom
chore/deps-2026-10-17

Conversation

@calebsmithdev

Copy link
Copy Markdown
Owner

Summary

Weekly desktop dependency update, 2026-10-17. App version stays 1.1.2; Node 22.22.3 and Rust 1.97.1 pins unchanged.

 Cargo.lock                                   # 36 crates changed, +1 new (static_vcruntime) = 37
 apps/desktop/src-tauri/Cargo.toml            # tauri 2.12.4, updater 2.14.0, notification 2.7.0, single-instance 2.5.4, tokio, libc
 apps/desktop/package.json + package-lock     # nuxt 4.6.2, @nuxt/ui 4.12.0, vue 3.5.44, vitest 5.0.5, tauri JS 2.12.x
 apps/desktop/src-tauri/src/setup/desktop.rs
-  let _ = app.plugin(tauri_plugin_single_instance::init(..))
+  app.plugin(tauri_plugin_single_instance::init(..))?
 docs/dependency-review.md                    # full changelog review

The code fix: single-instance 2.5.4 returns an init error on Linux when a secondary instance cannot reach the primary. Discarding it would let a second app and sync worker start. Setup now stops before SyncService::start. Reviewed independently in two rounds; no findings in round 2.

Held: TypeScript 7 (vue-tsc fails with ERR_PACKAGE_PATH_NOT_EXPORTED ./lib/tsc), keyring 4.2 (no apple-native feature), @types/node 22.

Full review: docs/dependency-review.md.

Evidence

All on 9096ca1, macOS ARM64 only. Hosted Windows, Linux and Intel macOS CI have not run; no CI-green claim.

  • Before: single-instance init result discarded.
    After: propagated; cargo test --locked passes (61 pass, 1 ignored endurance).
Check Result
npm ci, lint, typecheck pass
test:unit 63 tests, 13 files pass
generate, test:e2e (Chromium) pass, 3 tests
cargo fmt, clippy --locked --all-targets -D warnings, check --locked pass
node --test scripts/*.test.mjs 31 pass, 3 skipped (2 Linux AppDir, 1 RPM)
release-metadata.mjs verify pass
test:native, test:integration pass, errors:[]
tauri build --debug --no-bundle --locked pass; no normal app launched
npm outdated only typescript, @types/node (held)

Failure trials: TypeScript 7.0.2 typecheck failed (reverted); keyring 4.2 feature absent (restored 3.6.3); npm resolver recovered via temporary npm 11 normalize, npm 10 lock-only, then pinned clean npm ci.

Audits (residual risk, not dismissed): cargo audit exit 1 with 3 zip 4.6.1 findings (RUSTSEC-2026-0367/0368/0369, updater-only, Windows-only extract after signature check; RustSec lists ≥9.0.0, but the upstream 0369 advisory requires 9.0.1) plus proc-macro-error/glib warnings. Desktop npm audit: 12 package findings (11 high, 1 low; 3 advisories), dev tooling; npm audit fix --force would downgrade nuxt, so not applied. Source review found no new demonstrated app vulnerability. Marketing site (not changed here): 12 findings (10 high, 2 critical); separate lock remediation opportunity.

UI spot check of the generated static fixture at 520x640 (Status and Settings) showed no console or network errors; screenshots are local QA artifacts only.

Not exercised: signed updater install, OS credential stores.

Bugs found and filed, not fixed here: #67 accumulated upload history vs 1 MiB settings; #68 removed-account failure retention.

Direct dependency versions and changelog report

Upstream statements are marked [notes]; repository implications are marked [inference]. Full transitive coverage and release notes are in the linked report.

Rust direct dependencies

Every changed direct minimum in apps/desktop/src-tauri/Cargo.toml:

Crate Old → new (min = lock) Source
tauri 2.12.3 → 2.12.4 CHANGELOG
tauri-build (build-dep) 2.7.2 → 2.7.3 CHANGELOG
tauri-plugin-opener 2.7.1 → 2.7.2 CHANGELOG
tauri-plugin-dialog 2.8.2 → 2.8.3 CHANGELOG
tauri-plugin-notification 2.6.0 → 2.7.0 CHANGELOG
tauri-plugin-updater 2.13.3 → 2.14.0 CHANGELOG, release
tauri-plugin-single-instance 2.5.3 → 2.5.4 CHANGELOG
libc 0.2.190 → 0.2.191 release
tokio 1.53.2 → 1.53.3 release

npm direct dependencies

Package Old → new (min = lock) Source
nuxt 4.6.1 → 4.6.2 release
@nuxt/ui 4.11.3 → 4.12.0 release
vue 3.5.43 → 3.5.44 CHANGELOG
postcss 8.5.29 → 8.5.30 release
@tauri-apps/api 2.12.3 → 2.12.4 CHANGELOG
@tauri-apps/cli 2.12.2 → 2.12.3 CHANGELOG
@tauri-apps/plugin-dialog 2.8.2 → 2.8.3 CHANGELOG
@tauri-apps/plugin-opener 2.7.1 → 2.7.2 CHANGELOG
@tauri-apps/plugin-updater 2.13.3 → 2.14.0 CHANGELOG
@iconify-json/lucide 1.2.142 → 1.2.145 no changelog; data regenerated by the iconify/icon-sets bot ("Update N icon sets" commits 2026-10-03…10-16) from Lucide. Verified by diffing the two published tarballs (npm 1.2.142 vs 1.2.145, icons.json): 1942→1966 icons; 25 added (e.g. certificate, folder-user, wifi-lock), 4 existing glyphs redrawn (barrel, music, music-2, music-4), music-3 converted to an alias; none of the 16 lucide icons in nuxt.config.ts (icon.clientBundle.icons) were changed or removed.
@playwright/test 1.64.0 → 1.64.1 release
eslint 10.12.0 → 10.13.0 release
jsdom 30.1.2 → 30.1.3 release
vitest 5.0.3 → 5.0.5 5.0.4, 5.0.5

Breaking changes

No direct major upgrade was retained. These behavior changes required a
compatibility fix or focused validation:

  1. single-instance 2.5.4, Linux — secondary-instance failure is now a plugin
    initialization error. APPLIED compatibility fix in 9096ca1.
    [notes] A
    secondary instance that cannot deliver its arguments to the primary now
    returns a plugin initialization error instead of exiting successfully; with
    no session bus the plugin still returns Ok and the app launches without
    single-instance support (warning logged). The base code discarded the result
    (let _ = app.plugin(tauri_plugin_single_instance::init(…))), which would
    have let a failed secondary instance continue and start a second app with a
    second sync worker. apps/desktop/src-tauri/src/setup/desktop.rs:14-16 now
    propagates the error with ?, so setup stops before the worker is created
    (lib.rs:62 setup_desktop(handle)? precedes SyncService::start). The
    no-bus fallback is unchanged. Confirmed by an independent reviewer; not a
    compile break. Final-code validation is recorded under Validation results.
  2. updater 2.14.0 — install now verifies bytes itself. [notes]
    apps/desktop/src-tauri/src/updater_fixture.rs:72-86 calls download() and
    then install(bytes), and :76-79 matches
    Error::Minisign(minisign_verify::Error::InvalidSignature). [inference] The
    Error::Minisign shape is documented as changed in 2.13.3 (already in base),
    so this match should be unaffected; the extra verification in install is
    redundant for the fixture's valid-signature path. Whether the 2.14.0
    check() → None change alters useUpdater.ts:49 behavior for a
    target-missing manifest is not verified; the code already handles a falsy
    update (:50-55).
  3. Nuxt UI 4.12.0 — runtime CSS/script injection rechecked locally.
    [notes] lazy-loaded Toaster/menu overlays and removed "unknown and
    conflicting" theme classes. AGENTS.md ("Security and permissions") requires
    re-running native smoke after UI changes because of production CSP. The static
    palette hook apps/desktop/nuxt.config.ts:11-12 filters the plugin whose path
    contains /@nuxt/ui/dist/runtime/plugins/colors; the 4.12.0 source tree still
    has src/runtime/plugins/colors.ts (4.12.0 tree),
    and the generated build, browser smoke and both native harnesses passed
    without CSP errors. Hosted platform checks remain outstanding.
  4. @floating-ui/vue 2.0.0 (major) and dom-selector 10.0.0 (major) are
    transitive majors. [notes] The only stated breaking change is dropping
    vue-demi/Vue 2 for floating-ui, which does not apply to Vue 3.5. dom-selector
    lists no breaking change. Risk is limited to unit tests that use jsdom selectors
    and to popover/menu positioning in the UI.

Recommended changes

Security, deprecations, configuration and migrations. The single-instance item
is already applied (9096ca1); the others are not applied by this document.

  • TypeScript 7 is held (typescript stays ^5.9.3). Evidence: installing
    typescript@7.0.2 and running nuxt typecheck with vue-tsc 3.3.13 fails
    with ERR_PACKAGE_PATH_NOT_EXPORTED: Package subpath './lib/tsc' is not defined by "exports" in typescript/package.json
    (/tmp/wowthing-typescript7-typecheck.log). Upstream agrees:
    TypeScript 7.0 announcement
    says Vue-based workflows likely cannot yet use TypeScript 7 (no stable
    programmatic API), and the vue-tsc maintainers close
    #6156,
    #6124 and
    #5381 pointing to
    typescript-native-bridge until the 7.1 plugin interface lands. Peer ranges
    (vue-tsc >=5.0.0, Nuxt UI ^7) allow 7 on paper but are not sufficient.
    Revisit when vue-tsc declares TS 7 support (track
    PR #6170).
  • @types/node stays on 22 (package.json:51) to match the supported Node
    line (^22.22.3 || ^24.15.0 || >=26); latest is 26.6.5. Vitest's peer range
    (^22.0.0 || >=24.0.0) accepts 22.
  • Single-instance init result — APPLIED (9096ca1).
    setup/desktop.rs:14-16 propagates app.plugin(single_instance::init(…))
    with ? instead of discarding it, matching the 2.5.4 behavior [notes] that a
    secondary instance failing to reach the primary is an error. The documented
    no-session-bus fallback (plugin returns Ok, app continues without
    single-instance support) is retained.
  • Updater: 2.14.0 logs a warning for non-https update URLs; confirm the
    tauri.conf.json endpoints are https (plugins.updater.endpoints, line 50).
    Linux AppImage updater fixes (cross-device link, bad payload rejection) are
    relevant to the shipped AppImage target documented in AGENTS.md
    ("AppImage compatibility baseline").
  • Dev-only audit items (npm): the 12 findings (11 high, 1 low;
    /tmp/wowthing-npm-audit*.json, identical in the production set) are
    nuxt/@nuxt/* → nitropack → listhen → node-forge, and
    micromatch/braces/fast-glob/globby, plus a low esbuild item.
    npm audit fix --force proposes nuxt@4.1.3 (a downgrade); do not apply.
    The previous critical simple-git chain is gone via @nuxt/devtools 3.4.3.
    Reachability (source-checked): braces/micromatch receive constants and
    repository config, not user data; node-forge via listhen is used for
    dev-server certificate creation/signing, not verification; the esbuild item
    applies to serve on Windows, while fontless uses transform. No new
    app vulnerability was demonstrated; the findings are residual dev-tooling risk.
    The 12 package findings represent 3 underlying advisories.
  • Cargo audit (full run, /tmp/wowthing-cargo-audit-full.json, 608
    dependencies, exit 1 for findings, complete JSON, empty stderr; the earlier
    yanked-registry timeout was recovered by cargo fetch and a retry, so yanked
    status is covered): three zip 4.6.1 vulnerabilities —
    RUSTSEC-2026-0367,
    0368,
    0369 (extract-time SUID/SGID
    preservation, symlink target escape, Unix permissions applied through
    symlinks), reached only through tauri-plugin-updater. RustSec lists
    patched >= 9.0.0 for all three, but the upstream advisory for 0369
    (GHSA-4684-h2q9-2vcp)
    lists the patched version as 9.0.1 (vulnerable <= 9.0.0); do not treat
    9.0.0 as fixing every item. Warnings: proc-macro-error 1.0.4 unmaintained
    (RUSTSEC-2024-0370) and glib 0.18.5 unsound (RUSTSEC-2024-0429), both via
    Tauri's Linux GTK stack; no yanked-crate warning appears in the report. The
    updater's zip version is not selectable from this manifest; updater 2.14.0
    still resolves 4.6.1. Reachability (source-checked): zip is used only by the
    updater, via Windows-only ZipArchive::extract, after signature verification;
    the Unix SUID/permission sinks are cfg-excluded. The Windows symlink-target
    concern remains qualified: no unsigned-archive path was found. glib is
    Linux-only and no VariantStrIter consumer was found; proc-macro-error is a
    compile-time maintenance warning. Residual risk is not dismissed: it stays until
    the updater moves to a patched zip.
  • Playwright 1.64.1: no config change required; the Chromium 155+ route fix
    may remove flakiness in the three page.route specs [inference].

Improvements and opportunities

  • tauri-plugin-notification 2.7.0 NotificationBuilder::on_close (Linux/BSD)
    could report dismissal for the batch summary in sync_service.rs:120-141;
    not needed today.
  • Nuxt UI 4.12.0 App forwards nonce; src/app.vue:2 uses <UApp>. If dev
    nonce handling (nuxt.config.ts:40, TAURI_DEV_NONCE) needs a Nuxt UI-side
    hook, this is the supported prop [notes: "App: forward nonce prop"].
  • Vitest 5.0.4 enabled fsModuleCache by default; confirm the CI cache and the
    JUnit artifact path (.github/workflows/desktop-checks.yml:28) are unaffected.
  • Updater::restore_update / Update::verify (updater 2.14.0) could replace the
    hand-rolled flow in updater_fixture.rs if the fixture is simplified later.
  • Single-instance 2.5.4 |-argument fix and invalid-Unicode argument handling
    (2.5.3, in base) support the --autostart handling in window_lifecycle;
    no change needed.

Merge Danger

Door: two-way

Revert restores the previous locks and the single-instance call.

Blast Radius: Desktop

Needs hosted Windows/Linux/Intel macOS CI: aws-lc-sys C build, static_vcruntime link, Linux single-instance and D-Bus notifications. Recheck Nuxt UI 4.12 CSP behavior on those platforms. Residual zip advisories remain until the updater moves to a patched version.

@calebsmithdev
calebsmithdev merged commit f2ab95d into main Oct 17, 2026
@calebsmithdev
calebsmithdev deleted the chore/deps-2026-10-17 branch October 17, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant