From 72bcbb88311abd39cfe2a175a8bf5917c85cd0ff Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 14 Mar 2026 19:41:39 +0000 Subject: [PATCH] chore: upgrade @types/node from ^14 to ^22 Aligns type definitions with the Node.js version used in CI (ubuntu-latest runs Node 22). Pure type-only change with no runtime impact. https://claude.ai/code/session_01HNvBcQzT1SviRqkUpP5Xce --- .dry-aged-deps.json | 1 - package.json | 2 +- yarn.lock | 15 +++++++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.dry-aged-deps.json b/.dry-aged-deps.json index 6943247..343a8bf 100644 --- a/.dry-aged-deps.json +++ b/.dry-aged-deps.json @@ -3,7 +3,6 @@ "@commitlint/cli": "Major version upgrade; requires migration to v20 config format", "@commitlint/config-conventional": "Major version upgrade; blocked by @commitlint/cli constraint", "@types/jest": "Pinned to jest 27.x; upgrade requires jest 29+ migration", - "@types/node": "Pinned to ^14; upgrade requires verifying Node.js API compatibility", "cspell": "Major version upgrade; requires compatibility testing with current config", "eslint": "Pinned to ^8; upgrade to 9+ requires flat config migration and plugin compatibility", "eslint-config-prettier": "Major version upgrade; blocked by eslint 8.x constraint", diff --git a/package.json b/package.json index d562ac4..031f3e3 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@commitlint/config-conventional": "^17.0.2", "@types/http-status-codes": "^1.2.0", "@types/jest": "^27.4.1", - "@types/node": "^14", + "@types/node": "^22", "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", "cspell": "*", diff --git a/yarn.lock b/yarn.lock index a456269..b4aea57 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1322,10 +1322,12 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.1.tgz#178d58ee7e4834152b0e8b4d30cbfab578b9bb30" integrity sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg== -"@types/node@^14": - version "14.18.63" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b" - integrity sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ== +"@types/node@^22": + version "22.19.15" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.19.15.tgz#6091d99fdf7c08cb57dc8b1345d407ba9a1df576" + integrity sha512-F0R/h2+dsy5wJAUe3tAU6oqa2qbWY5TpNfL/RGmo1y38hiyO1w3x2jPtt76wmuaJI4DQnOBu21cNXQ2STIUUWg== + dependencies: + undici-types "~6.21.0" "@types/normalize-package-data@^2.4.0": version "2.4.4" @@ -5508,6 +5510,11 @@ unbox-primitive@^1.1.0: has-symbols "^1.1.0" which-boxed-primitive "^1.1.1" +undici-types@~6.21.0: + version "6.21.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" + integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== + undici-types@~7.18.0: version "7.18.2" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.18.2.tgz#29357a89e7b7ca4aef3bf0fd3fd0cd73884229e9"