fast-levenshtein-string
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "fast-levenshtein-string", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Implementation of the Levenshtein algorithm used to calculate distince between strings.", | ||
@@ -8,5 +8,5 @@ "main": "./src/levenshtein.js", | ||
"scripts": { | ||
"lint": "eslint .", | ||
"test": "mocha --recursive test", | ||
"test-coverage": "istanbul cover ./node_modules/mocha/bin/_mocha test" | ||
"lint": "node_modules/.bin/eslint .", | ||
"test": "node_modules/.bin/mocha --recursive test", | ||
"test-coverage": "node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha test" | ||
}, | ||
@@ -31,3 +31,3 @@ "repository": { | ||
"chai": "4.1.2", | ||
"eslint": "4.9.0", | ||
"eslint": "4.18.2", | ||
"eslint-config-standard": "10.2.1", | ||
@@ -39,7 +39,4 @@ "eslint-plugin-import": "2.7.0", | ||
"istanbul": "0.4.5", | ||
"mocha": "4.0.1" | ||
}, | ||
"directories": { | ||
"test": "test" | ||
"mocha": "6.2.2" | ||
} | ||
} |
@@ -17,3 +17,3 @@ 'use strict'; | ||
*/ | ||
compute(rawWord1, rawWord2) { | ||
compute: function(rawWord1, rawWord2) { | ||
const word1 = stringifyInput(rawWord1, 'rawWord1'); | ||
@@ -38,3 +38,3 @@ const word2 = stringifyInput(rawWord2, 'rawWord2'); | ||
*/ | ||
computeWithoutCheck(rawWord1, rawWord2) { | ||
computeWithoutCheck: function(rawWord1, rawWord2) { | ||
return fastLevenshtein(rawWord1, rawWord2); | ||
@@ -41,0 +41,0 @@ } |
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
7166
5