Skip to content

Pin vite 6.4.2 for docs site (Dependabot GHSA-4w7w-66w2-5vf9)#1830

Merged
rmcrackan merged 1 commit into
masterfrom
fix/docs-vite-security-override
May 19, 2026
Merged

Pin vite 6.4.2 for docs site (Dependabot GHSA-4w7w-66w2-5vf9)#1830
rmcrackan merged 1 commit into
masterfrom
fix/docs-vite-security-override

Conversation

@rmcrackan
Copy link
Copy Markdown
Owner

Summary

  • Add an npm overrides entry to pin vite@6.4.2, resolving the Dependabot alert where VitePress 1.6.4 blocks upgrades past vite 5.4.21 (no patched 5.x release for GHSA-4w7w-66w2-5vf9).
  • Regenerate package-lock.json; npm audit reports 0 vulnerabilities with this lockfile.
  • Extend the Pages deploy workflow path filters to include package.json and package-lock.json so dependency-only fixes trigger a redeploy.

Test plan

  • npm run docs:build succeeds locally with the override
  • CI: Deploy VitePress site to Pages workflow passes on merge
  • Dependabot alert for vite clears after merge

Made with Cursor

VitePress 1.6.4 requires vite ^5.4.14, which has no backport for
GHSA-4w7w-66w2-5vf9. An npm override keeps VitePress 1.x while
using a patched vite. Deploy workflow now watches package files.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added the exempt Excluded from automatic stale closure (e.g. maintainer-opened) label May 19, 2026
@rmcrackan rmcrackan merged commit 54a97cc into master May 19, 2026
12 checks passed
@rmcrackan rmcrackan deleted the fix/docs-vite-security-override branch May 19, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exempt Excluded from automatic stale closure (e.g. maintainer-opened)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant