diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e625cc05..2956dc53 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x - name: Install working-directory: app diff --git a/Dockerfile b/Dockerfile index ad555575..dec28625 100755 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # # CMD ["/opt/app/index.js", "/var/lib/huemqtt/config.json"] -FROM node:18.6-alpine +FROM node:18.12-alpine COPY app/dist /opt/app/ WORKDIR /opt/app/ diff --git a/app/package-lock.json b/app/package-lock.json index 127bf279..733cb486 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -21,7 +21,7 @@ "@types/async-lock": "1.3.0", "@types/eventsource": "1.1.10", "@types/jest": "28.1.8", - "@types/node": "16.18.3", + "@types/node": "18.11.9", "@types/node-cron": "3.0.5", "@typescript-eslint/eslint-plugin": "5.42.1", "@typescript-eslint/parser": "5.42.1", @@ -1349,9 +1349,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "16.18.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.3.tgz", - "integrity": "sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg==", + "version": "18.11.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", + "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", "dev": true }, "node_modules/@types/node-cron": { @@ -8501,9 +8501,9 @@ "dev": true }, "@types/node": { - "version": "16.18.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.3.tgz", - "integrity": "sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg==", + "version": "18.11.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", + "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", "dev": true }, "@types/node-cron": { diff --git a/app/package.json b/app/package.json index 9060d44a..56ebb524 100644 --- a/app/package.json +++ b/app/package.json @@ -21,7 +21,7 @@ "@types/async-lock": "1.3.0", "@types/eventsource": "1.1.10", "@types/jest": "28.1.8", - "@types/node": "16.18.3", + "@types/node": "18.11.9", "@types/node-cron": "3.0.5", "@typescript-eslint/eslint-plugin": "5.42.1", "@typescript-eslint/parser": "5.42.1", diff --git a/stub/package-lock.json b/stub/package-lock.json index 4cf89666..73e0b36b 100644 --- a/stub/package-lock.json +++ b/stub/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@types/node": "^17.0.9", + "@types/node": "^18.0.0", "@types/rimraf": "^3.0.2", "axios": "^0.27.0", "rimraf": "^3.0.2", @@ -42,9 +42,9 @@ "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==" }, "node_modules/@types/node": { - "version": "17.0.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.9.tgz", - "integrity": "sha512-5dNBXu/FOER+EXnyah7rn8xlNrfMOQb/qXnw4NQgLkCygKBKhdmF/CA5oXVOKZLBEahw8s2WP9LxIcN/oDDRgQ==" + "version": "18.11.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", + "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==" }, "node_modules/@types/rimraf": { "version": "3.0.2", @@ -503,9 +503,9 @@ "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==" }, "@types/node": { - "version": "17.0.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.9.tgz", - "integrity": "sha512-5dNBXu/FOER+EXnyah7rn8xlNrfMOQb/qXnw4NQgLkCygKBKhdmF/CA5oXVOKZLBEahw8s2WP9LxIcN/oDDRgQ==" + "version": "18.11.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", + "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==" }, "@types/rimraf": { "version": "3.0.2", diff --git a/stub/package.json b/stub/package.json index 41dbec77..e19adec3 100644 --- a/stub/package.json +++ b/stub/package.json @@ -10,7 +10,7 @@ "author": "Philipp Arndt", "license": "ISC", "dependencies": { - "@types/node": "^17.0.9", + "@types/node": "^18.0.0", "@types/rimraf": "^3.0.2", "axios": "^0.27.0", "rimraf": "^3.0.2",