From 8ad8938c4ef65146d757bacd1adb1ef272e4185c Mon Sep 17 00:00:00 2001 From: hypnos Date: Wed, 13 Dec 2017 23:11:30 +0300 Subject: [PATCH] Move back to original fuse.js package --- lib/ui/package.json | 2 +- lib/ui/src/modules/ui/libs/filters.js | 2 +- yarn.lock | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/ui/package.json b/lib/ui/package.json index 8b590adbd653..be4633c0f43c 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -14,13 +14,13 @@ "storybook": "start-storybook -p 9010" }, "dependencies": { - "@hypnosphi/fuse.js": "^3.0.9", "@storybook/components": "^3.3.0-alpha.4", "@storybook/mantra-core": "^1.7.0", "@storybook/react-komposer": "^2.0.0", "babel-runtime": "^6.26.0", "deep-equal": "^1.0.1", "events": "^1.1.1", + "fuse.js": "^3.2.0", "global": "^4.3.2", "json-stringify-safe": "^5.0.1", "keycode": "^2.1.8", diff --git a/lib/ui/src/modules/ui/libs/filters.js b/lib/ui/src/modules/ui/libs/filters.js index 6fb1860282fe..358b2a3f6455 100755 --- a/lib/ui/src/modules/ui/libs/filters.js +++ b/lib/ui/src/modules/ui/libs/filters.js @@ -1,4 +1,4 @@ -import Fuse from '@hypnosphi/fuse.js'; +import Fuse from 'fuse.js'; import sortBy from 'lodash.sortby'; const searchOptions = { diff --git a/yarn.lock b/yarn.lock index d518ceb97f65..2639e0a1ff3b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -199,10 +199,6 @@ lodash "^4.2.0" to-fast-properties "^2.0.0" -"@hypnosphi/fuse.js@^3.0.9": - version "3.0.9" - resolved "https://registry.yarnpkg.com/@hypnosphi/fuse.js/-/fuse.js-3.0.9.tgz#ea99f6121b4a8f065b4c71f85595db2714498807" - "@ngtools/json-schema@1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@ngtools/json-schema/-/json-schema-1.1.0.tgz#c3a0c544d62392acc2813a42c8a0dc6f58f86922" @@ -5461,7 +5457,7 @@ functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" -fuse.js@^3.0.1: +fuse.js@^3.0.1, fuse.js@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.2.0.tgz#f0448e8069855bf2a3e683cdc1d320e7e2a07ef4"