Skip to content

chore(deps): update dependencies#395

Merged
consistent-k merged 1 commit intomainfrom
dev
Mar 3, 2026
Merged

chore(deps): update dependencies#395
consistent-k merged 1 commit intomainfrom
dev

Conversation

@consistent-k
Copy link
Copy Markdown
Owner

@consistent-k consistent-k commented Mar 3, 2026

Summary by CodeRabbit

发行说明

  • 更新

    • 升级多个依赖项及开发依赖项至最新版本,包括核心框架和工具库的版本更新。
  • 移除功能

    • 移除了多个数据源的所有接口端点(包括分类、详情、首页、播放和搜索等功能)。
  • 其他变更

    • 调整了部分数据源的配置。

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 3, 2026

Walkthrough

本次变更包含依赖版本升级和多个路由模块的删除。更新了package.json中多个包的版本号,修改了hongniuzy命名空间的URL协议,并完全移除了piaoling、ukzy和yhzy这三个供应商的所有路由文件和命名空间导出。

Changes

Cohort / File(s) Summary
依赖版本升级
package.json
升级了@hono/node-server、axios、cache-manager、dotenv、hono、ioredis、keyv、lodash等多个依赖和开发依赖的版本。
命名空间URL更新
src/routes/hongniuzy/namespace.ts
hongniuzy命名空间URL从https协议改为http协议。
Piaoling路由移除
src/routes/piaoling/*
删除了piaoling供应商的所有路由模块,包括category、detail、home、homeVod、play、search路由以及namespace命名空间定义。
UKZY路由移除
src/routes/ukzy/*
删除了ukzy供应商的所有路由模块,包括category、detail、home、homeVod、play、search路由以及namespace命名空间定义。
樱花资源网(YHZY)路由移除
src/routes/yhzy/*
删除了yhzy供应商的所有路由模块,包括category、detail、home、homeVod、play、search路由以及namespace命名空间定义。

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • PR #81: 修改hongniuzy命名空间文件,本次变更更新了该文件的URL协议配置。
  • PR #120: 添加了piaoling路由模块和命名空间,本次变更删除了这些相同的piaoling路由文件。
  • PR #97: 添加了ukzy和yhzy路由模块,本次变更删除了这些供应商的所有路由和命名空间导出。

Poem

🐰 三个供应商悄然离去,
路由和命名空间随风消散,
依赖更新,香港牛资源改装新衣,
代码库轻装上阵,迎接新的篇章!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning 拉取请求标题与实际变更内容不符。标题声称仅为「更新依赖」,但PR包含大量路由删除操作,这是功能性的重大改动而非简单的依赖更新。 建议更新标题以准确反映主要变更,例如:「remove piaoling/ukzy/yhzy routes and update dependencies」或「chore: remove obsolete routes and update dependencies」。
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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 and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 46: The package declares "@types/node": "^25.3.3" while engines.node is
">=24", causing a type/runtime mismatch; to fix, align major versions by either
downgrading the dependency entry "@types/node" to the 24.x line (e.g. change the
version spec to ^24.0.0) if you need to keep engines.node at >=24, or update the
engines.node constraint to >=25 if you want to move to Node 25—update only the
package.json fields "dependencies"/"devDependencies" entry for `@types/node` or
the "engines.node" field accordingly so the major versions match.

In `@src/routes/hongniuzy/namespace.ts`:
- Line 5: 将对象中的 url 字段从不安全的 "http://www.hongniuzy2.com" 升级为
"https://www.hongniuzy2.com";在 src/routes/hongniuzy/namespace.ts 中找到 url 属性(当前值
"http://www.hongniuzy2.com")并替换为 HTTPS 版本以确保使用加密传输。

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 744e762 and 941bf25.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (23)
  • package.json
  • src/routes/hongniuzy/namespace.ts
  • src/routes/piaoling/category.ts
  • src/routes/piaoling/detail.ts
  • src/routes/piaoling/home.ts
  • src/routes/piaoling/homeVod.ts
  • src/routes/piaoling/namespace.ts
  • src/routes/piaoling/play.ts
  • src/routes/piaoling/search.ts
  • src/routes/ukzy/category.ts
  • src/routes/ukzy/detail.ts
  • src/routes/ukzy/home.ts
  • src/routes/ukzy/homeVod.ts
  • src/routes/ukzy/namespace.ts
  • src/routes/ukzy/play.ts
  • src/routes/ukzy/search.ts
  • src/routes/yhzy/category.ts
  • src/routes/yhzy/detail.ts
  • src/routes/yhzy/home.ts
  • src/routes/yhzy/homeVod.ts
  • src/routes/yhzy/namespace.ts
  • src/routes/yhzy/play.ts
  • src/routes/yhzy/search.ts
💤 Files with no reviewable changes (21)
  • src/routes/ukzy/search.ts
  • src/routes/piaoling/namespace.ts
  • src/routes/yhzy/search.ts
  • src/routes/ukzy/play.ts
  • src/routes/piaoling/detail.ts
  • src/routes/ukzy/home.ts
  • src/routes/piaoling/search.ts
  • src/routes/yhzy/homeVod.ts
  • src/routes/yhzy/home.ts
  • src/routes/piaoling/home.ts
  • src/routes/yhzy/detail.ts
  • src/routes/piaoling/category.ts
  • src/routes/yhzy/namespace.ts
  • src/routes/yhzy/category.ts
  • src/routes/ukzy/category.ts
  • src/routes/ukzy/namespace.ts
  • src/routes/ukzy/homeVod.ts
  • src/routes/ukzy/detail.ts
  • src/routes/yhzy/play.ts
  • src/routes/piaoling/homeVod.ts
  • src/routes/piaoling/play.ts

Comment thread package.json
"@types/lodash": "^4.17.21",
"@types/node": "^22.19.2",
"@types/lodash": "^4.17.24",
"@types/node": "^25.3.3",
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.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

cat -n package.json | grep -A 2 -B 2 "46:\|61:" || head -70 package.json | tail -30

Repository: consistent-k/VodHub

Length of output: 995


🏁 Script executed:

sed -n '40,50p' package.json

Repository: consistent-k/VodHub

Length of output: 531


🏁 Script executed:

sed -n '55,65p' package.json

Repository: consistent-k/VodHub

Length of output: 301


对齐 @types/node 与最小运行时 Node 主版本

@types/node 使用 ^25.3.3,但 engines.node 指定 >=24。@types/node 主版本(25)高于最低运行时版本(24),可能导致代码通过类型检查但在 Node 24 运行时出现 API 不存在的问题。建议将两者主版本对齐,可选择将 @types/node 降至 ^24.0.0 或将 engines.node 升至 >=25

🔧 修复方式(保持 Node 24 兼容性)
-        "@types/node": "^25.3.3",
+        "@types/node": "^24.0.0",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"@types/node": "^25.3.3",
"@types/node": "^24.0.0",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 46, The package declares "@types/node": "^25.3.3" while
engines.node is ">=24", causing a type/runtime mismatch; to fix, align major
versions by either downgrading the dependency entry "@types/node" to the 24.x
line (e.g. change the version spec to ^24.0.0) if you need to keep engines.node
at >=24, or update the engines.node constraint to >=25 if you want to move to
Node 25—update only the package.json fields "dependencies"/"devDependencies"
entry for `@types/node` or the "engines.node" field accordingly so the major
versions match.

export const namespace: Namespace = {
name: '红牛资源站',
url: 'https://www.hongniuzy2.com',
url: 'http://www.hongniuzy2.com',
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.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# First, check if the file exists and show the relevant context
if [ -f "src/routes/hongniuzy/namespace.ts" ]; then
  echo "=== File exists. Content around line 5: ==="
  head -n 10 "src/routes/hongniuzy/namespace.ts" | cat -n
else
  echo "File not found at src/routes/hongniuzy/namespace.ts"
fi

Repository: consistent-k/VodHub

Length of output: 321


🏁 Script executed:

# Test HTTPS and HTTP availability for the domain
#!/bin/bash
set -euo pipefail

for u in "https://www.hongniuzy2.com" "http://www.hongniuzy2.com"; do
  echo "=== Testing: $u ==="
  status=$(curl -sSIL --max-time 10 --write-out "%{http_code}" -o /dev/null "$u" 2>&1 || echo "error")
  echo "HTTP Status: $status"
  echo
done

Repository: consistent-k/VodHub

Length of output: 185


🏁 Script executed:

# Check git history for this file to understand context
if [ -f "src/routes/hongniuzy/namespace.ts" ]; then
  echo "=== Recent changes to this file: ==="
  git log --oneline -n 5 "src/routes/hongniuzy/namespace.ts" 2>/dev/null || echo "No git history available"
fi

Repository: consistent-k/VodHub

Length of output: 140


将 URL 协议从 HTTP 升级为 HTTPS

第 5 行使用了 http://www.hongniuzy2.com,但该域名支持 HTTPS(已验证返回 200)。在可用的情况下应优先使用 HTTPS 以提高传输安全性,避免中间人攻击、流量嗅探等风险。

🔧 建议修复
-    url: 'http://www.hongniuzy2.com',
+    url: 'https://www.hongniuzy2.com',
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
url: 'http://www.hongniuzy2.com',
url: 'https://www.hongniuzy2.com',
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/routes/hongniuzy/namespace.ts` at line 5, 将对象中的 url 字段从不安全的
"http://www.hongniuzy2.com" 升级为 "https://www.hongniuzy2.com";在
src/routes/hongniuzy/namespace.ts 中找到 url 属性(当前值
"http://www.hongniuzy2.com")并替换为 HTTPS 版本以确保使用加密传输。

@consistent-k consistent-k merged commit 398717c into main Mar 3, 2026
1 check passed
@consistent-k consistent-k deleted the dev branch March 3, 2026 15:29
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