Skip to content

Commit 2513193

Browse files
committed
Pin @types/node to ^18.19.0 to match supported runtime
The previous ^25.6.0 allowed TypeScript to accept Node ≥19 APIs that would crash at runtime on Node 18 (the minimum per engines field). Pinning to the lowest supported Node major lets the type checker catch accidental use of post-18 APIs.
1 parent f31616d commit 2513193

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
},
176176
"devDependencies": {
177177
"@types/jest": "^30.0.0",
178-
"@types/node": "^25.6.0",
178+
"@types/node": "^18.19.0",
179179
"@typescript-eslint/eslint-plugin": "^8.40.0",
180180
"@typescript-eslint/parser": "^8.40.0",
181181
"eslint": "^9.33.0",

0 commit comments

Comments
 (0)