chore: update maintenance dependencies#577
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 59 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 ignored due to path filters (1)
📒 Files selected for processing (9)
✨ 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. |
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
There was a problem hiding this comment.
Code Review
This pull request upgrades the project's dependencies, including React to v19, TypeScript to v6, and ESLint to v9, alongside adding a new ESLint flat configuration and type declaration files. Feedback on these changes highlights several concerns regarding type safety and configuration complexity: disabling strict type-checking flags in tsconfig.json and redeclaring Jest globals as any in global.d.ts significantly reduces type safety; augmenting the 'react' module in react-compat.d.ts to redefine standard APIs can cause unexpected type conflicts; and the runtime workaround in eslint.config.mjs to bypass deprecated rules should be replaced by directly updating the legacy .eslintrc.js file.
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.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #577 +/- ##
=======================================
Coverage 98.94% 98.94%
=======================================
Files 8 8
Lines 190 190
Branches 69 69
=======================================
Hits 188 188
Misses 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
|
Deployment failed with the following error: Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit |
|
Related to ant-design/ant-design#58514. |
There was a problem hiding this comment.
Pull request overview
This PR performs maintenance updates across the repo: modernizing dependency versions, updating lint configuration to ESLint 9’s flat config format, and making a small documentation tweak (linking the Ant Design ecosystem logo).
Changes:
- Update core dev dependencies (React/React DOM, TypeScript, ESLint ecosystem, Testing Library, typings, lint tooling).
- Migrate from legacy
.eslintrc.jstoeslint.config.mjs(ESLint flat config) and adjust TypeScript/Jest type handling viaglobal.d.ts. - Tweak docs/readmes and dependabot to use grouped updates.
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
tsconfig.json |
Switches to bundler module resolution and updates compiler options/includes. |
global.d.ts |
Centralizes ambient typings and module declarations. |
eslint.config.mjs |
Introduces ESLint 9 flat config with TS/Jest/React setup. |
.eslintrc.js |
Removes legacy ESLint config. |
package.json |
Updates dependency versions and ESLint-related packages. |
.github/dependabot.yml |
Adds grouped update configuration for npm and GitHub Actions. |
README.md |
Links the Ant Design logo to https://ant.design. |
README.zh-CN.md |
Links the Ant Design logo to https://ant.design. |
tests/index.spec.tsx |
Minor formatting change in JSX render call. |
tests/__snapshots__/index.spec.tsx.snap |
Updates snapshot header URL. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Summary
Test Plan