dependabot[bot] opened a new pull request, #40922: URL: https://github.com/apache/superset/pull/40922
Bumps [fuse.js](https://github.com/krisk/Fuse) from 7.3.0 to 7.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/krisk/Fuse/releases">fuse.js's releases</a>.</em></p> <blockquote> <h2>v7.4.1</h2> <h3>Bug Fixes</h3> <ul> <li><strong>types:</strong> ship TypeScript declarations for <code>fuse.js/worker</code> (<a href="https://github.com/krisk/Fuse/commit/572ad1e6fca0bce226afae88b33a6f2d3672f80f">572ad1e</a>), closes <a href="https://redirect.github.com/krisk/Fuse/issues/828">#828</a></li> <li><strong>types:</strong> add TypeScript declarations for <code>fuse.js/worker-script</code> (<a href="https://github.com/krisk/Fuse/commit/6ef6c33101f8f4387d8a1dc7a227e483a179231f">6ef6c33</a>), closes <a href="https://redirect.github.com/krisk/Fuse/issues/828">#828</a></li> </ul> <p>Both worker subpaths now resolve types under node16/nodenext and bundler module resolution.</p> <h2>v7.4.0</h2> <p>First stable on the 7.4 line. Aggregates everything from the <code>7.4.0-beta.1</code> → <code>7.4.0-beta.8</code> cycle. See <a href="https://github.com/krisk/Fuse/blob/main/CHANGELOG.md">CHANGELOG.md</a> for the per-beta breakdown.</p> <h3>Features</h3> <ul> <li><strong>FuseWorker</strong> — parallel search via Web Workers (<a href="https://github.com/krisk/Fuse/commit/9ba192c5">9ba192c</a>). New <code>FuseWorker</code> class shards the collection across workers, runs searches in parallel, and preserves the same result ordering as <code>Fuse</code>. See the <a href="https://fusejs.io/api/workers">Web Workers guide</a>.</li> <li><strong>token-search:</strong> <code>tokenMatch: 'all' | 'any'</code> option for AND/OR semantics (<a href="https://redirect.github.com/krisk/Fuse/issues/827">#827</a>, <a href="https://github.com/krisk/Fuse/commit/9f979d0">9f979d0</a>). Default <code>'any'</code> preserves existing behavior; <code>'all'</code> requires every query word to match somewhere in a record (term-centric AND), useful for filter-style queries.</li> <li><strong>token-search:</strong> customizable tokenizer with unicode-aware default (<a href="https://redirect.github.com/krisk/Fuse/issues/821">#821</a>, <a href="https://github.com/krisk/Fuse/commit/8e55cae">8e55cae</a>). New <code>tokenize?: RegExp | (text: string) => string[]</code> option; the default regex now segments CJK, Cyrillic, Greek, Arabic, etc. out of the box.</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>matches:</strong> report array-path keys as dotted strings (<a href="https://github.com/krisk/Fuse/commit/acd54e8">acd54e8</a>). Previously <code>match.key</code> leaked a raw <code>string[]</code> for keys declared as path arrays (e.g. <code>keys: [['author', 'firstName']]</code>), contradicting the documented <code>FuseResultMatch.key: string</code> type. Now emits the canonical dotted string (<code>'author.firstName'</code>). <strong>Behavior change:</strong> consumers relying on the array shape need to update.</li> <li><strong>bitap:</strong> restrict highlight indices to matched window (<a href="https://redirect.github.com/krisk/Fuse/issues/792">#792</a>, <a href="https://github.com/krisk/Fuse/commit/622f105">622f105</a>). Closes <a href="https://redirect.github.com/krisk/Fuse/issues/505">#505</a>, <a href="https://redirect.github.com/krisk/Fuse/issues/611">#611</a>, <a href="https://redirect.github.com/krisk/Fuse/issues/691">#691</a>, <a href="https://redirect.github.com/krisk/Fuse/issues/793">#793</a>.</li> <li><strong>index:</strong> correct doc-index alignment for <code>Fuse<string></code> with blank docs (<a href="https://github.com/krisk/Fuse/commit/0b8e3ca">0b8e3ca</a>).</li> <li><strong>core:</strong> invalidate searcher cache on collection mutation (<a href="https://github.com/krisk/Fuse/commit/fcf4228">fcf4228</a>).</li> <li><strong>token-search:</strong> renumber inverted index after doc removal (<a href="https://github.com/krisk/Fuse/commit/ea9356d">ea9356d</a>).</li> <li><strong>workers:</strong> preserve global <code>refIndex</code> across shards (<a href="https://github.com/krisk/Fuse/commit/e4217f9">e4217f9</a>), match Fuse ordering and reject non-cloneable options (<a href="https://github.com/krisk/Fuse/commit/d571390">d571390</a>), reject <code>useTokenSearch</code> in <code>FuseWorker</code> (<a href="https://github.com/krisk/Fuse/commit/8c6183d">8c6183d</a>).</li> <li><strong>match:</strong> explicitly reject <code>useTokenSearch</code> in <code>Fuse.match</code> (<a href="https://github.com/krisk/Fuse/commit/3959d91">3959d91</a>).</li> <li>correct <code>fieldCount</code> accounting and add reverse lookup in inverted index (<a href="https://github.com/krisk/Fuse/commit/54e702c">54e702c</a>).</li> <li>guard against empty-string crash in <code>fieldNorm</code> (<a href="https://github.com/krisk/Fuse/commit/e550ab1">e550ab1</a>); skip consecutive spaces in <code>fieldNorm</code> word counting (<a href="https://github.com/krisk/Fuse/commit/5929af6">5929af6</a>).</li> <li><strong>types:</strong> resolve typecheck errors and align <code>KeyStore</code> types (<a href="https://github.com/krisk/Fuse/commit/dbc115d">dbc115d</a>).</li> <li><strong>docs:</strong> reflect data edits in playground demo (<a href="https://redirect.github.com/krisk/Fuse/issues/825">#825</a>, <a href="https://github.com/krisk/Fuse/commit/6eff909">6eff909</a>).</li> </ul> <h3>Performance</h3> <ul> <li>reuse bit arrays in Bitap search instead of allocating per error level (<a href="https://github.com/krisk/Fuse/commit/ec9b446">ec9b446</a>)</li> <li>replace <code>forEach</code> with <code>for</code> loops in search hot paths (<a href="https://github.com/krisk/Fuse/commit/1945f49">1945f49</a>)</li> <li>fast-path <code>Math.pow</code> when exponent is 1 in <code>computeScore</code> (<a href="https://github.com/krisk/Fuse/commit/c82de57">c82de57</a>)</li> <li>pre-allocate records array and use <code>for</code> loops in <code>FuseIndex.create</code> (<a href="https://github.com/krisk/Fuse/commit/5800036">5800036</a>)</li> <li>replace regex with loop for word counting in <code>fieldNorm</code> (<a href="https://github.com/krisk/Fuse/commit/5517a9b">5517a9b</a>)</li> <li>use <code>filter</code> instead of reverse-splice in <code>removeAll</code> / <code>remove</code> (<a href="https://github.com/krisk/Fuse/commit/c74823b">c74823b</a>, <a href="https://github.com/krisk/Fuse/commit/8372b0a">8372b0a</a>)</li> <li><strong>token-search:</strong> drop unused postings from inverted index (<a href="https://github.com/krisk/Fuse/commit/5ea216f">5ea216f</a>)</li> </ul> <h3>Internal</h3> <ul> <li>refactor: replace extended-search matcher classes with plain functions (<a href="https://github.com/krisk/Fuse/commit/f8d61c9">f8d61c9</a>)</li> <li>bench: consolidate <code>benchmark/</code> into <code>bench/</code> and add npm scripts (<a href="https://github.com/krisk/Fuse/commit/3b3a4c6">3b3a4c6</a>)</li> <li>ci: update Node matrix to 20, 22, 24 (<a href="https://github.com/krisk/Fuse/commit/b906906">b906906</a>)</li> <li>chore(deps): pin secure versions via npm overrides (<a href="https://github.com/krisk/Fuse/commit/3a1b118">3a1b118</a>)</li> </ul> <h3>Docs</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <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> <h3><a href="https://github.com/krisk/Fuse/compare/v7.4.0...v7.4.1">7.4.1</a> (2026-06-02)</h3> <h3>Bug Fixes</h3> <ul> <li><strong>types:</strong> add TypeScript declarations for fuse.js/worker-script (<a href="https://github.com/krisk/Fuse/commit/6ef6c33101f8f4387d8a1dc7a227e483a179231f">6ef6c33</a>), closes <a href="https://redirect.github.com/krisk/Fuse/issues/828">#828</a></li> <li><strong>types:</strong> ship TypeScript declarations for fuse.js/worker (<a href="https://github.com/krisk/Fuse/commit/572ad1e6fca0bce226afae88b33a6f2d3672f80f">572ad1e</a>), closes <a href="https://redirect.github.com/krisk/Fuse/issues/828">#828</a></li> </ul> <h2><a href="https://github.com/krisk/Fuse/compare/v7.4.0-beta.8...v7.4.0">7.4.0</a> (2026-05-30)</h2> <h2><a href="https://github.com/krisk/Fuse/compare/v7.4.0-beta.7...v7.4.0-beta.8">7.4.0-beta.8</a> (2026-05-25)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>matches:</strong> report array-path keys as dotted strings (<a href="https://github.com/krisk/Fuse/commit/acd54e88b667002c602ff624f7d7f2cbc62f23ec">acd54e8</a>)</li> </ul> <h2><a href="https://github.com/krisk/Fuse/compare/v7.4.0-beta.6...v7.4.0-beta.7">7.4.0-beta.7</a> (2026-05-22)</h2> <h3>Features</h3> <ul> <li><strong>token-search:</strong> add tokenMatch 'all' | 'any' for AND/OR (<a href="https://redirect.github.com/krisk/Fuse/issues/827">#827</a>) (<a href="https://github.com/krisk/Fuse/commit/9f979d093f519728f3e75b2a5ab569dcb8c5ce6b">9f979d0</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>docs:</strong> reflect data edits in playground demo (<a href="https://redirect.github.com/krisk/Fuse/issues/825">#825</a>) (<a href="https://github.com/krisk/Fuse/commit/6eff909b5b6acf9ecb3ab20429bc5d08636a5d5c">6eff909</a>)</li> </ul> <h2><a href="https://github.com/krisk/Fuse/compare/v7.4.0-beta.5...v7.4.0-beta.6">7.4.0-beta.6</a> (2026-05-14)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>bitap:</strong> restrict highlight indices to matched window (<a href="https://github.com/krisk/Fuse/commit/622f105a61d1c1c1cf1bec87024b490f85c92903">622f105</a>), closes <a href="https://redirect.github.com/krisk/Fuse/issues/792">#792</a> <a href="https://redirect.github.com/krisk/Fuse/issues/505">#505</a> <a href="https://redirect.github.com/krisk/Fuse/issues/611">#611</a> <a href="https://redirect.github.com/krisk/Fuse/issues/691">#691</a> <a href="https://redirect.github.com/krisk/Fuse/issues/793">#793</a></li> </ul> <h2><a href="https://github.com/krisk/Fuse/compare/v7.4.0-beta.4...v7.4.0-beta.5">7.4.0-beta.5</a> (2026-05-10)</h2> <h3>Features</h3> <ul> <li><strong>token-search:</strong> add customizable tokenizer with unicode-aware default (<a href="https://github.com/krisk/Fuse/commit/8e55cae563f8e9f6a04b7ef0bb08883a74f26fa8">8e55cae</a>), closes <a href="https://redirect.github.com/krisk/Fuse/issues/821">#821</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>index:</strong> correct doc-index alignment for Fuse<!-- raw HTML omitted --> with blank docs (<a href="https://github.com/krisk/Fuse/commit/0b8e3ca2d29e1666f38da557d93ae1790086f9ea">0b8e3ca</a>)</li> </ul> <h2><a href="https://github.com/krisk/Fuse/compare/v7.4.0-beta.3...v7.4.0-beta.4">7.4.0-beta.4</a> (2026-04-28)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/krisk/Fuse/commit/ce75998eba9626c45a7da9e3a757060bbdfcc70c"><code>ce75998</code></a> chore(release): 7.4.1</li> <li><a href="https://github.com/krisk/Fuse/commit/e842baf45a99c26f8aa76bbc9745ff3e2da90931"><code>e842baf</code></a> test(types): guard that every exports subpath resolves to declarations</li> <li><a href="https://github.com/krisk/Fuse/commit/6ef6c33101f8f4387d8a1dc7a227e483a179231f"><code>6ef6c33</code></a> fix(types): add TypeScript declarations for fuse.js/worker-script</li> <li><a href="https://github.com/krisk/Fuse/commit/ef3e96d9c4a22ae4be2090dc7482cca065750b0d"><code>ef3e96d</code></a> refactor(workers): type workerUrl as string | URL</li> <li><a href="https://github.com/krisk/Fuse/commit/572ad1e6fca0bce226afae88b33a6f2d3672f80f"><code>572ad1e</code></a> fix(types): ship TypeScript declarations for fuse.js/worker</li> <li><a href="https://github.com/krisk/Fuse/commit/0db224b1e3a5cadfe9405b8627e1e89cbf74a705"><code>0db224b</code></a> chore: ignore .antigravitycli/</li> <li><a href="https://github.com/krisk/Fuse/commit/6f40ee50499ba1b4156f24ce271613ad53132958"><code>6f40ee5</code></a> docs(site): show current version in navbar</li> <li><a href="https://github.com/krisk/Fuse/commit/c83a9c27b4f8065a2188c0590b81f9cb95952c62"><code>c83a9c2</code></a> docs: drop stale TOKEN_SEARCH.md, link README to fusejs.io/token-search</li> <li><a href="https://github.com/krisk/Fuse/commit/7e16249df0f2097e94df415cd0941c4dd6fb3711"><code>7e16249</code></a> docs: drop beta callouts after 7.4.0 stable release</li> <li><a href="https://github.com/krisk/Fuse/commit/b576446ac706283bd173f8c9398f1352c365cc4b"><code>b576446</code></a> chore: bump doc versions to 7.4.0</li> <li>Additional commits viewable in <a href="https://github.com/krisk/Fuse/compare/v7.3.0...v7.4.1">compare view</a></li> </ul> </details> <br /> [](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 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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
