Comparing version
@@ -1,11 +0,5 @@ | ||
// Not enumerable | ||
Object.defineProperty(Object.prototype, "append", | ||
{ | ||
value: function(obj) { | ||
for (var prop in obj) | ||
if (obj[prop] != undefined) | ||
this[prop] = obj[prop]; | ||
return this; | ||
}, | ||
enumerable: false } | ||
); | ||
module.exports = function(o1, o2) { | ||
for (var prop in o2) | ||
o1[prop] = o2[prop]; | ||
return o1; | ||
}; |
{ | ||
"author": "Paul Vorbach <paul@vorb.de> (http://vorb.de)", | ||
"name": "append", | ||
"description": "append the properties from one object to another", | ||
"version": "0.0.1", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/pvorb/node-append.git" | ||
}, | ||
"bugs": { | ||
"web": "https://github.com/pvorb/node-append/issues" | ||
}, | ||
"main": "append.js", | ||
"engines": { | ||
"node": "*" | ||
}, | ||
"tags": [ "object", "prototype", "append" ] | ||
"author": "Paul Vorbach <paul@vorb.de> (http://vorb.de)", | ||
"name": "append", | ||
"description": "append the properties from one object to another", | ||
"version": "0.1.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/pvorb/node-append.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/pvorb/node-append/issues" | ||
}, | ||
"main": "append.js", | ||
"engines": { | ||
"node": "*" | ||
}, | ||
"tags": [ "object", "append" ] | ||
} |
Sorry, the diff of this file is not supported yet
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
1
-50%0
-100%1958
-9.18%5
-54.55%32
-3.03%2
Infinity%