diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml deleted file mode 100644 index 8807501b9b..0000000000 --- a/.github/workflows/generate-docs.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: Generate docs - -on: - push: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - if: github.actor != 'github-actions' - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '14' - - - name: Install dependencies - run: npm install - - - name: Translate JS files - run: node translate_js_files.js - - - name: Install jsdoc2md - run: npm install -g jsdoc-to-markdown - - - name: Prepare docs folder (make it empty) - run: rm -r docs - - - name: Generate documentation - run: | - for genBase in $(cat ./genDirs.txt); do - for lang in $(cat ./languages.txt); do - subDirsCount=$(find ./lib/genSpecs/$genBase/* -maxdepth 0 -type d | wc -l) - - if [ "$subDirsCount" -gt "0" ]; then - subDirs=$(ls -d ./lib/genSpecs/$genBase/*/) - for subDir in $subDirs; do - gen="$genBase/$(basename $subDir)" - for jsFile in $(find ./lib/genSpecs/$gen -name "*.js"); do - fileName=$(basename -- $jsFile) - baseName="${fileName%.*}" - outputPath="./docs/$lang/$gen/${baseName}.md" - mkdir -p $(dirname $outputPath) - jsdoc2md --template ./lib/genSpecs/$gen/${baseName}.hbs ./tempTranslated/$gen/${baseName}_${lang}.js > $outputPath - done - done - else - gen=$genBase - for jsFile in $(find ./lib/genSpecs/$gen -name "*.js"); do - fileName=$(basename -- $jsFile) - baseName="${fileName%.*}" - outputPath="./docs/$lang/$gen/${baseName}.md" - mkdir -p $(dirname $outputPath) - jsdoc2md --template ./lib/genSpecs/$gen/${baseName}.hbs ./tempTranslated/$gen/${baseName}_${lang}.js > $outputPath - done - fi - done - done - - - name: Cleanup - run: rm -r tempTranslated genDirs.txt languages.txt - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: 'Update JSDoc documentation' - title: 'Update JSDoc documentation' - body: 'This PR updates the documentation.' - branch: 'update-docs' diff --git a/README.md b/README.md index 53d5ca060d..ad25f84bb9 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,9 @@ This feature only works when map creation is enabled in the adapter options! Placeholder for the next version (at the beginning of the line): ### **WORK IN PROGRESS** --> +### **WORK IN PROGRESS** +* (copystring) Fix io-package.json and update packages + ### 0.6.3 (2024-04-21) * (copystring) Add consumables to Qrevo MaxV * (copystring) Fix S5 Max clean records defintion diff --git a/io-package.json b/io-package.json index 494876361c..8502efef80 100644 --- a/io-package.json +++ b/io-package.json @@ -2,6 +2,7 @@ "common": { "name": "roborock", "version": "0.6.3", + "tier": 1, "news": { "0.6.3": { "en": "Add consumables to Qrevo MaxV\nFix S5 Max clean records defintion\nFix app_start via web interface\nImprove local devices discovery", @@ -129,7 +130,11 @@ "template", "home automation" ], - "license": "MIT", + "licenseInformation": { + "license": "MIT", + "type": "free", + "link": "https://github.com/copystring/ioBroker.roborock/blob/main/README.md" + }, "platform": "Javascript/Node.js", "main": "main.js", "icon": "roborock.png", diff --git a/package-lock.json b/package-lock.json index 7624a954b8..598b7d4736 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.6.3", "license": "MIT", "dependencies": { - "@iobroker/adapter-core": "^3.0.4", + "@iobroker/adapter-core": "^3.0.6", "@sentry/node": "^7.91.0", "@sentry/tracing": "^7.99.0", "@terascope/fetch-github-release": "^0.8.7", @@ -63,9 +63,9 @@ } }, "node_modules/@alcalzone/pak": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/@alcalzone/pak/-/pak-0.10.1.tgz", - "integrity": "sha512-h7XjOabYWFXWy4gv4KI1TZdzI/0oqe4bGZ2iyi7phldchCxf8+fgz3/ThGdQSd7oJMGJH+hmO1z/b9mb887bvg==", + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@alcalzone/pak/-/pak-0.10.2.tgz", + "integrity": "sha512-v+kM7HlfIVNLDlGBcbZvrG3yVK3rPLH5kIoGRJbCcoHwpUqQbfEMzXAy1ZrfP+zbI5phHw2PhgrXZr3z6nh7Ow==", "dev": true, "dependencies": { "axios": "^1.6.2", @@ -253,9 +253,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz", - "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz", + "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -265,9 +265,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz", - "integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.4.tgz", + "integrity": "sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -932,9 +932,9 @@ "dev": true }, "node_modules/@iobroker/adapter-core": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@iobroker/adapter-core/-/adapter-core-3.0.6.tgz", - "integrity": "sha512-uoCDbd5gEPqUYAb2qY6L+ovpycK2JS9dqB85a53WNZ5sGjcm5ChA7kKcsZD7NpMM9pBFb7tJSviosPPalbXQTA==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@iobroker/adapter-core/-/adapter-core-3.1.4.tgz", + "integrity": "sha512-RYDGB8Vk/MEKvMMwo4fLgxY8kjHrCeQmqROo/JxQYiLBEA4/gwFCTpxdD6s7RQ+dh4yZoH16/yTWqdgyR6NAxQ==", "engines": { "npm": ">=7.0.0" }, @@ -980,9 +980,9 @@ } }, "node_modules/@iobroker/testing": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@iobroker/testing/-/testing-4.1.1.tgz", - "integrity": "sha512-TGl0o+ejiSUuJiyv6bYgOCkv3w/bOo0eEThAgl3sG3nyiWDBLuXCbtE18UlRLbFyYLOWZ1KETp1f0x7kHMKLxA==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@iobroker/testing/-/testing-4.1.3.tgz", + "integrity": "sha512-PTfvlXQBXDJVX35bkJxzgjuMX6bEjUmB4Dy8+bWLqbOgyq1JQVrRn+ah5IB7hEf+4lP8wD0MpAjXFJTv3zfTvA==", "dev": true, "dependencies": { "alcalzone-shared": "~4.0.3", @@ -1033,9 +1033,9 @@ } }, "node_modules/@jsdoc/salty": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.7.tgz", - "integrity": "sha512-mh8LbS9d4Jq84KLw8pzho7XC2q2/IJGiJss3xwRoLD1A+EE16SjN4PfaG4jRCzKegTFLlN0Zd8SdUPE6XdoPFg==", + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.8.tgz", + "integrity": "sha512-5e+SFVavj1ORKlKaKr2BmTOekmXbelU7dC0cDkQLqag7xfuTPuGMUFx7KWJuv4bYZrTsoL2Z18VVCOKYxzoHcg==", "dev": true, "dependencies": { "lodash": "^4.17.21" @@ -1283,69 +1283,69 @@ "dev": true }, "node_modules/@sentry-internal/tracing": { - "version": "7.109.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.109.0.tgz", - "integrity": "sha512-PzK/joC5tCuh2R/PRh+7dp+uuZl7pTsBIjPhVZHMTtb9+ls65WkdZJ1/uKXPouyz8NOo9Xok7aEvEo9seongyw==", + "version": "7.111.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.111.0.tgz", + "integrity": "sha512-CgXly8rsdu4loWVKi2RqpInH3C2cVBuaYsx4ZP5IJpzSinsUAMyyr3Pc0PZzCyoVpBBXGBGj/4HhFsY3q6Z0Vg==", "dependencies": { - "@sentry/core": "7.109.0", - "@sentry/types": "7.109.0", - "@sentry/utils": "7.109.0" + "@sentry/core": "7.111.0", + "@sentry/types": "7.111.0", + "@sentry/utils": "7.111.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/core": { - "version": "7.109.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.109.0.tgz", - "integrity": "sha512-xwD4U0IlvvlE/x/g/W1I8b4Cfb16SsCMmiEuBf6XxvAa3OfWBxKoqLifb3GyrbxMC4LbIIZCN/SvLlnGJPgszA==", + "version": "7.111.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.111.0.tgz", + "integrity": "sha512-/ljeMjZu8CSrLGrseBi/7S2zRIFsqMcvfyG6Nwgfc07J9nbHt8/MqouE1bXZfiaILqDBpK7BK9MLAAph4mkAWg==", "dependencies": { - "@sentry/types": "7.109.0", - "@sentry/utils": "7.109.0" + "@sentry/types": "7.111.0", + "@sentry/utils": "7.111.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/node": { - "version": "7.109.0", - "resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.109.0.tgz", - "integrity": "sha512-tqMNAES4X/iBl1eZRCmc29p//0id01FBLEiesNo5nk6ECl6/SaGMFAEwu1gsn90h/Bjgr04slwFOS4cR45V2PQ==", + "version": "7.111.0", + "resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.111.0.tgz", + "integrity": "sha512-bTLZNETT7W89HEk04rwsch02KSpu++Yec/BEyM3AxUNY+ZQ9ZLL/lrNZuCwbe7fURpKoZrvGAhxpPjgs5UcB9w==", "dependencies": { - "@sentry-internal/tracing": "7.109.0", - "@sentry/core": "7.109.0", - "@sentry/types": "7.109.0", - "@sentry/utils": "7.109.0" + "@sentry-internal/tracing": "7.111.0", + "@sentry/core": "7.111.0", + "@sentry/types": "7.111.0", + "@sentry/utils": "7.111.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/tracing": { - "version": "7.109.0", - "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.109.0.tgz", - "integrity": "sha512-lgveekdd/XLgQ6oZLvcRGUWBIOAZ7QwbjLHEd8zzeKubHbIwFzMkhIejskqLi2z2OwzrYl5q+Zo1jS1z9f62YQ==", + "version": "7.111.0", + "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.111.0.tgz", + "integrity": "sha512-+BHvdCJxcNnBkru3Y5aFZssEwyNU/mwPTSZqYOhFilokVIrDmVrP/R9g8jHSUqXF4KwB3RaknTPj/4484Z0erA==", "dependencies": { - "@sentry-internal/tracing": "7.109.0" + "@sentry-internal/tracing": "7.111.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/types": { - "version": "7.109.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.109.0.tgz", - "integrity": "sha512-egCBnDv3YpVFoNzRLdP0soVrxVLCQ+rovREKJ1sw3rA2/MFH9WJ+DZZexsX89yeAFzy1IFsCp7/dEqudusml6g==", + "version": "7.111.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.111.0.tgz", + "integrity": "sha512-Oti4pgQ55+FBHKKcHGu51ZUxO1u52G5iVNK4mbtAN+5ArSCy/2s1H8IDJiOMswn3acfUnCR0oB/QsbEgAPZ26g==", "engines": { "node": ">=8" } }, "node_modules/@sentry/utils": { - "version": "7.109.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.109.0.tgz", - "integrity": "sha512-3RjxMOLMBwZ5VSiH84+o/3NY2An4Zldjz0EbfEQNRY9yffRiCPJSQiCJID8EoylCFOh/PAhPimBhqbtWJxX6iw==", + "version": "7.111.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.111.0.tgz", + "integrity": "sha512-CB5rz1EgCSwj3xoXogsCZ5pQtfERrURc/ItcCuoaijUhkD0iMq5MCNWMHW3mBsBrqx/Oba+XGvDu0t/5+SWwBg==", "dependencies": { - "@sentry/types": "7.109.0" + "@sentry/types": "7.111.0" }, "engines": { "node": ">=8" @@ -1532,9 +1532,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.19.28", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.28.tgz", - "integrity": "sha512-J5cOGD9n4x3YGgVuaND6khm5x07MMdAKkRyXnjVR6KFhLMNh2yONGiP7Z+4+tBOt5mK+GvDTiacTOVGGpqiecw==", + "version": "18.19.31", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.31.tgz", + "integrity": "sha512-ArgCD39YpyyrtFKIqMDvjz79jto5fcI/SVUs2HwB+f0dAzq68yqOdyaSivLiLugSziTpNXLQrVb7RZFmdZzbhA==", "dependencies": { "undici-types": "~5.26.4" } @@ -5306,9 +5306,9 @@ "dev": true }, "node_modules/mqtt": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/mqtt/-/mqtt-5.5.0.tgz", - "integrity": "sha512-8WGQpjEzABcCh/UwLj7XaEoLsSLHJrJK3YLu57fJoLUBdz6zPGFdxWK3i1YYdPqKDu0sU6YHt+tly/qdLsLiyg==", + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/mqtt/-/mqtt-5.5.3.tgz", + "integrity": "sha512-R5fTibItlB5kvikTrU29ZgImvAch2ihKMyuvN3CJqd6nsZuearCSv3IGqxEdsSIXxflK6lGDgFmqnsnyJqzYtQ==", "dependencies": { "@types/readable-stream": "^4.0.5", "@types/ws": "^8.5.9", @@ -5425,9 +5425,9 @@ } }, "node_modules/nise/node_modules/path-to-regexp": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", - "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz", + "integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==", "dev": true }, "node_modules/node-fetch": { @@ -6900,9 +6900,9 @@ "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" }, "node_modules/typescript": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz", - "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -7104,33 +7104,33 @@ } }, "node_modules/worker-timers": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/worker-timers/-/worker-timers-7.1.6.tgz", - "integrity": "sha512-yNd+WSL5T8fyKTM3iIxrH4VQkB0EhQJAVsOQCyAbb56bNHc70ADLAMFi4g2m7dD4S0jcSoJxmiy7FB9fy1e4JA==", + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/worker-timers/-/worker-timers-7.1.7.tgz", + "integrity": "sha512-Dr4La61d94SjOA8P57h2LN8W3MXOVe/m1P7jER8cmuIy+JaDMqPttSwo6QRJFSK6YnG9cD6SU7J8m7CVlu8jlw==", "dependencies": { - "@babel/runtime": "^7.24.1", + "@babel/runtime": "^7.24.4", "tslib": "^2.6.2", - "worker-timers-broker": "^6.1.6", - "worker-timers-worker": "^7.0.69" + "worker-timers-broker": "^6.1.7", + "worker-timers-worker": "^7.0.70" } }, "node_modules/worker-timers-broker": { - "version": "6.1.6", - "resolved": "https://registry.npmjs.org/worker-timers-broker/-/worker-timers-broker-6.1.6.tgz", - "integrity": "sha512-ZRRjoIVU3vHJlDur51qHRY0hNExyXfmP9vEVu9FIlTNtsL/bYBreryFMD/NUBSyDE7IHTEc1PUG9J0q9OB4E5w==", + "version": "6.1.7", + "resolved": "https://registry.npmjs.org/worker-timers-broker/-/worker-timers-broker-6.1.7.tgz", + "integrity": "sha512-8hb4lSMAijDY/Dp/MOw9Hc2x6uU59XWFYjcWQgC4bai+sxcLXjeexd9aYKdYMFZPiPoieGzMYIs9WGpv2Co3eA==", "dependencies": { - "@babel/runtime": "^7.24.1", + "@babel/runtime": "^7.24.4", "fast-unique-numbers": "^8.0.13", "tslib": "^2.6.2", - "worker-timers-worker": "^7.0.69" + "worker-timers-worker": "^7.0.70" } }, "node_modules/worker-timers-worker": { - "version": "7.0.69", - "resolved": "https://registry.npmjs.org/worker-timers-worker/-/worker-timers-worker-7.0.69.tgz", - "integrity": "sha512-ykpImmLGYw/l9IuM6gklY0wd7WBXfNyQgzR2jEb8uMPHZhM5i8KWHTy3xb0Kr2QVwooU5eE0xAG6FiFYHPOssQ==", + "version": "7.0.70", + "resolved": "https://registry.npmjs.org/worker-timers-worker/-/worker-timers-worker-7.0.70.tgz", + "integrity": "sha512-lemWEME0RHB78hzGkkQcKfF6L82gqVhV3T9iY14jHBhbLxLq9t1RRCLmPDBZV7sdnUoW6Khkfn6coqPjgEK6cw==", "dependencies": { - "@babel/runtime": "^7.24.1", + "@babel/runtime": "^7.24.4", "tslib": "^2.6.2" } },