Skip to content

chore(deps): upgrade @rc-component/tree to 1.5.0 - #660

Merged
zombieJ merged 1 commit into
masterfrom
agent/upgrade-tree-1.5.0
Aug 6, 2026
Merged

chore(deps): upgrade @rc-component/tree to 1.5.0#660
zombieJ merged 1 commit into
masterfrom
agent/upgrade-tree-1.5.0

Conversation

@zombieJ

@zombieJ zombieJ commented Aug 6, 2026

Copy link
Copy Markdown
Member

Upgrade @rc-component/tree from ~1.4.0 to ~1.5.0 to consume the latest Tree behavior.

Validation:

  • ut run test -- --runInBand
  • ut run tsc

Summary by CodeRabbit

  • 更新
    • 更新树组件依赖版本,带来兼容性和稳定性改进。

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
cascader Ready Ready Preview Aug 6, 2026 8:27am

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

生产依赖 @rc-component/tree 的版本范围从 ~1.4.0 更新为 ~1.5.0

Changes

树组件依赖更新

Layer / File(s) Summary
生产依赖版本更新
package.json
@rc-component/tree 的生产依赖版本范围从 ~1.4.0 更新为 ~1.5.0

Estimated code review effort: 1(简单) | ~5 分钟

Suggested reviewers: afc163

Poem

我是兔子,轻跳过版本栏,
树组件换上新编号。
~1.5.0 稳稳落下,
依赖清单更清爽。
胡萝卜也为更新鼓掌!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 标题准确概括了将生产依赖从约束版本 1.4.0 升级到 1.5.0 的主要变更。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agent/upgrade-tree-1.5.0

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.

@codecov

codecov Bot commented Aug 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.39%. Comparing base (20d97b1) to head (a63e695).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #660   +/-   ##
=======================================
  Coverage   99.39%   99.39%           
=======================================
  Files          22       22           
  Lines         661      661           
  Branches      204      193   -11     
=======================================
  Hits          657      657           
  Misses          4        4           

☔ 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 Aug 6, 2026

Copy link
Copy Markdown

❌ Deploy failed

PR preview ❌ Failed ❌ Failed
🔗 Preview https://react-component-cascader-preview-pr-660.surge.sh (may be unavailable)
📝 Commita63e695
🪵 LogsView logs
📋 Build log (last lines)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" from eslint-plugin-react@7.37.5
npm error node_modules/eslint-plugin-react
npm error   dev eslint-plugin-react@"^7.37.5" from the root project
npm error   eslint-plugin-react@"^7.32.2" from @umijs/fabric@4.0.1
npm error   node_modules/@umijs/fabric
npm error     @umijs/fabric@"^4.0.0" from rc-test@7.1.3
npm error     node_modules/rc-test
npm error       dev rc-test@"^7.1.3" from the root project
npm error
npm error Conflicting peer dependency: eslint@9.39.5
npm error node_modules/eslint
npm error   peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" from eslint-plugin-react@7.37.5
npm error   node_modules/eslint-plugin-react
npm error     dev eslint-plugin-react@"^7.37.5" from the root project
npm error     eslint-plugin-react@"^7.32.2" from @umijs/fabric@4.0.1
npm error     node_modules/@umijs/fabric
npm error       @umijs/fabric@"^4.0.0" from rc-test@7.1.3
npm error       node_modules/rc-test
npm error         dev rc-test@"^7.1.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2026-08-06T08_28_31_009Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-08-06T08_28_31_009Z-debug-0.log

🤖 Powered by surge-preview

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 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 `@package.json`:
- Line 48: Update the `@rc-component/tree` dependency in package.json from the
unavailable ~1.5.0 range to the published 1.3.2 version, and adjust any code
affected by that version change so installation and CI dependency resolution
succeed.
🪄 Autofix

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 Plus

Run ID: 5d357620-261b-4ffc-9067-b7f94b4e9a72

📥 Commits

Reviewing files that changed from the base of the PR and between 20d97b1 and a63e695.

📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"dependencies": {
"@rc-component/select": "~1.10.0",
"@rc-component/tree": "~1.4.0",
"@rc-component/tree": "~1.5.0",

Copy link
Copy Markdown

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:

#!/usr/bin/env bash
set -euo pipefail

version="$(npm view `@rc-component/tree`@1.5.0 version \
  --registry=https://registry.npmjs.org/ 2>/dev/null || true)"

test "$version" = "1.5.0" || {
  echo "未找到 `@rc-component/tree`@1.5.0"
  exit 1
}

Repository: react-component/cascader

Length of output: 191


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

echo "== package.json dependency =="
python3 - <<'PY'
import json
from pathlib import Path
p=Path("package.json")
data=json.loads(p.read_text())
for sec in ("dependencies","devDependencies"):
    if sec in data and "`@rc-component/tree`" in data[sec]:
        print(sec, data[sec]["`@rc-component/tree`"])
PY

echo "== registry metadata for `@rc-component/tree` =="
npm view `@rc-component/tree` version dist-tags --registry=https://registry.npmjs.org/

echo "== lockfile reference (if present) =="
if [ -f package-lock.json ]; then
  python3 - <<'PY'
import json, re
data=json.load(open("package-lock.json"))
for k,v in data.get("packages",{}).items():
    if k.endswith("node_modules/@rc-component/tree"):
        print(k, v.get("version"), v.get("resolved"))
        break
else:
    print("no package-lock entry")
PY
else
  echo "no package-lock.json"
fi

Repository: react-component/cascader

Length of output: 901


🌐 Web query:

npm view @rc-component/treeversion dist-tags@rc-component/tree 1.5.0

💡 Result:

As of August 6, 2026, the package @rc-component/tree does 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
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 48, Update the `@rc-component/tree` dependency in
package.json from the unavailable ~1.5.0 range to the published 1.3.2 version,
and adjust any code affected by that version change so installation and CI
dependency resolution succeed.

@zombieJ
zombieJ merged commit 6a7057b into master Aug 6, 2026
14 checks passed
@zombieJ
zombieJ deleted the agent/upgrade-tree-1.5.0 branch August 6, 2026 08:40
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.

1 participant