From 43f6bbc8f9708f3d085afd7591a7120d6e6cf74a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 07:53:03 +0000 Subject: [PATCH] chore(deps): update node.js to v22 --- Dockerfile | 4 ++-- Dockerfile.alpine | 4 ++-- package-lock.json | 20 +++++++++++--------- package.json | 2 +- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49b59cd36..c3b2a7959 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM node:20.18.1-bullseye-slim AS builder +FROM node:22.12.0-bullseye-slim AS builder # Configure build dependencies in a single layer RUN apt-get update && apt-get install -y --no-install-recommends \ @@ -35,7 +35,7 @@ RUN cp -R build/src/* src/. && \ rm src/services/asset_path.ts # Runtime stage -FROM node:20.18.1-bullseye-slim +FROM node:22.12.0-bullseye-slim # Install only runtime dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ diff --git a/Dockerfile.alpine b/Dockerfile.alpine index d8d54d7c0..7f915560a 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,5 +1,5 @@ # Build stage -FROM node:20.18.1-alpine AS builder +FROM node:22.12.0-alpine AS builder # Configure build dependencies RUN apk add --no-cache --virtual .build-dependencies \ @@ -34,7 +34,7 @@ RUN cp -R build/src/* src/. && \ rm src/services/asset_path.ts # Runtime stage -FROM node:20.18.1-alpine +FROM node:22.12.0-alpine # Install runtime dependencies RUN apk add --no-cache su-exec shadow diff --git a/package-lock.json b/package-lock.json index a4bf4d07e..f9f61ead5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -128,7 +128,7 @@ "@types/jsdom": "21.1.7", "@types/mime-types": "2.1.4", "@types/multer": "1.4.12", - "@types/node": "22.7.8", + "@types/node": "22.10.1", "@types/safe-compare": "1.1.2", "@types/sanitize-html": "2.13.0", "@types/sax": "1.2.7", @@ -3988,12 +3988,13 @@ } }, "node_modules/@types/node": { - "version": "22.7.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.8.tgz", - "integrity": "sha512-a922jJy31vqR5sk+kAdIENJjHblqcZ4RmERviFsER4WJcEONqxKcjNOlk0q7OUfrF5sddT+vng070cdfMlrPLg==", + "version": "22.10.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.1.tgz", + "integrity": "sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.20.0" } }, "node_modules/@types/qs": { @@ -16379,10 +16380,11 @@ "dev": true }, "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "dev": true + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", + "dev": true, + "license": "MIT" }, "node_modules/unescape": { "version": "1.0.1", diff --git a/package.json b/package.json index a7f422a25..fefecfd74 100644 --- a/package.json +++ b/package.json @@ -167,7 +167,7 @@ "@types/jsdom": "21.1.7", "@types/mime-types": "2.1.4", "@types/multer": "1.4.12", - "@types/node": "22.7.8", + "@types/node": "22.10.1", "@types/safe-compare": "1.1.2", "@types/sanitize-html": "2.13.0", "@types/sax": "1.2.7",