From a5a68675cc4ac0075fdc13a9f28addd7db46c6c0 Mon Sep 17 00:00:00 2001 From: JATMN Date: Sat, 24 Oct 2026 01:00:32 -0700 Subject: [PATCH] deps: pin @types/node to 24.19.2 (M-1) (#2375) Co-authored-by: jatmn <12479882+jatmn@users.noreply.github.com> --- CONTRIBUTING.md | 2 ++ bun.lock | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e8a12ce6b..058a11210 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -213,6 +213,8 @@ When submitting provider changes: Use Node.js `>=24.22.1` (Node 26 recommended/default) and Bun `1.4.4` (tracked in `.bun-version`). +Keep `@types/node` on the Node 24 major to match the minimum supported runtime, even when developing on Node 26. Pin it to an exact published 24.x version; the type package version does not need to match the Node.js runtime patch version. + Install dependencies: ```bash diff --git a/bun.lock b/bun.lock index dcf315f88..e79904137 100644 --- a/bun.lock +++ b/bun.lock @@ -27,7 +27,7 @@ "@smithy/core": "3.36.2", "@smithy/node-http-handler": "4.12.1", "@types/bun": "1.4.4", - "@types/node": "^24.19.2", + "@types/node": "24.19.2", "@types/react": "19.2.14", "@typescript-eslint/eslint-plugin": "8.72.0", "@typescript-eslint/parser": "8.72.0", diff --git a/package.json b/package.json index 24160ea39..342d23d82 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "@smithy/core": "3.36.2", "@smithy/node-http-handler": "4.12.1", "@types/bun": "1.4.4", - "@types/node": "^24.19.2", + "@types/node": "24.19.2", "@types/react": "19.2.14", "@typescript-eslint/eslint-plugin": "8.72.0", "@typescript-eslint/parser": "8.72.0",