Repository navigation
fix(deps): override vite to 6.4.x to clear Dependabot alerts - #189
Merged
Merged
Conversation
vitepress 1.6.4 depends on vite 5, which has no patched release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code |
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.
Clears the 9 open Dependabot alerts (vite, launch-editor, esbuild).
Why an override
All 9 come from
vite@5.4.21, whichvitepress@1.6.4pulls in. The fixes are only invite@6.4.4and 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" }topackage.json. That installsvite@6.4.6andesbuild@0.25.12.Checks
npm run buildpasses.npm run checkpasses (70 pages).vitepress devstarts 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