From b9a14d76aa0e63c3f7f908d676ce328cf535433f Mon Sep 17 00:00:00 2001 From: William Callahan Date: Sun, 1 Nov 2026 03:02:49 -0800 Subject: [PATCH] fix(frontend): keep @types/node on the Node 24 runtime major frontend/package.json pins the Node 24.22.1 runtime but declared the @types/node 26 types, so the checker accepted Node 26 APIs the runtime lacks. The types return to the 24 line. Agent-Session: f6561fed-d6d9-4fd1-a9d3-9db9f9613f55 --- frontend/package-lock.json | 16 ++++++++-------- frontend/package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 4583a97f..5fa80b7d 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -24,7 +24,7 @@ "@testing-library/jest-dom": "^6.9.1", "@testing-library/svelte": "^5.3.1", "@tsconfig/svelte": "^5.0.4", - "@types/node": "^26.6.5", + "@types/node": "^24.19.2", "@typescript-eslint/parser": "^8.65.0", "@vitest/coverage-v8": "^4.1.12", "eslint": "^10.8.0", @@ -2841,13 +2841,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "26.6.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.5.tgz", - "integrity": "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==", + "version": "24.19.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.2.tgz", + "integrity": "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~8.9.0" + "undici-types": ">=7.24.0 <7.24.7" } }, "node_modules/@types/parse-json": { @@ -5830,9 +5830,9 @@ } }, "node_modules/undici-types": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", - "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", "dev": true, "license": "MIT" }, diff --git a/frontend/package.json b/frontend/package.json index bf63302c..94195096 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -40,7 +40,7 @@ "@testing-library/jest-dom": "^6.9.1", "@testing-library/svelte": "^5.3.1", "@tsconfig/svelte": "^5.0.4", - "@types/node": "^26.6.5", + "@types/node": "^24.19.2", "@typescript-eslint/parser": "^8.65.0", "@vitest/coverage-v8": "^4.1.12", "eslint": "^10.8.0",