From e6063465aa4e01fc55760d6ec009dd1ea0fedec7 Mon Sep 17 00:00:00 2001 From: Self-hosted Renovate Bot <133977723+balena-renovate[bot]@users.noreply.github.com> Date: Sat, 31 Aug 2024 05:49:57 +0000 Subject: [PATCH] Update chai-as-promised to v8 Update @types/chai-as-promised from 7.1.8 to 8.0.0 Change-type: patch --- package-lock.json | 28 +++++++++++++++++++--------- package.json | 4 ++-- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 058ca6f3..1d6ebb7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "devDependencies": { "@balena/lint": "^8.0.1", "@types/chai": "^4.3.14", - "@types/chai-as-promised": "^7.1.8", + "@types/chai-as-promised": "^8.0.0", "@types/chai-like": "^1.1.3", "@types/chai-things": "0.0.38", "@types/mocha": "^10.0.6", @@ -25,7 +25,7 @@ "@types/sinon": "^17.0.3", "@types/sinon-chai": "^3.2.12", "chai": "^4.4.1", - "chai-as-promised": "^7.1.1", + "chai-as-promised": "^8.0.0", "chai-like": "^1.1.1", "chai-things": "^0.2.0", "dotenv": "^16.4.5", @@ -1069,9 +1069,9 @@ "license": "MIT" }, "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, "license": "MIT", "dependencies": { @@ -2187,18 +2187,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.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, "license": "WTFPL", "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/chai-like": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/chai-like/-/chai-like-1.1.1.tgz", diff --git a/package.json b/package.json index c1fb9fe4..9a76f7bc 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "devDependencies": { "@balena/lint": "^8.0.1", "@types/chai": "^4.3.14", - "@types/chai-as-promised": "^7.1.8", + "@types/chai-as-promised": "^8.0.0", "@types/chai-like": "^1.1.3", "@types/chai-things": "0.0.38", "@types/mocha": "^10.0.6", @@ -53,7 +53,7 @@ "@types/sinon": "^17.0.3", "@types/sinon-chai": "^3.2.12", "chai": "^4.4.1", - "chai-as-promised": "^7.1.1", + "chai-as-promised": "^8.0.0", "chai-like": "^1.1.1", "chai-things": "^0.2.0", "dotenv": "^16.4.5",