diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6895d75f..391fd87c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,6 +4,11 @@ updates: directory: "/frontend" schedule: interval: "weekly" + # @types/node tracks the Node runtime we ship (24.x in both images and CI); + # newer majors describe APIs that don't exist at runtime. + ignore: + - dependency-name: "@types/node" + update-types: ["version-update:semver-major"] groups: react-runtime: applies-to: version-updates diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 6be45f8d..45f8947e 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -29,7 +29,7 @@ "@tailwindcss/postcss": "^4", "@testing-library/jest-dom": "^7.0.1", "@testing-library/react": "^16.3.2", - "@types/node": "^26", + "@types/node": "^24", "@types/react": "^19", "@types/react-dom": "^19", "@vitest/coverage-v8": "^4.1.8", @@ -2465,13 +2465,13 @@ } }, "node_modules/@types/node": { - "version": "26.5.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-26.5.1.tgz", - "integrity": "sha512-CzNm2FezW4VR/LjG6yUdiEgLE/rAQ9Slj5gCu/C2VrdcW7I0ahNZ8DRbHT7zOZ6r3ONgd/bsQIeSaoDGrd1C6g==", + "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/pbf": { @@ -9159,9 +9159,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 9d20cafb..98f93cb6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -41,7 +41,7 @@ "@tailwindcss/postcss": "^4", "@testing-library/jest-dom": "^7.0.1", "@testing-library/react": "^16.3.2", - "@types/node": "^26", + "@types/node": "^24", "@types/react": "^19", "@types/react-dom": "^19", "@vitest/coverage-v8": "^4.1.8",