Skip to content

Commit 5717c52

Browse files
dependabot[bot]slifty
authored andcommitted
Bump fuse.js from 6.6.2 to 7.1.0
This includes changes to the way the fuse interface types were accessed. Bumps [fuse.js](https://github.com/krisk/Fuse) from 6.6.2 to 7.1.0. - [Release notes](https://github.com/krisk/Fuse/releases) - [Changelog](https://github.com/krisk/Fuse/blob/main/CHANGELOG.md) - [Commits](krisk/Fuse@v6.6.2...v7.1.0) --- updated-dependencies: - dependency-name: fuse.js dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent d867a9e commit 5717c52

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"debug": "4.4.1",
6565
"firebase": "^12.6.0",
6666
"firebase-functions": "^7.0.0",
67-
"fuse.js": "^6.6.2",
67+
"fuse.js": "^7.1.0",
6868
"gsap": "^3.6.0",
6969
"hammerjs": "^2.0.8",
7070
"handlebars": "^4.7.7",

src/app/core/services/relationship/relationship.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { RelationVO, ArchiveVO } from '@models';
33
import { AccountService } from '@shared/services/account/account.service';
44
import { ApiService } from '@shared/services/api/api.service';
55
import { RelationResponse } from '@shared/services/api/index.repo';
6-
import Fuse from 'fuse.js';
6+
import Fuse, { IFuseOptions } from 'fuse.js';
77
import { find, remove } from 'lodash';
88

99
const REFRESH_THRESHOLD = 2 * 60 * 1000;
@@ -16,7 +16,7 @@ export class RelationshipService {
1616
private lastUpdated: Date;
1717
private currentArchive: ArchiveVO;
1818

19-
private fuseOptions: Fuse.IFuseOptions<RelationVO> = {
19+
private fuseOptions: IFuseOptions<RelationVO> = {
2020
keys: ['RelationArchiveVO.fullName'],
2121
threshold: 0.1,
2222
};

src/app/search/services/search.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ import { Injectable } from '@angular/core';
22
import { ApiService } from '@shared/services/api/api.service';
33
import { DataService } from '@shared/services/data/data.service';
44
import { ItemVO, TagVOData } from '@models';
5-
import Fuse from 'fuse.js';
5+
import Fuse, { IFuseOptions } from 'fuse.js';
66
import { Observable } from 'rxjs';
77
import { SearchResponse } from '@shared/services/api/index.repo';
88
import { TagsService } from '@core/services/tags/tags.service';
99

1010
@Injectable()
1111
export class SearchService {
12-
private fuseOptions: Fuse.IFuseOptions<ItemVO> = {
12+
private fuseOptions: IFuseOptions<ItemVO> = {
1313
keys: ['displayName'],
1414
threshold: 0.1,
1515
ignoreLocation: true,
1616
};
1717
private fuse = new Fuse([], this.fuseOptions);
1818

19-
private tagsFuseOptions: Fuse.IFuseOptions<TagVOData> = {
19+
private tagsFuseOptions: IFuseOptions<TagVOData> = {
2020
keys: ['name'],
2121
threshold: 0.1,
2222
ignoreLocation: true,

0 commit comments

Comments
 (0)