Comparing version 4.1.0 to 4.1.1
@@ -93,2 +93,7 @@ /** | ||
} | ||
else if (remaining === '') { | ||
// If the remaining key is empty, then a `.` character appeared right at the end of the path and wasn't actually indicating a separate level | ||
obj[kp] = v; | ||
return obj; | ||
} | ||
else { | ||
@@ -95,0 +100,0 @@ // If the current key doesn't exist yet, populate it |
@@ -5,7 +5,7 @@ { | ||
"description": "A document path library for Node", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"homepage": "https://mrodrig.github.io/doc-path", | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/mrodrig/doc-path.git" | ||
"url": "git+ssh://git@github.com/mrodrig/doc-path.git" | ||
}, | ||
@@ -12,0 +12,0 @@ "main": "./lib/path.js", |
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
12101
148