From 7fef705d0924653a1feb9b1cb9c722d64aa98262 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:13:58 +0000 Subject: [PATCH] chore(deps): update dependency node to v22 --- .node-version | 2 +- Dockerfile | 10 +++++----- package-lock.json | 10 +++++----- package.json | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.node-version b/.node-version index 8ce70308..7af24b7d 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.16.0 +22.11.0 diff --git a/Dockerfile b/Dockerfile index f1349eb9..a9a4aa7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1.10.0@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5 -FROM node:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS deps +FROM node:22.10.0-bookworm@sha256:da53547a061beb7f11f58ee2231589b999acfca89bdf6dfd740627340c879f63 AS deps ARG NODE_ENV=production WORKDIR /app RUN npm config set cache /.npm @@ -11,7 +11,7 @@ RUN --mount=type=cache,id=npm-$TARGETPLATFORM,target=/.npm \ npm ci RUN node -e "console.log(require('@discordjs-japan/om-syrinx').JPREPROCESS_VERSION)" > .jpreprocess-version -FROM --platform=$BUILDPLATFORM node:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS builder +FROM --platform=$BUILDPLATFORM node:22.10.0-bookworm@sha256:da53547a061beb7f11f58ee2231589b999acfca89bdf6dfd740627340c879f63 AS builder ARG NODE_ENV=development WORKDIR /app RUN npm config set cache /.npm @@ -24,16 +24,16 @@ RUN --mount=type=cache,id=npm-$BUILDPLATFORM,target=/.npm \ COPY --link ./src/ ./src/ RUN npm run build -FROM --platform=$BUILDPLATFORM node:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS dictionary +FROM --platform=$BUILDPLATFORM node:22.10.0-bookworm@sha256:da53547a061beb7f11f58ee2231589b999acfca89bdf6dfd740627340c879f63 AS dictionary WORKDIR /app COPY --link --from=deps /app/.jpreprocess-version ./ RUN curl -L "https://github.com/jpreprocess/jpreprocess/releases/download/v$(cat .jpreprocess-version)/naist-jdic-jpreprocess.tar.gz" | tar xzf - -FROM --platform=$BUILDPLATFORM node:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS models +FROM --platform=$BUILDPLATFORM node:22.10.0-bookworm@sha256:da53547a061beb7f11f58ee2231589b999acfca89bdf6dfd740627340c879f63 AS models WORKDIR /app RUN curl -L "https://github.com/icn-lab/htsvoice-tohoku-f01/archive/refs/heads/master.tar.gz" | tar xzf - -FROM --platform=$BUILDPLATFORM node:20.16.0-bookworm@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 AS user-dictionary +FROM --platform=$BUILDPLATFORM node:22.10.0-bookworm@sha256:da53547a061beb7f11f58ee2231589b999acfca89bdf6dfd740627340c879f63 AS user-dictionary WORKDIR /app COPY --link --from=deps /app/.jpreprocess-version ./ RUN curl -L "https://github.com/jpreprocess/jpreprocess/releases/download/v$(cat .jpreprocess-version)/jpreprocess-$(uname -m)-unknown-linux-gnu.tgz" | tar xzf - diff --git a/package-lock.json b/package-lock.json index 5cbca14a..e59adb66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@eslint/js": "9.13.0", "@types/eslint__js": "8.42.3", "@types/eslint-config-prettier": "6.11.3", - "@types/node": "20.16.1", + "@types/node": "22.8.4", "dotenv": "16.4.5", "esbuild": "0.24.0", "esbuild-plugin-version-injector": "1.2.1", @@ -1254,12 +1254,12 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.16.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.1.tgz", - "integrity": "sha512-zJDo7wEadFtSyNz5QITDfRcrhqDvQI1xQNQ0VoizPjM/dVAODqqIUWbJPkvsxmTI0MYRGRikcdjMPhOssnPejQ==", + "version": "22.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.4.tgz", + "integrity": "sha512-SpNNxkftTJOPk0oN+y2bIqurEXHTA2AOZ3EJDDKeJ5VzkvvORSvmQXGQarcOzWV1ac7DCaPBEdMDxBsM+d8jWw==", "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.19.8" } }, "node_modules/@types/prop-types": { diff --git a/package.json b/package.json index a1bd162a..9e6aa670 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@eslint/js": "9.13.0", "@types/eslint__js": "8.42.3", "@types/eslint-config-prettier": "6.11.3", - "@types/node": "20.16.1", + "@types/node": "22.8.4", "dotenv": "16.4.5", "esbuild": "0.24.0", "esbuild-plugin-version-injector": "1.2.1",