@babel/runtime-corejs3
Advanced tools
Comparing version 7.24.0 to 7.24.1
@@ -118,3 +118,3 @@ var _typeof = require("./typeof.js")["default"]; | ||
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"); | ||
} | ||
@@ -136,3 +136,3 @@ function old_assertMetadataKey(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; | ||
} | ||
@@ -209,3 +209,3 @@ function old_applyMemberDec(e, t, a, r, o, i, n, l, s) { | ||
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); | ||
@@ -212,0 +212,0 @@ } |
@@ -11,3 +11,3 @@ var _typeof = require("./typeof.js")["default"]; | ||
!function (e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
}(t), assertCallable(r, "An initializer"), _pushInstanceProperty(e).call(e, r); | ||
@@ -155,3 +155,3 @@ }; | ||
g = v.get(p) || 0; | ||
if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) 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: " + p); | ||
if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) 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: " + p); | ||
!g && f > 2 ? v.set(p, f) : v.set(p, !0); | ||
@@ -158,0 +158,0 @@ } |
@@ -13,3 +13,3 @@ var _typeof = require("./typeof.js")["default"]; | ||
!function (e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
}(t), assertCallable(r, "An initializer"), _pushInstanceProperty(e).call(e, r); | ||
@@ -150,3 +150,3 @@ }; | ||
g = v.get(p) || 0; | ||
if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) 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: " + p); | ||
if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) 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: " + p); | ||
!g && f > 2 ? v.set(p, f) : v.set(p, !0); | ||
@@ -153,0 +153,0 @@ } |
@@ -15,3 +15,3 @@ var _typeof = require("./typeof.js")["default"]; | ||
!function (e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
}(t), assertCallable(r, "An initializer"), _pushInstanceProperty(e).call(e, r); | ||
@@ -182,3 +182,3 @@ }; | ||
b = m.get(h) || 0; | ||
if (!0 === b || 3 === b && 4 !== d || 4 === b && 3 !== d) 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: " + h); | ||
if (!0 === b || 3 === b && 4 !== d || 4 === b && 3 !== d) 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: " + h); | ||
!b && d > 2 ? m.set(h, d) : m.set(h, !0); | ||
@@ -185,0 +185,0 @@ } |
@@ -61,3 +61,3 @@ var _typeof = require("./typeof.js")["default"]; | ||
addInitializer: _bindInstanceProperty(_context = function _context(e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
s(t, "An initializer", "be", !0), _pushInstanceProperty(c).call(c, t); | ||
@@ -129,3 +129,3 @@ }).call(_context, null, I) | ||
var w = u.get(b); | ||
if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) 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: " + h); | ||
if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) 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: " + h); | ||
u.set(b, !(d > 2) || d); | ||
@@ -132,0 +132,0 @@ } |
@@ -68,3 +68,3 @@ var _typeof = require("./typeof.js")["default"]; | ||
} : P[F] = v, l || setFunctionName(P[F], r, E ? "" : F)) : l || (P = _Object$getOwnPropertyDescriptor(e, r)), !l && !f) { | ||
if ((c = y[+s][r]) && 7 != (c ^ o)) throw new Error("Decorating two elements with the same name (" + P[F].name + ") is not supported yet"); | ||
if ((c = y[+s][r]) && 7 != (c ^ o)) throw Error("Decorating two elements with the same name (" + P[F].name + ") is not supported yet"); | ||
y[+s][r] = o < 3 ? 1 : o; | ||
@@ -83,3 +83,3 @@ } | ||
addInitializer: _bindInstanceProperty(_context2 = function _context2(e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
b(t, "An initializer", "be", !0), _pushInstanceProperty(i).call(i, t); | ||
@@ -86,0 +86,0 @@ }).call(_context2, null, K) |
@@ -6,3 +6,3 @@ var _SuppressedError = require("core-js-pure/features/suppressed-error.js"); | ||
return "undefined" != typeof _SuppressedError ? dispose_SuppressedError = _SuppressedError : (dispose_SuppressedError = function dispose_SuppressedError(r, e) { | ||
this.suppressed = e, this.error = r, this.stack = new Error().stack; | ||
this.suppressed = e, this.error = r, this.stack = Error().stack; | ||
}, dispose_SuppressedError.prototype = _Object$create(Error.prototype, { | ||
@@ -9,0 +9,0 @@ constructor: { |
@@ -118,3 +118,3 @@ import _typeof from "./typeof.js"; | ||
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"); | ||
} | ||
@@ -136,3 +136,3 @@ function old_assertMetadataKey(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; | ||
} | ||
@@ -209,3 +209,3 @@ function old_applyMemberDec(e, t, a, r, o, i, n, l, s) { | ||
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); | ||
@@ -212,0 +212,0 @@ } |
@@ -11,3 +11,3 @@ import _typeof from "./typeof.js"; | ||
!function (e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
}(t), assertCallable(r, "An initializer"), _pushInstanceProperty(e).call(e, r); | ||
@@ -155,3 +155,3 @@ }; | ||
g = v.get(p) || 0; | ||
if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) 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: " + p); | ||
if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) 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: " + p); | ||
!g && f > 2 ? v.set(p, f) : v.set(p, !0); | ||
@@ -158,0 +158,0 @@ } |
@@ -13,3 +13,3 @@ import _typeof from "./typeof.js"; | ||
!function (e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
}(t), assertCallable(r, "An initializer"), _pushInstanceProperty(e).call(e, r); | ||
@@ -150,3 +150,3 @@ }; | ||
g = v.get(p) || 0; | ||
if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) 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: " + p); | ||
if (!0 === g || 3 === g && 4 !== f || 4 === g && 3 !== f) 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: " + p); | ||
!g && f > 2 ? v.set(p, f) : v.set(p, !0); | ||
@@ -153,0 +153,0 @@ } |
@@ -15,3 +15,3 @@ import _typeof from "./typeof.js"; | ||
!function (e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
}(t), assertCallable(r, "An initializer"), _pushInstanceProperty(e).call(e, r); | ||
@@ -182,3 +182,3 @@ }; | ||
b = m.get(h) || 0; | ||
if (!0 === b || 3 === b && 4 !== d || 4 === b && 3 !== d) 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: " + h); | ||
if (!0 === b || 3 === b && 4 !== d || 4 === b && 3 !== d) 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: " + h); | ||
!b && d > 2 ? m.set(h, d) : m.set(h, !0); | ||
@@ -185,0 +185,0 @@ } |
@@ -61,3 +61,3 @@ import _typeof from "./typeof.js"; | ||
addInitializer: _bindInstanceProperty(_context = function _context(e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
s(t, "An initializer", "be", !0), _pushInstanceProperty(c).call(c, t); | ||
@@ -129,3 +129,3 @@ }).call(_context, null, I) | ||
var w = u.get(b); | ||
if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) 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: " + h); | ||
if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) 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: " + h); | ||
u.set(b, !(d > 2) || d); | ||
@@ -132,0 +132,0 @@ } |
@@ -68,3 +68,3 @@ import _typeof from "./typeof.js"; | ||
} : P[F] = v, l || setFunctionName(P[F], r, E ? "" : F)) : l || (P = _Object$getOwnPropertyDescriptor(e, r)), !l && !f) { | ||
if ((c = y[+s][r]) && 7 != (c ^ o)) throw new Error("Decorating two elements with the same name (" + P[F].name + ") is not supported yet"); | ||
if ((c = y[+s][r]) && 7 != (c ^ o)) throw Error("Decorating two elements with the same name (" + P[F].name + ") is not supported yet"); | ||
y[+s][r] = o < 3 ? 1 : o; | ||
@@ -83,3 +83,3 @@ } | ||
addInitializer: _bindInstanceProperty(_context2 = function _context2(e, t) { | ||
if (e.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); | ||
b(t, "An initializer", "be", !0), _pushInstanceProperty(i).call(i, t); | ||
@@ -86,0 +86,0 @@ }).call(_context2, null, K) |
@@ -6,3 +6,3 @@ import _SuppressedError from "core-js-pure/features/suppressed-error.js"; | ||
return "undefined" != typeof _SuppressedError ? dispose_SuppressedError = _SuppressedError : (dispose_SuppressedError = function dispose_SuppressedError(r, e) { | ||
this.suppressed = e, this.error = r, this.stack = new Error().stack; | ||
this.suppressed = e, this.error = r, this.stack = Error().stack; | ||
}, dispose_SuppressedError.prototype = _Object$create(Error.prototype, { | ||
@@ -9,0 +9,0 @@ constructor: { |
@@ -24,3 +24,3 @@ import _typeof from "./typeof.js"; | ||
a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; | ||
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { | ||
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { | ||
var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; | ||
@@ -27,0 +27,0 @@ i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; |
@@ -11,3 +11,3 @@ import _Symbol from "core-js-pure/features/symbol/index.js"; | ||
}), 1 === n) r.children = l;else if (n > 1) { | ||
for (var t = new Array(n), f = 0; f < n; f++) t[f] = arguments[f + 3]; | ||
for (var t = Array(n), f = 0; f < n; f++) t[f] = arguments[f + 3]; | ||
r.children = t; | ||
@@ -14,0 +14,0 @@ } |
@@ -122,3 +122,3 @@ import _typeof from "./typeof.js"; | ||
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) { | ||
@@ -267,3 +267,3 @@ if ("throw" === i) throw a; | ||
} 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); | ||
@@ -308,3 +308,3 @@ } | ||
} | ||
throw new Error("illegal catch attempt"); | ||
throw Error("illegal catch attempt"); | ||
}, | ||
@@ -311,0 +311,0 @@ delegateYield: function delegateYield(e, r, n) { |
@@ -5,3 +5,3 @@ import _typeof from "./typeof.js"; | ||
var i = toPrimitive(t, "string"); | ||
return "symbol" == _typeof(i) ? i : String(i); | ||
return "symbol" == _typeof(i) ? i : i + ""; | ||
} |
@@ -10,3 +10,3 @@ import _SuppressedError from "core-js-pure/features/suppressed-error.js"; | ||
var r = "function" == typeof _SuppressedError ? _SuppressedError : function (r, n) { | ||
var e = new Error(); | ||
var e = Error(); | ||
return e.name = "SuppressedError", e.suppressed = n, e.error = r, e; | ||
@@ -13,0 +13,0 @@ }, |
@@ -19,3 +19,3 @@ import _typeof from "./typeof.js"; | ||
function BabelRegExp(e, t, p) { | ||
var o = new RegExp(e, t); | ||
var o = RegExp(e, t); | ||
return r.set(o, p || r.get(e)), setPrototypeOf(o, BabelRegExp.prototype); | ||
@@ -22,0 +22,0 @@ } |
@@ -24,3 +24,3 @@ var _typeof = require("./typeof.js")["default"]; | ||
a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; | ||
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { | ||
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { | ||
var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; | ||
@@ -27,0 +27,0 @@ i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; |
@@ -11,3 +11,3 @@ var _Symbol = require("core-js-pure/features/symbol/index.js"); | ||
}), 1 === n) r.children = l;else if (n > 1) { | ||
for (var t = new Array(n), f = 0; f < n; f++) t[f] = arguments[f + 3]; | ||
for (var t = Array(n), f = 0; f < n; f++) t[f] = arguments[f + 3]; | ||
r.children = t; | ||
@@ -14,0 +14,0 @@ } |
@@ -122,3 +122,3 @@ var _typeof = require("./typeof.js")["default"]; | ||
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) { | ||
@@ -267,3 +267,3 @@ if ("throw" === i) throw a; | ||
} 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); | ||
@@ -308,3 +308,3 @@ } | ||
} | ||
throw new Error("illegal catch attempt"); | ||
throw Error("illegal catch attempt"); | ||
}, | ||
@@ -311,0 +311,0 @@ delegateYield: function delegateYield(e, r, n) { |
@@ -5,4 +5,4 @@ var _typeof = require("./typeof.js")["default"]; | ||
var i = toPrimitive(t, "string"); | ||
return "symbol" == _typeof(i) ? i : String(i); | ||
return "symbol" == _typeof(i) ? i : i + ""; | ||
} | ||
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; |
@@ -10,3 +10,3 @@ var _SuppressedError = require("core-js-pure/features/suppressed-error.js"); | ||
var r = "function" == typeof _SuppressedError ? _SuppressedError : function (r, n) { | ||
var e = new Error(); | ||
var e = Error(); | ||
return e.name = "SuppressedError", e.suppressed = n, e.error = r, e; | ||
@@ -13,0 +13,0 @@ }, |
@@ -19,3 +19,3 @@ var _typeof = require("./typeof.js")["default"]; | ||
function BabelRegExp(e, t, p) { | ||
var o = new RegExp(e, t); | ||
var o = RegExp(e, t); | ||
return r.set(o, p || r.get(e)), setPrototypeOf(o, BabelRegExp.prototype); | ||
@@ -22,0 +22,0 @@ } |
{ | ||
"name": "@babel/runtime-corejs3", | ||
"version": "7.24.0", | ||
"version": "7.24.1", | ||
"description": "babel's modular runtime helpers with core-js@3 polyfilling", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
344756