chore(deps): bump vitest to clear critical audit finding#553
Merged
Conversation
npm audit --audit-level=high (the Dependency Security Audit CI job) now fails on a newly published critical advisory in vitest <4.1.0 (GHSA-5xrq-8626-4rwp: Vitest UI server can read/execute arbitrary files). Bump vitest from ^4.0.18 to ^4.1.8. audit --audit-level=high exits 0; all 96 unit tests pass. Unblocks unrelated PRs whose CI this was failing. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
ÜberblickDie ÄnderungenAbhängigkeitsversionsaktualisierung
🎯 1 (Trivial) | ⏱️ ~2 Minuten 🚥 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 |
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.
Problem
The Dependency Security Audit CI job (
npm audit --audit-level=high) started failing on a newly published critical advisory:This is unrelated to any code change — it appeared because
npm auditpulls live advisory data — and it's currently failing CI on every open PR (e.g. #552).Fix
Bump
vitest^4.0.18→^4.1.8(latest 4.x).npm audit --audit-level=highnow exits 0 (only moderate findings remain, below the gate). All 96 unit tests pass on the new version.After this merges, rebasing the other open PRs (#552) onto main turns their audit check green.
🤖 Generated with Claude Code
Summary by CodeRabbit