nicolium: update deps
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
"@use-gesture/react": "^10.3.1",
|
||||
"@yornaath/batshit": "^0.14.0",
|
||||
"abortcontroller-polyfill": "^1.7.8",
|
||||
"autoprefixer": "^10.4.24",
|
||||
"autoprefixer": "^10.4.27",
|
||||
"blurhash": "^2.0.5",
|
||||
"bowser": "^2.14.1",
|
||||
"browserslist": "^4.28.1",
|
||||
@@ -79,14 +79,14 @@
|
||||
"clsx": "^2.1.1",
|
||||
"core-js": "^3.48.0",
|
||||
"cryptocurrency-icons": "^0.18.1",
|
||||
"cssnano": "^6.0.0",
|
||||
"cssnano": "^7.1.2",
|
||||
"detect-passive-events": "^2.0.0",
|
||||
"emoji-datasource": "15.0.1",
|
||||
"emoji-mart": "^5.6.0",
|
||||
"exifr": "^7.1.3",
|
||||
"fast-average-color": "^9.5.0",
|
||||
"fasttext.wasm.js": "^1.0.0",
|
||||
"flexsearch": "^0.7.43",
|
||||
"flexsearch": "^0.8.212",
|
||||
"fuzzysort": "^3.1.0",
|
||||
"graphemesplit": "^2.4.4",
|
||||
"html-react-parser": "^5.2.17",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import FlexSearch from 'flexsearch';
|
||||
import { Index } from 'flexsearch';
|
||||
|
||||
import type { EmojiData } from './data';
|
||||
import type { Emoji } from './index';
|
||||
@@ -17,9 +17,9 @@ import('./data')
|
||||
})
|
||||
.catch(() => {});
|
||||
|
||||
const index = new FlexSearch.Index({
|
||||
const index = new Index({
|
||||
tokenize: 'full',
|
||||
optimize: true,
|
||||
// optimize: true,
|
||||
context: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user