diff --git a/Dockerfile b/Dockerfile index 282b75df..1fc66e57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ######## ARG DEBIAN_VERSION="bookworm" ARG GO_VERSION="1.22" -ARG NODE_VERSION="20" +ARG NODE_VERSION="22" ARG ALPINE_VERSION="3.21" FROM golang:${GO_VERSION}-${DEBIAN_VERSION} AS go_builder FROM node:${NODE_VERSION}-${DEBIAN_VERSION} AS base diff --git a/README.md b/README.md index ed68de5d..6ddd552d 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Usage of /usr/local/bin/argus: The backend of Argus is built with [Go](https://go.dev/), and the frontend with [React](https://reactjs.org/). The React frontend is built and then [embedded](https://pkg.go.dev/embed) into the Go binary so that those web files can be served. - [Go 1.22+](https://go.dev/dl/) -- [NodeJS 20](https://nodejs.org/en/download/) +- [NodeJS 22](https://nodejs.org/en/download/) ### Go changes diff --git a/web/ui/package-lock.json b/web/ui/package-lock.json index e5a78828..cf1d5dfc 100644 --- a/web/ui/package-lock.json +++ b/web/ui/package-lock.json @@ -1286,12 +1286,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.14.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.15.tgz", - "integrity": "sha512-Fz1xDMCF/B00/tYSVMlmK7hVeLh7jE5f3B7X1/hmV0MJBwE27KlS7EvD/Yp+z1lm8mVhwV5w+n8jOZG8AfTlKw==", + "version": "22.10.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.5.tgz", + "integrity": "sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.20.0" } }, "node_modules/@types/prop-types": { @@ -2103,10 +2104,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.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", + "dev": true, + "license": "MIT" }, "node_modules/update-browserslist-db": { "version": "1.1.2", @@ -2279,7 +2281,7 @@ "devDependencies": { "@tanstack/react-query-devtools": "^5.63.0", "@types/bootstrap": "^5.2.10", - "@types/node": "^20.14.8", + "@types/node": "^22.10.5", "@types/react": "^19.0.4", "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", diff --git a/web/ui/react-app/package.json b/web/ui/react-app/package.json index 14d34ec0..7b17536e 100644 --- a/web/ui/react-app/package.json +++ b/web/ui/react-app/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@tanstack/react-query-devtools": "^5.63.0", "@types/bootstrap": "^5.2.10", - "@types/node": "^20.14.8", + "@types/node": "^22.10.5", "@types/react": "^19.0.4", "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4",