fix(deps): bump vitest to ^4.1.0 (GHSA-5xrq-8626-4rwp)#85
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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 (1)
📒 Files selected for processing (1)
WalkthroughThe PR updates the vitest devDependency in the smoothui package from ^3.2.1 to ^4.1.0. This is a minor version bump that allows access to newer vitest releases and their features or fixes. ChangesVitest version upgrade
🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Resolves Dependabot alerts #156 (direct dep) and #157 (transitive).
Advisory: GHSA-5xrq-8626-4rwp (critical) — when the Vitest UI server is listening, an arbitrary file can be read and executed. Patched in 4.1.0.
We only run
vitest run(no UI server), but the vulnerable version is still flagged. Bumping clears both alerts.Changes
packages/smoothui/package.json:vitest ^3.2.1→^4.1.0(resolves to 4.1.7)pnpm-lock.yaml: regeneratedVerification
Major bump 3→4. Config (
packages/smoothui/vitest.config.ts) uses jsdom + globals + setup file only — noworkspace/coverage config affected by v4 breaking changes.vitest-axepeer isvitest: '>=1', compatible.Local
pnpm test: 106 tests pass across 74 files.Summary by CodeRabbit