@babel/runtime-corejs2
Advanced tools
Comparing version 7.23.4 to 7.23.5
@@ -10,123 +10,88 @@ var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var checkInRHS = require("./checkInRHS.js"); | ||
function _bindPropCall(e, t) { | ||
return function (r, a) { | ||
return e[t].call(r, a); | ||
}; | ||
} | ||
function createAddInitializerMethod(e, t) { | ||
return function (r) { | ||
assertNotFinished(t, "addInitializer"), assertCallable(r, "An initializer"), e.push(r); | ||
if (t.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
assertCallable(r, "An initializer", !0), e.push(r); | ||
}; | ||
} | ||
function assertInstanceIfPrivate(e, t) { | ||
if (!e(t)) throw new TypeError("Attempted to access private element on non-instance"); | ||
} | ||
function memberDec(e, t, r, a, n, i, s, o, c, l, u) { | ||
var f; | ||
switch (i) { | ||
case 1: | ||
f = "accessor"; | ||
break; | ||
case 2: | ||
f = "method"; | ||
break; | ||
case 3: | ||
f = "getter"; | ||
break; | ||
case 4: | ||
f = "setter"; | ||
break; | ||
default: | ||
f = "field"; | ||
function memberDec(e, t, r, a, n, i, o, s, l, c, u) { | ||
function assertInstanceIfPrivate(e) { | ||
return function (t, r) { | ||
if (!c(t)) throw new TypeError("Attempted to access private element on non-instance"); | ||
return e(t, r); | ||
}; | ||
} | ||
var d, | ||
p, | ||
h = { | ||
kind: f, | ||
name: o ? "#" + r : r, | ||
"static": s, | ||
"private": o, | ||
metadata: u | ||
var f, | ||
d, | ||
p = { | ||
v: !1 | ||
}, | ||
v = { | ||
v: !1 | ||
kind: ["field", "accessor", "method", "getter", "setter", "field"][i], | ||
name: s ? "#" + r : r, | ||
"static": o, | ||
"private": s, | ||
metadata: u, | ||
addInitializer: createAddInitializerMethod(n, p) | ||
}; | ||
if (0 !== i && (h.addInitializer = createAddInitializerMethod(n, v)), o || 0 !== i && 2 !== i) { | ||
if (2 === i) d = function d(e) { | ||
return assertInstanceIfPrivate(l, e), a.value; | ||
};else { | ||
var y = 0 === i || 1 === i; | ||
(y || 3 === i) && (d = o ? function (e) { | ||
return assertInstanceIfPrivate(l, e), a.get.call(e); | ||
} : function (e) { | ||
return a.get.call(e); | ||
}), (y || 4 === i) && (p = o ? function (e, t) { | ||
assertInstanceIfPrivate(l, e), a.set.call(e, t); | ||
} : function (e, t) { | ||
a.set.call(e, t); | ||
}); | ||
if (s || 0 !== i && 2 !== i) { | ||
if (2 === i) f = assertInstanceIfPrivate(function () { | ||
return a.value; | ||
});else { | ||
var h = 0 === i || 1 === i; | ||
(h || 3 === i) && (f = _bindPropCall(a, "get"), s && (f = assertInstanceIfPrivate(f))), (h || 4 === i) && (d = _bindPropCall(a, "set"), s && (d = assertInstanceIfPrivate(d))); | ||
} | ||
} else d = function d(e) { | ||
} else f = function f(e) { | ||
return e[r]; | ||
}, 0 === i && (p = function p(e, t) { | ||
}, 0 === i && (d = function d(e, t) { | ||
e[r] = t; | ||
}); | ||
var m = o ? l.bind() : function (e) { | ||
return r in e; | ||
}; | ||
h.access = d && p ? { | ||
get: d, | ||
set: p, | ||
has: m | ||
} : d ? { | ||
get: d, | ||
has: m | ||
} : { | ||
set: p, | ||
has: m | ||
}; | ||
var m = s ? c.bind() : function (e) { | ||
return r in e; | ||
}, | ||
b = v.access = { | ||
has: m | ||
}; | ||
f && (b.get = f), d && (b.set = d); | ||
try { | ||
return e.call(t, c, h); | ||
return e.call(t, l, v); | ||
} finally { | ||
v.v = !0; | ||
p.v = !0; | ||
} | ||
} | ||
function assertNotFinished(e, t) { | ||
if (e.v) throw new Error("attempted to call " + t + " after decoration was finished"); | ||
function assertCallable(e, t, r) { | ||
if ("function" != typeof e && (r || void 0 !== e)) throw new TypeError(t + " must be a function"); | ||
} | ||
function assertCallable(e, t) { | ||
if ("function" != typeof e) throw new TypeError(t + " must be a function"); | ||
} | ||
function assertValidReturnValue(e, t) { | ||
var r = _typeof(t); | ||
if (1 === e) { | ||
if ("object" !== r || null === t) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
void 0 !== t.get && assertCallable(t.get, "accessor.get"), void 0 !== t.set && assertCallable(t.set, "accessor.set"), void 0 !== t.init && assertCallable(t.init, "accessor.init"); | ||
} else if ("function" !== r) { | ||
var a; | ||
throw a = 0 === e ? "field" : 5 === e ? "class" : "method", new TypeError(a + " decorators must return a function or void 0"); | ||
} | ||
if ("object" !== r || !t) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
assertCallable(t.get, "accessor.get"), assertCallable(t.set, "accessor.set"), assertCallable(t.init, "accessor.init"); | ||
} else if ("function" !== r) throw new TypeError((0 === e ? "field" : 5 === e ? "class" : "method") + " decorators must return a function or void 0"); | ||
} | ||
function curryThis1(e) { | ||
return function () { | ||
return e(this); | ||
}; | ||
} | ||
function curryThis2(e) { | ||
return function (t) { | ||
e(this, t); | ||
}; | ||
} | ||
function applyMemberDec(e, t, r, a, n, i, s, o, c, l, u) { | ||
function applyMemberDec(e, t, r, a, n, i, o, s, l, c, u) { | ||
var f, | ||
d, | ||
p, | ||
h, | ||
v, | ||
y, | ||
m = r[0]; | ||
a || _Array$isArray(m) || (m = [m]), o ? f = 0 === i || 1 === i ? { | ||
get: curryThis1(r[3]), | ||
set: curryThis2(r[4]) | ||
h = r[0], | ||
m = r[3]; | ||
a || _Array$isArray(h) || (h = [h]), s ? f = 0 === i || 1 === i ? { | ||
get: function get() { | ||
return m(this); | ||
}, | ||
set: function set(e) { | ||
r[4](this, e); | ||
} | ||
} : 3 === i ? { | ||
get: r[3] | ||
get: m | ||
} : 4 === i ? { | ||
set: r[3] | ||
set: m | ||
} : { | ||
value: r[3] | ||
value: m | ||
} : 0 !== i && (f = _Object$getOwnPropertyDescriptor(t, n)), 1 === i ? p = { | ||
@@ -136,8 +101,8 @@ get: f.get, | ||
} : 2 === i ? p = f.value : 3 === i ? p = f.get : 4 === i && (p = f.set); | ||
for (var g = a ? 2 : 1, b = m.length - 1; b >= 0; b -= g) { | ||
var I; | ||
if (void 0 !== (h = memberDec(m[b], a ? m[b - 1] : void 0, n, f, c, i, s, o, p, l, u))) assertValidReturnValue(i, h), 0 === i ? I = h : 1 === i ? (I = h.init, v = h.get || p.get, y = h.set || p.set, p = { | ||
get: v, | ||
set: y | ||
}) : p = h, void 0 !== I && (void 0 === d ? d = I : "function" == typeof d ? d = [d, I] : d.push(I)); | ||
for (var b = a ? 2 : 1, y = h.length - 1; y >= 0; y -= b) { | ||
var g; | ||
if (void 0 !== (v = memberDec(h[y], a ? h[y - 1] : void 0, n, f, l, i, o, s, p, c, u))) assertValidReturnValue(i, v), 0 === i ? g = v : 1 === i ? (g = v.init, p = { | ||
get: v.get || p.get, | ||
set: v.set || p.set | ||
}) : p = v, void 0 !== g && (void 0 === d ? d = g : "function" == typeof d ? d = [d, g] : d.push(g)); | ||
} | ||
@@ -148,25 +113,29 @@ if (0 === i || 1 === i) { | ||
};else if ("function" != typeof d) { | ||
var w = d; | ||
var I = d; | ||
d = function d(e, t) { | ||
for (var r = t, a = w.length - 1; a >= 0; a--) r = w[a].call(e, r); | ||
for (var r = t, a = I.length - 1; a >= 0; a--) r = I[a].call(e, r); | ||
return r; | ||
}; | ||
} else { | ||
var M = d; | ||
d = function d(e, t) { | ||
return M.call(e, t); | ||
}; | ||
var w = d; | ||
d = d.call.bind(w); | ||
} | ||
e.push(d); | ||
} | ||
0 !== i && (1 === i ? (f.get = p.get, f.set = p.set) : 2 === i ? f.value = p : 3 === i ? f.get = p : 4 === i && (f.set = p), o ? 1 === i ? (e.push(function (e, t) { | ||
return p.get.call(e, t); | ||
}), e.push(function (e, t) { | ||
return p.set.call(e, t); | ||
})) : 2 === i ? e.push(p) : e.push(function (e, t) { | ||
return p.call(e, t); | ||
}) : _Object$defineProperty(t, n, f)); | ||
0 !== i && (1 === i ? (f.get = p.get, f.set = p.set) : 2 === i ? f.value = p : 3 === i ? f.get = p : 4 === i && (f.set = p), s ? 1 === i ? e.push(_bindPropCall(f, "get"), _bindPropCall(f, "set")) : e.push(2 === i ? p : Function.call.bind(p)) : _Object$defineProperty(t, n, f)); | ||
} | ||
function applyMemberDecs(e, t, r, a) { | ||
for (var n, i, s, o = [], c = new _Map(), l = new _Map(), u = 0; u < t.length; u++) { | ||
var n, | ||
i, | ||
o, | ||
s = [], | ||
l = new _Map(), | ||
c = new _Map(); | ||
function pushInitializers(e) { | ||
e && s.push(function (t) { | ||
for (var r = 0; r < e.length; r++) e[r].call(t); | ||
return t; | ||
}); | ||
} | ||
for (var u = 0; u < t.length; u++) { | ||
var f = t[u]; | ||
@@ -176,42 +145,36 @@ if (_Array$isArray(f)) { | ||
p, | ||
h = f[1], | ||
v = f[2], | ||
y = f.length > 3, | ||
m = 16 & h, | ||
g = !!(8 & h), | ||
b = r; | ||
if (h &= 7, g ? (d = e, 0 !== h && (p = i = i || []), y && !s && (s = function s(t) { | ||
v = f[1], | ||
h = f[2], | ||
m = f.length > 3, | ||
b = 16 & v, | ||
y = !!(8 & v), | ||
g = r; | ||
if (v &= 7, y ? (d = e, p = i = i || [], m && !o && (o = function o(t) { | ||
return checkInRHS(t) === e; | ||
}), b = s) : (d = e.prototype, 0 !== h && (p = n = n || [])), 0 !== h && !y) { | ||
var I = g ? l : c, | ||
w = I.get(v) || 0; | ||
if (!0 === w || 3 === w && 4 !== h || 4 === w && 3 !== h) 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: " + v); | ||
I.set(v, !(!w && h > 2) || h); | ||
}), g = o) : (d = e.prototype, p = n = n || []), 0 !== v && !m) { | ||
var I = y ? c : l, | ||
w = I.get(h) || 0; | ||
if (!0 === w || 3 === w && 4 !== v || 4 === w && 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: " + h); | ||
I.set(h, !(!w && v > 2) || v); | ||
} | ||
applyMemberDec(o, d, f, m, v, h, g, y, p, b, a); | ||
applyMemberDec(s, d, f, b, h, v, y, m, p, g, a); | ||
} | ||
} | ||
return pushInitializers(o, n), pushInitializers(o, i), o; | ||
return pushInitializers(n), pushInitializers(i), s; | ||
} | ||
function pushInitializers(e, t) { | ||
t && e.push(function (e) { | ||
for (var r = 0; r < t.length; r++) t[r].call(e); | ||
return e; | ||
}); | ||
} | ||
function applyClassDecs(e, t, r, a) { | ||
if (t.length) { | ||
for (var n = [], i = e, s = e.name, o = r ? 2 : 1, c = t.length - 1; c >= 0; c -= o) { | ||
var l = { | ||
for (var n = [], i = e, o = e.name, s = r ? 2 : 1, l = t.length - 1; l >= 0; l -= s) { | ||
var c = { | ||
v: !1 | ||
}; | ||
try { | ||
var u = t[c].call(r ? t[c - 1] : void 0, i, { | ||
var u = t[l].call(r ? t[l - 1] : void 0, i, { | ||
kind: "class", | ||
name: s, | ||
addInitializer: createAddInitializerMethod(n, l), | ||
name: o, | ||
addInitializer: createAddInitializerMethod(n, c), | ||
metadata: a | ||
}); | ||
} finally { | ||
l.v = !0; | ||
c.v = !0; | ||
} | ||
@@ -233,9 +196,9 @@ void 0 !== u && (assertValidReturnValue(5, u), i = u); | ||
function applyDecs2305(e, t, r, a, n, i) { | ||
if (arguments.length >= 6) var s = i[_Symbol.metadata || _Symbol$for("Symbol.metadata")]; | ||
var o = _Object$create(void 0 === s ? null : s), | ||
c = applyMemberDecs(e, t, n, o); | ||
return r.length || defineMetadata(e, o), { | ||
e: c, | ||
if (arguments.length >= 6) var o = i[_Symbol.metadata || _Symbol$for("Symbol.metadata")]; | ||
var s = _Object$create(void 0 === o ? null : o), | ||
l = applyMemberDecs(e, t, n, s); | ||
return r.length || defineMetadata(e, s), { | ||
e: l, | ||
get c() { | ||
return applyClassDecs(e, r, a, o); | ||
return applyClassDecs(e, r, a, s); | ||
} | ||
@@ -242,0 +205,0 @@ }; |
@@ -10,123 +10,88 @@ import _typeof from "./typeof.js"; | ||
import checkInRHS from "./checkInRHS.js"; | ||
function _bindPropCall(e, t) { | ||
return function (r, a) { | ||
return e[t].call(r, a); | ||
}; | ||
} | ||
function createAddInitializerMethod(e, t) { | ||
return function (r) { | ||
assertNotFinished(t, "addInitializer"), assertCallable(r, "An initializer"), e.push(r); | ||
if (t.v) throw new Error("attempted to call addInitializer after decoration was finished"); | ||
assertCallable(r, "An initializer", !0), e.push(r); | ||
}; | ||
} | ||
function assertInstanceIfPrivate(e, t) { | ||
if (!e(t)) throw new TypeError("Attempted to access private element on non-instance"); | ||
} | ||
function memberDec(e, t, r, a, n, i, s, o, c, l, u) { | ||
var f; | ||
switch (i) { | ||
case 1: | ||
f = "accessor"; | ||
break; | ||
case 2: | ||
f = "method"; | ||
break; | ||
case 3: | ||
f = "getter"; | ||
break; | ||
case 4: | ||
f = "setter"; | ||
break; | ||
default: | ||
f = "field"; | ||
function memberDec(e, t, r, a, n, i, o, s, l, c, u) { | ||
function assertInstanceIfPrivate(e) { | ||
return function (t, r) { | ||
if (!c(t)) throw new TypeError("Attempted to access private element on non-instance"); | ||
return e(t, r); | ||
}; | ||
} | ||
var d, | ||
p, | ||
h = { | ||
kind: f, | ||
name: o ? "#" + r : r, | ||
"static": s, | ||
"private": o, | ||
metadata: u | ||
var f, | ||
d, | ||
p = { | ||
v: !1 | ||
}, | ||
v = { | ||
v: !1 | ||
kind: ["field", "accessor", "method", "getter", "setter", "field"][i], | ||
name: s ? "#" + r : r, | ||
"static": o, | ||
"private": s, | ||
metadata: u, | ||
addInitializer: createAddInitializerMethod(n, p) | ||
}; | ||
if (0 !== i && (h.addInitializer = createAddInitializerMethod(n, v)), o || 0 !== i && 2 !== i) { | ||
if (2 === i) d = function d(e) { | ||
return assertInstanceIfPrivate(l, e), a.value; | ||
};else { | ||
var y = 0 === i || 1 === i; | ||
(y || 3 === i) && (d = o ? function (e) { | ||
return assertInstanceIfPrivate(l, e), a.get.call(e); | ||
} : function (e) { | ||
return a.get.call(e); | ||
}), (y || 4 === i) && (p = o ? function (e, t) { | ||
assertInstanceIfPrivate(l, e), a.set.call(e, t); | ||
} : function (e, t) { | ||
a.set.call(e, t); | ||
}); | ||
if (s || 0 !== i && 2 !== i) { | ||
if (2 === i) f = assertInstanceIfPrivate(function () { | ||
return a.value; | ||
});else { | ||
var h = 0 === i || 1 === i; | ||
(h || 3 === i) && (f = _bindPropCall(a, "get"), s && (f = assertInstanceIfPrivate(f))), (h || 4 === i) && (d = _bindPropCall(a, "set"), s && (d = assertInstanceIfPrivate(d))); | ||
} | ||
} else d = function d(e) { | ||
} else f = function f(e) { | ||
return e[r]; | ||
}, 0 === i && (p = function p(e, t) { | ||
}, 0 === i && (d = function d(e, t) { | ||
e[r] = t; | ||
}); | ||
var m = o ? l.bind() : function (e) { | ||
return r in e; | ||
}; | ||
h.access = d && p ? { | ||
get: d, | ||
set: p, | ||
has: m | ||
} : d ? { | ||
get: d, | ||
has: m | ||
} : { | ||
set: p, | ||
has: m | ||
}; | ||
var m = s ? c.bind() : function (e) { | ||
return r in e; | ||
}, | ||
b = v.access = { | ||
has: m | ||
}; | ||
f && (b.get = f), d && (b.set = d); | ||
try { | ||
return e.call(t, c, h); | ||
return e.call(t, l, v); | ||
} finally { | ||
v.v = !0; | ||
p.v = !0; | ||
} | ||
} | ||
function assertNotFinished(e, t) { | ||
if (e.v) throw new Error("attempted to call " + t + " after decoration was finished"); | ||
function assertCallable(e, t, r) { | ||
if ("function" != typeof e && (r || void 0 !== e)) throw new TypeError(t + " must be a function"); | ||
} | ||
function assertCallable(e, t) { | ||
if ("function" != typeof e) throw new TypeError(t + " must be a function"); | ||
} | ||
function assertValidReturnValue(e, t) { | ||
var r = _typeof(t); | ||
if (1 === e) { | ||
if ("object" !== r || null === t) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
void 0 !== t.get && assertCallable(t.get, "accessor.get"), void 0 !== t.set && assertCallable(t.set, "accessor.set"), void 0 !== t.init && assertCallable(t.init, "accessor.init"); | ||
} else if ("function" !== r) { | ||
var a; | ||
throw a = 0 === e ? "field" : 5 === e ? "class" : "method", new TypeError(a + " decorators must return a function or void 0"); | ||
} | ||
if ("object" !== r || !t) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
assertCallable(t.get, "accessor.get"), assertCallable(t.set, "accessor.set"), assertCallable(t.init, "accessor.init"); | ||
} else if ("function" !== r) throw new TypeError((0 === e ? "field" : 5 === e ? "class" : "method") + " decorators must return a function or void 0"); | ||
} | ||
function curryThis1(e) { | ||
return function () { | ||
return e(this); | ||
}; | ||
} | ||
function curryThis2(e) { | ||
return function (t) { | ||
e(this, t); | ||
}; | ||
} | ||
function applyMemberDec(e, t, r, a, n, i, s, o, c, l, u) { | ||
function applyMemberDec(e, t, r, a, n, i, o, s, l, c, u) { | ||
var f, | ||
d, | ||
p, | ||
h, | ||
v, | ||
y, | ||
m = r[0]; | ||
a || _Array$isArray(m) || (m = [m]), o ? f = 0 === i || 1 === i ? { | ||
get: curryThis1(r[3]), | ||
set: curryThis2(r[4]) | ||
h = r[0], | ||
m = r[3]; | ||
a || _Array$isArray(h) || (h = [h]), s ? f = 0 === i || 1 === i ? { | ||
get: function get() { | ||
return m(this); | ||
}, | ||
set: function set(e) { | ||
r[4](this, e); | ||
} | ||
} : 3 === i ? { | ||
get: r[3] | ||
get: m | ||
} : 4 === i ? { | ||
set: r[3] | ||
set: m | ||
} : { | ||
value: r[3] | ||
value: m | ||
} : 0 !== i && (f = _Object$getOwnPropertyDescriptor(t, n)), 1 === i ? p = { | ||
@@ -136,8 +101,8 @@ get: f.get, | ||
} : 2 === i ? p = f.value : 3 === i ? p = f.get : 4 === i && (p = f.set); | ||
for (var g = a ? 2 : 1, b = m.length - 1; b >= 0; b -= g) { | ||
var I; | ||
if (void 0 !== (h = memberDec(m[b], a ? m[b - 1] : void 0, n, f, c, i, s, o, p, l, u))) assertValidReturnValue(i, h), 0 === i ? I = h : 1 === i ? (I = h.init, v = h.get || p.get, y = h.set || p.set, p = { | ||
get: v, | ||
set: y | ||
}) : p = h, void 0 !== I && (void 0 === d ? d = I : "function" == typeof d ? d = [d, I] : d.push(I)); | ||
for (var b = a ? 2 : 1, y = h.length - 1; y >= 0; y -= b) { | ||
var g; | ||
if (void 0 !== (v = memberDec(h[y], a ? h[y - 1] : void 0, n, f, l, i, o, s, p, c, u))) assertValidReturnValue(i, v), 0 === i ? g = v : 1 === i ? (g = v.init, p = { | ||
get: v.get || p.get, | ||
set: v.set || p.set | ||
}) : p = v, void 0 !== g && (void 0 === d ? d = g : "function" == typeof d ? d = [d, g] : d.push(g)); | ||
} | ||
@@ -148,25 +113,29 @@ if (0 === i || 1 === i) { | ||
};else if ("function" != typeof d) { | ||
var w = d; | ||
var I = d; | ||
d = function d(e, t) { | ||
for (var r = t, a = w.length - 1; a >= 0; a--) r = w[a].call(e, r); | ||
for (var r = t, a = I.length - 1; a >= 0; a--) r = I[a].call(e, r); | ||
return r; | ||
}; | ||
} else { | ||
var M = d; | ||
d = function d(e, t) { | ||
return M.call(e, t); | ||
}; | ||
var w = d; | ||
d = d.call.bind(w); | ||
} | ||
e.push(d); | ||
} | ||
0 !== i && (1 === i ? (f.get = p.get, f.set = p.set) : 2 === i ? f.value = p : 3 === i ? f.get = p : 4 === i && (f.set = p), o ? 1 === i ? (e.push(function (e, t) { | ||
return p.get.call(e, t); | ||
}), e.push(function (e, t) { | ||
return p.set.call(e, t); | ||
})) : 2 === i ? e.push(p) : e.push(function (e, t) { | ||
return p.call(e, t); | ||
}) : _Object$defineProperty(t, n, f)); | ||
0 !== i && (1 === i ? (f.get = p.get, f.set = p.set) : 2 === i ? f.value = p : 3 === i ? f.get = p : 4 === i && (f.set = p), s ? 1 === i ? e.push(_bindPropCall(f, "get"), _bindPropCall(f, "set")) : e.push(2 === i ? p : Function.call.bind(p)) : _Object$defineProperty(t, n, f)); | ||
} | ||
function applyMemberDecs(e, t, r, a) { | ||
for (var n, i, s, o = [], c = new _Map(), l = new _Map(), u = 0; u < t.length; u++) { | ||
var n, | ||
i, | ||
o, | ||
s = [], | ||
l = new _Map(), | ||
c = new _Map(); | ||
function pushInitializers(e) { | ||
e && s.push(function (t) { | ||
for (var r = 0; r < e.length; r++) e[r].call(t); | ||
return t; | ||
}); | ||
} | ||
for (var u = 0; u < t.length; u++) { | ||
var f = t[u]; | ||
@@ -176,42 +145,36 @@ if (_Array$isArray(f)) { | ||
p, | ||
h = f[1], | ||
v = f[2], | ||
y = f.length > 3, | ||
m = 16 & h, | ||
g = !!(8 & h), | ||
b = r; | ||
if (h &= 7, g ? (d = e, 0 !== h && (p = i = i || []), y && !s && (s = function s(t) { | ||
v = f[1], | ||
h = f[2], | ||
m = f.length > 3, | ||
b = 16 & v, | ||
y = !!(8 & v), | ||
g = r; | ||
if (v &= 7, y ? (d = e, p = i = i || [], m && !o && (o = function o(t) { | ||
return checkInRHS(t) === e; | ||
}), b = s) : (d = e.prototype, 0 !== h && (p = n = n || [])), 0 !== h && !y) { | ||
var I = g ? l : c, | ||
w = I.get(v) || 0; | ||
if (!0 === w || 3 === w && 4 !== h || 4 === w && 3 !== h) 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: " + v); | ||
I.set(v, !(!w && h > 2) || h); | ||
}), g = o) : (d = e.prototype, p = n = n || []), 0 !== v && !m) { | ||
var I = y ? c : l, | ||
w = I.get(h) || 0; | ||
if (!0 === w || 3 === w && 4 !== v || 4 === w && 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: " + h); | ||
I.set(h, !(!w && v > 2) || v); | ||
} | ||
applyMemberDec(o, d, f, m, v, h, g, y, p, b, a); | ||
applyMemberDec(s, d, f, b, h, v, y, m, p, g, a); | ||
} | ||
} | ||
return pushInitializers(o, n), pushInitializers(o, i), o; | ||
return pushInitializers(n), pushInitializers(i), s; | ||
} | ||
function pushInitializers(e, t) { | ||
t && e.push(function (e) { | ||
for (var r = 0; r < t.length; r++) t[r].call(e); | ||
return e; | ||
}); | ||
} | ||
function applyClassDecs(e, t, r, a) { | ||
if (t.length) { | ||
for (var n = [], i = e, s = e.name, o = r ? 2 : 1, c = t.length - 1; c >= 0; c -= o) { | ||
var l = { | ||
for (var n = [], i = e, o = e.name, s = r ? 2 : 1, l = t.length - 1; l >= 0; l -= s) { | ||
var c = { | ||
v: !1 | ||
}; | ||
try { | ||
var u = t[c].call(r ? t[c - 1] : void 0, i, { | ||
var u = t[l].call(r ? t[l - 1] : void 0, i, { | ||
kind: "class", | ||
name: s, | ||
addInitializer: createAddInitializerMethod(n, l), | ||
name: o, | ||
addInitializer: createAddInitializerMethod(n, c), | ||
metadata: a | ||
}); | ||
} finally { | ||
l.v = !0; | ||
c.v = !0; | ||
} | ||
@@ -233,11 +196,11 @@ void 0 !== u && (assertValidReturnValue(5, u), i = u); | ||
export default function applyDecs2305(e, t, r, a, n, i) { | ||
if (arguments.length >= 6) var s = i[_Symbol.metadata || _Symbol$for("Symbol.metadata")]; | ||
var o = _Object$create(void 0 === s ? null : s), | ||
c = applyMemberDecs(e, t, n, o); | ||
return r.length || defineMetadata(e, o), { | ||
e: c, | ||
if (arguments.length >= 6) var o = i[_Symbol.metadata || _Symbol$for("Symbol.metadata")]; | ||
var s = _Object$create(void 0 === o ? null : o), | ||
l = applyMemberDecs(e, t, n, s); | ||
return r.length || defineMetadata(e, s), { | ||
e: l, | ||
get c() { | ||
return applyClassDecs(e, r, a, o); | ||
return applyClassDecs(e, r, a, s); | ||
} | ||
}; | ||
} |
{ | ||
"name": "@babel/runtime-corejs2", | ||
"version": "7.23.4", | ||
"version": "7.23.5", | ||
"description": "babel's modular runtime helpers with core-js@2 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
277272
5772