From 08ff6ea54ddd1a209fead1071d05b9b4ebbc2e37 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 01:08:41 +0000 Subject: [PATCH] chore(deps): update node.js to v22 --- backend/Dockerfile | 4 +- backend/package.json | 2 +- frontend/package.json | 2 +- pnpm-lock.yaml | 114 +++++++++++++++++++++--------------------- 4 files changed, 61 insertions(+), 61 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index d7b0116..470451e 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -2,7 +2,7 @@ # ex) `docker build -f backend/Dockerfile .` ### BUILDER ### -FROM node:20.18.0-alpine AS builder +FROM node:22.11.0-alpine AS builder COPY . /build WORKDIR /build @@ -15,7 +15,7 @@ RUN npx prisma generate RUN npm run build ### PRODUCTION ### -FROM node:20.18.0-alpine +FROM node:22.11.0-alpine ENV NODE_ENV=production diff --git a/backend/package.json b/backend/package.json index 19ca89a..c331c25 100644 --- a/backend/package.json +++ b/backend/package.json @@ -51,7 +51,7 @@ "@types/express": "^5.0.0", "@types/mime-types": "^2.1.4", "@types/multer": "^1.4.12", - "@types/node": "^20.16.10", + "@types/node": "^22.8.7", "@types/passport-jwt": "^4.0.1", "@types/supertest": "^6.0.2", "@vitest/coverage-v8": "^2.1.2", diff --git a/frontend/package.json b/frontend/package.json index 630a448..b061f9a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -43,7 +43,7 @@ "zod": "^3.23.8" }, "devDependencies": { - "@types/node": "^20.16.10", + "@types/node": "^22.8.7", "@types/react": "18.3.11", "@types/react-dom": "18.3.0", "autoprefixer": "^10.4.20", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f32541c..f850c9a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 3.665.0 '@commitlint/cli': specifier: ^19.5.0 - version: 19.5.0(@types/node@20.16.10)(typescript@5.6.2) + version: 19.5.0(@types/node@22.8.7)(typescript@5.6.2) '@commitlint/config-conventional': specifier: ^19.5.0 version: 19.5.0 @@ -52,7 +52,7 @@ importers: version: 0.6.8(@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.3.3))(prettier@3.3.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2) + version: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -163,8 +163,8 @@ importers: specifier: ^1.4.12 version: 1.4.12 '@types/node': - specifier: ^20.16.10 - version: 20.16.10 + specifier: ^22.8.7 + version: 22.8.7 '@types/passport-jwt': specifier: ^4.0.1 version: 4.0.1 @@ -173,7 +173,7 @@ importers: version: 6.0.2 '@vitest/coverage-v8': specifier: ^2.1.2 - version: 2.1.2(vitest@2.1.2(@types/node@20.16.10)(terser@5.34.1)) + version: 2.1.2(vitest@2.1.2(@types/node@22.8.7)(terser@5.34.1)) class-transformer: specifier: ^0.5.1 version: 0.5.1 @@ -197,7 +197,7 @@ importers: version: 9.5.1(typescript@5.6.2)(webpack@5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.13))) ts-node: specifier: ^10.9.2 - version: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2) + version: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2) tsconfig-paths: specifier: ^4.2.0 version: 4.2.0 @@ -209,7 +209,7 @@ importers: version: 1.5.1(@swc/core@1.7.26(@swc/helpers@0.5.13))(rollup@4.24.0)(webpack-sources@3.2.3) vitest: specifier: ^2.1.2 - version: 2.1.2(@types/node@20.16.10)(terser@5.34.1) + version: 2.1.2(@types/node@22.8.7)(terser@5.34.1) frontend: dependencies: @@ -254,7 +254,7 @@ importers: version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.11)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tailwindcss/forms': specifier: ^0.5.9 - version: 0.5.9(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2))) + version: 0.5.9(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2))) '@tanstack/react-table': specifier: ^8.20.5 version: 8.20.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -308,8 +308,8 @@ importers: version: 3.23.8 devDependencies: '@types/node': - specifier: ^20.16.10 - version: 20.16.10 + specifier: ^22.8.7 + version: 22.8.7 '@types/react': specifier: 18.3.11 version: 18.3.11 @@ -336,10 +336,10 @@ importers: version: 2.5.3 tailwindcss: specifier: ^3.4.13 - version: 3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2)) + version: 3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2)) tailwindcss-animate: specifier: ^1.0.7 - version: 1.0.7(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2))) + version: 1.0.7(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2))) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -2499,8 +2499,8 @@ packages: '@types/multer@1.4.12': resolution: {integrity: sha512-pQ2hoqvXiJt2FP9WQVLPRO+AmiIm/ZYkavPlIQnx282u4ZrVdztx0pkh3jjpQt0Kz+YI0YhSG264y08UJKoUQg==} - '@types/node@20.16.10': - resolution: {integrity: sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA==} + '@types/node@22.8.7': + resolution: {integrity: sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==} '@types/passport-jwt@4.0.1': resolution: {integrity: sha512-Y0Ykz6nWP4jpxgEUYq8NoVZeCQPo1ZndJLfapI249g1jHChvRfZRO/LS3tqu26YgAS/laI1qx98sYGz0IalRXQ==} @@ -7284,11 +7284,11 @@ snapshots: '@colors/colors@1.5.0': optional: true - '@commitlint/cli@19.5.0(@types/node@20.16.10)(typescript@5.6.2)': + '@commitlint/cli@19.5.0(@types/node@22.8.7)(typescript@5.6.2)': dependencies: '@commitlint/format': 19.5.0 '@commitlint/lint': 19.5.0 - '@commitlint/load': 19.5.0(@types/node@20.16.10)(typescript@5.6.2) + '@commitlint/load': 19.5.0(@types/node@22.8.7)(typescript@5.6.2) '@commitlint/read': 19.5.0 '@commitlint/types': 19.5.0 tinyexec: 0.3.0 @@ -7335,7 +7335,7 @@ snapshots: '@commitlint/rules': 19.5.0 '@commitlint/types': 19.5.0 - '@commitlint/load@19.5.0(@types/node@20.16.10)(typescript@5.6.2)': + '@commitlint/load@19.5.0(@types/node@22.8.7)(typescript@5.6.2)': dependencies: '@commitlint/config-validator': 19.5.0 '@commitlint/execute-rule': 19.5.0 @@ -7343,7 +7343,7 @@ snapshots: '@commitlint/types': 19.5.0 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.6.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.16.10)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.8.7)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -9047,10 +9047,10 @@ snapshots: dependencies: defer-to-connect: 2.0.1 - '@tailwindcss/forms@0.5.9(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2)))': + '@tailwindcss/forms@0.5.9(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2)))': dependencies: mini-svg-data-uri: 1.4.4 - tailwindcss: 3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2)) + tailwindcss: 3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2)) '@tanstack/react-table@8.20.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: @@ -9100,22 +9100,22 @@ snapshots: '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/cacheable-request@6.0.3': dependencies: '@types/http-cache-semantics': 4.0.4 '@types/keyv': 3.1.4 - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/responselike': 1.0.3 '@types/connect@3.4.38': dependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/cookiejar@2.1.5': {} @@ -9126,7 +9126,7 @@ snapshots: '@types/express-serve-static-core@5.0.0': dependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/qs': 6.9.16 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -9148,15 +9148,15 @@ snapshots: '@types/jsonwebtoken@9.0.5': dependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/jsonwebtoken@9.0.7': dependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/keyv@3.1.4': dependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/methods@1.1.4': {} @@ -9176,7 +9176,7 @@ snapshots: dependencies: '@types/express': 5.0.0 - '@types/node@20.16.10': + '@types/node@22.8.7': dependencies: undici-types: 6.19.8 @@ -9214,24 +9214,24 @@ snapshots: '@types/responselike@1.0.3': dependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 20.16.10 + '@types/node': 22.8.7 '@types/send': 0.17.4 '@types/superagent@8.1.9': dependencies: '@types/cookiejar': 2.1.5 '@types/methods': 1.1.4 - '@types/node': 20.16.10 + '@types/node': 22.8.7 form-data: 4.0.0 '@types/supertest@6.0.2': @@ -9324,7 +9324,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitest/coverage-v8@2.1.2(vitest@2.1.2(@types/node@20.16.10)(terser@5.34.1))': + '@vitest/coverage-v8@2.1.2(vitest@2.1.2(@types/node@22.8.7)(terser@5.34.1))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -9338,7 +9338,7 @@ snapshots: std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.2(@types/node@20.16.10)(terser@5.34.1) + vitest: 2.1.2(@types/node@22.8.7)(terser@5.34.1) transitivePeerDependencies: - supports-color @@ -9349,13 +9349,13 @@ snapshots: chai: 5.1.1 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.2(@vitest/spy@2.1.2)(vite@5.4.8(@types/node@20.16.10)(terser@5.34.1))': + '@vitest/mocker@2.1.2(@vitest/spy@2.1.2)(vite@5.4.8(@types/node@22.8.7)(terser@5.34.1))': dependencies: '@vitest/spy': 2.1.2 estree-walker: 3.0.3 magic-string: 0.30.11 optionalDependencies: - vite: 5.4.8(@types/node@20.16.10)(terser@5.34.1) + vite: 5.4.8(@types/node@22.8.7)(terser@5.34.1) '@vitest/pretty-format@2.1.2': dependencies: @@ -10081,9 +10081,9 @@ snapshots: object-assign: 4.1.1 vary: 1.1.2 - cosmiconfig-typescript-loader@5.0.0(@types/node@20.16.10)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2): + cosmiconfig-typescript-loader@5.0.0(@types/node@22.8.7)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2): dependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 cosmiconfig: 9.0.0(typescript@5.6.2) jiti: 1.21.6 typescript: 5.6.2 @@ -11576,7 +11576,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -12711,13 +12711,13 @@ snapshots: camelcase-css: 2.0.1 postcss: 8.4.47 - postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2)): + postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2)): dependencies: lilconfig: 3.1.2 yaml: 2.5.1 optionalDependencies: postcss: 8.4.47 - ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2) + ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2) postcss-nested@6.2.0(postcss@8.4.47): dependencies: @@ -13475,11 +13475,11 @@ snapshots: tailwind-merge@2.5.3: {} - tailwindcss-animate@1.0.7(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2))): + tailwindcss-animate@1.0.7(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2))): dependencies: - tailwindcss: 3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2)) + tailwindcss: 3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2)) - tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2)): + tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -13498,7 +13498,7 @@ snapshots: postcss: 8.4.47 postcss-import: 15.1.0(postcss@8.4.47) postcss-js: 4.0.1(postcss@8.4.47) - postcss-load-config: 4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2)) + postcss-load-config: 4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2)) postcss-nested: 6.2.0(postcss@8.4.47) postcss-selector-parser: 6.1.2 resolve: 1.22.8 @@ -13603,14 +13603,14 @@ snapshots: typescript: 5.6.2 webpack: 5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.13)) - ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@20.16.10)(typescript@5.6.2): + ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.13))(@types/node@22.8.7)(typescript@5.6.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.16.10 + '@types/node': 22.8.7 acorn: 8.12.1 acorn-walk: 8.3.4 arg: 4.1.3 @@ -13797,12 +13797,12 @@ snapshots: - '@types/react' - '@types/react-dom' - vite-node@2.1.2(@types/node@20.16.10)(terser@5.34.1): + vite-node@2.1.2(@types/node@22.8.7)(terser@5.34.1): dependencies: cac: 6.7.14 debug: 4.3.7 pathe: 1.1.2 - vite: 5.4.8(@types/node@20.16.10)(terser@5.34.1) + vite: 5.4.8(@types/node@22.8.7)(terser@5.34.1) transitivePeerDependencies: - '@types/node' - less @@ -13814,20 +13814,20 @@ snapshots: - supports-color - terser - vite@5.4.8(@types/node@20.16.10)(terser@5.34.1): + vite@5.4.8(@types/node@22.8.7)(terser@5.34.1): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.24.0 optionalDependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 fsevents: 2.3.3 terser: 5.34.1 - vitest@2.1.2(@types/node@20.16.10)(terser@5.34.1): + vitest@2.1.2(@types/node@22.8.7)(terser@5.34.1): dependencies: '@vitest/expect': 2.1.2 - '@vitest/mocker': 2.1.2(@vitest/spy@2.1.2)(vite@5.4.8(@types/node@20.16.10)(terser@5.34.1)) + '@vitest/mocker': 2.1.2(@vitest/spy@2.1.2)(vite@5.4.8(@types/node@22.8.7)(terser@5.34.1)) '@vitest/pretty-format': 2.1.2 '@vitest/runner': 2.1.2 '@vitest/snapshot': 2.1.2 @@ -13842,11 +13842,11 @@ snapshots: tinyexec: 0.3.0 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.8(@types/node@20.16.10)(terser@5.34.1) - vite-node: 2.1.2(@types/node@20.16.10)(terser@5.34.1) + vite: 5.4.8(@types/node@22.8.7)(terser@5.34.1) + vite-node: 2.1.2(@types/node@22.8.7)(terser@5.34.1) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.16.10 + '@types/node': 22.8.7 transitivePeerDependencies: - less - lightningcss