diff --git a/README.md b/README.md index f95a721..2fc5beb 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,9 @@ After the Adapter has connected to the Daikin Device a structure of objects are * VIS widget ## Changelog +### __WORK IN PROGRESS__ +* (Apollon77) Prevented some error logs and fix internal flow issues + ### 1.4.2 (2022-07-25) * (Apollon77) Make sure polling still works after setting special mode states diff --git a/daikin.js b/daikin.js index 89e932e..4d2fe47 100644 --- a/daikin.js +++ b/daikin.js @@ -487,7 +487,9 @@ async function storeDaikinData(err) { deviceName = `${daikinDevice.currentCommonBasicInfo.name} `; } - const controlInfo = daikinDevice.currentACControlInfo; + const controlInfo = { + ...daikinDevice.currentACControlInfo + }; const control = {}; for (const fieldName in fieldDef.control) { if (controlInfo[fieldName] !== undefined) { @@ -522,16 +524,18 @@ async function storeDaikinData(err) { } } - const basicInfo = daikinDevice.currentCommonBasicInfo; + const basicInfo = { + ...daikinDevice.currentCommonBasicInfo + }; if (basicInfo && basicInfo.power !== undefined) { delete basicInfo.power; } - updated += handleDaikinUpdate(basicInfo, 'deviceInfo'); - updated += handleDaikinUpdate(daikinDevice.currentACModelInfo, 'modelInfo'); - updated += handleDaikinUpdate(control, 'control'); - updated += handleDaikinUpdate(controlInfo, 'controlInfo'); - updated += handleDaikinUpdate(daikinDevice.currentACSensorInfo, 'sensorInfo'); + updated += await handleDaikinUpdate(basicInfo, 'deviceInfo'); + updated += await handleDaikinUpdate(daikinDevice.currentACModelInfo, 'modelInfo'); + updated += await handleDaikinUpdate(control, 'control'); + updated += await handleDaikinUpdate(controlInfo, 'controlInfo'); + updated += await handleDaikinUpdate(daikinDevice.currentACSensorInfo, 'sensorInfo'); if (updated > 0) { adapter.log.info(`${updated} Values updated`); } diff --git a/package-lock.json b/package-lock.json index d25ffc6..35bc0de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,12 +13,12 @@ "daikin-controller": "^2.1.0" }, "devDependencies": { - "@alcalzone/release-script": "^3.6.0", - "@alcalzone/release-script-plugin-iobroker": "^3.6.0", - "@alcalzone/release-script-plugin-license": "^3.5.9", + "@alcalzone/release-script": "^3.7.0", + "@alcalzone/release-script-plugin-iobroker": "^3.7.0", + "@alcalzone/release-script-plugin-license": "^3.7.0", "@iobroker/adapter-dev": "^1.2.0", "@iobroker/dev-server": "^0.7.1", - "chai": "^4.3.10", + "chai": "^4.4.1", "istanbul": "^0.4.5", "mocha": "^10.2.0", "nyc": "^15.1.0" @@ -28,39 +28,81 @@ } }, "node_modules/@alcalzone/pak": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@alcalzone/pak/-/pak-0.8.1.tgz", - "integrity": "sha512-sPdxNxdXLH96kbyWLdIljVSIY2N6/qnPqkq5AlWvuizjGQUwHIUtWZHLss9XNDV/hY7YkgdIb9ILHbMTnRBxVQ==", + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@alcalzone/pak/-/pak-0.10.1.tgz", + "integrity": "sha512-h7XjOabYWFXWy4gv4KI1TZdzI/0oqe4bGZ2iyi7phldchCxf8+fgz3/ThGdQSd7oJMGJH+hmO1z/b9mb887bvg==", "dev": true, "dependencies": { - "axios": "^0.26.0", - "execa": "^5.0.0", - "fs-extra": "^10.0.1" + "axios": "^1.6.2", + "execa": "~5.0.1", + "fs-extra": "^10.1.0", + "semver": "^7.3.7", + "tiny-glob": "^0.2.9" } }, "node_modules/@alcalzone/pak/node_modules/axios": { - "version": "0.26.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", - "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dev": true, "dependencies": { - "follow-redirects": "^1.14.8" + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/@alcalzone/pak/node_modules/execa": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.0.1.tgz", + "integrity": "sha512-4hFTjFbFzQa3aCLobpbPJR/U+VoL1wdV5ozOWjeet0AWDeYr9UFGM1eUFWHX+VtOWFq4p0xXUXfW1YxUaP4fpw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/@alcalzone/pak/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/@alcalzone/release-script": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script/-/release-script-3.6.0.tgz", - "integrity": "sha512-i4Z6QAt5YGm6iM9EYHFCu8MbQ3wwhD2tNp14NxEe6dQnv86BNvikhxfgU4pOkJXW0El/7WgOkFeC9E4fFDBXug==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script/-/release-script-3.7.0.tgz", + "integrity": "sha512-+aDCbmDLxySKxKEoG/qnwLThj1uZWU1vRkNFeCKtNdf6DLOAevzwMcNGl/6a+CTih4M5CBSoi20orYrjHqsmLg==", "dev": true, "dependencies": { - "@alcalzone/release-script-core": "3.5.9", - "@alcalzone/release-script-plugin-changelog": "3.5.9", - "@alcalzone/release-script-plugin-exec": "3.5.9", - "@alcalzone/release-script-plugin-git": "3.6.0", - "@alcalzone/release-script-plugin-package": "3.6.0", - "@alcalzone/release-script-plugin-version": "3.6.0", + "@alcalzone/release-script-core": "3.7.0", + "@alcalzone/release-script-plugin-changelog": "3.7.0", + "@alcalzone/release-script-plugin-exec": "3.7.0", + "@alcalzone/release-script-plugin-git": "3.7.0", + "@alcalzone/release-script-plugin-package": "3.7.0", + "@alcalzone/release-script-plugin-version": "3.7.0", "alcalzone-shared": "^4.0.1", - "axios": "^0.27.1", + "axios": "^1.6.2", "enquirer": "^2.3.6", "fs-extra": "^10.1.0", "picocolors": "1.0.0", @@ -76,9 +118,9 @@ } }, "node_modules/@alcalzone/release-script-core": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-core/-/release-script-core-3.5.9.tgz", - "integrity": "sha512-rRxosfZMtpDcIm+sPTdwP5oVRBLX1WLYImrp0nUhqOPNN/UD5l9TxNVXDhGUsstXhaRXXBYS2BnOQwR308OfyA==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-core/-/release-script-core-3.7.0.tgz", + "integrity": "sha512-4np4dBziwX/aNRhS/gpK8bwa0wpLe7oomzJ7YTUXf5bUtV/UTpN2a9tm5Bp7ElnisKj6N3AqHl4lVXRo4L9hYg==", "dev": true, "dependencies": { "execa": "^5.1.1" @@ -88,12 +130,12 @@ } }, "node_modules/@alcalzone/release-script-plugin-changelog": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-changelog/-/release-script-plugin-changelog-3.5.9.tgz", - "integrity": "sha512-KmOMbjd7ta/Wl2OWQUxMpNza6Sr5/sB7AfV7BC0uCl839StnoivSjqywDfNcgJq97fxMs7hnGT/uYaz7oTUm7A==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-changelog/-/release-script-plugin-changelog-3.7.0.tgz", + "integrity": "sha512-AlLOIjIPP42uBmvcdYkfijYDzolyY6JmfbTmdxQDBLyrgYXnuUr2GaKxbpeWSbvcAuUhNvHCAyI6LI90X3OTEg==", "dev": true, "dependencies": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1", "fs-extra": "^10.1.0" }, @@ -102,12 +144,12 @@ } }, "node_modules/@alcalzone/release-script-plugin-exec": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-exec/-/release-script-plugin-exec-3.5.9.tgz", - "integrity": "sha512-Y6OM+gEpfYYoDvHdzNUtgVZiBAgOzGWZk9yRPF5l8UWE3+tQAyMWavk2m08ExbEICfGV1lb8lRBzAdQaf7/0HA==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-exec/-/release-script-plugin-exec-3.7.0.tgz", + "integrity": "sha512-ZhlKGhxa71mLyYB1/ojzik2RKcSAeIjuwKzlWRd6oUvKoZPe7eAjLYneXx5viQC6tvDJE4dvN1NlkFGWsSlZYA==", "dev": true, "dependencies": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1" }, "engines": { @@ -115,12 +157,12 @@ } }, "node_modules/@alcalzone/release-script-plugin-git": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-git/-/release-script-plugin-git-3.6.0.tgz", - "integrity": "sha512-dtGh+GWj6a9w4s/GupRxe28EnluvtXvmM60IbEI6diqXDilclE1baZsBsoLyIgA2mPxt+BJpHEe3bk/ysanbug==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-git/-/release-script-plugin-git-3.7.0.tgz", + "integrity": "sha512-4wA1XNnU7uyNnzXaLe4eBd1pfyk6VhVBuTzQ5EKraLNEXZ+JWWxeYMdcJGI6QdA1qAtld91gLRfLI1Ewye9ecQ==", "dev": true, "dependencies": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "fs-extra": "^10.1.0" }, "engines": { @@ -128,14 +170,14 @@ } }, "node_modules/@alcalzone/release-script-plugin-iobroker": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-iobroker/-/release-script-plugin-iobroker-3.6.0.tgz", - "integrity": "sha512-VnozQx9f+Ov5hsJbZgfh4CapwsSrLBghvRIQaiovupVwbhcF+2Z+XsJIuwafBCCxwZ4+mSNjEstf7sCc9cvb8g==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-iobroker/-/release-script-plugin-iobroker-3.7.0.tgz", + "integrity": "sha512-6nkLIDZ4qvZ21f3ozjPJ//x+hqkaiTfkDcYnyw6SWOIUbCa5v7Xj0cAZY7INguSfjv18UOTlU1J8xdzqHxtREg==", "dev": true, "dependencies": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1", - "axios": "^0.27.1", + "axios": "^1.6.2", "fs-extra": "^10.1.0", "semver": "^7.5.2" }, @@ -143,6 +185,17 @@ "node": ">=12.20" } }, + "node_modules/@alcalzone/release-script-plugin-iobroker/node_modules/axios": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/@alcalzone/release-script-plugin-iobroker/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -159,12 +212,12 @@ } }, "node_modules/@alcalzone/release-script-plugin-license": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-license/-/release-script-plugin-license-3.5.9.tgz", - "integrity": "sha512-Wa+RN968zYK0ZNkkaIRfD3Ru2ndWLD5e+VNbah4krtoeHqvQDiOPlfcWM0McU8q3ud+AMPwhYEwR1mh2lwi0gg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-license/-/release-script-plugin-license-3.7.0.tgz", + "integrity": "sha512-HLnKHr3pc6NJJ7zAa8S/SdC305oEurnkRa9XNP5F6rgrixsxUiynBVh0tpPsVsOTdndm7fNIBRfR66IGnw0cag==", "dev": true, "dependencies": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "fs-extra": "^10.1.0", "tiny-glob": "^0.2.9" }, @@ -173,13 +226,13 @@ } }, "node_modules/@alcalzone/release-script-plugin-package": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-package/-/release-script-plugin-package-3.6.0.tgz", - "integrity": "sha512-eISimXzdlRPMjuUoErwI78BbUO2ijU8ac9lEqzM+piYuuCbYmgr7QTH+r2omPQZiXxmRqUqiZ2/+3XSarAIUlg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-package/-/release-script-plugin-package-3.7.0.tgz", + "integrity": "sha512-eZSzE+Hbt6otxleIGBSkXUwspKTlYdKrV8Bp9jDm0ZwSTZ/0jt6zPjL/HfCeX2hd5JtjGc/YEzuHuDVv1fHi8A==", "dev": true, "dependencies": { - "@alcalzone/pak": "^0.8.1", - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/pak": "^0.10.1", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1", "fs-extra": "^10.1.0", "semver": "^7.5.2" @@ -204,12 +257,12 @@ } }, "node_modules/@alcalzone/release-script-plugin-version": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-version/-/release-script-plugin-version-3.6.0.tgz", - "integrity": "sha512-8bVigIbo4oTaA1bl8EpRN6QI2S2mR+G+zFEVj+3dlP5RtgB2JSNUtb91aEnijgaqrvDmy1WwuQP4Z9L7jmL0Pg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-version/-/release-script-plugin-version-3.7.0.tgz", + "integrity": "sha512-030NGQeB+mglVz/58cx0WO4QiFChaSd/pz35mnOrUc9PbKWRpzisTVOt4IhCV/++YiAVibJO31NMNzvipPdx4Q==", "dev": true, "dependencies": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1", "fs-extra": "^10.1.0", "semver": "^7.5.2", @@ -234,6 +287,17 @@ "node": ">=10" } }, + "node_modules/@alcalzone/release-script/node_modules/axios": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/@alcalzone/release-script/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -2571,9 +2635,9 @@ } }, "node_modules/chai": { - "version": "4.3.10", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", - "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.4.1.tgz", + "integrity": "sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==", "dev": true, "dependencies": { "assertion-error": "^1.1.0", @@ -4281,9 +4345,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", - "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", @@ -9380,41 +9444,71 @@ }, "dependencies": { "@alcalzone/pak": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@alcalzone/pak/-/pak-0.8.1.tgz", - "integrity": "sha512-sPdxNxdXLH96kbyWLdIljVSIY2N6/qnPqkq5AlWvuizjGQUwHIUtWZHLss9XNDV/hY7YkgdIb9ILHbMTnRBxVQ==", + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@alcalzone/pak/-/pak-0.10.1.tgz", + "integrity": "sha512-h7XjOabYWFXWy4gv4KI1TZdzI/0oqe4bGZ2iyi7phldchCxf8+fgz3/ThGdQSd7oJMGJH+hmO1z/b9mb887bvg==", "dev": true, "requires": { - "axios": "^0.26.0", - "execa": "^5.0.0", - "fs-extra": "^10.0.1" + "axios": "^1.6.2", + "execa": "~5.0.1", + "fs-extra": "^10.1.0", + "semver": "^7.3.7", + "tiny-glob": "^0.2.9" }, "dependencies": { "axios": { - "version": "0.26.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", - "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dev": true, "requires": { - "follow-redirects": "^1.14.8" + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "execa": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.0.1.tgz", + "integrity": "sha512-4hFTjFbFzQa3aCLobpbPJR/U+VoL1wdV5ozOWjeet0AWDeYr9UFGM1eUFWHX+VtOWFq4p0xXUXfW1YxUaP4fpw==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" } } } }, "@alcalzone/release-script": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script/-/release-script-3.6.0.tgz", - "integrity": "sha512-i4Z6QAt5YGm6iM9EYHFCu8MbQ3wwhD2tNp14NxEe6dQnv86BNvikhxfgU4pOkJXW0El/7WgOkFeC9E4fFDBXug==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script/-/release-script-3.7.0.tgz", + "integrity": "sha512-+aDCbmDLxySKxKEoG/qnwLThj1uZWU1vRkNFeCKtNdf6DLOAevzwMcNGl/6a+CTih4M5CBSoi20orYrjHqsmLg==", "dev": true, "requires": { - "@alcalzone/release-script-core": "3.5.9", - "@alcalzone/release-script-plugin-changelog": "3.5.9", - "@alcalzone/release-script-plugin-exec": "3.5.9", - "@alcalzone/release-script-plugin-git": "3.6.0", - "@alcalzone/release-script-plugin-package": "3.6.0", - "@alcalzone/release-script-plugin-version": "3.6.0", + "@alcalzone/release-script-core": "3.7.0", + "@alcalzone/release-script-plugin-changelog": "3.7.0", + "@alcalzone/release-script-plugin-exec": "3.7.0", + "@alcalzone/release-script-plugin-git": "3.7.0", + "@alcalzone/release-script-plugin-package": "3.7.0", + "@alcalzone/release-script-plugin-version": "3.7.0", "alcalzone-shared": "^4.0.1", - "axios": "^0.27.1", + "axios": "^1.6.2", "enquirer": "^2.3.6", "fs-extra": "^10.1.0", "picocolors": "1.0.0", @@ -9423,6 +9517,17 @@ "yargs": "^17.4.1" }, "dependencies": { + "axios": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", + "dev": true, + "requires": { + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -9435,58 +9540,69 @@ } }, "@alcalzone/release-script-core": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-core/-/release-script-core-3.5.9.tgz", - "integrity": "sha512-rRxosfZMtpDcIm+sPTdwP5oVRBLX1WLYImrp0nUhqOPNN/UD5l9TxNVXDhGUsstXhaRXXBYS2BnOQwR308OfyA==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-core/-/release-script-core-3.7.0.tgz", + "integrity": "sha512-4np4dBziwX/aNRhS/gpK8bwa0wpLe7oomzJ7YTUXf5bUtV/UTpN2a9tm5Bp7ElnisKj6N3AqHl4lVXRo4L9hYg==", "dev": true, "requires": { "execa": "^5.1.1" } }, "@alcalzone/release-script-plugin-changelog": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-changelog/-/release-script-plugin-changelog-3.5.9.tgz", - "integrity": "sha512-KmOMbjd7ta/Wl2OWQUxMpNza6Sr5/sB7AfV7BC0uCl839StnoivSjqywDfNcgJq97fxMs7hnGT/uYaz7oTUm7A==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-changelog/-/release-script-plugin-changelog-3.7.0.tgz", + "integrity": "sha512-AlLOIjIPP42uBmvcdYkfijYDzolyY6JmfbTmdxQDBLyrgYXnuUr2GaKxbpeWSbvcAuUhNvHCAyI6LI90X3OTEg==", "dev": true, "requires": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1", "fs-extra": "^10.1.0" } }, "@alcalzone/release-script-plugin-exec": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-exec/-/release-script-plugin-exec-3.5.9.tgz", - "integrity": "sha512-Y6OM+gEpfYYoDvHdzNUtgVZiBAgOzGWZk9yRPF5l8UWE3+tQAyMWavk2m08ExbEICfGV1lb8lRBzAdQaf7/0HA==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-exec/-/release-script-plugin-exec-3.7.0.tgz", + "integrity": "sha512-ZhlKGhxa71mLyYB1/ojzik2RKcSAeIjuwKzlWRd6oUvKoZPe7eAjLYneXx5viQC6tvDJE4dvN1NlkFGWsSlZYA==", "dev": true, "requires": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1" } }, "@alcalzone/release-script-plugin-git": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-git/-/release-script-plugin-git-3.6.0.tgz", - "integrity": "sha512-dtGh+GWj6a9w4s/GupRxe28EnluvtXvmM60IbEI6diqXDilclE1baZsBsoLyIgA2mPxt+BJpHEe3bk/ysanbug==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-git/-/release-script-plugin-git-3.7.0.tgz", + "integrity": "sha512-4wA1XNnU7uyNnzXaLe4eBd1pfyk6VhVBuTzQ5EKraLNEXZ+JWWxeYMdcJGI6QdA1qAtld91gLRfLI1Ewye9ecQ==", "dev": true, "requires": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "fs-extra": "^10.1.0" } }, "@alcalzone/release-script-plugin-iobroker": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-iobroker/-/release-script-plugin-iobroker-3.6.0.tgz", - "integrity": "sha512-VnozQx9f+Ov5hsJbZgfh4CapwsSrLBghvRIQaiovupVwbhcF+2Z+XsJIuwafBCCxwZ4+mSNjEstf7sCc9cvb8g==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-iobroker/-/release-script-plugin-iobroker-3.7.0.tgz", + "integrity": "sha512-6nkLIDZ4qvZ21f3ozjPJ//x+hqkaiTfkDcYnyw6SWOIUbCa5v7Xj0cAZY7INguSfjv18UOTlU1J8xdzqHxtREg==", "dev": true, "requires": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1", - "axios": "^0.27.1", + "axios": "^1.6.2", "fs-extra": "^10.1.0", "semver": "^7.5.2" }, "dependencies": { + "axios": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", + "dev": true, + "requires": { + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -9499,24 +9615,24 @@ } }, "@alcalzone/release-script-plugin-license": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-license/-/release-script-plugin-license-3.5.9.tgz", - "integrity": "sha512-Wa+RN968zYK0ZNkkaIRfD3Ru2ndWLD5e+VNbah4krtoeHqvQDiOPlfcWM0McU8q3ud+AMPwhYEwR1mh2lwi0gg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-license/-/release-script-plugin-license-3.7.0.tgz", + "integrity": "sha512-HLnKHr3pc6NJJ7zAa8S/SdC305oEurnkRa9XNP5F6rgrixsxUiynBVh0tpPsVsOTdndm7fNIBRfR66IGnw0cag==", "dev": true, "requires": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "fs-extra": "^10.1.0", "tiny-glob": "^0.2.9" } }, "@alcalzone/release-script-plugin-package": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-package/-/release-script-plugin-package-3.6.0.tgz", - "integrity": "sha512-eISimXzdlRPMjuUoErwI78BbUO2ijU8ac9lEqzM+piYuuCbYmgr7QTH+r2omPQZiXxmRqUqiZ2/+3XSarAIUlg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-package/-/release-script-plugin-package-3.7.0.tgz", + "integrity": "sha512-eZSzE+Hbt6otxleIGBSkXUwspKTlYdKrV8Bp9jDm0ZwSTZ/0jt6zPjL/HfCeX2hd5JtjGc/YEzuHuDVv1fHi8A==", "dev": true, "requires": { - "@alcalzone/pak": "^0.8.1", - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/pak": "^0.10.1", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1", "fs-extra": "^10.1.0", "semver": "^7.5.2" @@ -9534,12 +9650,12 @@ } }, "@alcalzone/release-script-plugin-version": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-version/-/release-script-plugin-version-3.6.0.tgz", - "integrity": "sha512-8bVigIbo4oTaA1bl8EpRN6QI2S2mR+G+zFEVj+3dlP5RtgB2JSNUtb91aEnijgaqrvDmy1WwuQP4Z9L7jmL0Pg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@alcalzone/release-script-plugin-version/-/release-script-plugin-version-3.7.0.tgz", + "integrity": "sha512-030NGQeB+mglVz/58cx0WO4QiFChaSd/pz35mnOrUc9PbKWRpzisTVOt4IhCV/++YiAVibJO31NMNzvipPdx4Q==", "dev": true, "requires": { - "@alcalzone/release-script-core": "3.5.9", + "@alcalzone/release-script-core": "3.7.0", "alcalzone-shared": "^4.0.1", "fs-extra": "^10.1.0", "semver": "^7.5.2", @@ -11389,9 +11505,9 @@ } }, "chai": { - "version": "4.3.10", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", - "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.4.1.tgz", + "integrity": "sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==", "dev": true, "requires": { "assertion-error": "^1.1.0", @@ -12605,9 +12721,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", - "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==" + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" }, "foreground-child": { "version": "2.0.0", diff --git a/package.json b/package.json index 387900e..6905494 100644 --- a/package.json +++ b/package.json @@ -23,13 +23,13 @@ "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { - "@alcalzone/release-script": "^3.6.0", - "@alcalzone/release-script-plugin-iobroker": "^3.6.0", - "@alcalzone/release-script-plugin-license": "^3.5.9", + "@alcalzone/release-script": "^3.7.0", + "@alcalzone/release-script-plugin-iobroker": "^3.7.0", + "@alcalzone/release-script-plugin-license": "^3.7.0", "@iobroker/dev-server": "^0.7.1", "@iobroker/adapter-dev": "^1.2.0", "mocha": "^10.2.0", - "chai": "^4.3.10", + "chai": "^4.4.1", "istanbul": "^0.4.5", "nyc": "^15.1.0" },