Skip to content

Commit ee4567b

Browse files
author
Leonid Buneev
committed
Pinned flexserch version
1 parent c7e9807 commit ee4567b

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"lint": "cross-env NODE_ENV=production eslint --max-warnings=0 --ext .js,.vue,.md ."
1111
},
1212
"dependencies": {
13-
"flexsearch": "nextapps-de/flexsearch",
13+
"flexsearch": "^0.6.32",
1414
"html-to-text": "^5.1.1",
15-
"lodash": "^4.17.15",
15+
"lodash": "^4.17.19",
1616
"vuepress": "^1.4.0"
1717
},
1818
"devDependencies": {

services/flexsearchSvc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default {
3333
if (cyrillicPages.length) {
3434
cyrillicIndex = new Flexsearch({
3535
...indexSettings,
36-
encode: false,
36+
encode: 'icase',
3737
split: /\s+/,
3838
tokenize: 'forward',
3939
})

yarn.lock

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3693,9 +3693,10 @@ flatted@^2.0.0:
36933693
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
36943694
integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==
36953695

3696-
flexsearch@nextapps-de/flexsearch#0.7.0:
3697-
version "0.7.0"
3698-
resolved "https://codeload.github.com/nextapps-de/flexsearch/tar.gz/128395ffbe96fcb636d40b0828ca4521e2cf7669"
3696+
flexsearch@^0.6.32:
3697+
version "0.6.32"
3698+
resolved "https://registry.yarnpkg.com/flexsearch/-/flexsearch-0.6.32.tgz#1e20684d317af65baa445cdd9864a5f5b320f510"
3699+
integrity sha512-EF1BWkhwoeLtbIlDbY/vDSLBen/E5l/f1Vg7iX5CDymQCamcx1vhlc3tIZxIDplPjgi0jhG37c67idFbjg+v+Q==
36993700

37003701
flush-write-stream@^1.0.0:
37013702
version "1.1.1"
@@ -5130,6 +5131,11 @@ lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17
51305131
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
51315132
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
51325133

5134+
lodash@^4.17.19:
5135+
version "4.17.19"
5136+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
5137+
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
5138+
51335139
loglevel@^1.6.6:
51345140
version "1.6.7"
51355141
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.7.tgz#b3e034233188c68b889f5b862415306f565e2c56"

0 commit comments

Comments
 (0)