Skip to content

chore(deps): upgrade dependencies and convert audit ignores to overrides#331

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

chore(deps): upgrade dependencies and convert audit ignores to overrides#331
btravers merged 2 commits into
mainfrom
chore/deps-upgrade

Conversation

@btravers

Copy link
Copy Markdown
Collaborator

Dependency upgrade + audit hardening

Upgrades catalog dependencies to latest (majors OK) under the 7-day
minimumReleaseAge gate, refreshes the @temporalio/* line, and replaces the
auditConfig.ignoreGhsas block with targeted overrides.

Catalog bumps

Package From To
@btravstack/theme 1.6.1 1.7.0
@commitlint/cli 21.2.0 21.2.1
@temporalio/* (client, common, testing, worker, workflow) 1.19.0 (installed) 1.20.2
@types/node 24.13.3 26.1.1
@vitest/coverage-v8 4.1.8 4.1.10
knip 6.24.0 6.26.0
lefthook 2.1.9 2.1.10
turbo 2.10.4 (installed) 2.10.5
vitest 4.1.8 4.1.10

Held back

Package Pinned at Reason
typescript 6.0.3 typedoc peer caps at 6.0.x; TS 7 breaks typedoc
vitepress (docs) 1.6.4 2.x is alpha-only
oxlint 1.73.0 1.74.0 published within the 7-day maturity window
oxfmt 0.58.0 0.59.0 within the maturity window
knip 6.26.0 6.27.0 within the window (newest >7d)
@changesets/cli 2.31.0 2.31.1 within the window
tsdown 0.22.7 0.22.8+ within the window (newest >7d)

ignoreGhsasoverrides

The auditConfig.ignoreGhsas block (which ignored the esbuild and vite
advisories) is removed. Each advisory is now driven to a patched pin:

Advisory Package Override
GHSA-fx2h-pf6j-xcff vite (server.fs.deny bypass, via docs>vitepress) vite: 6.4.3
GHSA-gv7w-rqvm-qjhr esbuild (was ignored) resolved transitively — vite@6.4.3 drags esbuild to patched 0.25.12
GHSA-3jxr-9vmj-r5cp brace-expansion (ReDoS) brace-expansion@2: 2.1.2, brace-expansion@5: 5.0.7
GHSA-52cp-r559-cp3m js-yaml (merge-key CPU) js-yaml@3: 3.15.0, js-yaml@4: 4.3.0

Removed overrides (re-evaluated, no longer doing work)

Override Why removed
fast-uri: ">=3.1.2" parent now resolves fast-uri 3.1.3 natively; audit clean without it
protobufjs: ">=7.6.1" after the temporalio 1.20.2 bump the tree resolves patched protobufjs (7.6.5 where the range allows) natively and audit is fully clean; forcing >=7.6.5 globally broke temporalio's protobufjs Root identity check, so the pin is dropped entirely
testcontainers>undici: ">=8.5.0" testcontainers now pulls undici 8.5.0 natively; no undici advisory remains

Also tidied pnpm-workspace.yaml: normalized blank-line spacing between
top-level keys, alphabetized catalog, and co-located the minimumReleaseAge
block.

Verification

  • pnpm install — clean, lockfile passes supply-chain policy
  • pnpm auditNo known vulnerabilities found (clean at moderate and high)
  • pnpm typecheck — 12/12 tasks pass
  • pnpm build — 10/10 tasks pass (includes vitepress build)

Integration tests were not run, per scope.

Bump catalog deps to latest within the 7-day maturity gate, refresh the
@temporalio/* line to 1.20.2, and replace the auditConfig ignore block with
targeted overrides pulling each vulnerable transitive to its patched version.

Held back:
- typescript 6.0.3 (typedoc peer caps at 6.0.x)
- vitepress 1.6.4 in docs (2.x is alpha-only)
- oxlint/oxfmt/knip/changesets/tsdown stepped down to newest release >7 days old

Removed the fast-uri, protobufjs, and testcontainers>undici overrides — after
the upgrades their parents pull patched versions natively and audit stays clean.
Copilot AI review requested due to automatic review settings July 20, 2026 23:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the workspace dependency catalog and lockfile to newer versions (including the @temporalio/* line) while hardening pnpm audit results by replacing GHSA ignores with explicit pnpm.overrides pins for patched transitive dependencies.

Changes:

  • Bumped multiple catalog-managed dependencies (notably @temporalio/*, @types/node, vitest, turbo, etc.) and regenerated pnpm-lock.yaml.
  • Replaced auditConfig.ignoreGhsas with targeted overrides (brace-expansion, js-yaml, vite/esbuild) to drive advisories to patched versions.
  • Restructured/normalized pnpm-workspace.yaml layout (moved peerDependencyRules / overrides below catalog, updated comments).

Reviewed changes

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

File Description
pnpm-workspace.yaml Catalog bumps and new overrides replacing GHSA ignores; minor file organization/comment updates.
pnpm-lock.yaml Regenerated lockfile reflecting upgraded catalog versions and new override resolutions.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

Comment thread pnpm-workspace.yaml Outdated
Change the vite override selector to `vite@<6.4.3` so only the vulnerable
pre-6.4.3 line is lifted, and fix the js-yaml override comment (the selectors are
version-scoped by major, not parent-path scoped).
@btravers
btravers merged commit 69a3147 into main Jul 20, 2026
10 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