component-clone
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "clone", | ||
"repo": "component/clone", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "component/type": "*" |
0.2.3 / 2016-07-21 | ||
================== | ||
* use safer Object.prototype.hasOwnProperty | ||
0.2.2 / 2014-03-06 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -30,3 +30,3 @@ /** | ||
for (var key in obj) { | ||
if (obj.hasOwnProperty(key)) { | ||
if (Object.prototype.hasOwnProperty.call(obj, key)) { | ||
copy[key] = clone(obj[key]); | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "component-clone", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "component-type": "*" |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4564
1