From 7931fb839c00c44eeaa35d52694c328ad30dc467 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 4 Nov 2024 03:56:26 +0000
Subject: [PATCH] chore: update dependency chai-as-promised to v8

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
 package-lock.json | 20 +++++++++++++++-----
 package.json      |  2 +-
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 26db19e9..fbe4d63c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -19,7 +19,7 @@
       "devDependencies": {
         "@commitlint/config-conventional": "^19.5.0",
         "chai": "^4.5.0",
-        "chai-as-promised": "^7.1.2",
+        "chai-as-promised": "^8.0.0",
         "commitlint": "^19.5.0",
         "eslint": "^8.57.1",
         "eslint-config-loopback": "^13.1.0",
@@ -1319,18 +1319,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/chalk": {
       "version": "5.3.0",
       "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
diff --git a/package.json b/package.json
index a9cd462a..623761d9 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
   "devDependencies": {
     "@commitlint/config-conventional": "^19.5.0",
     "chai": "^4.5.0",
-    "chai-as-promised": "^7.1.2",
+    "chai-as-promised": "^8.0.0",
     "commitlint": "^19.5.0",
     "eslint": "^8.57.1",
     "eslint-config-loopback": "^13.1.0",