Skip to content

chore(deps): Most deps are many major versions behind (jest 27→29, eslint 8→9, pretti#17268

Open
isagoakira wants to merge 1 commit into
react:mainfrom
isagoakira:fix/deps-update-1780711341
Open

chore(deps): Most deps are many major versions behind (jest 27→29, eslint 8→9, pretti#17268
isagoakira wants to merge 1 commit into
react:mainfrom
isagoakira:fix/deps-update-1780711341

Conversation

@isagoakira

Copy link
Copy Markdown

🔧 依赖维护更新 — react/create-react-app

此 PR 由 Code Legacy Reviver 自动生成🤖

📋 更新摘要

Most deps are many major versions behind (jest 27→29, eslint 8→9, prettier 2→3, husky 4→9, lerna 4→8, puppeteer 12→22) — upgrading these would require significant testing. Recommended safe upgrades: fs-extra 10.0→10.1, strip-ansi already at latest 6.x, web-vitals 2.1.2→2.1.4, jest 27.4.3→27.5.1, prettier 2.5→2.8.8 (all minor/patch, backwards-compatible). Left as-is: puppeteer (browser binary pinning is complex), husky (major rewrite), testing-library packages (2 major versions behind), alex, lerna, lint-staged, globby (≥2 majors behind — too risky without manual review).

📦 变更清单

🔴 strip-ansi: ^6.0.1^6.0.1
Already at 6.0.1, but 6.0.1 is outdated — latest 6.x is 6.0.1 (no change needed, already latest in ^ range)

🔴 fs-extra: ^10.0.0^10.1.0
10.0.0 is the minimum of the ^10 range; 10.1.0 is latest patch with bug fixes

🔴 web-vitals: ^2.1.2^2.1.4
2.1.2 is 2.x patch range floor; 2.1.4 is latest patch with fixes

🔴 jest: ^27.4.3^27.5.1
27.4.3 has known issues with coverage and esm; 27.5.1 is stable latest in 27.x with fixes

🔴 prettier: ^2.5.0^2.8.8
2.5.0 is 2.x floor; 2.8.8 is latest 2.x with many bug fixes and formatting improvements, API-compatible

🟡 meow: ^9.0.0^9.1.0
9.0.0 floor; 9.1.0+ is latest 9.x with fixes, same API

🟡 wait-for-localhost: ^3.3.0^3.3.1
3.3.0 floor; 3.3.1 is latest 3.x patch

🟡 lerna-changelog: ^2.2.0^2.2.6
2.2.0 is outdated 2.x floor; 2.2.6 is latest patch with fixes

🟡 globby: ^11.0.4^11.1.1
11.0.4 is old floor; 11.1.1 latest 11.x with improvements, API-compatible

🔴 execa: ^5.1.1^5.1.1
5.1.1 is latest 5.x — no upgrade available in 5.x line

⚠️ 风险等级

🟡 Medium

📝 文件变更

  • package.json

Generated by Code Legacy Reviver

@meta-cla meta-cla Bot added the CLA Signed label Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant