Repository navigation
Update dependencies and restore the security overrides - #43
Merged
Merged
Conversation
pnpm no longer reads the "pnpm.overrides" field in package.json, so the security floors for transitive dependencies were silently ignored. They now live in pnpm-workspace.yaml, raised to the current patched versions, which also allows the esbuild and sharp install scripts explicitly. Updates every dependency to its latest minor or patch release, including Next.js 16.4 (fixes two critical advisories), React 19.3, Radix, PostHog, Zod, mermaid 11.17 and the AI SDK 6 line. pnpm audit goes from 28 vulnerabilities to 2, both without an upstream fix and build-time only. Majors are left for separate changes: ESLint 10 breaks the plugins bundled in eslint-config-next, and framer-motion 14, AI SDK 7, mermaid 12, TypeScript 7, @types/node 26 and dotenv 18 each need their own migration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
pnpm.overridesfield inpackage.json(it warned on every install), so none of the transitive security floors applied. They now live inpnpm-workspace.yaml, raised to the current patched versions.pnpm audit: 28 vulnerabilities (3 critical, 10 high) → 2. Neither has an upstream fix (bracesvia eslint-config-next,sprintf-jsvia gray-matter), and both run only at build time on our own files.Not in this PR
Major upgrades, each needing its own migration:
Verification
pnpm typecheckpasses.pnpm lintalso scans two git-ignored local folders, which produce the same errors on main.pnpm buildpasses and generates all 183 static pages.next start,/,/presentations,/brain,/statusand the deck slides return 200 with no page errors. The chat-to-workflow animation runs.The Vercel deploy check fails for the same reason as #42:
PRIVATE_GITHUB_TOKEN(andYC_GITHUB_TOKEN) in the Vercel environment have expired, so/statusgets a 401 at build time.🤖 Generated with Claude Code