@babel/runtime-corejs2
Advanced tools
Comparing version 7.5.3 to 7.5.4
@@ -24,4 +24,5 @@ import _Object$defineProperty from "../../core-js/object/define-property"; | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
if (i % 2) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
ownKeys(source, true).forEach(function (key) { | ||
@@ -31,6 +32,6 @@ defineProperty(target, key, source[key]); | ||
} else if (_Object$getOwnPropertyDescriptors) { | ||
_Object$defineProperties(target, _Object$getOwnPropertyDescriptors(arguments[i])); | ||
_Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)); | ||
} else { | ||
ownKeys(arguments[i]).forEach(function (key) { | ||
_Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(arguments[i], key)); | ||
ownKeys(source).forEach(function (key) { | ||
_Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); | ||
}); | ||
@@ -37,0 +38,0 @@ } |
@@ -30,4 +30,5 @@ var _Object$defineProperty = require("../core-js/object/define-property"); | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
if (i % 2) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
ownKeys(source, true).forEach(function (key) { | ||
@@ -37,6 +38,6 @@ defineProperty(target, key, source[key]); | ||
} else if (_Object$getOwnPropertyDescriptors) { | ||
_Object$defineProperties(target, _Object$getOwnPropertyDescriptors(arguments[i])); | ||
_Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)); | ||
} else { | ||
ownKeys(arguments[i]).forEach(function (key) { | ||
_Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(arguments[i], key)); | ||
ownKeys(source).forEach(function (key) { | ||
_Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); | ||
}); | ||
@@ -43,0 +44,0 @@ } |
{ | ||
"name": "@babel/runtime-corejs2", | ||
"version": "7.5.3", | ||
"version": "7.5.4", | ||
"description": "babel's modular runtime helpers with core-js@2 polyfilling", | ||
@@ -16,5 +16,5 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/helpers": "^7.5.3" | ||
"@babel/helpers": "^7.5.4" | ||
}, | ||
"gitHead": "759ff4d6dfbfc2b6d86f2c2f2700a43557711af5" | ||
"gitHead": "a9a7f4e690b15d569deb8a53719f37d6dc09393b" | ||
} |
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
103082