From 790da7aab89603e0c3d182aee5b9302fcdab2c32 Mon Sep 17 00:00:00 2001 From: "daniel-renovator[bot]" <190484689+daniel-renovator[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 20:01:25 +0000 Subject: [PATCH] Update dependency node to v22 --- .nvmrc | 2 +- Dockerfile | 2 +- package-lock.json | 39 ++++++++++++++++++++++++++++++--------- package.json | 2 +- 4 files changed, 33 insertions(+), 12 deletions(-) diff --git a/.nvmrc b/.nvmrc index 6aab9b4..6fa8dec 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.18.0 +22.13.0 diff --git a/Dockerfile b/Dockerfile index 4ad0e68..fbf2a2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.18.0 as node +FROM node:22.12.0 as node FROM nginx ARG DOCKER_REACT_VERSION diff --git a/package-lock.json b/package-lock.json index 5ca1931..9eb1971 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,8 +16,11 @@ }, "devDependencies": { "@danielemeryau/prettier-config": "^0.0.6", - "@types/node": "^16.0.0", + "@types/node": "^22.0.0", "typescript": "^4.5.4" + }, + "peerDependencies": { + "joi": "^17.5.0" } }, "node_modules/@danielemeryau/prettier-config": { @@ -58,10 +61,13 @@ "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" }, "node_modules/@types/node": { - "version": "16.11.19", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.19.tgz", - "integrity": "sha512-BPAcfDPoHlRQNKktbsbnpACGdypPFBuX4xQlsWDE7B8XXcfII+SpOLay3/qZmCLb39kV5S1RTYwXdkx2lwLYng==", - "dev": true + "version": "22.10.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.5.tgz", + "integrity": "sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==", + "dev": true, + "dependencies": { + "undici-types": "~6.20.0" + } }, "node_modules/commander": { "version": "8.3.0", @@ -103,6 +109,12 @@ "engines": { "node": ">=4.2.0" } + }, + "node_modules/undici-types": { + "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 } }, "dependencies": { @@ -144,10 +156,13 @@ "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" }, "@types/node": { - "version": "16.11.19", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.19.tgz", - "integrity": "sha512-BPAcfDPoHlRQNKktbsbnpACGdypPFBuX4xQlsWDE7B8XXcfII+SpOLay3/qZmCLb39kV5S1RTYwXdkx2lwLYng==", - "dev": true + "version": "22.10.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.5.tgz", + "integrity": "sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==", + "dev": true, + "requires": { + "undici-types": "~6.20.0" + } }, "commander": { "version": "8.3.0", @@ -176,6 +191,12 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", "dev": true + }, + "undici-types": { + "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 } } } diff --git a/package.json b/package.json index c908a33..7542a9e 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "homepage": "https://github.com/danielemery/docker-react#readme", "devDependencies": { "@danielemeryau/prettier-config": "^0.0.6", - "@types/node": "^16.0.0", + "@types/node": "^22.0.0", "typescript": "^4.5.4" }, "dependencies": {