fast-fuzzy
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -90,3 +90,3 @@ "use strict"; | ||
if ((m = rowB[j] + cost) < min) min = m; //substitution | ||
if (i > 0 && j > 0 && term[i] === candidate[j - 1] && term[i - 1] === candidate[j] && (m = rowA[j - 1] + cost < min)) min = m; | ||
if (i > 0 && j > 0 && term[i] === candidate[j - 1] && term[i - 1] === candidate[j] && (m = rowA[j - 1] + cost) < min) min = m; | ||
rowC[j + 1] = min; | ||
@@ -93,0 +93,0 @@ } |
{ | ||
"name": "fast-fuzzy", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "Fast and tiny fuzzy-search utility", | ||
@@ -5,0 +5,0 @@ "main": "lib/fuzzy.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