From 146dd4a2b05aeba189871ab396f111791e4ef208 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 23:27:07 +0000 Subject: [PATCH] Update Node.js to v20 --- Dockerfile | 4 ++-- package-lock.json | 32 ++++++++++++++++++++++++-------- package.json | 4 ++-- 3 files changed, 28 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5f3742e..0419f14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build stage -FROM node:14.16.0 as builder +FROM node:20.11.0 as builder ENV APP_USER=app ENV APP_ROOT=/home/${APP_USER} @@ -14,7 +14,7 @@ RUN npm install RUN npm run build # runtime stage -FROM node:14.16.0 +FROM node:20.11.0 ENV APP_USER=app ENV APP_GROUP=app diff --git a/package-lock.json b/package-lock.json index 5d7c19e..976aec4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "devDependencies": { "@types/express": "^4.17.11", "@types/jest": "^26.0.20", - "@types/node": "^14.14.31", + "@types/node": "^20.0.0", "@types/node-statsd": "^0.1.2", "@types/pino-http": "^5.4.0", "@types/socket.io": "^2.1.13", @@ -37,7 +37,7 @@ "typescript": "^4.2.3" }, "engines": { - "node": "^14.16.0", + "node": "^20.0.0", "npm": "^7.6.1" } }, @@ -1499,9 +1499,12 @@ "dev": true }, "node_modules/@types/node": { - "version": "14.14.31", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.31.tgz", - "integrity": "sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g==" + "version": "20.10.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.8.tgz", + "integrity": "sha512-f8nQs3cLxbAFc00vEU59yf9UyGUftkPaLGfvbVOIDdx2i1b8epBqj2aNGyP19fiyXWvlmZ7qC1XLjAzw/OKIeA==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/node-statsd": { "version": "0.1.2", @@ -9341,6 +9344,11 @@ "resolved": "https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz", "integrity": "sha1-SDEm4Rd03y9xuLY53NeZw3YWK4I=" }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", @@ -11108,9 +11116,12 @@ "dev": true }, "@types/node": { - "version": "14.14.31", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.31.tgz", - "integrity": "sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g==" + "version": "20.10.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.8.tgz", + "integrity": "sha512-f8nQs3cLxbAFc00vEU59yf9UyGUftkPaLGfvbVOIDdx2i1b8epBqj2aNGyP19fiyXWvlmZ7qC1XLjAzw/OKIeA==", + "requires": { + "undici-types": "~5.26.4" + } }, "@types/node-statsd": { "version": "0.1.2", @@ -17403,6 +17414,11 @@ "resolved": "https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz", "integrity": "sha1-SDEm4Rd03y9xuLY53NeZw3YWK4I=" }, + "undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", diff --git a/package.json b/package.json index 88a2975..b6a8d5c 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@types/express": "^4.17.11", "@types/jest": "^26.0.20", - "@types/node": "^14.14.31", + "@types/node": "^20.0.0", "@types/node-statsd": "^0.1.2", "@types/pino-http": "^5.4.0", "@types/socket.io": "^2.1.13", @@ -56,7 +56,7 @@ "typescript": "^4.2.3" }, "engines": { - "node": "^14.16.0", + "node": "^20.0.0", "npm": "^7.6.1" }, "husky": {