Skip to content

[TASK] Override vite in the docs to fix security advisories - #58

Merged
ochorocho merged 1 commit into
mainfrom
task/docs-vite-security
Nov 4, 2026
Merged

ochorocho merged 1 commit into
mainfrom
task/docs-vite-security

Conversation

@ochorocho

Copy link
Copy Markdown
Owner

Fixes the failing Dependabot security update for vite in /docs.

vitepress@1.6.4, the latest stable release, requires vite@^5.4.14, and the first fixed vite is 6.4.5, so Dependabot can't update it. The only newer VitePress is 2.0.0-alpha.21, which I didn't want on the live docs site. This adds an override to vite@^6.4.5 in docs/package.json.

vite is only used to build the docs, so nothing here ships in shippy itself.

Results

  • npm audit in docs/: 3 issues (1 high, 2 moderate) before, 0 after.
  • npm ci and the docs build pass, and the build generates the same number of files (68).

Please check

  • VitePress 1.6.4 officially expects vite 5. The site wasn't opened in a browser and docs:dev wasn't tried, so please look at the build output before merging.
  • Remove the override once a stable VitePress allows a fixed vite.

🤖 Generated with Claude Code

vitepress 1.6.4, the latest stable release, pins vite to ^5.4.14, which
has known advisories up to 5.4.21, so Dependabot cannot update it. Override
vite to ^6.4.5 until a stable vitepress allows a fixed version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ochorocho
ochorocho merged commit fe39881 into main Nov 4, 2026
4 checks passed
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