From 06d19e82175ce6f2ff9bf439329821578711de8f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 21:51:12 +0000 Subject: [PATCH] Update Node.js to v22 --- Dockerfile | 2 +- package.json | 4 ++-- yarn.lock | 15 +++++++++++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 07b742e92..a7b65d1d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14-alpine as base +FROM node:22.11.0-alpine as base WORKDIR /app diff --git a/package.json b/package.json index d2011d2e9..b0fa02142 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "dist/index.js", "license": "MIT", "engines": { - "node": ">=12" + "node": ">=22.11.0" }, "scripts": { "build": "tsc", @@ -47,7 +47,7 @@ "@types/jest": "^27.4.0", "@types/koa": "^2.11.5", "@types/koa__router": "^8.0.11", - "@types/node": "^14.18.5", + "@types/node": "^22.9.4", "@types/pug": "^2.0.6", "@types/react": "^16.9.53", "@types/react-dom": "^17.0.11", diff --git a/yarn.lock b/yarn.lock index 3abcc03cf..d947b7f2b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1096,10 +1096,12 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.11.10.tgz#8c102aba13bf5253f35146affbf8b26275069bef" integrity sha512-yV1nWZPlMFpoXyoknm4S56y2nlTAuFYaJuQtYRAOU7xA/FJ9RY0Xm7QOkaYMMmr8ESdHIuUb6oQgR/0+2NqlyA== -"@types/node@^14.18.5": - version "14.18.5" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.5.tgz#0dd636fe7b2c6055cbed0d4ca3b7fb540f130a96" - integrity sha512-LMy+vDDcQR48EZdEx5wRX1q/sEl6NdGuHXPnfeL8ixkwCOSZ2qnIyIZmcCbdX0MeRqHhAcHmX+haCbrS8Run+A== +"@types/node@^22.9.4": + version "22.9.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.9.4.tgz#31eefcdbe163a51f53cbfbb3e121b8ae9b16fdb2" + integrity sha512-d9RWfoR7JC/87vj7n+PVTzGg9hDyuFjir3RxUHbjFSKNd9mpxbxwMEyaCim/ddCmy4IuW7HjTzF3g9p3EtWEOg== + dependencies: + undici-types "~6.19.8" "@types/prettier@^2.1.5": version "2.3.1" @@ -5183,6 +5185,11 @@ typescript@^3.8.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w== +undici-types@~6.19.8: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== + universalify@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"