From 911be37cd1f807ae8b69e3e2c1d6cfd1f7fc2479 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Sep 2024 06:47:32 +0000 Subject: [PATCH] Bump chai-as-promised and @types/chai-as-promised Bumps [chai-as-promised](https://github.com/chaijs/chai-as-promised) and [@types/chai-as-promised](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai-as-promised). These dependencies needed to be updated together. Updates `chai-as-promised` from 7.1.2 to 8.0.0 - [Release notes](https://github.com/chaijs/chai-as-promised/releases) - [Commits](https://github.com/chaijs/chai-as-promised/compare/v7.1.2...v8.0.0) Updates `@types/chai-as-promised` from 7.1.8 to 8.0.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai-as-promised) --- updated-dependencies: - dependency-name: chai-as-promised dependency-type: direct:development update-type: version-update:semver-major - dependency-name: "@types/chai-as-promised" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 39 ++++++++++++++++++++++++++++++--------- package.json | 4 ++-- 2 files changed, 32 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6698866..7aa75a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,14 +20,14 @@ "@iobroker/adapter-dev": "^1.0.1", "@iobroker/testing": "^5.0.0", "@types/chai": "^4.3.6", - "@types/chai-as-promised": "^7.1.7", + "@types/chai-as-promised": "^8.0.0", "@types/mocha": "^10.0.6", "@types/node": "^22.5.1", "@types/proxyquire": "^1.3.31", "@types/sinon": "^10.0.16", "@types/sinon-chai": "^3.2.11", "chai": "^4.3.10", - "chai-as-promised": "^7.1.1", + "chai-as-promised": "^8.0.0", "mocha": "^10.2.0", "prettier": "^3.1.0", "proxyquire": "^2.1.3", @@ -881,6 +881,18 @@ "@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, + "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", @@ -1102,9 +1114,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.0", + "resolved": "https://registry.npmjs.org/@types/chai-as-promised/-/chai-as-promised-8.0.0.tgz", + "integrity": "sha512-YbYaXFqJwSABp9OXQTVrPPmstZgNjkRieWVd/xAl5Yc/e5+F44bXLeQggpvm0sjsS1bg+2Y5cwU+rquwwD2dXA==", "dev": true, "dependencies": { "@types/chai": "*" @@ -1489,17 +1501,26 @@ } }, "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.0", + "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-8.0.0.tgz", + "integrity": "sha512-sMsGXTrS3FunP/wbqh/KxM8Kj/aLPXQGkNtvE5wPfSToq8wkkvBpTZo1LIiEVmC4BwkKpag+l5h/20lBMk6nUg==", "dev": true, "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, + "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 2499663..b067569 100644 --- a/package.json +++ b/package.json @@ -34,14 +34,14 @@ "@iobroker/adapter-dev": "^1.0.1", "@iobroker/testing": "^5.0.0", "@types/chai": "^4.3.6", - "@types/chai-as-promised": "^7.1.7", + "@types/chai-as-promised": "^8.0.0", "@types/mocha": "^10.0.6", "@types/node": "^22.5.1", "@types/proxyquire": "^1.3.31", "@types/sinon": "^10.0.16", "@types/sinon-chai": "^3.2.11", "chai": "^4.3.10", - "chai-as-promised": "^7.1.1", + "chai-as-promised": "^8.0.0", "mocha": "^10.2.0", "prettier": "^3.1.0", "proxyquire": "^2.1.3",