chore(deps): document @types/node 20.x pin in overrides

The override pinning @types/node to 20.19.1 (while engines require
Node >=22) is intentional: bumping to @types/node@22.x re-introduces
a Dirent<NonSharedBuffer> type regression that breaks
@qwen-code/qwen-code-core/sessionService tests.

Add a sibling "//@types/node" note inside `overrides` so future
maintainers see the rationale and know when to revisit the pin
without having to dig through PR #3860 history.

Generated with AI

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
秦奇 2026-05-11 09:51:06 +08:00
parent bac89fb448
commit 2058558753

View file

@ -78,6 +78,7 @@
},
"baseline-browser-mapping": "^2.9.19",
"normalize-package-data": "^7.0.1",
"//@types/node": "Pinned to 20.x even though engines require Node >=22. Upgrading to @types/node@22.x re-introduces a Dirent<NonSharedBuffer> type regression in @qwen-code/qwen-code-core/sessionService tests. Revisit once the upstream type for Dirent stabilises (see PR #3860 discussion).",
"@types/node": "20.19.1",
"react": "19.2.4",
"react-dom": "19.2.4"