Skip to content

chore: update maintenance dependencies#743

Merged
afc163 merged 16 commits into
masterfrom
codex/update-maintenance-deps
Jul 3, 2026
Merged

chore: update maintenance dependencies#743
afc163 merged 16 commits into
masterfrom
codex/update-maintenance-deps

Conversation

@afc163

@afc163 afc163 commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

  • Link the Ant Design ecosystem logo in README files to https://ant.design
  • Update React, React DOM, TypeScript, ESLint, Testing Library, @types/, @typescript-eslint/, lint-staged, and related lint dependencies
  • Add ESLint flat config compatibility for ESLint 9 and TypeScript ESLint 8
  • Use grouped Dependabot updates for npm and GitHub Actions

Test Plan

  • npm run lint
  • npm run tsc

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
input-number Ready Ready Preview, Comment Jul 3, 2026 3:02am

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@afc163, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6600d2a7-a986-4d06-b1c4-98b79a7c3c6d

📥 Commits

Reviewing files that changed from the base of the PR and between 168879c and fee8a61.

📒 Files selected for processing (12)
  • .eslintrc.js
  • .github/dependabot.yml
  • README.md
  • README.zh-CN.md
  • docs/index.md
  • eslint.config.mjs
  • global.d.ts
  • package.json
  • src/StepHandler.tsx
  • tests/click.test.tsx
  • tests/semantic.test.tsx
  • tsconfig.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/update-maintenance-deps

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@socket-security

socket-security Bot commented Jun 29, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm data-urls is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ?npm/jest-environment-jsdom@30.4.1npm/data-urls@5.0.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/data-urls@5.0.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm rrweb-cssom is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ?npm/jest-environment-jsdom@30.4.1npm/rrweb-cssom@0.8.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/rrweb-cssom@0.8.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request upgrades project dependencies to React 19, TypeScript 6, and ESLint 9, introduces a flat ESLint configuration, and updates Dependabot and README links. Feedback on these changes highlights several type safety and configuration concerns: disabling strict compiler checks in tsconfig.json introduces a major regression; declaring Jest globals as any in global.d.ts overrides strongly-typed definitions; and patching standard React modules globally in react-compat.d.ts can leak to consumers. Additionally, the ESLint configuration can be simplified by filtering out the deprecated ban-types rule rather than mocking it with a dummy rule.

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.

Comment thread tsconfig.json Outdated
Comment thread global.d.ts Outdated
Comment thread react-compat.d.ts Outdated
Comment thread eslint.config.mjs Outdated
Comment thread eslint.config.mjs
@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown

❌ Deploy failed

PR preview ❌ Failed ❌ Failed
🔗 Preview https://react-component-input-number-preview-pr-743.surge.sh (may be unavailable)
📝 Commitfee8a61
🪵 LogsView logs
📋 Build log (last lines)
npm warn exec The following package was not found and will be installed: surge@0.28.0

   Running as afc163@gmail.com (Student)

        project: ./docs-dist
         domain: react-component-input-number-preview-pr-743.surge.sh
           size: 43 files, 1.7 MB

   Aborted - you do not have permission to publish to react-component-input-number-preview-pr-743.surge.sh

🤖 Powered by surge-preview

@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.78%. Comparing base (168879c) to head (fee8a61).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #743   +/-   ##
=======================================
  Coverage   95.78%   95.78%           
=======================================
  Files           6        6           
  Lines         332      332           
  Branches       91       92    +1     
=======================================
  Hits          318      318           
  Misses         14       14           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit fee8a61.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/afc163s-projects?upgradeToPro=build-rate-limit

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit

@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 1 day (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit

@afc163

afc163 commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Related to ant-design/ant-design#58514.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s maintenance/tooling setup by bumping core frontend and lint/test dependencies, migrating ESLint to flat config for ESLint 9 / TypeScript ESLint 8 compatibility, and applying small related config/doc/test adjustments.

Changes:

  • Bumps React/TypeScript/ESLint/Testing Library and related tooling dependencies.
  • Replaces legacy .eslintrc.js with eslint.config.mjs (flat config) and adds global.d.ts to centralize ambient typings.
  • Minor maintenance tweaks: Dependabot grouping, README logo link, and test/doc updates.

Reviewed changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsconfig.json Updates TS module/moduleResolution settings and restructures include/exclude; adjusts path mappings.
tests/semantic.test.tsx Normalizes expected style colors to rgb(...) strings.
tests/click.test.tsx Reformats helper invocations for readability (no behavior change).
src/StepHandler.tsx Initializes a ref with undefined explicitly (typing/compat tweak).
README.zh-CN.md Wraps Ant Design ecosystem logo with a link to https://ant.design.
README.md Wraps Ant Design ecosystem logo with a link to https://ant.design.
package.json Updates a broad set of devDependencies (React 19, ESLint 9, TS 6, etc.).
global.d.ts Adds project-wide type references and ambient module declarations.
eslint.config.mjs Adds ESLint flat config with React, Jest, and TypeScript ESLint integration.
docs/index.md Removes pnpm install snippet from docs install section.
.github/dependabot.yml Enables grouped Dependabot updates for npm and GitHub Actions.
.eslintrc.js Removes legacy ESLint config (replaced by flat config).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread eslint.config.mjs
@afc163 afc163 merged commit 148c4b7 into master Jul 3, 2026
15 checks passed
@afc163 afc163 deleted the codex/update-maintenance-deps branch July 3, 2026 12:31
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.

2 participants