lingo.dev icon indicating copy to clipboard operation
lingo.dev copied to clipboard

chore: bump vitest to patched 3.2.6 / 4.1.0 (security)

Open cherkanovart opened this issue 5 months ago • 1 comments

Summary

Bumps the vitest devDependency across 10 product manifests to versions patched against open critical Dependabot advisories (ENG-1056, SOC 2 dependency-scanning hardening):

  • vitest 3.1.1 / 3.1.2 / 3.2.4 → 3.2.6
  • vitest 4.0.13 / 4.0.16 → 4.1.0
  • @vitest/ui 3.2.4 → 3.2.6 (companion package, kept in lockstep)

Clears 13 critical Dependabot alerts. Dev-only change — vitest is a test runner and is not shipped in any published artifact, so an empty changeset is included.

Test plan

  • pnpm install resolves cleanly; lockfile contains only patched vitest versions
  • Full test suite run locally: all packages pass except one pre-existing locally-failing test (packages/new-compiler metadata/manager.test.ts "1000 concurrent operations"), which fails identically on clean main — unrelated to this bump
  • CI is the canonical gate

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated development testing dependencies to address security alerts. These changes do not affect application runtime behavior or user-facing functionality.

cherkanovart avatar Jun 10 '26 15:06 cherkanovart

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 629acb02-d1bc-4868-bca4-934ef22d77c0

📥 Commits

Reviewing files that changed from the base of the PR and between a1ebc49db1373f6dfd21da7fae62d1cc577df7bd and 0420bc0515ac512f46fe2aa7922f9fb7dde131dc.

📒 Files selected for processing (4)
  • packages/cli/package.json
  • packages/compiler/package.json
  • packages/new-compiler/package.json
  • packages/sdk/package.json
✅ Files skipped from review due to trivial changes (2)
  • packages/sdk/package.json
  • packages/compiler/package.json
🚧 Files skipped from review as they are similar to previous changes (2)
  • packages/new-compiler/package.json
  • packages/cli/package.json

📝 Walkthrough

Walkthrough

Dependency patch updates to vitest across 10 packages and a changeset file. All changes are development-only; vitest bumped to 3.2.6 or 4.1.0 depending on current version to address Dependabot alerts. No runtime code modifications.

Changes

vitest Dependency Bump

Layer / File(s) Summary
Changeset documentation
.changeset/eng-1056-bump-vitest.md
Adds changeset documenting the vitest devDependency patch updates to address Dependabot alert ENG-1056.
Development dependency updates
packages/cli/package.json, packages/logging/package.json, packages/react/package.json, packages/sdk/package.json, packages/spec/package.json, packages/locales/package.json, scripts/docs/package.json, integrations/directus/package.json, packages/compiler/package.json, packages/new-compiler/package.json
vitest devDependencies bumped to patched releases: 3.1.x/3.2.4 → 3.2.6 and 4.0.x → 4.1.0 across 10 packages.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A hoppy hop through version lanes, 🐰 Vitest patches mend the chains, From three to four, with care we test, Dependabot alerts now rest! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The PR title accurately and concisely summarizes the main change: bumping vitest to patched versions 3.2.6/4.1.0 for security purposes across multiple packages.
Description check ✅ Passed The PR description is comprehensive and covers all essential template sections: a clear summary of the change, specific version bumps with package listings, testing validation including test suite results, and a checklist item confirming changeset inclusion.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • [ ] Create PR with unit tests
  • [ ] Commit unit tests in branch eng-1056-bump-dev-deps

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Jun 10 '26 15:06 coderabbitai[bot]