@babel/runtime
Advanced tools
Comparing version 7.7.2 to 7.7.4
@@ -5,3 +5,3 @@ import defineProperty from "./defineProperty"; | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
var ownKeys = Object.keys(Object(source)); | ||
@@ -8,0 +8,0 @@ if (typeof Object.getOwnPropertySymbols === 'function') { |
@@ -22,3 +22,3 @@ import defineProperty from "./defineProperty"; | ||
if (i % 2) { | ||
ownKeys(source, true).forEach(function (key) { | ||
ownKeys(Object(source), true).forEach(function (key) { | ||
defineProperty(target, key, source[key]); | ||
@@ -29,3 +29,3 @@ }); | ||
} else { | ||
ownKeys(source).forEach(function (key) { | ||
ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
@@ -32,0 +32,0 @@ }); |
@@ -6,3 +6,3 @@ var defineProperty = require("./defineProperty"); | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
var ownKeys = Object.keys(Object(source)); | ||
@@ -9,0 +9,0 @@ if (typeof Object.getOwnPropertySymbols === 'function') { |
@@ -22,3 +22,3 @@ var defineProperty = require("./defineProperty"); | ||
if (i % 2) { | ||
ownKeys(source, true).forEach(function (key) { | ||
ownKeys(Object(source), true).forEach(function (key) { | ||
defineProperty(target, key, source[key]); | ||
@@ -29,3 +29,3 @@ }); | ||
} else { | ||
ownKeys(source).forEach(function (key) { | ||
ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
@@ -32,0 +32,0 @@ }); |
{ | ||
"name": "@babel/runtime", | ||
"version": "7.7.2", | ||
"version": "7.7.4", | ||
"description": "babel's modular runtime helpers", | ||
@@ -20,5 +20,5 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/helpers": "^7.7.0" | ||
"@babel/helpers": "^7.7.4" | ||
}, | ||
"gitHead": "35f4d1276310bac6fede4a6f86a5c76f951e179e" | ||
"gitHead": "75767d87cb147709b9bd9b99bf44daa6688874a9" | ||
} |
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
91503
151