From 53247ceb3d08faf3e6e28ab8ed8b926ccb1e3fd9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 6 Oct 2024 02:53:28 +0000 Subject: [PATCH] Update Node.js to v20 --- docker/Dockerfile | 2 +- package-lock.json | 33 ++++++++++++++++++++++++++------- package.json | 4 ++-- 3 files changed, 29 insertions(+), 10 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 877e89e..c1f9eaf 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:17.4-alpine +FROM node:20.18-alpine WORKDIR /app diff --git a/package-lock.json b/package-lock.json index 27005ba..3298944 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "captcha-for-all", + "name": "captcha-for-all-api", "version": "0.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "captcha-for-all", + "name": "captcha-for-all-api", "version": "0.0.1", "license": "UNLICENSED", "dependencies": { @@ -39,7 +39,7 @@ "@nestjs/testing": "^8.0.0", "@types/express": "^4.17.13", "@types/jest": "27.0.2", - "@types/node": "^16.0.0", + "@types/node": "^20.0.0", "@types/supertest": "^2.0.11", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", @@ -59,7 +59,7 @@ "typescript": "^4.3.5" }, "engines": { - "node": "=17.4.0", + "node": "=20.18.0", "npm": "=8.3.1" } }, @@ -1775,8 +1775,12 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "16.11.22", - "license": "MIT" + "version": "20.16.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.10.tgz", + "integrity": "sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA==", + "dependencies": { + "undici-types": "~6.19.2" + } }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -10003,6 +10007,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "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==" + }, "node_modules/unique-filename": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", @@ -11567,7 +11576,12 @@ "dev": true }, "@types/node": { - "version": "16.11.22" + "version": "20.16.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.10.tgz", + "integrity": "sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA==", + "requires": { + "undici-types": "~6.19.2" + } }, "@types/parse-json": { "version": "4.0.0", @@ -16968,6 +16982,11 @@ "which-boxed-primitive": "^1.0.2" } }, + "undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" + }, "unique-filename": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", diff --git a/package.json b/package.json index 7854e1a..2b10630 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "private": true, "license": "UNLICENSED", "engines": { - "node": "=17.4.0", + "node": "=20.18.0", "npm": "=8.3.1" }, "scripts": { @@ -55,7 +55,7 @@ "@nestjs/testing": "^8.0.0", "@types/express": "^4.17.13", "@types/jest": "27.0.2", - "@types/node": "^16.0.0", + "@types/node": "^20.0.0", "@types/supertest": "^2.0.11", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0",