fix: 🐛 Patch fast-fuzzy to remove warning
Fast-fuzzy uses a new package.json construct: exports It is missing the package.json file and entire packae is ignored when using node 15+. This adds a patch that removes the exports from package.json
This commit is contained in:
parent
9db97c8b3b
commit
45210e15c6
|
@ -11,3 +11,18 @@ index 33d561a..2e5589f 100644
|
|||
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",
|
||||
|
|
Loading…
Reference in New Issue