Comparing version 0.4.0 to 0.4.1
@@ -21,3 +21,5 @@ "use strict"; | ||
function unpartialDuo(base, partial) { | ||
if (partial === undefined || partial === null) | ||
if (partial === undefined) | ||
return base; | ||
if (base === null || base === undefined) | ||
return partial; | ||
@@ -24,0 +26,0 @@ return merge({}, base, partial); |
@@ -21,3 +21,5 @@ "use strict"; | ||
function unpartialDuo(base, partial) { | ||
if (partial === undefined || partial === null) | ||
if (partial === undefined) | ||
return base; | ||
if (base === null || base === undefined) | ||
return partial; | ||
@@ -24,0 +26,0 @@ return merge({}, base, partial); |
{ | ||
"name": "unpartial", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Unpartial a partialed object", | ||
@@ -24,3 +24,3 @@ "main": "dist-es5/index.js", | ||
"postpublish": "git push", | ||
"prepublish": "npm run build", | ||
"prepare": "npm run build", | ||
"preversion": "git pull && npm run verify", | ||
@@ -27,0 +27,0 @@ "verify": "npm run lint && npm run coverage && npm run dependency-check", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
19251
136