find-by-words
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -29,7 +29,7 @@ /* | ||
while (a[--_middle].slice(0, size) == word) { | ||
while (a[--_middle] && a[_middle].slice(0, size) == word) { | ||
output.push(a[_middle]); | ||
} | ||
while (a[++middle].slice(0, size) == word) { | ||
while (a[++middle] && a[middle].slice(0, size) == word) { | ||
output.push(a[middle]); | ||
@@ -36,0 +36,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"repository": "evandrolg/find-by-words", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "search-by-words.js", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
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
3982