diff --git a/Earthfile b/Earthfile index 35d49e24..bbc73bc7 100644 --- a/Earthfile +++ b/Earthfile @@ -6,7 +6,7 @@ ARG EARTHLY_LIB_VERSION=3.0.1 IMPORT github.com/earthly/lib/utils/git:$EARTHLY_LIB_VERSION AS git npm-base: - FROM node:21.7-alpine3.19 + FROM node:22.12-alpine3.19 COPY ./package.json ./ COPY ./package-lock.json ./ RUN npm install diff --git a/package-lock.json b/package-lock.json index 7f8e4e61..90830296 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "semver": "^7.6.0" }, "devDependencies": { - "@types/node": "^20.11.30", + "@types/node": "^22.0.0", "@types/semver": "^7.5.8", "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^7.4.0", @@ -1572,11 +1572,11 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.12.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.8.tgz", - "integrity": "sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==", + "version": "22.20.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.2.tgz", + "integrity": "sha512-xlvWf4Vs9n1PEVYwP1n4vvG07M6y8WgvJ2t0vbrWTmijsIHp1cS+uJ2kMIRdY3nHZK0nCYKrPeD171+SzF4/zw==", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.21.0" } }, "node_modules/@types/node-fetch": { @@ -4065,9 +4065,9 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==" }, "node_modules/universal-user-agent": { "version": "6.0.0", @@ -5367,11 +5367,11 @@ "dev": true }, "@types/node": { - "version": "20.12.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.8.tgz", - "integrity": "sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==", + "version": "22.20.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.2.tgz", + "integrity": "sha512-xlvWf4Vs9n1PEVYwP1n4vvG07M6y8WgvJ2t0vbrWTmijsIHp1cS+uJ2kMIRdY3nHZK0nCYKrPeD171+SzF4/zw==", "requires": { - "undici-types": "~5.26.4" + "undici-types": "~6.21.0" } }, "@types/node-fetch": { @@ -7120,9 +7120,9 @@ } }, "undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==" }, "universal-user-agent": { "version": "6.0.0", diff --git a/package.json b/package.json index 872e9b26..8916ac28 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "semver": "^7.6.0" }, "devDependencies": { - "@types/node": "^20.11.30", + "@types/node": "^22.0.0", "@types/semver": "^7.5.8", "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^7.4.0",