Skip to content

chore(deps): 升级 vitest、fast-uri、serialize-javascript,补上 7 条依赖公告 - #629

Merged
rainyflash merged 1 commit into
mainfrom
chore/deps-security-2026-10-28
Oct 28, 2026
Merged

rainyflash merged 1 commit into
mainfrom
chore/deps-security-2026-10-28

Conversation

@rainyflash

@rainyflash rainyflash commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

为什么

仓库开着 8 条依赖公告(4 条中危、4 条低危),都是开发和构建时才用的 npm 包。每天的依赖安全检查(pnpm audit:node,只卡高危)没拦,但攒着不好。Dependabot 的 #579 只改了锁文件、没重新生成许可证清单,“格式、类型与测试”一直红,这个 PR 取代它。

改了什么

  • vitest、@vitest/coverage-v8:4.1.11 → 4.1.12(@vitest/mocker 的两条)。
  • fast-uri 的覆盖:3.1.8 → 3.1.9(@cyclonedx/cdxgen、ajv 带进来的四条)。
  • 新加 serialize-javascript 的覆盖到 7.1.4(vite-plugin-pwa → workbox-build → @rollup/plugin-terser 带进来的一条)。写法照 pnpm.overrides 里已有的几条。
  • 许可证清单重新生成(python tools/license_inventory.py generate)。

deepmerge(workbox-build → @rollup/plugin-node-resolve)那条低危上游还没有修复版本,先留着:只在构建 Service Worker 时合并配置用,不碰外来输入。

怎么查的

🤖 Generated with Claude Code

都是开发和构建时才用的包:
- vitest 和 @vitest/coverage-v8 4.1.11 → 4.1.12(@vitest/mocker 的两条);
- fast-uri 的覆盖从 3.1.8 提到 3.1.9(cdxgen、ajv 带进来的,四条);
- serialize-javascript 覆盖到 7.1.4(vite-plugin-pwa 经 workbox-build 带进来的,一条)。
deepmerge 那条上游还没有修复版本,先留着(低危,只在构建 Service Worker 时用)。
许可证清单跟着重新生成。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rainyflash
rainyflash force-pushed the chore/deps-security-2026-10-28 branch from 56b4714 to a6f7271 Compare October 28, 2026 06:51
@rainyflash
rainyflash merged commit 7b4dfa6 into main Oct 28, 2026
20 checks passed
@rainyflash
rainyflash deleted the chore/deps-security-2026-10-28 branch October 28, 2026 07:02
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