Skip to content

chore(deps): 11 outdated deps found. Highest priority safe upgrades: eslint (8.3→8.57#17243

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

chore(deps): 11 outdated deps found. Highest priority safe upgrades: eslint (8.3→8.57#17243
isagoakira wants to merge 1 commit into
react:mainfrom
isagoakira:fix/deps-update-1778897062

Conversation

@isagoakira

Copy link
Copy Markdown

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

此 PR 由 Code Legacy Reviver 自动生成🤖

📋 更新摘要

11 outdated deps found. Highest priority safe upgrades: eslint (8.3→8.57.0), fs-extra (10→11.2), lint-staged (12→15.2.2). Higher-risk major bumps: prettier (2→3), lerna (4→8), puppeteer (12→22), husky (4→9), and all three @testing-library packages. Test suite would need validation after any upgrade.

📦 变更清单

🟡 @testing-library/jest-dom: ^5.15.1^6.4.2
Major version jump from 5 to 6; adds TypeScript types natively and improves matchers. Risk: medium — breaking change for custom jest matchers.

🟡 @testing-library/react: ^12.1.2^14.2.1
3 major versions behind (12→14). React 18 support and strict mode improvements. Risk: medium — requires React 18 peer dep.

🟡 @testing-library/user-event: ^13.5.0^14.4.3
Significant API improvements and React 18 compatibility. Risk: medium — some event APIs changed behavior.

🟡 jest: ^27.4.3^29.7.0
Jest 27→29 includes major performance, snapshot, and ESM improvements. Risk: medium — breaking changes in config and some matchers.

🔴 prettier: ^2.5.0^3.2.5
Prettier 2→3 is a major version with breaking formatting changes. Risk: high — may reformat large portions of codebase unexpectedly.

🟢 lerna: ^4.0.0^8.1.2
Lerna 4→8 (now npm workspaces native). Risk: high — project structure is tightly coupled to Lerna's older behavior.

🔴 eslint: ^8.3.0^8.57.0
Minor range bump within v8 for latest bug/security fixes. Risk: low — staying within v8 avoids flat config migration.

🟢 puppeteer: ^12.0.1^22.4.1
Major version jump (12→22). Chromium bundled version and API changes. Risk: high — likely needs Node.js version check and significant API migration.

🔴 fs-extra: ^10.0.0^11.2.0
Safe minor/patch upgrade within v10/v11. Risk: low — mostly additive API.

🟡 husky: ^4.3.8^9.0.11
v4→v9 has breaking config format changes. Risk: medium — git hooks setup mechanism changed.

🔴 lint-staged: ^12.1.2^15.2.2
Safe minor upgrade path to v15. Risk: low — behavior largely unchanged.

⚠️ 风险等级

🟡 Medium

📝 文件变更

  • package.json

Generated by Code Legacy Reviver

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

1 participant