diff --git a/package-lock.json b/package-lock.json index 110b00b..8e05be9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@iobroker/eslint-config": "^1.0.0", "@iobroker/testing": "^5.0.0", "chai": "^4.5.0", - "chai-as-promised": "^7.1.2", + "chai-as-promised": "^8.0.1", "mocha": "^10.8.2", "sinon": "^18.0.0", "sinon-chai": "^3.7.0" @@ -1174,6 +1174,19 @@ "@sinonjs/commons": "^3.0.1" } }, + "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, + "license": "WTFPL", + "dependencies": { + "check-error": "^1.0.2" + }, + "peerDependencies": { + "chai": ">= 2.1.2 < 6" + } + }, "node_modules/@iobroker/testing/node_modules/diff": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", @@ -2333,17 +2346,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/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", diff --git a/package.json b/package.json index 0441bdb..8fd9d2d 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@iobroker/eslint-config": "^1.0.0", "@iobroker/testing": "^5.0.0", "chai": "^4.5.0", - "chai-as-promised": "^7.1.2", + "chai-as-promised": "^8.0.1", "mocha": "^10.8.2", "sinon": "^18.0.0", "sinon-chai": "^3.7.0"