Comparing version 0.0.3 to 1.0.0
@@ -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" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3229
94
0