Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: react-component/cascader
Length of output: 191
🏁 Script executed:
Repository: react-component/cascader
Length of output: 901
🌐 Web query:
npm view@rc-component/treeversion dist-tags@rc-component/tree1.5.0💡 Result:
As of August 6, 2026, the package
@rc-component/treedoes not have a version 1.5.0. The latest version available in the npm registry is 1.3.2, which was published on May 25, 2026 [1][2][3]. The version 1.3.2 is currently tagged as the latest version [1][2].Citations:
将
@rc-component/tree换为已发布版本。package.json中当前范围是~1.5.0,但公开 npm 源中@rc-component/tree@1.5.0不存在,最新版为1.3.2。依赖解析会失败,会导致安装和 CI 失败。请使用已发布版本并更新代码,或先发布1.5.0。🤖 Prompt for AI Agents