diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-05-14 14:05:49 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-05-14 14:05:49 +0800 |
| commit | 06823fbf1c2e763a5bf76c3990ca98fbbcd98691 (patch) | |
| tree | 4280bece3888d12a022093bf1a9cd1b049393602 /node_modules/@babel/runtime/helpers/esm/applyDecs.js | |
| parent | 1368909b3cd552dbb0d12d5863c597f5be46177d (diff) | |
updated node_modules
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/applyDecs.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/esm/applyDecs.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecs.js b/node_modules/@babel/runtime/helpers/esm/applyDecs.js index ea771ab2..fe11cde8 100644 --- a/node_modules/@babel/runtime/helpers/esm/applyDecs.js +++ b/node_modules/@babel/runtime/helpers/esm/applyDecs.js @@ -101,7 +101,7 @@ function old_memberDec(e, t, a, r, o, i, n, l, s) { } } function old_assertNotFinished(e, t) { - if (e.v) throw new Error("attempted to call " + t + " after decoration was finished"); + if (e.v) throw Error("attempted to call " + t + " after decoration was finished"); } function old_assertMetadataKey(e) { if ("symbol" != _typeof(e)) throw new TypeError("Metadata keys must be symbols, received: " + e); @@ -118,7 +118,7 @@ function old_assertValidReturnValue(e, t) { } function old_getInit(e) { var t; - return null == (t = e.init) && (t = e.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), t; + return null == (t = e.init) && (t = e.initializer) && void 0 !== console && console.warn(".initializer has been renamed to .init as of March 2022"), t; } function old_applyMemberDec(e, t, a, r, o, i, n, l, s) { var c, @@ -190,7 +190,7 @@ function old_applyMemberDecs(e, t, a, r, o) { if (m ? (u = t, f = r, 0 != (v -= 5) && (p = n = n || [])) : (u = t.prototype, f = a, 0 !== v && (p = i = i || [])), 0 !== v && !h) { var b = m ? s : l, g = b.get(y) || 0; - if (!0 === g || 3 === g && 4 !== v || 4 === g && 3 !== v) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + y); + if (!0 === g || 3 === g && 4 !== v || 4 === g && 3 !== v) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + y); !g && v > 2 ? b.set(y, v) : b.set(y, !0); } old_applyMemberDec(e, u, d, y, v, m, h, f, p); |
