Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@babel/runtime

Package Overview
Dependencies
1
Maintainers
4
Versions
164
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.24.0 to 7.24.1

6

helpers/applyDecs.js

@@ -104,3 +104,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");
}

@@ -122,3 +122,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;
}

@@ -195,3 +195,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);

@@ -198,0 +198,0 @@ }

@@ -6,3 +6,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"), e.push(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 @@ }

@@ -8,3 +8,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"), e.push(r);

@@ -145,3 +145,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);

@@ -148,0 +148,0 @@ }

@@ -9,3 +9,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"), e.push(r);

@@ -176,3 +176,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);

@@ -179,0 +179,0 @@ }

@@ -50,3 +50,3 @@ var _typeof = require("./typeof.js")["default"];

addInitializer: 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");
s(t, "An initializer", "be", !0), c.push(t);

@@ -118,3 +118,3 @@ }.bind(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);

@@ -121,0 +121,0 @@ }

@@ -57,3 +57,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;

@@ -71,3 +71,3 @@ }

addInitializer: 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");
b(t, "An initializer", "be", !0), i.push(t);

@@ -74,0 +74,0 @@ }.bind(null, K)

function dispose_SuppressedError(r, e) {
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, {

@@ -5,0 +5,0 @@ constructor: {

@@ -104,3 +104,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");
}

@@ -122,3 +122,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;
}

@@ -195,3 +195,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);

@@ -198,0 +198,0 @@ }

@@ -6,3 +6,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"), e.push(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 @@ }

@@ -8,3 +8,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"), e.push(r);

@@ -145,3 +145,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);

@@ -148,0 +148,0 @@ }

@@ -9,3 +9,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"), e.push(r);

@@ -176,3 +176,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);

@@ -179,0 +179,0 @@ }

@@ -50,3 +50,3 @@ import _typeof from "./typeof.js";

addInitializer: 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");
s(t, "An initializer", "be", !0), c.push(t);

@@ -118,3 +118,3 @@ }.bind(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);

@@ -121,0 +121,0 @@ }

@@ -57,3 +57,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;

@@ -71,3 +71,3 @@ }

addInitializer: 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");
b(t, "An initializer", "be", !0), i.push(t);

@@ -74,0 +74,0 @@ }.bind(null, K)

function dispose_SuppressedError(r, e) {
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, {

@@ -5,0 +5,0 @@ constructor: {

@@ -21,3 +21,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;

@@ -24,0 +24,0 @@ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];

@@ -9,3 +9,3 @@ var REACT_ELEMENT_TYPE;

}), 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;

@@ -12,0 +12,0 @@ }

@@ -111,3 +111,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) {

@@ -254,3 +254,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);

@@ -295,3 +295,3 @@ }

}
throw new Error("illegal catch attempt");
throw Error("illegal catch attempt");
},

@@ -298,0 +298,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 + "";
}
export default function _usingCtx() {
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;

@@ -5,0 +5,0 @@ },

@@ -11,3 +11,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);

@@ -14,0 +14,0 @@ }

@@ -21,3 +21,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;

@@ -24,0 +24,0 @@ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];

@@ -9,3 +9,3 @@ var REACT_ELEMENT_TYPE;

}), 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;

@@ -12,0 +12,0 @@ }

@@ -111,3 +111,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) {

@@ -254,3 +254,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);

@@ -295,3 +295,3 @@ }

}
throw new Error("illegal catch attempt");
throw Error("illegal catch attempt");
},

@@ -298,0 +298,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;
function _usingCtx() {
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;

@@ -5,0 +5,0 @@ },

@@ -11,3 +11,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);

@@ -14,0 +14,0 @@ }

{
"name": "@babel/runtime",
"version": "7.24.0",
"version": "7.24.1",
"description": "babel's modular runtime helpers",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc