Comparing version 1.2.1 to 1.2.2
@@ -43,3 +43,3 @@ 'use strict'; | ||
var k = parts[0]; | ||
if(parts.length > -1) { | ||
if(parts.length > 1) { | ||
var partsLength = parts.length | ||
@@ -46,0 +46,0 @@ k = parts[partsLength - 1]; |
{ | ||
"name": "dot2val", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Set or get a value within a deeply nested object using `dot' notation", | ||
@@ -5,0 +5,0 @@ "main": "index.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
7240