Skip to content

fix(deps): override vite to 6.4.x to clear Dependabot alerts - #189

Merged
riglar merged 1 commit into
mainfrom
fix/vite-alerts
Nov 18, 2026
Merged

riglar merged 1 commit into
mainfrom
fix/vite-alerts

Conversation

@riglar

@riglar riglar commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Clears the 9 open Dependabot alerts (vite, launch-editor, esbuild).

Why an override

All 9 come from vite@5.4.21, which vitepress@1.6.4 pulls in. The fixes are only in vite@6.4.4 and later. There is no patched vite 5, and the only newer vitepress is the 2.0 alpha. So Dependabot can't fix these by itself.

This PR adds "overrides": { "vite": "^6.4.4" } to package.json. That installs vite@6.4.6 and esbuild@0.25.12.

Checks

  • npm run build passes.
  • npm run check passes (70 pages).
  • vitepress dev starts and serves the home page.

Known leftover

vite 6 brings in picomatch@4.0.7, which has a high-severity ReDoS advisory (GHSA-fc5q-39xc-vjpf). No patched version exists yet. It only runs at build and dev time, on our own glob patterns, so the real risk is low. Dependabot may raise it as a new alert.

Risk

vitepress 1.x was built against vite 5. The build works, but please click around the preview deploy before merging. Remove the override when vitepress ships a stable release on vite 6+.

🤖 Generated with Claude Code

vitepress 1.6.4 depends on vite 5, which has no patched release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@claude

claude Bot commented Nov 18, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

@riglar
riglar merged commit 97a94c3 into main Nov 18, 2026
2 checks passed
@riglar
riglar deleted the fix/vite-alerts branch November 18, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant