Skip to content

Bump safe dep patches; fix @babel/runtime + transitive CVEs - #627

Open
dabowman wants to merge 1 commit into
trunkfrom
deps/safe-patch-updates
Open

Bump safe dep patches; fix @babel/runtime + transitive CVEs#627
dabowman wants to merge 1 commit into
trunkfrom
deps/safe-patch-updates

Conversation

@dabowman

Copy link
Copy Markdown
Contributor

Summary

  • Resolves moderate CVE in @babel/runtime (inefficient RegExp complexity, GHSA-968p-4wvh-cqc8) by bumping 7.23.1 → 7.29.2
  • Resolves high-severity transitive vulns in lodash, postcss, and vite via npm audit fix (no breaking changes)
  • Patch/minor bumps across Babel (7.22-7.23 → 7.28-7.29), Storybook (10.3.3 → 10.3.6), @emotion/react (11.11.1 → 11.14.0), @axe-core/react (4.7 → 4.11), @theme-ui/match-media (0.16.1 → 0.16.2), @types/jest-axe (3.5.6 → 3.5.9)

Deferred (intentional)

Major bumps requiring coordinated work, left for separate PRs:

  • React 18 → 19 (peerDep + ecosystem ripple)
  • theme-ui 0.16 → 0.17 (peerDep pinned)
  • framer-motion 3 → 12 (massive API drift)
  • ESLint 8 → 10 + @automattic/eslint-plugin-wpvip 0.8 → 1.2
  • Jest 29 → 30 (closes remaining 4 low-severity jest-environment-jsdom chain advisories)
  • TypeScript 5.8 → 6, wp-prettier 2.8 → 3, cross-env 7 → 10
  • @testing-library/react 14 → 16 (requires React 19)

Test plan

  • npm run check-types passes
  • npm run lint passes (max-warnings 0)
  • npm run test — 40 suites, 136 tests pass
  • npm run build succeeds
  • npm audit — no high/moderate severity remaining (4 low-severity in jest-environment-jsdom chain require breaking bump, deferred)
  • Storybook smoke check on a reviewer's machine

🤖 Generated with Claude Code

Resolves @babel/runtime moderate CVE (RegExp complexity), plus high-severity
transitive vulns in lodash, postcss, and vite via npm audit fix.

- @babel/runtime 7.23.1 → 7.29.2 (CVE)
- @babel/cli/core/preset-env/preset-react/preset-typescript → 7.28-7.29
- @emotion/react 11.11.1 → 11.14.0
- @theme-ui/match-media 0.16.1 → 0.16.2
- @storybook/* + storybook + eslint-plugin-storybook 10.3.3 → 10.3.6
- @axe-core/react 4.7.3 → 4.11.3
- @types/jest-axe 3.5.6 → 3.5.9

Defers React 19, theme-ui 0.17, framer-motion 12, ESLint 10, Jest 30,
TypeScript 6, Prettier 3 — major version bumps requiring coordinated work.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Apr 30, 2026

Copy link
Copy Markdown

Deploy Preview for vip-design-system-components ready!

Name Link
🔨 Latest commit 0e5bda4
🔍 Latest deploy log https://app.netlify.com/projects/vip-design-system-components/deploys/69f3ae22e4260e0008b9a549
😎 Deploy Preview https://deploy-preview-627--vip-design-system-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dabowman
dabowman requested a review from luiztiago April 30, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant