chore: update maintenance dependencies#529
Conversation
|
Deployment failed with the following error: Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit |
|
Warning Review limit reached
Next review available in: 15 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
Walkthrough本次变更升级了依赖版本(含React 19、TypeScript 6),将ESLint迁移至Flat配置,调整了tsconfig.json的模块解析与严格性选项,新增global.d.ts全局类型声明,并更新了README文档与dependabot分组配置。 Changes工具链与配置升级
Estimated code review effort: 3 (Moderate) | ~25 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
There was a problem hiding this comment.
Code Review
This pull request upgrades React to v19, TypeScript to v6, and ESLint to v9, alongside adding a new flat ESLint configuration and compatibility type definitions. However, several issues were identified in the review: disabling strict TypeScript compiler flags in tsconfig.json significantly reduces type safety; declaring test globals as any in global.d.ts overrides strongly-typed Jest definitions; and shimming deprecated ESLint rules at runtime in eslint.config.mjs adds unnecessary complexity and fragility compared to updating the base configuration directly.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
❌ Deploy failed
📋 Build log (last lines)🤖 Powered by surge-preview |
|||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #529 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 36 36
Branches 14 14
=========================================
Hits 36 36 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
React Doctor skipped this pull request — it changed no React files. Reviewed by React Doctor for commit |
|
Deployment failed with the following error: Learn More: https://vercel.com/afc163s-projects?upgradeToPro=build-rate-limit |
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@global.d.ts`:
- Around line 22-29: `jest.Matchers` 的泛型签名与 `@types/jest` 不一致,导致声明合并冲突。请在
`declare namespace jest` 下的 `Matchers` 接口中将泛型参数对齐为与 `@types/jest@30` 一致的形式,并保留现有
matcher 方法定义,这样可避免 TS2428 类型检查失败。
In `@package.json`:
- Around line 88-90: The React peer dependency range is too narrow in
peerDependencies and excludes compatible React 19 versions earlier than 19.2.7.
Update the react and react-dom entries in package.json to a broader React 19
range, such as ^19.0.0, unless code elsewhere explicitly requires
19.2.7-specific APIs.
In `@README.md`:
- Line 52: Fix the installation command typo in the local development
instructions by replacing the incorrect “ut install” text with the proper
package install command in both README occurrences. Update the affected setup
guidance so the referenced install step is consistent and discoverable, using
the surrounding installation section to locate the two occurrences.
In `@README.zh-CN.md`:
- Around line 52-53: The local setup instructions contain a typo in the install
command, so update the README.zh-CN.md development steps to use npm install
instead of ut install in both occurrences. Locate the two setup command blocks
in the README and correct the installation command text only, keeping the rest
of the instructions unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: bb89e218-a006-408e-a627-166fc45e375c
📒 Files selected for processing (7)
.github/dependabot.ymlREADME.mdREADME.zh-CN.mdeslint.config.mjsglobal.d.tspackage.jsontsconfig.json
|
Related to ant-design/ant-design#58514. |

Summary
Test Plan
Summary by CodeRabbit
文档
新功能
Chores