Repository navigation
fix(website): use patched Vite 6 to unblock security updates - #1951
Merged
Merged
Conversation
Fred-Wu
approved these changes
Nov 15, 2026
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.
VitePress 1.6.4 depends on
vite@^5.4.14, so Dependabot cannot resolve the reported security fixes starting at Vite 6.4.5: it stops at 5.4.21. The latest stable VitePress is still 1.6.4; upgrading to VitePress 2 would currently require an alpha release.Add a website-only pnpm override for
vite: ^6.4.6and regenerate the lockfile. This updates Vite to 6.4.6 and esbuild to 0.25.12 while retaining stable VitePress and its Vue plugin, which declares Vite 6 support. The override includes a comment explaining when it can be removed. The range permits subsequent Vite 6 patches.Validation:
pnpm install --frozen-lockfilesucceeded inwebsite.pnpm run docs:buildsucceeded, including internal link checks.pnpm audit --jsonreported zero vulnerabilities.git diff --checkpassed.Branched from upstream
main. No extension dependencies were changed.