diff --git a/package-lock.json b/package-lock.json index 37d8bc5..b30d99a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@alcalzone/release-script-plugin-manual-review": "^3.5.9", "@iobroker/testing": "^4.1.0", "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", + "@types/chai-as-promised": "^8.0.1", "@types/mocha": "^10.0.1", "@types/node": "^20.4.4", "@types/proxyquire": "^1.3.28", @@ -28,7 +28,7 @@ "@types/sinon-chai": "^3.2.9", "axios": "^0.26.0", "chai": "^4.3.7", - "chai-as-promised": "^7.1.1", + "chai-as-promised": "^8.0.1", "eslint": "^8.45.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^5.0.0", @@ -506,6 +506,18 @@ "sinon-chai": "^3.7.0" } }, + "node_modules/@iobroker/testing/node_modules/chai-as-promised": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.2.tgz", + "integrity": "sha512-aBDHZxRzYnUYuIAIPBH2s511DjlKPzXNlXSGFC8CwmroWQLfrW0LtE1nK3MAwwNhJPa9raEjNCmRoFpG0Hurdw==", + "dev": true, + "dependencies": { + "check-error": "^1.0.2" + }, + "peerDependencies": { + "chai": ">= 2.1.2 < 6" + } + }, "node_modules/@iobroker/types": { "version": "5.0.11", "resolved": "https://registry.npmjs.org/@iobroker/types/-/types-5.0.11.tgz", @@ -810,9 +822,9 @@ "dev": true }, "node_modules/@types/chai-as-promised": { - "version": "7.1.8", - "resolved": "https://registry.npmjs.org/@types/chai-as-promised/-/chai-as-promised-7.1.8.tgz", - "integrity": "sha512-ThlRVIJhr69FLlh6IctTXFkmhtP3NpMZ2QGq69StYLyKZFp/HOp1VdKZj7RvfNWYYcJ1xlbLGLLWj1UvP5u/Gw==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@types/chai-as-promised/-/chai-as-promised-8.0.1.tgz", + "integrity": "sha512-dAlDhLjJlABwAVYObo9TPWYTRg9NaQM5CXeaeJYcYAkvzUf0JRLIiog88ao2Wqy/20WUnhbbUZcgvngEbJ3YXQ==", "dev": true, "dependencies": { "@types/chai": "*" @@ -1554,15 +1566,24 @@ } }, "node_modules/chai-as-promised": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.1.tgz", - "integrity": "sha512-azL6xMoi+uxu6z4rhWQ1jbdUhOMhis2PvscD/xjLqNMkv3BPPp2JyyuTHOrf9BOosGpNQ11v6BKv/g57RXbiaA==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-8.0.1.tgz", + "integrity": "sha512-OIEJtOL8xxJSH8JJWbIoRjybbzR52iFuDHuF8eb+nTPD6tgXLjRqsgnUGqQfFODxYvq5QdirT0pN9dZ0+Gz6rA==", "dev": true, "dependencies": { - "check-error": "^1.0.2" + "check-error": "^2.0.0" }, "peerDependencies": { - "chai": ">= 2.1.2 < 5" + "chai": ">= 2.1.2 < 6" + } + }, + "node_modules/chai-as-promised/node_modules/check-error": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz", + "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==", + "dev": true, + "engines": { + "node": ">= 16" } }, "node_modules/chalk": { @@ -8339,6 +8360,17 @@ "mocha": "^10.2.0", "sinon": "^15.0.1", "sinon-chai": "^3.7.0" + }, + "dependencies": { + "chai-as-promised": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.2.tgz", + "integrity": "sha512-aBDHZxRzYnUYuIAIPBH2s511DjlKPzXNlXSGFC8CwmroWQLfrW0LtE1nK3MAwwNhJPa9raEjNCmRoFpG0Hurdw==", + "dev": true, + "requires": { + "check-error": "^1.0.2" + } + } } }, "@iobroker/types": { @@ -8543,9 +8575,9 @@ "dev": true }, "@types/chai-as-promised": { - "version": "7.1.8", - "resolved": "https://registry.npmjs.org/@types/chai-as-promised/-/chai-as-promised-7.1.8.tgz", - "integrity": "sha512-ThlRVIJhr69FLlh6IctTXFkmhtP3NpMZ2QGq69StYLyKZFp/HOp1VdKZj7RvfNWYYcJ1xlbLGLLWj1UvP5u/Gw==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@types/chai-as-promised/-/chai-as-promised-8.0.1.tgz", + "integrity": "sha512-dAlDhLjJlABwAVYObo9TPWYTRg9NaQM5CXeaeJYcYAkvzUf0JRLIiog88ao2Wqy/20WUnhbbUZcgvngEbJ3YXQ==", "dev": true, "requires": { "@types/chai": "*" @@ -9137,12 +9169,20 @@ } }, "chai-as-promised": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.1.tgz", - "integrity": "sha512-azL6xMoi+uxu6z4rhWQ1jbdUhOMhis2PvscD/xjLqNMkv3BPPp2JyyuTHOrf9BOosGpNQ11v6BKv/g57RXbiaA==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-8.0.1.tgz", + "integrity": "sha512-OIEJtOL8xxJSH8JJWbIoRjybbzR52iFuDHuF8eb+nTPD6tgXLjRqsgnUGqQfFODxYvq5QdirT0pN9dZ0+Gz6rA==", "dev": true, "requires": { - "check-error": "^1.0.2" + "check-error": "^2.0.0" + }, + "dependencies": { + "check-error": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz", + "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==", + "dev": true + } } }, "chalk": { diff --git a/package.json b/package.json index f058297..edd177f 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@alcalzone/release-script-plugin-manual-review": "^3.5.9", "@iobroker/testing": "^4.1.0", "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", + "@types/chai-as-promised": "^8.0.1", "@types/mocha": "^10.0.1", "@types/node": "^20.4.4", "@types/proxyquire": "^1.3.28", @@ -44,7 +44,7 @@ "@types/sinon": "^10.0.15", "@types/sinon-chai": "^3.2.9", "chai": "^4.3.7", - "chai-as-promised": "^7.1.1", + "chai-as-promised": "^8.0.1", "gulp": "^4.0.2", "eslint": "^8.45.0", "eslint-config-prettier": "^8.8.0",