From 1b68523212e52ba680cb7c6fc582725fe381be6e Mon Sep 17 00:00:00 2001 From: nolan Date: Wed, 21 Jun 2017 02:08:40 -0400 Subject: [PATCH] 0.12.0 --- README.md | 2 +- package.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 28d06c4..271629b 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ var options = {wildcards: "*x"}; // '*' and 'x' are both wildcards fuzz.ratio('fuzzba*l', 'fuXxball', options); 100 ``` -Note: Wildcards are currently **not supported** when astral is set to true. Also the token_sort algorithms that depend on token sort order will not take them into account. In fuzzball_lite, when calculating the unique tokens in a string, say for example 'fuzz' and 'f*zz', would be considered different tokens. In the full non-lite version the set functions will now take wildcards into account, though there will be a significant performance hit. Set options.tameTokens = true to fall back to the faster non-wildcard-aware set functions. +Note: Wildcards are currently **not supported** when astral is set to true. Also the token_sort algorithms that depend on token sort order will not take wildcards into account. In fuzzball_lite, when calculating the unique tokens in a string, say for example 'fuzz' and 'f*zz', would be considered different tokens. In the full non-lite version the set functions will now take wildcards into account, though there will be a performance hit. Set options.tameTokens = true to fall back to the faster non-wildcard-aware set functions even when still using wildcards for the ratio calculations. ### Fuzzy Dedupe diff --git a/package.json b/package.json index 29744d9..1a516f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fuzzball", - "version": "0.11.6", + "version": "0.12.0", "description": "Fuzzy string matching algorithms and utilities, port of the fuzzywuzzy Python library.", "main": "fuzzball.js", "files": [ @@ -13,10 +13,13 @@ "difflib": ">=0.2.4", "heap": ">=0.2.0", "lodash.difference": "^4.5.0", + "lodash.differencewith": "^4.5.0", "lodash.foreach": "^4.5.0", "lodash.intersection": "^4.4.0", + "lodash.intersectionwith": "^4.4.0", "lodash.isarray": "^4.0.0", "lodash.keys": "^4.2.0", + "lodash.partialright": "^4.2.1", "lodash.toarray": "^4.4.0", "lodash.uniq": "^4.5.0", "lodash.uniqwith": "^4.5.0",