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 3403813c..f61a76d6 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.9.1", "@types/node-cron": "3.0.11", "@vercel/ncc": "0.38.3", "eslint": "9.15.0", diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yaml index ffb262fb..579f7b17 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.9.1 + version: 22.9.1 '@types/node-cron': specifier: 3.0.11 version: 3.0.11 @@ -65,7 +65,7 @@ importers: version: 10.14.0 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.9.1)(typescript@5.6.3) typescript: specifier: 5.6.3 version: 5.6.3 @@ -74,7 +74,7 @@ importers: version: 8.15.0(eslint@9.15.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.9.1) packages: @@ -448,8 +448,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.9.1': + resolution: {integrity: sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==} '@types/readable-stream@4.0.14': resolution: {integrity: sha512-xZn/AuUbCMShGsqH/ehZtGDwQtbx00M9rZ2ENLe4tOjFZ/JFeWMhEZkk2fEe1jAUqqEAURIkFJ7Az/go8mM1/w==} @@ -1676,8 +1676,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==} @@ -2076,13 +2076,13 @@ snapshots: '@types/docker-modem@3.0.6': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.1 '@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.9.1 '@types/ssh2': 1.15.0 '@types/estree@1.0.5': {} @@ -2099,22 +2099,22 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/node@20.17.6': + '@types/node@22.9.1': 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.9.1 safe-buffer: 5.1.2 '@types/ssh2-streams@0.1.12': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.1 '@types/ssh2@0.5.52': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.1 '@types/ssh2-streams': 0.1.12 '@types/ssh2@1.15.0': @@ -2125,7 +2125,7 @@ snapshots: '@types/ws@8.5.10': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.1 '@typescript-eslint/eslint-plugin@8.15.0(@typescript-eslint/parser@8.15.0(eslint@9.15.0)(typescript@5.6.3))(eslint@9.15.0)(typescript@5.6.3)': dependencies: @@ -3385,14 +3385,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.9.1)(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.9.1 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -3432,7 +3432,7 @@ snapshots: undici-types@5.26.5: {} - undici-types@6.19.6: {} + undici-types@6.19.8: {} undici@5.28.4: dependencies: @@ -3448,13 +3448,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.9.1): 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.9.1) transitivePeerDependencies: - '@types/node' - less @@ -3465,16 +3465,16 @@ snapshots: - supports-color - terser - vite@5.2.11(@types/node@20.17.6): + vite@5.2.11(@types/node@22.9.1): dependencies: esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.17.2 optionalDependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.1 fsevents: 2.3.3 - vitest@1.6.0(@types/node@20.17.6): + vitest@1.6.0(@types/node@22.9.1): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -3493,11 +3493,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.9.1) + vite-node: 1.6.0(@types/node@22.9.1) why-is-node-running: 2.2.2 optionalDependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.1 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 4ae5bf3c..8c945e10 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.9.1 '@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.9.1': + resolution: {integrity: sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==} '@types/rimraf@4.0.5': resolution: {integrity: sha512-DTCZoIQotB2SUJnYgrEx43cQIUYOlNZz0AZPbKU4PSLYTUdML5Gox0++z4F9kQocxStrCmRNhi4x5x/UlwtKUA==} @@ -337,7 +337,7 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@types/node@20.17.6': + '@types/node@22.9.1': dependencies: undici-types: 6.19.8