diff --git a/package-lock.json b/package-lock.json index 5cb5d83..67926cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "@types/node": "^22.10.1", "@types/proxyquire": "^1.3.31", "@types/sinon": "^17.0.3", - "@types/sinon-chai": "^3.2.12", + "@types/sinon-chai": "^4.0.0", "@typescript-eslint/eslint-plugin": "^6.20.0", "chai": "^4.4.1", "chai-as-promised": "^8.0.1", @@ -34,7 +34,7 @@ "proxyquire": "^2.1.3", "rimraf": "^5.0.5", "sinon": "^19.0.2", - "sinon-chai": "^3.7.0", + "sinon-chai": "^4.0.0", "ts-node": "^10.9.2", "typescript": "^5.7.2" }, @@ -1418,6 +1418,17 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, + "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": "6.0.11", "resolved": "https://registry.npmjs.org/@iobroker/types/-/types-6.0.11.tgz", @@ -1843,10 +1854,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": "*" @@ -7050,12 +7062,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" } }, diff --git a/package.json b/package.json index e0fb3d4..fe9fb73 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@types/node": "^22.10.1", "@types/proxyquire": "^1.3.31", "@types/sinon": "^17.0.3", - "@types/sinon-chai": "^3.2.12", + "@types/sinon-chai": "^4.0.0", "@typescript-eslint/eslint-plugin": "^6.20.0", "chai": "^4.4.1", "chai-as-promised": "^8.0.1", @@ -54,7 +54,7 @@ "proxyquire": "^2.1.3", "rimraf": "^5.0.5", "sinon": "^19.0.2", - "sinon-chai": "^3.7.0", + "sinon-chai": "^4.0.0", "ts-node": "^10.9.2", "typescript": "^5.7.2" },