From c629500c6cffda5d0c8526ef80554f4b40807c34 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2024 15:18:45 -0700 Subject: [PATCH] Bump node from 20.12.2-alpine to 22.5.1-alpine (#554) * Bump node from 20.12.2-alpine to 22.5.1-alpine Bumps node from 20.12.2-alpine to 22.5.1-alpine. --- updated-dependencies: - dependency-name: node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump node version everywhere --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paul Cretu --- Dockerfile | 2 +- server/phoenix_static_buildpack.config | 2 +- ui/.node-version | 2 +- ui/package-lock.json | 27 ++++++++++++++------------ ui/package.json | 2 +- 5 files changed, 19 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index 14671a55..53c5df74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Largely based on https://github.com/nicbet/docker-phoenix/blob/main/Dockerfile -FROM node:20.12.2-alpine AS node +FROM node:22.5.1-alpine AS node FROM elixir:1.16-otp-26-alpine AS setup diff --git a/server/phoenix_static_buildpack.config b/server/phoenix_static_buildpack.config index c2940197..40558d2e 100644 --- a/server/phoenix_static_buildpack.config +++ b/server/phoenix_static_buildpack.config @@ -1,3 +1,3 @@ assets_path=ui clean_cache=true -node_version=20.12.2 \ No newline at end of file +node_version=22.5.1 \ No newline at end of file diff --git a/ui/.node-version b/ui/.node-version index 5802c69c..e561fed0 100644 --- a/ui/.node-version +++ b/ui/.node-version @@ -1 +1 @@ -20.12.2 \ No newline at end of file +22.5.1 \ No newline at end of file diff --git a/ui/package-lock.json b/ui/package-lock.json index 8c3f3234..58adc7d1 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -43,7 +43,7 @@ "@next/bundle-analyzer": "^14.2.2", "@tanstack/react-query-devtools": "^5.32.0", "@types/leaflet": "^1.9.12", - "@types/node": "20.12.8", + "@types/node": "22.0.2", "@types/phoenix": "^1.6.4", "@types/react": "18.3.1", "@types/react-dom": "18.3.0", @@ -3824,12 +3824,13 @@ } }, "node_modules/@types/node": { - "version": "20.12.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.8.tgz", - "integrity": "sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==", + "version": "22.0.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.0.2.tgz", + "integrity": "sha512-yPL6DyFwY5PiMVEwymNeqUTKsDczQBJ/5T7W/46RwLU/VH+AA8aT5TZkvBviLKLbbm0hlfftEkGrNzfRk/fofQ==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.11.1" } }, "node_modules/@types/parse-json": { @@ -11339,9 +11340,10 @@ } }, "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "license": "0BSD" }, "node_modules/tsutils": { "version": "3.21.0", @@ -11518,10 +11520,11 @@ } }, "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==", - "dev": true + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.11.1.tgz", + "integrity": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==", + "dev": true, + "license": "MIT" }, "node_modules/unixify": { "version": "1.0.0", diff --git a/ui/package.json b/ui/package.json index 2e4da22f..446f7ef2 100644 --- a/ui/package.json +++ b/ui/package.json @@ -51,7 +51,7 @@ "@next/bundle-analyzer": "^14.2.2", "@tanstack/react-query-devtools": "^5.32.0", "@types/leaflet": "^1.9.12", - "@types/node": "20.12.8", + "@types/node": "22.0.2", "@types/phoenix": "^1.6.4", "@types/react": "18.3.1", "@types/react-dom": "18.3.0",