chore: bump runtime deps to patched versions (security)
Summary
Bumps directly-pinned runtime dependencies to versions patched against open Dependabot advisories (ENG-1056, SOC 2 dependency-scanning hardening). All bumps are patch/minor within the same major — no API changes expected:
fast-xml-parser5.3.2 / 5.3.3 → 5.7.0 (@lingo.dev/_compiler,@lingo.dev/compiler) — clears 3 critical + 9 high alertsjs-cookie3.0.5 → 3.0.7 (@lingo.dev/_react) — 2 highlodash4.17.21 → 4.18.0 (cli, react, both compilers) — 5 high + mediumminimatch10.1.1 → 10.2.5 (root, matches the version already pinned in cli)
Deliberately excluded (kept this PR zero-risk):
- Transitive-only vulnerable copies (
axios1.12.2,minimatch3.x/5.x/9.x,fast-xml-parser5.2.5, etc.) — fixing them requires pnpm overrides, which force versions onto all consumers; will be handled separately (overrides PR or dismiss-with-rationale) nextbumps — separate PR with an app smoke test
Stacked on #2107 (vitest bumps) to avoid lockfile conflicts; retarget to main after it merges.
Test plan
pnpm installresolves cleanly; lockfile diff is minimal (pins only, no churn)- Full test suite: 23/24 turbo tasks pass; the one failure is a pre-existing locally-failing test (
packages/new-compilermetadata/manager.test.ts"1000 concurrent operations") that fails identically on cleanmain - Changeset included: patch release for
lingo.dev,@lingo.dev/_compiler,@lingo.dev/compiler,@lingo.dev/_react
🤖 Generated with Claude Code
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 3d875c5b-08e3-41fa-a552-aeb6103e189d
📥 Commits
Reviewing files that changed from the base of the PR and between 38146a75ae1bc96700373a85abee3c9426ce8e47 and 8b20f3540afca5da979ad6669a8125ea3b2b9a90.
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (5)
.changeset/eng-1056-bump-runtime-deps.mdpackages/cli/package.jsonpackages/compiler/package.jsonpackages/new-compiler/package.jsonpackages/react/package.json
✅ Files skipped from review due to trivial changes (3)
- packages/react/package.json
- packages/compiler/package.json
- .changeset/eng-1056-bump-runtime-deps.md
🚧 Files skipped from review as they are similar to previous changes (2)
- packages/new-compiler/package.json
- packages/cli/package.json
📝 Walkthrough
Walkthrough
Patch-level version bumps for four runtime dependencies across monorepo packages to address Dependabot security alerts (ENG-1056): fast-xml-parser updated to 5.7.0 in both compiler packages, js-cookie to 3.0.8 in the react package, minimatch to 10.2.5 in the root, and lodash to 4.17.23 across cli, compiler, new-compiler, and react packages. A changeset file records the corresponding patch releases and notes the rationale for selecting lodash 4.17.23 over 4.18.0 and js-cookie 3.0.8 over 3.0.7.
Changes
Runtime Dependency Security Bumps
| Layer / File(s) | Summary |
|---|---|
Changeset metadata for patch releases .changeset/eng-1056-bump-runtime-deps.md |
Declares patch-level releases for lingo.dev, @lingo.dev/_compiler, @lingo.dev/compiler, and @lingo.dev/_react, documents the bumped dependency versions (fast-xml-parser, js-cookie, minimatch, lodash), and explains why js-cookie is pinned to 3.0.8 (retains CVE fix without raising Node engine requirement) and lodash to 4.17.23 rather than 4.18.0 (avoids the npm bad release line). |
Dependency version bumps across workspace packages package.json, packages/cli/package.json, packages/compiler/package.json, packages/new-compiler/package.json, packages/react/package.json |
Bumps minimatch from 10.1.1 to 10.2.5 in the root, fast-xml-parser from 5.3.2/5.3.3 to 5.7.0 in both compiler packages, js-cookie from 3.0.5 to 3.0.8 in the react package, and lodash from 4.17.21 to 4.17.23 across all workspace packages with dependencies on it. |
Estimated code review effort
🎯 1 (Trivial) | ⏱️ ~3 minutes
Suggested reviewers
- vrcprl
- AndreyHirsa
Poem
🐇 Hop, hop, patch alert! A fox named Depend-a-bot did perk, So I bumped the xml, cookie, and match strings, And lodash now safely brings security wings. Version
.23seals the deal with delight, The monorepo now polished and tight! 🔒
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title 'chore: bump runtime deps to patched versions (security)' directly and clearly summarizes the main change: updating runtime dependencies to patched security versions. |
| Description check | ✅ Passed | The PR description provides a comprehensive summary, detailed changes, explicit testing results, and a changeset entry, fully addressing the template structure despite not explicitly using all checkbox markers. |
| 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-runtime-deps
Comment @coderabbitai help to get the list of available commands and usage tips.