From 62bf9bbe2946cea240436bda8d8d4956e882a931 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 07:11:18 +0000 Subject: [PATCH] chore(deps): update container image node to 22-alpine --- Dockerfile | 6 +++--- package.json | 2 +- pnpm-lock.yaml | 26 +++++++++++++------------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Dockerfile b/Dockerfile index e20084b1..a048c23a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Install dependencies only when needed -FROM node:21-alpine AS deps +FROM node:22-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat WORKDIR /app @@ -16,7 +16,7 @@ RUN \ # Rebuild the source code only when needed -FROM node:21-alpine AS builder +FROM node:22-alpine AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . @@ -91,7 +91,7 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \ # RUN npm run build # Production image, copy all the files and run next -FROM node:21-alpine AS runner +FROM node:22-alpine AS runner WORKDIR /app ENV NODE_ENV production diff --git a/package.json b/package.json index 820311ef..bf272fe6 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@swc/plugin-transform-imports": "3.0.4", "@testing-library/cypress": "10.0.2", "@testing-library/react": "16.0.1", - "@types/node": "20.17.4", + "@types/node": "22.8.5", "@types/react": "18.3.12", "@types/react-dom": "18.3.1", "@types/unidecode": "0.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 26356cd1..3c316468 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -124,8 +124,8 @@ importers: specifier: 16.0.1 version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/node': - specifier: 20.17.4 - version: 20.17.4 + specifier: 22.8.5 + version: 22.8.5 '@types/react': specifier: 18.3.12 version: 18.3.12 @@ -1732,8 +1732,8 @@ packages: '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} - '@types/node@20.17.4': - resolution: {integrity: sha512-Fi1Bj8qTJr4f1FDdHFR7oMlOawEYSzkHNdBJK+aRjcDDNHwEV3jPPjuZP2Lh2QNgXeqzM8Y+U6b6urKAog2rZw==} + '@types/node@22.8.5': + resolution: {integrity: sha512-5iYk6AMPtsMbkZqCO1UGF9W5L38twq11S2pYWkybGHH2ogPUvXWNlQqJBzuEZWKj/WRH+QTeiv6ySWqJtvIEgA==} '@types/parse-json@4.0.2': resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==} @@ -6581,7 +6581,7 @@ snapshots: '@types/connect@3.4.36': dependencies: - '@types/node': 20.17.4 + '@types/node': 22.8.5 '@types/estree@1.0.6': {} @@ -6591,17 +6591,17 @@ snapshots: '@types/keyv@3.1.4': dependencies: - '@types/node': 20.17.4 + '@types/node': 22.8.5 '@types/mysql@2.15.26': dependencies: - '@types/node': 20.17.4 + '@types/node': 22.8.5 '@types/node-forge@1.3.11': dependencies: - '@types/node': 20.17.4 + '@types/node': 22.8.5 - '@types/node@20.17.4': + '@types/node@22.8.5': dependencies: undici-types: 6.19.8 @@ -6613,7 +6613,7 @@ snapshots: '@types/pg@8.6.1': dependencies: - '@types/node': 20.17.4 + '@types/node': 22.8.5 pg-protocol: 1.7.0 pg-types: 2.2.0 @@ -6634,7 +6634,7 @@ snapshots: '@types/responselike@1.0.3': dependencies: - '@types/node': 20.17.4 + '@types/node': 22.8.5 '@types/semver@7.5.8': {} @@ -6648,7 +6648,7 @@ snapshots: '@types/yauzl@2.10.3': dependencies: - '@types/node': 20.17.4 + '@types/node': 22.8.5 optional: true '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.13.0)(typescript@5.6.3))(eslint@9.13.0)(typescript@5.6.3)': @@ -8589,7 +8589,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 20.17.4 + '@types/node': 22.8.5 merge-stream: 2.0.0 supports-color: 8.1.1