Skip to content

修复测试依赖安全公告并保留 Node 20 支持 - #30

Merged
RyanCoreAI merged 1 commit into
mainfrom
codex/update-test-dependencies-node20-20261114
Nov 14, 2026
Merged

RyanCoreAI merged 1 commit into
mainfrom
codex/update-test-dependencies-node20-20261114

Conversation

@RyanCoreAI

@RyanCoreAI RyanCoreAI commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

修复测试工具链依赖的安全公告,同时保留项目现有 Node.js >=20 支持和 Ubuntu/Windows、Node 20/22 CI 矩阵。

  • Vitest 1.6.1 升至 4.1.12,移除旧 tinypool 与 vite-node 链路。
  • 显式使用 Vite 6.4.6,确保其 Node 20 兼容范围;不直接采用 chore(deps-dev): bump vitest from 4.1.12 to 5.1.0 #29 的 Vitest 5(需要 Node >=22.12),不调整运行时依赖或发布包行为。
  • 仅变更 package.json 和 npm 锁文件,保留所有测试和断言。

验证:npm run check 通过(83 项测试、30 项基准及 TypeScript 构建);npm audit 当前结果由 5 项公告(其中 2 critical)降为 0。GitHub Ubuntu/Windows × Node 20/22 四组构建、83 项测试和 30 项基准均通过;CodeQL 和 PatchBrake 自检及 SARIF 检查通过。

CI:https://github.com/RyanCoreAI/patchbrake/actions/runs/43548913290
CodeQL:https://github.com/RyanCoreAI/patchbrake/actions/runs/43548913266
PatchBrake:https://github.com/RyanCoreAI/patchbrake/actions/runs/43548913267

@RyanCoreAI
RyanCoreAI merged commit 69b6876 into main Nov 14, 2026
8 checks passed
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