diff --git a/Dockerfile b/Dockerfile index 5cf69d2f..a082e4e7 100755 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # # CMD ["/opt/app/index.js", "/var/lib/huemqtt/config.json"] -FROM node:20.8-alpine +FROM node:20.13-alpine COPY app/dist /opt/app/ WORKDIR /opt/app/ diff --git a/app/package.json b/app/package.json index c841ad5d..08c85a33 100644 --- a/app/package.json +++ b/app/package.json @@ -21,7 +21,7 @@ "devDependencies": { "@types/async-lock": "1.4.2", "@types/eventsource": "1.1.15", - "@types/node": "18.19.33", + "@types/node": "20.12.11", "@types/node-cron": "3.0.11", "@typescript-eslint/eslint-plugin": "6.21.0", "@typescript-eslint/parser": "6.21.0", diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yaml index 25bb4987..3769e62b 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: 18.19.33 - version: 18.19.33 + specifier: 20.12.11 + version: 20.12.11 '@types/node-cron': specifier: 3.0.11 version: 3.0.11 @@ -80,13 +80,13 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@18.19.33)(typescript@5.4.5) + version: 10.9.2(@types/node@20.12.11)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@18.19.33) + version: 1.6.0(@types/node@20.12.11) packages: @@ -427,6 +427,9 @@ packages: '@types/node@18.19.33': resolution: {integrity: sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==} + '@types/node@20.12.11': + resolution: {integrity: sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==} + '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} @@ -2432,13 +2435,13 @@ snapshots: '@types/docker-modem@3.0.6': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.11 '@types/ssh2': 1.15.0 '@types/dockerode@3.3.29': dependencies: '@types/docker-modem': 3.0.6 - '@types/node': 18.19.33 + '@types/node': 20.12.11 '@types/ssh2': 1.15.0 '@types/estree@1.0.5': {} @@ -2455,15 +2458,19 @@ snapshots: dependencies: undici-types: 5.26.5 + '@types/node@20.12.11': + dependencies: + undici-types: 5.26.5 + '@types/semver@7.5.8': {} '@types/ssh2-streams@0.1.12': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.11 '@types/ssh2@0.5.52': dependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.11 '@types/ssh2-streams': 0.1.12 '@types/ssh2@1.15.0': @@ -4290,14 +4297,14 @@ snapshots: dependencies: typescript: 5.4.5 - ts-node@10.9.2(@types/node@18.19.33)(typescript@5.4.5): + ts-node@10.9.2(@types/node@20.12.11)(typescript@5.4.5): 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': 18.19.33 + '@types/node': 20.12.11 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -4382,13 +4389,13 @@ snapshots: v8-compile-cache-lib@3.0.1: {} - vite-node@1.6.0(@types/node@18.19.33): + vite-node@1.6.0(@types/node@20.12.11): dependencies: cac: 6.7.14 debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.11(@types/node@18.19.33) + vite: 5.2.11(@types/node@20.12.11) transitivePeerDependencies: - '@types/node' - less @@ -4399,16 +4406,16 @@ snapshots: - supports-color - terser - vite@5.2.11(@types/node@18.19.33): + vite@5.2.11(@types/node@20.12.11): dependencies: esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.17.2 optionalDependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.11 fsevents: 2.3.3 - vitest@1.6.0(@types/node@18.19.33): + vitest@1.6.0(@types/node@20.12.11): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -4427,11 +4434,11 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.11(@types/node@18.19.33) - vite-node: 1.6.0(@types/node@18.19.33) + vite: 5.2.11(@types/node@20.12.11) + vite-node: 1.6.0(@types/node@20.12.11) why-is-node-running: 2.2.2 optionalDependencies: - '@types/node': 18.19.33 + '@types/node': 20.12.11 transitivePeerDependencies: - less - lightningcss diff --git a/stub/package-lock.json b/stub/package-lock.json index a199c79a..bbcff5a2 100644 --- a/stub/package-lock.json +++ b/stub/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@types/node": "^18.0.0", + "@types/node": "^20.0.0", "@types/rimraf": "^4.0.0", "axios": "^1.0.0", "rimraf": "^5.0.0", @@ -61,9 +61,9 @@ } }, "node_modules/@types/node": { - "version": "18.19.33", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.33.tgz", - "integrity": "sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==", + "version": "20.12.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.11.tgz", + "integrity": "sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==", "dependencies": { "undici-types": "~5.26.4" } @@ -885,9 +885,9 @@ "optional": true }, "@types/node": { - "version": "18.19.33", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.33.tgz", - "integrity": "sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==", + "version": "20.12.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.11.tgz", + "integrity": "sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==", "requires": { "undici-types": "~5.26.4" } diff --git a/stub/package.json b/stub/package.json index 3894c8b3..b621f93a 100644 --- a/stub/package.json +++ b/stub/package.json @@ -10,7 +10,7 @@ "author": "Philipp Arndt", "license": "ISC", "dependencies": { - "@types/node": "^18.0.0", + "@types/node": "^20.0.0", "@types/rimraf": "^4.0.0", "axios": "^1.0.0", "rimraf": "^5.0.0",