Skip to content

feat(react-spring): update #6898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat(react-spring): update #6898

wants to merge 2 commits into from

Conversation

guoyunhe
Copy link
Contributor

@guoyunhe guoyunhe commented Jun 26, 2025

Summary by CodeRabbit

  • 杂项
    • 更新了 "@react-spring/web" 依赖版本范围,提升至支持 10.0.1 及以上的兼容版本。
    • 升级了开发依赖 "jest-canvas-mock" 和 "typescript" 版本,提升开发环境稳定性和兼容性。

Copy link
Contributor

github-actions bot commented Jun 26, 2025

Preview is ready

Copy link

coderabbitai bot commented Jun 26, 2025

📝 Walkthrough

Walkthrough

此次更改将 package.json 文件中 @react-spring/webjest-canvas-mocktypescript 的依赖版本范围进行了升级,分别从 "~9.6.1"、"^2.5.0" 和 "~4.6.4" 更新为 "^10.0.1"、"^2.5.2" 和 "^5.8.3",未涉及其他依赖或配置调整。

Changes

文件 变更摘要
package.json 升级 @react-spring/webjest-canvas-mocktypescript 依赖版本范围

Poem

🐇
版本跃升新天地,
依赖换装更轻盈。
九点六到十点一,
画布模拟添新意。
类型升级展宏图,
跳跃代码不停歇。
🌿


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c69fa96 and c1ca29a.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • package.json (3 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json
⏰ Context from checks skipped due to timeout of 90000ms (10)
  • GitHub Check: build preview
  • GitHub Check: size
  • GitHub Check: check
  • GitHub Check: react-19
  • GitHub Check: build
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (actions)
  • GitHub Check: build
  • GitHub Check: check
  • GitHub Check: react-19
✨ Finishing Touches
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch update-react-spring

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

socket-security bot commented Jun 26, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​size-limit/​preset-big-lib@​11.1.0 ⏵ 11.2.0991005179100
Updated@​types/​react-helmet@​6.1.6 ⏵ 6.1.111001006877100
Updated@​babel/​preset-react@​7.22.15 ⏵ 7.26.31001006992100
Updated@​react-spring/​web@​9.6.1 ⏵ 10.0.1100 +110070 +285100
Updated@​commitlint/​cli@​19.2.1 ⏵ 19.8.0100 +110071 +188100
Updated@​babel/​preset-typescript@​7.22.15 ⏵ 7.27.0100 +110071 +192100
Updated@​types/​big.js@​6.2.0 ⏵ 6.2.21001007177100
Updated@​babel/​plugin-transform-modules-commonjs@​7.22.15 ⏵ 7.26.3100 +110072 +192100
Updated@​floating-ui/​dom@​1.5.3 ⏵ 1.6.1310010072 +190100
Updated@​types/​react-beautiful-dnd@​13.1.4 ⏵ 13.1.81001007377100
Updated@​types/​react-dom@​18.2.7 ⏵ 18.3.6100 +110074 +194 +3100
Updated@​types/​react-virtualized@​9.21.22 ⏵ 9.22.21001007579100
Updated@​babel/​cli@​7.22.15 ⏵ 7.27.099 +110075 +194100
Updated@​babel/​preset-env@​7.22.20 ⏵ 7.26.996 +110075 +194100
Updated@​types/​resize-observer-browser@​0.1.7 ⏵ 0.1.1110010082 -476100
Updated@​types/​react@​18.2.22 ⏵ 18.3.20100 +110077 +194100
Updated@​babel/​core@​7.22.20 ⏵ 7.26.109810078 +196100
Updated@​types/​react-is@​17.0.4 ⏵ 17.0.710010079 -778100
Updated@​statoscope/​webpack-plugin@​5.27.0 ⏵ 5.29.09910010078100
Updateddayjs@​1.11.9 ⏵ 1.11.13100 +110010078100
Updated@​types/​lodash@​4.14.198 ⏵ 4.17.161001007892 +1100
Updatedclassnames@​2.3.2 ⏵ 2.5.1100100100 +179100
Updatedcsstype@​3.1.2 ⏵ 3.1.3100 +1100100 +179100
Updated@​types/​node@​20.4.7 ⏵ 18.19.871001007996 +1100
Updatedcss-loader@​6.8.1 ⏵ 6.11.09910010080100
Updated@​docsearch/​react@​3.5.2 ⏵ 3.9.010010082 -186100
Updatedeslint-plugin-react@​7.33.2 ⏵ 7.37.59810010085100
Updated@​ant-design/​icons@​4.8.1 ⏵ 4.8.388 -111008687100
Updated@​commitlint/​config-conventional@​17.7.0 ⏵ 17.8.110010010087100
See 5 more rows in the dashboard

View full report

Copy link

socket-security bot commented Jun 26, 2025

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 for details)
Warn High
es5-ext@0.10.64 is Protestware or potentially unwanted behavior.

Note: The script attempts to run a local post-install script, which could potentially contain malicious code. The error handling suggests that it is designed to fail silently, which is a common tactic in malicious scripts.

From: pnpm-lock.yamlnpm/es5-ext@0.10.64

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

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: Consider that consuming this package may come along with functionality unrelated to its primary purpose.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/es5-ext@0.10.64. 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

Copy link

Deploying ant-design-mobile with  Cloudflare Pages  Cloudflare Pages

Latest commit: c1ca29a
Status:🚫  Build failed.

View logs

Copy link

pkg-pr-new bot commented Jun 26, 2025

npm i https://pkg.pr.new/ant-design/ant-design-mobile/antd-mobile@6898

commit: c1ca29a

1 similar comment
Copy link

pkg-pr-new bot commented Jun 26, 2025

npm i https://pkg.pr.new/ant-design/ant-design-mobile/antd-mobile@6898

commit: c1ca29a

Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
./lib/bundle/antd-mobile.es.js 0 B (-109.7 KB 🔽) 0 ms (-100% 🔽) 0 ms (-100% 🔽) 0 ms
lib/bundle/antd-mobile.es.js 108.98 KB (+108.98 KB 🔺) 2.2 s (+100% 🔺) 74 ms (+100% 🔺) 2.3 s

@@ -58,7 +58,7 @@
"dependencies": {
"@floating-ui/dom": "^1.4.2",
"@rc-component/mini-decimal": "^1.1.0",
"@react-spring/web": "~9.6.1",
"@react-spring/web": "^10.0.1",
Copy link
Member

Choose a reason for hiding this comment

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

CI failed

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