fix(deps): override vite to resolve vite and esbuild vulnerabilities - #256
Merged
Merged
Conversation
Override: - vite 5.4.21 → 6.4.3 via `overrides`, which also moves esbuild 0.21.5 → 0.25.12 - resolves GHSA-fx2h-pf6j-xcff, GHSA-v6wh-96g9-6wx3 and GHSA-4w7w-66w2-5vf9 (vite) and GHSA-67mh-4wv8-2f99 (esbuild) - vitepress 1.6.4 is the latest stable release and depends on vite ^5.4.14; no patched vite 5 release exists, so this is a major override of a development-only dependency Verified: - npm audit reports 0 vulnerabilities - `vitepress build` passes - in headless Chrome, `vitepress preview` renders pages including Mermaid diagrams - `vitepress dev` renders pages with no console errors when the existing Mermaid dev-server issue (fastdom default import, also present on main) is worked around with `optimizeDeps.include: ['mermaid']`; that fix is not part of this PR Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: gkrajniak <gkrajniak@gmail.com>
Sobyt483
approved these changes
Sep 16, 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.
Override:
overrides, which also moves esbuild0.21.5 → 0.25.12
(vite) and GHSA-67mh-4wv8-2f99 (esbuild)
no patched vite 5 release exists, so this is a major override of a
development-only dependency
Verified:
vitepress buildpassesvitepress previewrenders pages including Mermaiddiagrams
vitepress devrenders pages with no console errors when the existingMermaid dev-server issue (fastdom default import, also present on main)
is worked around with
optimizeDeps.include: ['mermaid']; that fix is notpart of this PR
🤖 Generated with Claude Code