From b1022a925b3beed7ff5a7e743055de63264cdf09 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 07:03:34 +0000 Subject: [PATCH] Bump sinon-chai and @types/sinon-chai Bumps [sinon-chai](https://github.com/chaijs/sinon-chai) and [@types/sinon-chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon-chai). These dependencies needed to be updated together. Updates `sinon-chai` from 3.7.0 to 4.0.0 - [Release notes](https://github.com/chaijs/sinon-chai/releases) - [Changelog](https://github.com/chaijs/sinon-chai/blob/master/CHANGELOG.md) - [Commits](https://github.com/chaijs/sinon-chai/compare/3.7.0...4.0.0) Updates `@types/sinon-chai` from 3.2.12 to 4.0.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon-chai) --- updated-dependencies: - dependency-name: sinon-chai dependency-type: direct:development update-type: version-update:semver-major - dependency-name: "@types/sinon-chai" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 52 +++++++++++++++++++++++++++++++++-------------- package.json | 4 ++-- 2 files changed, 39 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 37d8bc5..71ad2d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "@types/node": "^20.4.4", "@types/proxyquire": "^1.3.28", "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", + "@types/sinon-chai": "^4.0.0", "axios": "^0.26.0", "chai": "^4.3.7", "chai-as-promised": "^7.1.1", @@ -37,7 +37,7 @@ "prettier": "^3.0.0", "proxyquire": "^2.1.3", "sinon": "^15.2.0", - "sinon-chai": "^3.7.0", + "sinon-chai": "^4.0.0", "typescript": "5.4.2" } }, @@ -506,6 +506,17 @@ "sinon-chai": "^3.7.0" } }, + "node_modules/@iobroker/testing/node_modules/sinon-chai": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-3.7.0.tgz", + "integrity": "sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g==", + "dev": true, + "license": "(BSD-2-Clause OR WTFPL)", + "peerDependencies": { + "chai": "^4.0.0", + "sinon": ">=4.0.0" + } + }, "node_modules/@iobroker/types": { "version": "5.0.11", "resolved": "https://registry.npmjs.org/@iobroker/types/-/types-5.0.11.tgz", @@ -849,10 +860,11 @@ } }, "node_modules/@types/sinon-chai": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-3.2.12.tgz", - "integrity": "sha512-9y0Gflk3b0+NhQZ/oxGtaAJDvRywCa5sIyaVnounqLvmf93yBF4EgIRspePtkMs3Tr844nCclYMlcCNmLCvjuQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-4.0.0.tgz", + "integrity": "sha512-Uar+qk3TmeFsUWCwtqRNqNUE7vf34+MCJiQJR5M2rd4nCbhtE8RgTiHwN/mVwbfCjhmO6DiOel/MgzHkRMJJFg==", "dev": true, + "license": "MIT", "dependencies": { "@types/chai": "*", "@types/sinon": "*" @@ -6849,12 +6861,13 @@ } }, "node_modules/sinon-chai": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-3.7.0.tgz", - "integrity": "sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-4.0.0.tgz", + "integrity": "sha512-cWqO7O2I4XfJDWyWElAQ9D/dtdh5Mo0RHndsfiiYyjWnlPzBJdIvjCVURO4EjyYaC3BjV+ISNXCfTXPXTEIEWA==", "dev": true, + "license": "(BSD-2-Clause OR WTFPL)", "peerDependencies": { - "chai": "^4.0.0", + "chai": "^5.0.0", "sinon": ">=4.0.0" } }, @@ -8339,6 +8352,15 @@ "mocha": "^10.2.0", "sinon": "^15.0.1", "sinon-chai": "^3.7.0" + }, + "dependencies": { + "sinon-chai": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-3.7.0.tgz", + "integrity": "sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g==", + "dev": true, + "requires": {} + } } }, "@iobroker/types": { @@ -8582,9 +8604,9 @@ } }, "@types/sinon-chai": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-3.2.12.tgz", - "integrity": "sha512-9y0Gflk3b0+NhQZ/oxGtaAJDvRywCa5sIyaVnounqLvmf93yBF4EgIRspePtkMs3Tr844nCclYMlcCNmLCvjuQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-4.0.0.tgz", + "integrity": "sha512-Uar+qk3TmeFsUWCwtqRNqNUE7vf34+MCJiQJR5M2rd4nCbhtE8RgTiHwN/mVwbfCjhmO6DiOel/MgzHkRMJJFg==", "dev": true, "requires": { "@types/chai": "*", @@ -13236,9 +13258,9 @@ } }, "sinon-chai": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-3.7.0.tgz", - "integrity": "sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-4.0.0.tgz", + "integrity": "sha512-cWqO7O2I4XfJDWyWElAQ9D/dtdh5Mo0RHndsfiiYyjWnlPzBJdIvjCVURO4EjyYaC3BjV+ISNXCfTXPXTEIEWA==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index f058297..b24795e 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@types/proxyquire": "^1.3.28", "axios": "^0.26.0", "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", + "@types/sinon-chai": "^4.0.0", "chai": "^4.3.7", "chai-as-promised": "^7.1.1", "gulp": "^4.0.2", @@ -53,7 +53,7 @@ "prettier": "^3.0.0", "proxyquire": "^2.1.3", "sinon": "^15.2.0", - "sinon-chai": "^3.7.0", + "sinon-chai": "^4.0.0", "typescript": "5.4.2" }, "main": "main.js",