Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

copy-to

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-to - npm Package Compare versions

Comparing version 0.0.3 to 1.0.0

7

index.js

@@ -23,3 +23,3 @@ /*!

return new Copy(src);
}
};

@@ -33,3 +33,3 @@ /**

this.src = src;
};
}

@@ -45,2 +45,3 @@ /**

Copy.prototype.to = function(to) {
to = to || {};
for (var key in this.src) {

@@ -59,2 +60,3 @@ if (!notDefiend(to, key)) {

}
return to;
};

@@ -92,2 +94,3 @@

*/
Copy.prototype.and = function (obj) {

@@ -94,0 +97,0 @@ var src = {};

{
"name": "copy-to",
"version": "0.0.3",
"version": "1.0.0",
"description": "copy an object's properties to another object",

@@ -12,3 +12,3 @@ "main": "index.js",

"type": "git",
"url": "git://github.com/dead-horse/copy-to.git"
"url": "git://github.com/node-modules/copy-to.git"
},

@@ -25,5 +25,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/dead-horse/copy-to/issues"
"url": "https://github.com/node-modules/copy-to/issues"
},
"homepage": "https://github.com/dead-horse/copy-to"
"homepage": "https://github.com/node-modules/copy-to"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc