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.4 to 7.24.5

11

helpers/esm/objectWithoutPropertiesLoose.js
export default function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
}
return target;
}
export default function _usingCtx() {
var r = "function" == typeof SuppressedError ? SuppressedError : function (r, n) {
var e = Error();
return e.name = "SuppressedError", e.suppressed = n, e.error = r, e;
return e.name = "SuppressedError", e.error = r, e.suppressed = n, e;
},

@@ -18,3 +18,6 @@ n = {},

});
}
} else r && e.push({
d: n,
a: r
});
return n;

@@ -31,3 +34,3 @@ }

var r,
t = r.d.call(r.v);
t = r.d && r.d.call(r.v);
if (r.a) return Promise.resolve(t).then(next, err);

@@ -40,3 +43,3 @@ } catch (r) {

function err(e) {
return o = o !== n ? new r(o, e) : e, next();
return o = o !== n ? new r(e, o) : e, next();
}

@@ -43,0 +46,0 @@ return next();

function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
}

@@ -11,0 +10,0 @@ return target;

function _usingCtx() {
var r = "function" == typeof SuppressedError ? SuppressedError : function (r, n) {
var e = Error();
return e.name = "SuppressedError", e.suppressed = n, e.error = r, e;
return e.name = "SuppressedError", e.error = r, e.suppressed = n, e;
},

@@ -18,3 +18,6 @@ n = {},

});
}
} else r && e.push({
d: n,
a: r
});
return n;

@@ -31,3 +34,3 @@ }

var r,
t = r.d.call(r.v);
t = r.d && r.d.call(r.v);
if (r.a) return Promise.resolve(t).then(next, err);

@@ -40,3 +43,3 @@ } catch (r) {

function err(e) {
return o = o !== n ? new r(o, e) : e, next();
return o = o !== n ? new r(e, o) : e, next();
}

@@ -43,0 +46,0 @@ return next();

{
"name": "@babel/runtime",
"version": "7.24.4",
"version": "7.24.5",
"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