just-safe-set
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -39,6 +39,6 @@ module.exports = set; | ||
while ((thisProp = props.shift())) { | ||
if (!obj[thisProp]) { | ||
obj[thisProp] = {}; | ||
obj = obj[thisProp]; | ||
if (!obj || typeof obj != 'object') { | ||
return false; | ||
} | ||
obj = obj[thisProp]; | ||
} | ||
@@ -45,0 +45,0 @@ obj[lastProp] = value; |
{ | ||
"name": "just-safe-set", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": | ||
@@ -5,0 +5,0 @@ "set value at property, create intermediate properties if necessary", |
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
2144