diff --git a/package-lock.json b/package-lock.json index 4ac44fd..4322cfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@types/sinon": "^17.0.3", "@types/sinon-chai": "^3.2.12", "chai": "^4.5.0", - "chai-as-promised": "^7.1.2", + "chai-as-promised": "^8.0.1", "cpy-cli": "^5.0.0", "mocha": "^10.7.3", "prettier": "^3.3.3", @@ -37,7 +37,7 @@ "node": ">=16" }, "peerDependencies": { - "@iobroker/types": "^6.0.11" + "@iobroker/types": ">=6.0.11" } }, "node_modules/@alcalzone/esm2cjs": { @@ -1709,17 +1709,28 @@ } }, "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==", + "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, + "license": "MIT", "dependencies": { - "check-error": "^1.0.2" + "check-error": "^2.0.0" }, "peerDependencies": { "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, + "license": "MIT", + "engines": { + "node": ">= 16" + } + }, "node_modules/chai/node_modules/type-detect": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", diff --git a/package.json b/package.json index 72e65fc..3c8c6ac 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "@types/sinon": "^17.0.3", "@types/sinon-chai": "^3.2.12", "chai": "^4.5.0", - "chai-as-promised": "^7.1.2", + "chai-as-promised": "^8.0.1", "cpy-cli": "^5.0.0", "mocha": "^10.7.3", "prettier": "^3.3.3",