From 06823fbf1c2e763a5bf76c3990ca98fbbcd98691 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 14 May 2024 14:05:49 +0800 Subject: updated node_modules --- node_modules/@babel/runtime/helpers/regeneratorRuntime.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'node_modules/@babel/runtime/helpers/regeneratorRuntime.js') 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 = { -- cgit v1.2.3