fix(security): raise vite 8.x floor to >=8.0.16 across scenario workspaces#709
Conversation
…paces Floors the vite 8.x line to >=8.0.16 (resolves to 8.1.0) in docs, javascript and the lovable_clone template (pnpm + npm locks), closing the HIGH and MODERATE vite advisories. The existing 6.x/7.x vite overrides did not cover the 8.x line that these locks had landed on (8.0.10 / 8.0.14). Patch/minor within the existing major. Dogfooded: javascript typecheck + tsup build + 150 unit tests pass on vite 8.1.0; frozen install clean in docs/javascript/template and npm ci clean for the template. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (3)
WalkthroughThe PR updates Vite version constraints in the docs workspace, JavaScript package, and Python example template. The template also bumps its Vite devDependency to ChangesVite override alignment
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Automated low-risk assessment This PR was evaluated against the repository's Low-Risk Pull Requests procedure and does not qualify as low risk.
This PR requires a manual review before merging. |
|
CI is green across the board (typecheck, tsup build, vitest, frozen installs, template |
Floors the vite 8.x line to
>=8.0.16across the workspaces whose locks had landed on a vulnerable 8.0.x (docs 8.0.10, javascript 8.0.14, template 8.0.10). The existing overrides only floored the 6.x (docs) and 7.x (javascript) lines, leaving the 8.x alerts open. Resolves to 8.1.0 (the current 8.x; the consumer ranges are^8, and 8.1.0 is past the 8.0.15 vulnerable ceiling).Alerts resolved
>=8.0.0 <=8.0.15-> 8.0.16: fix(security): patch langchain serialization injection vulnerability #420 (docs), feat(voice): Gemini Live interruption end-to-end (judge inconclusive on truncated reply transcripts) #446 (javascript), fix(security): patch flatted prototype pollution via parse() #421 (template pnpm), chore(deps): remove unused nanoid-cli devDep from vitest examples #422 (template npm)Changes
docs/pnpm-workspace.yaml,javascript/package.json(pnpm.overrides),template/package.json(npm + pnpm overrides): addedvite@>=8.0.0 <8.0.16 -> >=8.0.16. Template direct depvite^8.0.10 -> ^8.0.16.Verification
tsc --noEmitclean,tsupbuild clean, 150 unit tests pass on vite 8.1.0.pnpm install --frozen-lockfileclean in docs/javascript/template;npm ciclean for the template.