Skip to content

fix(website): use patched Vite 6 to unblock security updates - #1951

Merged
eitsupi merged 1 commit into
REditorSupport:mainfrom
eitsupi:fix/website-vite-security
Nov 15, 2026
Merged

eitsupi merged 1 commit into
REditorSupport:mainfrom
eitsupi:fix/website-vite-security

Conversation

@eitsupi

@eitsupi eitsupi commented Nov 15, 2026

Copy link
Copy Markdown
Member

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.6 and 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-lockfile succeeded in website.
  • pnpm run docs:build succeeded, including internal link checks.
  • pnpm audit --json reported zero vulnerabilities.
  • git diff --check passed.

Branched from upstream main. No extension dependencies were changed.

@eitsupi
eitsupi merged commit 37a4324 into REditorSupport:main Nov 15, 2026
9 checks passed
@eitsupi
eitsupi deleted the fix/website-vite-security branch November 15, 2026 11:12
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.

2 participants