diff --git a/Dockerfile b/Dockerfile index 1ef654b2..55c36d2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM node:20@sha256:d17aaa2a2fd82e09bd6a6da7cc4a79741340d2a3e39d172d1b30f295b1a850ff as deps +FROM --platform=$BUILDPLATFORM node:22@sha256:0e910f435308c36ea60b4cfd7b80208044d77a074d16b768a81901ce938a62dc as deps RUN mkdir /app WORKDIR /app RUN apt-get update && apt-get install -y git python3 build-essential libc-dev @@ -9,7 +9,7 @@ ADD .yarn .yarn ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true RUN yarn -FROM --platform=$TARGETPLATFORM node:20@sha256:d17aaa2a2fd82e09bd6a6da7cc4a79741340d2a3e39d172d1b30f295b1a850ff as platform_deps +FROM --platform=$TARGETPLATFORM node:22@sha256:0e910f435308c36ea60b4cfd7b80208044d77a074d16b768a81901ce938a62dc as platform_deps RUN mkdir /app WORKDIR /app RUN apt-get update && apt-get install -y git python3 build-essential libc-dev @@ -21,7 +21,7 @@ COPY --from=deps /app/.yarnrc.yml .yarnrc.yml ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true RUN yarn -FROM node:20@sha256:d17aaa2a2fd82e09bd6a6da7cc4a79741340d2a3e39d172d1b30f295b1a850ff as base +FROM node:22@sha256:0e910f435308c36ea60b4cfd7b80208044d77a074d16b768a81901ce938a62dc as base RUN mkdir /app WORKDIR /app diff --git a/package.json b/package.json index 60bbdd51..9c805c0b 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@tsconfig/node16": "^16.0.0", "@types/eslint": "8.56.12", "@types/jest": "^29.2.5", - "@types/node": "^20.0.0", + "@types/node": "^22.0.0", "@types/unzipper": "^0.10.9", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", diff --git a/yarn.lock b/yarn.lock index 889ae383..d3f18341 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3319,7 +3319,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:>=13.7.0": +"@types/node@npm:*, @types/node@npm:>=13.7.0, @types/node@npm:^22.0.0": version: 22.10.2 resolution: "@types/node@npm:22.10.2" dependencies: @@ -3328,15 +3328,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.0.0": - version: 20.17.10 - resolution: "@types/node@npm:20.17.10" - dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/458ec725319e57d4692cbb56d81f1a90f9074cef9ec185c59e6f6c557a3d2ded57c5e443b1e82eba923d53dda4db18797fb131ee6e46fdb3d7d2f54d54aaebe3 - languageName: node - linkType: hard - "@types/semver@npm:^7.5.0": version: 7.5.0 resolution: "@types/semver@npm:7.5.0" @@ -4779,7 +4770,7 @@ __metadata: "@tsconfig/node16": "npm:^16.0.0" "@types/eslint": "npm:8.56.12" "@types/jest": "npm:^29.2.5" - "@types/node": "npm:^20.0.0" + "@types/node": "npm:^22.0.0" "@types/unzipper": "npm:^0.10.9" "@typescript-eslint/eslint-plugin": "npm:^7.0.0" "@typescript-eslint/parser": "npm:^7.0.0" @@ -8787,13 +8778,6 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~6.19.2": - version: 6.19.6 - resolution: "undici-types@npm:6.19.6" - checksum: 10c0/9b2264c5700e7169c6c62c643aac56cd8984c5fd7e18ed31ff11780260e137f6340dee8317a2e6e0ae3c49f5e5ef6fa577ea07193cbaa535265cba76a267cae9 - languageName: node - linkType: hard - "undici-types@npm:~6.20.0": version: 6.20.0 resolution: "undici-types@npm:6.20.0"