{{ message }}
Repository navigation
Fix dependency vulnerabilities reported by Dependabot - #259
Merged
Merged
Conversation
pnpm audit (same GitHub Advisory Database as Dependabot) reported 130 advisories (5 critical, 70 high). Now down to 1 with no patched release. - Remove 24 packages the static site no longer imports (axios, next-auth, @auth/*, drizzle-orm, drizzle-kit, postgres, zod, daisyui, framer-motion, react-icons, next-cloudinary, ...). The archived code in archive/ is not built; its old package.json is in git history. - Upgrade Next.js 15.5.9 -> 15.5.27 (fixes the critical RCE advisories) and eslint-config-next to match; update the rest within their ranges. - Override transitive postcss (^8.5.29, Next pins 8.4.31), yaml and postcss-selector-parser (^7.1.6, used by Tailwind 3). The generated CSS is byte-identical before and after. - Move the now-unused src/lib/utils.ts (clsx/tailwind-merge) to archive. Remaining: braces <=3.0.3 (high) has no fixed version yet; it is only used by ESLint tooling via eslint-config-next and never ships to users. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RUmCecArL3A392pphy2xZN
Contributor
This branch was successfully deployed
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
pnpm auditchecks the same GitHub Advisory Database that Dependabot uses. It reported 130 advisories (5 critical, 70 high, 55 moderate, 4 low); after this PR, 1 is left, and that one has no patched release yet.Changes
@auth/*, drizzle-orm, drizzle-kit, postgres, zod, daisyui, framer-motion, react-icons, next-cloudinary, next-seo, jotai, react-hook-form, react-hot-toast and others. These caused most of the advisories, including the critical Auth.js ones. The archived code inarchive/isn't built, and the old dependency list is in git history.eslint-config-nextto match. This fixes the critical remote-code-execution advisories and the other Next.js ones. It stays on the 15.5 line, so no migration is needed. Everything else is updated within its existing version range.postcss^8.5.29: Next.js pins 8.4.31.yaml^2.8.3: now not installed at all, since it was only an optional peer.postcss-selector-parser^7.1.6: used by Tailwind 3.src/lib/utils.ts(clsx/tailwind-merge) toarchive/.Remaining
braces <=3.0.3(high) has no fixed version published. It's only reached through ESLint tooling (eslint-config-next→fast-glob→micromatch) and never ships to visitors.Testing
pnpm buildpasses, and every route is still static (○).pnpm lintandprettier --checkpass./and/contributorsreturn 200, old routes return 307 to/, and/githubreturns 308. Screenshots at desktop and mobile widths show no broken images and no horizontal scroll.🤖 Generated with Claude Code
https://claude.ai/code/session_01RUmCecArL3A392pphy2xZN
Generated by Claude Code