29 lines
994 B
Diff
29 lines
994 B
Diff
diff --git a/node_modules/fast-fuzzy/lib/fuzzy.js b/node_modules/fast-fuzzy/lib/fuzzy.js
|
|
index 33d561a..2e5589f 100644
|
|
--- a/node_modules/fast-fuzzy/lib/fuzzy.js
|
|
+++ b/node_modules/fast-fuzzy/lib/fuzzy.js
|
|
@@ -82,7 +82,7 @@ function normalize(string, options) {
|
|
let lastWasWhitespace = true;
|
|
let length = 0;
|
|
|
|
- for (const grapheme of split(lower)) {
|
|
+ for (const grapheme of lower.split('')) {
|
|
whitespaceRegex.lastIndex = 0;
|
|
nonWordRegex.lastIndex = 0;
|
|
|
|
diff --git a/node_modules/fast-fuzzy/package.json b/node_modules/fast-fuzzy/package.json
|
|
index cdc334c..947679b 100644
|
|
--- a/node_modules/fast-fuzzy/package.json
|
|
+++ b/node_modules/fast-fuzzy/package.json
|
|
@@ -4,10 +4,6 @@
|
|
"description": "Fast and tiny fuzzy-search utility",
|
|
"main": "lib/fuzzy.js",
|
|
"types": "lib/fuzzy.d.ts",
|
|
- "exports": {
|
|
- "import": "./lib/fuzzy.mjs",
|
|
- "require": "./lib/fuzzy.js"
|
|
- },
|
|
"scripts": {
|
|
"compile": "rollup -c",
|
|
"prepublishOnly": "npm run compile",
|