Dependency Update Final
Dependency update final recommendation
Date: 2026-06-22
Inputs:
docs/audits/dependency-update-baseline.mddocs/audits/frontend-dependency-update-assessment.mddocs/audits/backend-dependency-update-assessment.md
Short answer#
Yes, this repo needs dependency update work.
The evidence does not support a single broad dependency bump. It supports a prioritized update program:
- Urgent frontend/security triage for high/critical pnpm audit findings.
- Planned backend Go maintenance updates, starting with vulnerability tooling and
golang.org/x/*modules. - Safe routine patch/minor batches for tooling and UI packages.
- Deferred major migrations for framework/toolchain jumps such as Next 16, React 19, TypeScript 6, Vite 8, and AI SDK 6.
No package manifests, lockfiles, go.mod, or go.sum were changed by this assessment.
Exact evidence#
Frontend/workspace#
1$ mise exec -- pnpm outdated -r --format json2exit: 1Parsed output:
1outdated package entries: 2502deprecated package entries: 73major-version latest available: 1174minor/patch latest available: 1331$ mise exec -- pnpm audit --json2metadata: low 31, moderate 137, high 91, critical 51$ mise exec -- pnpm audit --prod --json2metadata: low 23, moderate 109, high 64, critical 1Important advisory clusters include next, protobufjs, axios, react-router, fast-uri, js-cookie, undici, form-data, handlebars, and lodash.template.
Backend Go#
1$ cd backend && mise exec -- go list -m -u -json all2modules with newer versions available: 49Runtime/security-sensitive updates include:
1github.com/gin-gonic/gin v1.11.0 -> v1.12.02github.com/jackc/pgx/v5 v5.6.0 -> v5.10.03github.com/lib/pq v1.10.9 -> v1.12.34github.com/meilisearch/meilisearch-go v0.36.1 -> v0.36.35golang.org/x/crypto v0.47.0 -> v0.53.06golang.org/x/net v0.48.0 -> v0.56.07golang.org/x/sys v0.40.0 -> v0.46.08golang.org/x/text v0.33.0 -> v0.38.09golang.org/x/tools v0.40.0 -> v0.46.01$ cd backend && mise exec -- govulncheck -version2mise ERROR "govulncheck" couldn't exec process: No such file or directory1$ cd backend && mise exec -- go test ./...2exit: 0Urgent updates / investigations#
-
Frontend pnpm high/critical audit triage
pnpm audit --prodstill reports1 criticaland64 highadvisories.- Start with production paths involving
next,protobufjs/@grpc/grpc-js,axios,react-router,fast-uri, andjs-cookie.
-
Next.js security patch strategy
- Audit paths include
academy,studio, andblogthroughnext. - Do not jump everything directly to Next 16. First identify patched lines compatible with each app and OpenNext/Cloudflare target.
- Audit paths include
-
Academy/contentlayer protobuf path
- The production audit reports a critical
protobufjspath throughcontentlayer2/OpenTelemetry/grpc tooling. - Determine whether it is build-only or runtime-reachable; patch or isolate accordingly.
- The production audit reports a critical
-
Go vulnerability reachability
govulncheckis missing. Add/run it before claiming backend vulnerability status.
Safe routine updates#
Good follow-up branches after security triage:
- Turbo patch updates (
2.9.6 -> 2.9.18) - Vitest patch updates (
4.1.4 -> 4.1.9) and matching@vitest/* - Radix UI patch updates
- OpenNext patch/minor update (
@opennextjs/cloudflare 1.18.0 -> 1.19.11) with Cloudflare build verification - Wrangler patch/minor update (
4.78.0 -> 4.100.0) with patched dependency checks - Backend
golang.org/x/*maintenance batch - Backend runtime module batch:
gin,pgx,lib/pq,meilisearch-go,protobuf
Deferred major migrations#
Plan separately, with compatibility matrices and focused verification:
- Next 15 -> 16
- React 18 -> 19
- TypeScript 5.9 -> 6.0
- Vite 7 -> 8
@vitejs/plugin-react5 -> 6- AI SDK 5 -> 6 /
@ai-sdk/openai2 -> 3
These changes affect many apps, package peer ranges, OpenNext/Cloudflare builds, and the Studio catalog. They should not be bundled with security patch triage.
Recommended next commands#
Frontend security triage:
1mise exec -- pnpm audit --prod --json > /tmp/assistance-pnpm-audit-prod.json2mise exec -- pnpm audit --audit-level highFrontend update branch verification, adjusted to touched packages:
1mise exec -- pnpm install --lockfile-only2mise run typecheck3mise run test4mise run build:pick -- www,docs,blog5mise run perf:cf-budgets -- --app www --app docs --app blog --allow-missingBackend vulnerability check and maintenance branch:
1cd backend2mise exec -- go run golang.org/x/vuln/cmd/govulncheck@latest ./...3mise exec -- go list -m -u all4mise exec -- go test ./...Backend update verification:
1cd backend2mise exec -- go mod tidy3mise exec -- go test ./...4cd ..5mise run build:backendFrontend security retry note#
The security retry keeps apps/academy on the Next 14 line and uses the latest available patch release, next 14.2.35. The remaining production audit highs for Academy list patched versions only on the Next 15 line (>=15.0.8, >=15.5.15, or >=15.5.16), so there is no Next 14 patch-line or transitive override that clears those advisories. Per the retry constraint, Academy was not migrated to Next 15 and its Next 14 runtime/build compatibility remains unchanged.
The same retry remediates the other targeted high/critical production paths with patch-line package updates and pnpm overrides: default Next 15 apps, existing Studio Next 16 patch, protobufjs/@grpc/grpc-js/contentlayer transitive stack, axios/form-data, react-router/nuqs, fast-uri, js-cookie, hono, undici, ws, and related parser/utility transitives.
Final recommendation#
Proceed with dependency updates, but split the work:
- First: security-focused frontend audit remediation.
- Second: backend Go vulnerability tooling plus
golang.org/x/*and runtime module updates. - Third: routine frontend tooling/UI patch-minor batches.
- Later: major framework/toolchain migrations.
This approach reduces risk and gives each update class an appropriate verification surface.