Skip to content

build(deps): bump @types/node to 26.6.4 - #613

Merged
xujian519 merged 2 commits into
mainfrom
build/types-node-26
Oct 7, 2026
Merged

xujian519 merged 2 commits into
mainfrom
build/types-node-26

Conversation

@xujian519

Copy link
Copy Markdown
Owner

描述

无关联 issue

变更内容

  • 3904787 build(deps): bump @types/node to 26.6.4

测试

  • 本地 pnpm test 通过
  • pnpm lint 与 pnpm format:check 通过
  • pnpm typecheck 通过

同步 4 个 workspace 包的 @types/node,并修复升级引发的类型问题:

- src/network/fetch.ts:@types/node 26 起全局 Response 与 node_modules 中独立
  undici 包的 Response 不再结构兼容(两者本就是不同实现),以 unknown 中转。
- ui/tsconfig.json:lib 补 ES2022。UI 代码已在使用 Array.prototype.at,此前
  依赖 @types/node 22 间接引入的 ES2022 lib 引用,26 起不再传递。
- 刷新 docs/technical-debt/metrics.md 基线(双重断言 32→33)。
@xujian519
xujian519 merged commit 9f65f6c into main Oct 7, 2026
3 checks passed
@xujian519
xujian519 deleted the build/types-node-26 branch October 7, 2026 03:33
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