diff --git a/Dockerfile b/Dockerfile index 853afbef..02c0b7ea 100755 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # # CMD ["/opt/app/index.js", "/var/lib/huemqtt/config.json"] -FROM node:20.18-alpine +FROM node:22.11-alpine COPY app/dist /opt/app/ WORKDIR /opt/app/ diff --git a/app/package.json b/app/package.json index 8540be9d..88cfe080 100644 --- a/app/package.json +++ b/app/package.json @@ -22,7 +22,7 @@ "devDependencies": { "@types/async-lock": "1.4.2", "@types/eventsource": "1.1.15", - "@types/node": "20.17.6", + "@types/node": "22.8.7", "@types/node-cron": "3.0.11", "@vercel/ncc": "0.38.2", "eslint": "9.14.0", diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yaml index b4b208f3..a53cd5ec 100644 --- a/app/pnpm-lock.yaml +++ b/app/pnpm-lock.yaml @@ -40,8 +40,8 @@ importers: specifier: 1.1.15 version: 1.1.15 '@types/node': - specifier: 20.17.6 - version: 20.17.6 + specifier: 22.8.7 + version: 22.8.7 '@types/node-cron': specifier: 3.0.11 version: 3.0.11 @@ -65,7 +65,7 @@ importers: version: 10.13.2 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.17.6)(typescript@5.6.3) + version: 10.9.2(@types/node@22.8.7)(typescript@5.6.3) typescript: specifier: 5.6.3 version: 5.6.3 @@ -74,7 +74,7 @@ importers: version: 8.12.2(eslint@9.14.0)(typescript@5.6.3) vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.17.6) + version: 1.6.0(@types/node@22.8.7) packages: @@ -452,8 +452,8 @@ packages: '@types/node@18.19.33': resolution: {integrity: sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==} - '@types/node@20.17.6': - resolution: {integrity: sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==} + '@types/node@22.8.7': + resolution: {integrity: sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==} '@types/readable-stream@4.0.14': resolution: {integrity: sha512-xZn/AuUbCMShGsqH/ehZtGDwQtbx00M9rZ2ENLe4tOjFZ/JFeWMhEZkk2fEe1jAUqqEAURIkFJ7Az/go8mM1/w==} @@ -1683,8 +1683,8 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - undici-types@6.19.6: - resolution: {integrity: sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==} + undici-types@6.19.8: + resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} undici@5.28.4: resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} @@ -2085,13 +2085,13 @@ snapshots: '@types/docker-modem@3.0.6': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.8.7 '@types/ssh2': 1.15.0 '@types/dockerode@3.3.29': dependencies: '@types/docker-modem': 3.0.6 - '@types/node': 20.17.6 + '@types/node': 22.8.7 '@types/ssh2': 1.15.0 '@types/estree@1.0.5': {} @@ -2108,22 +2108,22 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/node@20.17.6': + '@types/node@22.8.7': dependencies: - undici-types: 6.19.6 + undici-types: 6.19.8 '@types/readable-stream@4.0.14': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.8.7 safe-buffer: 5.1.2 '@types/ssh2-streams@0.1.12': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.8.7 '@types/ssh2@0.5.52': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.8.7 '@types/ssh2-streams': 0.1.12 '@types/ssh2@1.15.0': @@ -2134,7 +2134,7 @@ snapshots: '@types/ws@8.5.10': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.8.7 '@typescript-eslint/eslint-plugin@8.12.2(@typescript-eslint/parser@8.12.2(eslint@9.14.0)(typescript@5.6.3))(eslint@9.14.0)(typescript@5.6.3)': dependencies: @@ -3394,14 +3394,14 @@ snapshots: dependencies: typescript: 5.6.3 - ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.3): + ts-node@10.9.2(@types/node@22.8.7)(typescript@5.6.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.17.6 + '@types/node': 22.8.7 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -3441,7 +3441,7 @@ snapshots: undici-types@5.26.5: {} - undici-types@6.19.6: {} + undici-types@6.19.8: {} undici@5.28.4: dependencies: @@ -3457,13 +3457,13 @@ snapshots: v8-compile-cache-lib@3.0.1: {} - vite-node@1.6.0(@types/node@20.17.6): + vite-node@1.6.0(@types/node@22.8.7): dependencies: cac: 6.7.14 debug: 4.3.5 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.11(@types/node@20.17.6) + vite: 5.2.11(@types/node@22.8.7) transitivePeerDependencies: - '@types/node' - less @@ -3474,16 +3474,16 @@ snapshots: - supports-color - terser - vite@5.2.11(@types/node@20.17.6): + vite@5.2.11(@types/node@22.8.7): dependencies: esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.17.2 optionalDependencies: - '@types/node': 20.17.6 + '@types/node': 22.8.7 fsevents: 2.3.3 - vitest@1.6.0(@types/node@20.17.6): + vitest@1.6.0(@types/node@22.8.7): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -3502,11 +3502,11 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.11(@types/node@20.17.6) - vite-node: 1.6.0(@types/node@20.17.6) + vite: 5.2.11(@types/node@22.8.7) + vite-node: 1.6.0(@types/node@22.8.7) why-is-node-running: 2.2.2 optionalDependencies: - '@types/node': 20.17.6 + '@types/node': 22.8.7 transitivePeerDependencies: - less - lightningcss diff --git a/stub/package.json b/stub/package.json index b621f93a..958e7c4a 100644 --- a/stub/package.json +++ b/stub/package.json @@ -10,7 +10,7 @@ "author": "Philipp Arndt", "license": "ISC", "dependencies": { - "@types/node": "^20.0.0", + "@types/node": "^22.0.0", "@types/rimraf": "^4.0.0", "axios": "^1.0.0", "rimraf": "^5.0.0", diff --git a/stub/pnpm-lock.yaml b/stub/pnpm-lock.yaml index 6829be68..0cd79dd7 100644 --- a/stub/pnpm-lock.yaml +++ b/stub/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@types/node': - specifier: ^20.0.0 - version: 20.17.6 + specifier: ^22.0.0 + version: 22.8.7 '@types/rimraf': specifier: ^4.0.0 version: 4.0.5 @@ -44,8 +44,8 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@types/node@20.17.6': - resolution: {integrity: sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==} + '@types/node@22.8.7': + resolution: {integrity: sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==} '@types/rimraf@4.0.5': resolution: {integrity: sha512-DTCZoIQotB2SUJnYgrEx43cQIUYOlNZz0AZPbKU4PSLYTUdML5Gox0++z4F9kQocxStrCmRNhi4x5x/UlwtKUA==} @@ -366,7 +366,7 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@types/node@20.17.6': + '@types/node@22.8.7': dependencies: undici-types: 6.19.8