Repository navigation
fix: clear Vite Dependabot advisories with a Vite 6 override - #133
Merged
Merged
Conversation
VitePress 1.6.4 pins vite ^5.4.14, and Vite 5 is end-of-life with 8 open advisories; its esbuild ^0.21.3 is also affected. Dependabot cannot produce a compatible fix, so override Vite to the patched 6.x line. The plugin-vue peer range already covers Vite 6. Also finish the docs consistency left from #132 by naming start-task alongside start-run as a creator of .team/.gitignore, and document the override and its removal condition in CONTRIBUTING.
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.
What changed
overrides.vite = "^6.4.6"topackage.jsonand refreshedpackage-lock.json. Vite 6.4.6 resolvesesbuild@0.25.12.CONTRIBUTING.md.docs/faq.mdanddocs/memory.mdnow namerun_state.py start-taskalongsidestart-runas creators of.team/.gitignore.Why
There are 9 open Dependabot alerts, all npm dev/transitive through
vitepress@1.6.4→vite@5.4.21→esbuild@0.21.5:launch-editorfs.existsSync()bypass; the others cover path traversal,server.fs.denybypasses, NTLMv2 hash disclosure and arbitrary command execution through editor flags. First patched releases are in the Vite 6.4.x line.0.25.0.vitepress@1.6.4is the latest stable release and declaresvite: ^5.4.14. Vite 5 is end-of-life and has no patched 5.x release for these advisories, so Dependabot cannot open a compatible fix PR even though automated security fixes are enabled.The override moves Vite to the patched 6.x line.
@vitejs/plugin-vue@5.2.4already supportsvite: ^5.0.0 || ^6.0.0, so this stays within its peer range; only VitePress's own^5.4.14declaration is exceeded. Everything here is adevDependencyand does not ship to package users, but the vulnerabilities affectvitepress dev(notably on Windows), and leaving the alerts open hides the security signal.Verification
I also tested
vitepress@2.0.0-alpha.21as the alternative: it clears all alerts with Vite 8.3.8 and builds successfully, but it is still alpha. This PR keeps stable VitePress 1.6.4 with a documented override until VitePress 2 is stable, then the override is removed.Checklist
ruby scripts/validate.rbpassesbash -n install.sh scripts/*.shand./scripts/smoke-install.shpass.\\scripts\\smoke-install.ps1not run locally (no PowerShell file changed); CI covers itdescriptionvalues are quoted when they contain:— no new frontmatterteam.yamlreferences resolve (agent,skill, profile stage ids) — unchangedRelated issue
Dependabot alerts: https://github.com/sametcelikbicak/opencode-team/security/dependabot