@babel/runtime
Advanced tools
Comparing version 7.24.4 to 7.24.5
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", |
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
262264
5774