From 5c5b9a4407497667b833fc454d4374ba24a16ec4 Mon Sep 17 00:00:00 2001 From: Mathieu Gilet Date: Thu, 19 Sep 2024 15:02:42 +0200 Subject: [PATCH] [BUMP] Update dependency chai to v5 (dossier racine) --- package-lock.json | 42 +++++++++++++++--------------------------- package.json | 4 ++-- 2 files changed, 17 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9d7087e..822926a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,12 +14,12 @@ }, "devDependencies": { "chai": "^5.0.0", - "chai-as-promised": "^7.1.1", + "chai-as-promised": "^8.0.0", "mocha": "^10.0.0", "nock": "^13.2.9", "nyc": "^15.1.0", "sinon": "^17.0.0", - "sinon-chai": "^3.7.0" + "sinon-chai": "^4.0.0" } }, "node_modules/@ampproject/remapping": { @@ -909,24 +909,15 @@ } }, "node_modules/chai-as-promised": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.1.tgz", - "integrity": "sha512-azL6xMoi+uxu6z4rhWQ1jbdUhOMhis2PvscD/xjLqNMkv3BPPp2JyyuTHOrf9BOosGpNQ11v6BKv/g57RXbiaA==", + "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 < 5" - } - }, - "node_modules/chai/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" + "chai": ">= 2.1.2 < 6" } }, "node_modules/chalk": { @@ -958,15 +949,12 @@ } }, "node_modules/check-error": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", - "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz", + "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==", "dev": true, - "dependencies": { - "get-func-name": "^2.0.2" - }, "engines": { - "node": "*" + "node": ">= 16" } }, "node_modules/chokidar": { @@ -2651,12 +2639,12 @@ } }, "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, "peerDependencies": { - "chai": "^4.0.0", + "chai": "^5.0.0", "sinon": ">=4.0.0" } }, diff --git a/package.json b/package.json index 1eb8ffa..0adc841 100644 --- a/package.json +++ b/package.json @@ -26,11 +26,11 @@ }, "devDependencies": { "chai": "^5.0.0", - "chai-as-promised": "^7.1.1", + "chai-as-promised": "^8.0.0", "mocha": "^10.0.0", "nock": "^13.2.9", "nyc": "^15.1.0", "sinon": "^17.0.0", - "sinon-chai": "^3.7.0" + "sinon-chai": "^4.0.0" } }