Repository navigation
fix: [Timetraked] Resolve remaining production dependency advisories - #285
Merged
Merged
Conversation
Upgrade zod to v4.6.7 (GHSA-mrhx-c7xc-m3w5) and react-router-dom to v7.18.5 (GHSA-wrjc-x8rr-h8h6, GHSA-337j-9hxr-rhxg). Bump @hookform/resolvers to v5 for zod 4 support. Resolvers v5 links dev-tool copies of ajv and joi as optional peers, so override fast-uri (^3.1.9) and joi (^18.3.1) to patched versions.
Deploying timetrackerpro with
|
| Latest commit: |
5960cf7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d459b766.timetrackerpro.pages.dev |
| Branch Preview URL: | https://fix-prod-dependency-advisori.timetrackerpro.pages.dev |
Patches four rustls advisories shipped in the desktop and iOS binaries via reqwest. Also bumps rustls-webpki to 0.103.17.
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.
Summary
Clears the last 3 production dependency advisories from the v2.7 audit (finding S6). The other 7 were fixed in #284.
pnpm audit --prodnow reports no known vulnerabilities. Also bumpsrustlsin the desktop/iOS build to clear 4 Dependabot alerts.Type of Change
Related Issue
Follow-up to #284 (v2.7 audit, finding S6).
Changes Made
package.json/pnpm-lock.yamlzod3.25.76 → 4.6.7 (high, GHSA-mrhx-c7xc-m3w5)react-router-dom6.30.6 → 7.18.5, bringingreact-router7.18.5 (moderate, GHSA-wrjc-x8rr-h8h6 and GHSA-337j-9hxr-rhxg)@hookform/resolvers3.10.0 → 5.9.2, since 3.x does not support zod 4pnpm-workspace.yaml: overridesfast-uri: "^3.1.9"andjoi: "^18.3.1". Resolvers v5 declaresajv/joias optional peers, and pnpm links the copies already installed for dev tools (workbox-build,shadcn,wait-on). That made 13 extra advisories show up as production. Caret ranges keepfast-urion 3.x, whichajv8 expects.src-tauri/Cargo.lock:rustls0.23.42 → 0.23.46 andrustls-webpki0.103.13 → 0.103.17 (4 Dependabot alerts, 2 medium and 2 low). It comes in throughreqwest. A plaincargo updatestops at 0.23.43, so it was pinned with--precise.No source changes. The 6 zod form schemas and router imports type-check unchanged, and every route uses an absolute path, so v7's relative splat path change doesn't apply.
Checklist
Documentation
README.mdCHANGELOG.mdupdated accordinglyGeneral
mainpnpm test,pnpm lint, andpnpm buildNotes for Reviewers
pnpm test: 44 files, 504 tests passing.pnpm buildpasses.eslint src server: 0 errors.cargo test: 20 passing.pnpm lintat the repo root fails only on a stale, untracked.claude/worktrees/planning-view/dev-dist/, not on this change.zip(critical/high/medium) comes fromtauri-plugin-updater2.10.1, the latest stable release, and only3.0.0-alpha.3has the patched version. The updater verifies the Ed25519 signature before extracting, so this is low risk.glibis only in the Linux build, which isn't shipped.pnpm auditstill reports 123 advisories, all in dev tooling. Out of scope here.🤖 Generated with Claude Code