chore(deps): patch Dependabot security alerts#105
Merged
Conversation
Clear all 17 open Dependabot alerts (7 high) in package-lock.json: - Resync the lockfile to the already-pinned astro ^6.4.8 (lockfile was stale at astro 6.1.1). This cascades the transitive fixes: vite 7.3.1 → 7.3.5, devalue 5.6.4 → 5.8.1, defu 6.1.4 → 6.1.7, undici 7.14.0 → 7.28.0. - Add an esbuild ^0.28.1 override so astro's transitive esbuild picks up the patched 0.28.1 (GHSA-g7r4-m6w7-qqqr) without forcing the astro 7 major npm audit would otherwise pull in. npm audit now reports 0 vulnerabilities. Build, check:links, and check:screenshots all pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GYcPoMYpYwjVWsiVpAtmKa
Contributor
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.
Why
GitHub flagged 17 open Dependabot alerts (7 high, 6 moderate, 4 low) on
main, all inpackage-lock.json. The lockfile had drifted:package.jsonalready pinnedastro@^6.4.8, but the lockfile still resolvedastro@6.1.1(npm flagged it "invalid"), dragging in vulnerable transitive deps.What
astro ^6.4.8. This cascades the fixes for most alerts:esbuild^0.28.1 override so astro's transitiveesbuildpicks up the patched 0.28.1 (GHSA-g7r4-m6w7-qqqr). Without it,npm audit fixwanted to installastro@7.0.0— an unnecessary breaking major for a low-severity, dev-server-only, Windows-only advisory. The override unifies esbuild at 0.28.1 across the whole tree (astro, vite, wrangler).Result
No source changes — dependency tree only.
Verification
npm audit✓ 0 vulnerabilitiesnpm run build✓ (123 pages)npm run check:links✓npm run check:screenshots✓🤖 Generated with Claude Code