Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"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.

"@rc-component/util": "^1.11.1",
"clsx": "^2.1.1"
},
Expand Down
Loading