chore(deps): upgrade dependencies and convert audit ignores to overrides#589
Merged
Conversation
Bump catalog dependencies to latest within the 7-day maturity gate, tidy pnpm-workspace.yaml, and replace the auditConfig.ignoreGhsas block with targeted overrides that pull each vulnerable transitive to its first patched release. Catalog bumps: @arethetypeswrong/cli 0.18.4->0.18.5, @btravstack/theme 1.6.1->1.7.0, @commitlint/cli 21.2.0->21.2.1, @orpc/arktype/openapi/valibot/zod ->1.14.8, @types/node 24.13.2->26.1.1, oxfmt 0.57.0->0.58.0, tsdown 0.22.3->0.22.7, turbo 2.10.3->2.10.5, vitest + @vitest/coverage-v8 4.1.9->4.1.10. Held back by the maturity gate or peers: typescript 6.0.3 (typedoc peer caps at 6.0.x), vitepress 1.6.4 (2.x is alpha-only), @changesets/cli 2.31.0, knip 6.26.0, oxfmt 0.58.0, oxlint 1.73.0, tsdown 0.22.7 (newer releases are <7 days old). Advisories resolved via overrides (all 6 previously ignored GHSAs plus the moderates/low): brace-expansion@1/2/5, js-yaml@3/4, vite 6.4.3 (also drags esbuild to a patched 0.25.x), dompurify 3.4.11, protobufjs 7.6.5. Removed as now-redundant: tsx>esbuild and vite@>=6>esbuild (the vite 6.4.3 override already resolves esbuild to a patched line) and the standalone undici override (audit no longer flags undici). Verified: pnpm install clean, pnpm audit fully clean, pnpm typecheck and pnpm build (incl. vitepress docs) pass.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repo’s pnpm catalog-managed dependencies and replaces GHSA audit suppressions with targeted overrides, aiming to keep the workspace on newer tooling while maintaining a clean security audit.
Changes:
- Bumped multiple catalog entries (incl. majors) and tidied
pnpm-workspace.yamlformatting/organization. - Removed
auditConfig.ignoreGhsasand added scopedoverridesto force patched versions of vulnerable transitives. - Regenerated
pnpm-lock.yamlto reflect the new catalog and override resolutions.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Updates catalog versions, reorganizes config blocks, and replaces GHSA ignores with explicit transitive-patch overrides. |
| pnpm-lock.yaml | Lockfile refresh to capture new catalog versions and enforced override resolutions. |
Run oxfmt 0.58.0 over the tracked markdown (docs/guide, examples, agent rules) that the bumped formatter reflows — restores a green Format check. Address PR review: version-scope the vite override (`vite@<6.4.3`) so only the vulnerable pre-6.4.3 line is lifted rather than all Vite dependents.
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
Upgrade catalog dependencies to latest (majors OK) within the 7-day
minimumReleaseAgematurity gate, tidypnpm-workspace.yaml, and replace theauditConfig.ignoreGhsasblock (previously suppressing SIX high GHSAs) with targetedoverridesthat pull each vulnerable transitive to its first patched release.Catalog bumps
@arethetypeswrong/cli0.18.4 → 0.18.5@btravstack/theme1.6.1 → 1.7.0 (first-party; exempt from the maturity gate)@commitlint/cli21.2.0 → 21.2.1@orpc/arktype/@orpc/openapi/@orpc/valibot/@orpc/zod→ 1.14.8@types/node24.13.2 → 26.1.1oxfmt0.57.0 → 0.58.0tsdown0.22.3 → 0.22.7turbo2.10.3 → 2.10.5vitest+@vitest/coverage-v84.1.9 → 4.1.10Held back
6.0.x(TS7 breaks the docs build).Advisory resolution:
ignoreGhsas→overridesRemoved the entire
auditConfig.ignoreGhsasblock and converted every advisory to a scopedpkg@majoroverride at its first patched version. This resolves all 6 previously-ignored high GHSAs plus the remaining moderates/low:brace-expansion@1→ 1.1.16brace-expansion@2→ 2.1.2brace-expansion@5→ 5.0.7js-yaml@3→ 3.15.0js-yaml@4→ 4.3.0vite→ 6.4.3dompurify→ 3.4.11protobufjs→ 7.6.5vite: 6.4.3also drags esbuild up to a patched 0.25.x line, resolving the esbuild dev-server advisory transitively. Kept"@types/node": "catalog:"(pins @types/node to the catalog major everywhere; types-only).Overrides removed as unnecessary
tsx>esbuild: ^0.28.1andvite@>=6>esbuild: ^0.28.1— the newvite: 6.4.3override already resolves the vulnerable esbuild line to a patched 0.25.x, so these scoped esbuild pins are redundant. Removed; audit stays fully clean and build passes.undici: ^8.5.0— audit no longer flags undici (testcontainers now resolves a patched undici on its own). Removed; audit stays clean.Cleanup
Alphabetically sorted the
catalog, co-located theminimumReleaseAge/Strict/Excludeblock, normalized blank-line formatting, and added the first-party packages (unthrown,@unthrown/vitest) alongside@btravstack/themeinminimumReleaseAgeExclude. PreservedallowBuildsandpeerDependencyRulesintent.Verification
pnpm install— clean, lockfile passes supply-chain policies.pnpm audit --audit-level=high— exit 0, no known vulnerabilities (fully clean at all levels).pnpm typecheck— 16/16 tasks pass.pnpm build— 14/14 tasks pass, incl. vitepress docs build against vite 6.4.3.Only
pnpm-workspace.yamlandpnpm-lock.yamlchanged; no package.json pins were needed (no@oxlint/pluginspins in this repo, and catalog bumps flow through the catalog).