summaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/regeneratorRuntime.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-05-14 14:05:49 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-05-14 14:05:49 +0800
commit06823fbf1c2e763a5bf76c3990ca98fbbcd98691 (patch)
tree4280bece3888d12a022093bf1a9cd1b049393602 /node_modules/@babel/runtime/helpers/regeneratorRuntime.js
parent1368909b3cd552dbb0d12d5863c597f5be46177d (diff)
updated node_modules
Diffstat (limited to 'node_modules/@babel/runtime/helpers/regeneratorRuntime.js')
-rw-r--r--node_modules/@babel/runtime/helpers/regeneratorRuntime.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/@babel/runtime/helpers/regeneratorRuntime.js b/node_modules/@babel/runtime/helpers/regeneratorRuntime.js
index 0801b064..f33e4945 100644
--- a/node_modules/@babel/runtime/helpers/regeneratorRuntime.js
+++ b/node_modules/@babel/runtime/helpers/regeneratorRuntime.js
@@ -108,7 +108,7 @@ function _regeneratorRuntime() {
function makeInvokeMethod(e, r, n) {
var o = h;
return function (i, a) {
- if (o === f) throw new Error("Generator is already running");
+ if (o === f) throw Error("Generator is already running");
if (o === s) {
if ("throw" === i) throw a;
return {
@@ -250,7 +250,7 @@ function _regeneratorRuntime() {
} else if (c) {
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
} else {
- if (!u) throw new Error("try statement without catch or finally");
+ if (!u) throw Error("try statement without catch or finally");
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
}
}
@@ -290,7 +290,7 @@ function _regeneratorRuntime() {
return o;
}
}
- throw new Error("illegal catch attempt");
+ throw Error("illegal catch attempt");
},
delegateYield: function delegateYield(e, r, n) {
return this.delegate = {