Skip to content

Commit

Permalink
Bump fuse.js from 6.6.2 to 7.0.0 in /frontend (#2738)
Browse files Browse the repository at this point in the history
Bumps [fuse.js](https://github.com/krisk/Fuse) from 6.6.2 to 7.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/krisk/Fuse/blob/main/CHANGELOG.md">fuse.js's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/krisk/Fuse/compare/v6.6.2...v7.0.0">7.0.0</a>
(2023-10-24)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>Extension changed</li>
</ul>
<h3>Features</h3>
<ul>
<li>finish all but state handling of live demo (<a
href="https://github.com/krisk/Fuse/commit/9b5421a7febd1f57cbd504855ea375eec5d57843">9b5421a</a>)</li>
<li>implementing reacting to option changes (<a
href="https://github.com/krisk/Fuse/commit/46c561c05c97abd05f7ab7de7e78b03ede8d07da">46c561c</a>)</li>
<li>improve fuse keys (<a
href="https://github.com/krisk/Fuse/commit/c47f3d49f9b0262164368b765e2cf8d053556359">c47f3d4</a>)</li>
<li>proper ESM exports (<a
href="https://github.com/krisk/Fuse/commit/eebcf2c77b4c9869fab4bdbd93f3a15198514333">eebcf2c</a>)</li>
<li>properly configure monaco editors (<a
href="https://github.com/krisk/Fuse/commit/fe0d33e3025857c3db9ada7f66d834a6fc36f076">fe0d33e</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>add favicon on public root (<a
href="https://github.com/krisk/Fuse/commit/bc155a31440438d29904aadfe9075225ceddc689">bc155a3</a>)</li>
<li>add proper ESM exports in package.json (<a
href="https://github.com/krisk/Fuse/commit/98366b1630c83e1c64eaae5cccf8f39403b7fc4d">98366b1</a>)</li>
<li>build fixes (<a
href="https://github.com/krisk/Fuse/commit/5969ca716a52aa24fafa476bee02140518202593">5969ca7</a>)</li>
<li>double totalWeight (<a
href="https://github.com/krisk/Fuse/commit/5c0ab467242d1de5d62bd3cdb812518e4b037c0f">5c0ab46</a>)</li>
<li>fixed browserconfig xml file (<a
href="https://github.com/krisk/Fuse/commit/ca0cbbbc2fa64d7e0511c86cced2d09d3ec8efcb">ca0cbbb</a>)</li>
<li>fixed config, packages, and twitter social button (<a
href="https://github.com/krisk/Fuse/commit/bd7555cd0b8b990ca38faf8196a92207785e95a3">bd7555c</a>)</li>
<li>fixed navbar (<a
href="https://github.com/krisk/Fuse/commit/29b25990d592a797df51a3dc15c678defce56538">29b2599</a>)</li>
<li>fixed version display and active search plugin (<a
href="https://github.com/krisk/Fuse/commit/6e2a5922270a22bc9f1b827efd311608a2ea1839">6e2a592</a>)</li>
<li>imports (<a
href="https://github.com/krisk/Fuse/commit/ec4e3bc1ee6ba4655642e5740cabb864bcb70275">ec4e3bc</a>)</li>
<li>re-implement sidebar advertisements (<a
href="https://github.com/krisk/Fuse/commit/67a10cf8d8df22dd198a2e9c3ee5413631459d4a">67a10cf</a>)</li>
<li>support -&gt; donate for clarity of what it is (<a
href="https://github.com/krisk/Fuse/commit/ef99f5633d65e26cd555e847216bf231bcd43823">ef99f56</a>)</li>
<li>vite SSR build fixes (<a
href="https://github.com/krisk/Fuse/commit/3ae8299faac02ca33ea9c7773ea34be2217d533c">3ae8299</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/krisk/Fuse/commit/93bad125443ac05297393cf4aa222232082e2b44"><code>93bad12</code></a>
chore(release): 7.0.0</li>
<li><a
href="https://github.com/krisk/Fuse/commit/eebcf2c77b4c9869fab4bdbd93f3a15198514333"><code>eebcf2c</code></a>
feat: proper ESM exports</li>
<li><a
href="https://github.com/krisk/Fuse/commit/000bbbccbe02bc246ee022f86656ce4c97eec217"><code>000bbbc</code></a>
docs: fix cjs name</li>
<li><a
href="https://github.com/krisk/Fuse/commit/ec4e3bc1ee6ba4655642e5740cabb864bcb70275"><code>ec4e3bc</code></a>
fix: imports</li>
<li><a
href="https://github.com/krisk/Fuse/commit/d1d63a0d5e7486ccc9eafeba2f1c96be418f82eb"><code>d1d63a0</code></a>
refactor: remove .common. and .esm from dist scripts</li>
<li><a
href="https://github.com/krisk/Fuse/commit/98366b1630c83e1c64eaae5cccf8f39403b7fc4d"><code>98366b1</code></a>
fix: add proper ESM exports in package.json</li>
<li><a
href="https://github.com/krisk/Fuse/commit/f507e9f19ff022c13e4517ecff3e7a72ee2688ee"><code>f507e9f</code></a>
docs: convert to GA4</li>
<li><a
href="https://github.com/krisk/Fuse/commit/cdeb1e7f668f1c33b4e4359c64a5bace753a3035"><code>cdeb1e7</code></a>
docs: add shimmer</li>
<li><a
href="https://github.com/krisk/Fuse/commit/2dfcd123bbf4030786872b08e8400d0092d0bf23"><code>2dfcd12</code></a>
docs: improve sponsors section</li>
<li><a
href="https://github.com/krisk/Fuse/commit/a6c303c8041ccaeb89e5291b3a6b18ab7a123509"><code>a6c303c</code></a>
docs: improve sponsors section</li>
<li>Additional commits viewable in <a
href="https://github.com/krisk/Fuse/compare/v6.6.2...v7.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fuse.js&package-manager=npm_and_yarn&previous-version=6.6.2&new-version=7.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
  • Loading branch information
louptheron committed Dec 20, 2023
2 parents 050b8d0 + 61ec6ee commit 0d0c300
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"diacritics": "1.3.0",
"export-to-csv": "0.2.1",
"formik": "2.4.5",
"fuse.js": "6.6.2",
"fuse.js": "7.0.0",
"hammerjs": "2.0.8",
"i18n-iso-countries": "7.6.0",
"imask": "7.1.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { RegulatoryZone } from '../../../types'
import type Fuse from 'fuse.js'
import type { IFuseOptions } from 'fuse.js'

export const REGULATION_SEARCH_OPTIONS: Fuse.IFuseOptions<RegulatoryZone[]> = {
export const REGULATION_SEARCH_OPTIONS: IFuseOptions<RegulatoryZone[]> = {
ignoreLocation: true,
includeScore: false,
keys: [
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/features/VesselSearch/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { VesselEnhancedLastPositionWebGLObject } from '../../domain/entities/vessel/types'
import type Fuse from 'fuse.js'
import type { IFuseOptions } from 'fuse.js'

export const VESSEL_SEARCH_OPTIONS: Fuse.IFuseOptions<VesselEnhancedLastPositionWebGLObject> = {
export const VESSEL_SEARCH_OPTIONS: IFuseOptions<VesselEnhancedLastPositionWebGLObject> = {
distance: 50,
// eslint-disable-next-line @typescript-eslint/naming-convention
includeScore: true,
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/hooks/useTable/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { CollectionItem, Native } from '../../types'
import type Fuse from 'fuse.js'
import type { IFuseOptions } from 'fuse.js'

export type TableColumn<T extends Record<string, any> = Record<string, any>> = {
/** Fixed width expressed in root ephemeral unit (rem) */
Expand Down Expand Up @@ -39,7 +39,7 @@ export type TableOptions<T extends CollectionItem> = {
defaultSortedKey?: string
isCheckable?: boolean
isDefaultSortingDesc?: boolean
searchFuseOptions?: Fuse.IFuseOptions<TableItem<T>>
searchFuseOptions?: IFuseOptions<TableItem<T>>
searchQuery?: string
searchableKeys?: string[]
}
Expand Down

0 comments on commit 0d0c300

Please sign in to comment.