Skip to content

chore(deps): upgrade dependencies; replace audit ignores with overrides#97

Merged
btravers merged 2 commits into
mainfrom
chore/deps-upgrade
Jul 20, 2026
Merged

chore(deps): upgrade dependencies; replace audit ignores with overrides#97
btravers merged 2 commits into
mainfrom
chore/deps-upgrade

Conversation

@btravers

Copy link
Copy Markdown
Collaborator

What

Dependency upgrade sweep + a policy change: stop suppressing advisories via auditConfig.ignoreGhsas and instead force patched transitive versions with overrides.

Upgrades

  • Dev tooling to latest: turbo 2.10.5, knip 6.26.0, oxlint/oxfmt, tsx 4.23.1, tsdown 0.22.7, vitest + coverage 4.1.10, typedoc 0.28.20, effect 3.22.0, @types/node 26, @btravstack/theme 1.7.0.
  • @orpc/* → 2.0.0-beta.15.
  • @oxlint/plugins → ^1.73.0 (match oxlint 1.73; 1.73 added CreateOnceRule, which broke typecheck otherwise).
  • Held back on purpose: typescript stays 6.0.3 (typedoc's peer caps at 6.0.x); vitepress stays 1.6.4 (2.x is only alpha).

Security: overrides instead of ignores

auditConfig.ignoreGhsas removed. Each formerly-ignored / newly-surfaced advisory is now fixed at the source:

Advisory Package Override Path
GHSA-3jxr-9vmj-r5cp brace-expansion 5.0.7 typedoc → minimatch
GHSA-52cp-r559-cp3m js-yaml (3.x) 3.15.0 changesets → read-yaml-file
GHSA-fx2h-pf6j-xcff vite 6.4.3 vitepress
GHSA-92pp-h63x-v22m @hono/node-server (1.x) 1.19.13 prisma dev server

vitepress 1.6.4 builds fine under the vite 6.4.3 override (verified via docs build), which also pulls esbuild to a patched 0.25.x.

Housekeeping

Tidied pnpm-workspace.yaml: alphabetically sorted catalog, co-located the minimumReleaseAge block, added @types/react to ignoreMissing (newer radix/@prisma/studio-core needs it).

Verification

  • pnpm audit clean at every level (0 advisories)
  • pnpm typecheck 19/19
  • pnpm build 20/20

Bump catalog dev tooling to latest (turbo 2.10.5, knip 6.26.0, oxlint/oxfmt,
tsx, tsdown, vitest/coverage 4.1.10, typedoc 0.28.20, effect 3.22.0,
@types/node 26, @btravstack/theme 1.7.0) and orpc to 2.0.0-beta.15. Hold
typescript at 6.0.3 (typedoc peer cap) and vitepress at 1.6.4 (2.x is alpha).

Replace auditConfig.ignoreGhsas with targeted overrides that pull each
vulnerable transitive to its first patched release:
- brace-expansion 5.0.7  (GHSA-3jxr-9vmj-r5cp, via typedoc>minimatch)
- js-yaml 3.15.0          (GHSA-52cp-r559-cp3m, via changesets)
- vite 6.4.3             (GHSA-fx2h-pf6j-xcff, via vitepress; docs build verified)
- @hono/node-server 1.19.13 (GHSA-92pp-h63x-v22m, via prisma dev)

Bump @oxlint/plugins to ^1.73.0 to match oxlint. Tidy pnpm-workspace.yaml
(sorted catalog, co-located minimumReleaseAge block). pnpm audit is now clean
at every level; typecheck and build pass.
Copilot AI review requested due to automatic review settings July 20, 2026 23:29

Copilot AI 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.

Pull request overview

This PR performs a dependency upgrade sweep across the pnpm workspace and shifts the security posture from suppressing advisories (auditConfig.ignoreGhsas) to enforcing patched transitive versions via pnpm overrides, keeping typescript and vitepress intentionally pinned due to peer/version constraints.

Changes:

  • Updated workspace catalog versions (tooling, Effect, Vitest, oRPC, Node types, etc.) and refreshed pnpm-lock.yaml accordingly.
  • Replaced auditConfig.ignoreGhsas with explicit overrides for vulnerable transitive dependencies (brace-expansion, js-yaml 3.x, vite, @hono/node-server 1.x).
  • Minor workspace housekeeping: catalog reordering and peerDependencyRules.ignoreMissing updated to include @types/react.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
pnpm-workspace.yaml Bumps catalog versions; removes advisory ignores and introduces security overrides + peerDep rule tweak.
pnpm-lock.yaml Regenerated lockfile reflecting catalog upgrades and applied overrides.
packages/oxlint/package.json Updates @oxlint/plugins dependency to align with oxlint 1.73 tooling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pnpm-workspace.yaml Outdated
@vitest/coverage-v8 4.1.10 stopped honoring the multi-line `v8 ignore next`
directive on render()'s unreachable exhaustiveness return, dropping coverage
below the 100% threshold. Switch to a `v8 ignore start/stop` block, which 4.1.10
respects.

Address PR review: version-scope the vite override (`vite@<6.4.3`) so only the
vulnerable pre-6.4.3 line is lifted, and correct the overrides comment (the
advisories span High and moderate, not "both High").
@btravers
btravers merged commit eb47f7a into main Jul 20, 2026
12 checks passed
@btravers
btravers deleted the chore/deps-upgrade branch July 20, 2026 23:56
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.

2 participants