New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

append

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

append - npm Package Compare versions

Comparing version

to
0.1.0

16

append.js

@@ -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