Repository navigation
chore(deps): bump vitest to 4.1.12 - #2647
Conversation
|
Claude Security Review: no high-confidence findings. (run) |
There was a problem hiding this comment.
AgentCore Harness Review
Verdict: Looks good
Straightforward floor bump of the vitest devDependency from ^4.1.0 to ^4.1.12, with matching lockfile updates for all @vitest/* transitive packages (expect, mocker, pretty-format, runner, snapshot, spy, utils) consistently pinned to 4.1.12.
This picks up the fix for GHSA-82fw-gwwq-j7x9 (path traversal / arbitrary file read via @vitest/mocker Redirect Mock, patched in 4.1.11). vitest is a devDependency, so there's no runtime impact, and 4.1.12 is a patch release off the same 4.1 line already in use — no breaking changes expected.
No code, test, or telemetry considerations here. LGTM to merge.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## refactor #2647 +/- ##
=========================================
Coverage 96.62% 96.62%
=========================================
Files 706 706
Lines 58476 58476
=========================================
Hits 56500 56500
Misses 1976 1976 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Thanks for the report, @codecov-commenter — feedback like this is exactly Would you mind opening a new issue so we can track it properly? If this is a security issue, please report it privately via |
Description
Updates Vitest from 4.1.11 to 4.1.12, including the matching
@vitest/*packages inbun.lock.This fixes the two moderate advisories that caused
bun run auditto fail in the post-merge refactor CI run: https://github.com/aws/agentcore-cli/actions/runs/39796084574/job/119883574433Related Issue
Related to the failing refactor branch CI run linked above.
Documentation PR
Not applicable; dependency-only change.
Type of Change
Testing
bun install --frozen-lockfilebun run audit— no vulnerabilities foundbun test src/cliVersionManager/cliVersionManager.test.ts— 6 passedbun run buildprettier --check package.json bun.lockAll commands above used Bun 1.4.0, matching CI. The full local typecheck sees pre-existing untracked files under
src/cli/; the clean CI checkout passed typecheck before failing at audit.Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.