Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency fuzzysort to v2 #29401

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/app/package.json
Expand Up @@ -52,7 +52,7 @@
"disparity": "^3.0.0",
"engine.io-client": "3.5.2",
"faker": "5.5.3",
"fuzzysort": "^1.1.4",
"fuzzysort": "^2.0.4",
"graphql": "^15.5.1",
"graphql-tag": "^2.12.5",
"human-interval": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/specs/spec-utils.ts
Expand Up @@ -8,7 +8,7 @@ export function fuzzySortSpecs <T extends FuzzyFoundSpec> (specs: T[], searchVal
const normalizedSearchValue = normalizeSpecValue(searchValue)

const fuzzySortResult = fuzzySort
.go(normalizedSearchValue, specs, { keys: ['normalizedRelative', 'normalizedBaseName'], allowTypo: false, threshold: -10000 })
.go(normalizedSearchValue, specs, { keys: ['normalizedRelative', 'normalizedBaseName'], threshold: -10000 })
.map((result) => {
const [relative, baseName] = result

Expand Down
2 changes: 1 addition & 1 deletion packages/frontend-shared/package.json
Expand Up @@ -54,7 +54,7 @@
"fake-uuid": "^1.0.0",
"faker": "5.5.3",
"floating-vue": "2.0.0-beta.17",
"fuzzysort": "^1.1.4",
"fuzzysort": "^2.0.4",
"graphql": "^15.5.1",
"graphql-relay": "^0.9.0",
"graphql-tag": "^2.12.5",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -16767,10 +16767,10 @@ functions-have-names@^1.2.3:
resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834"
integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==

fuzzysort@^1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/fuzzysort/-/fuzzysort-1.1.4.tgz#a0510206ed44532cbb52cf797bf5a3cb12acd4ba"
integrity sha512-JzK/lHjVZ6joAg3OnCjylwYXYVjRiwTY6Yb25LvfpJHK8bjisfnZJ5bY8aVWwTwCXgxPNgLAtmHL+Hs5q1ddLQ==
fuzzysort@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/fuzzysort/-/fuzzysort-2.0.4.tgz#a21d1ce8947eaf2797dc3b7c28c36db9d1165f84"
integrity sha512-Api1mJL+Ad7W7vnDZnWq5pGaXJjyencT+iKGia2PlHUcSsSzWwIQ3S1isiMpwpavjYtGd2FzhUIhnnhOULZgDw==

fwd-stream@^1.0.4:
version "1.0.4"
Expand Down