dependabot[bot] opened a new pull request, #44161: URL: https://github.com/apache/superset/pull/44161
Bumps [supercluster](https://github.com/mapbox/supercluster) from 9.0.0 to 9.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mapbox/supercluster/releases">supercluster's releases</a>.</em></p> <blockquote> <h2>v9.1.0</h2> <p>Adds a flat tile envelope matching <a href="https://github.com/mapbox/geojson-vt/releases/tag/v5.0.0">geojson-vt v5</a>'s <code>getTileRaw</code>, and moves TypeScript declarations into the package.</p> <h3>API changes</h3> <ul> <li>New <code>getTileRaw(z, x, y)</code> returns the same tiles as <code>getTile</code>, but with each feature's coordinates inline — <code>{type: 4, x, y, tags}</code> instead of <code>{type: 1, geometry: [[x, y]], tags}</code>. Every clustered feature is a single point, so this is geojson-vt's raw envelope narrowed to its lone-point variant, and consumers that unwrap <code>geometry[0]</code> immediately can skip two array allocations per feature. <code>getTile</code> is unchanged.</li> <li>TypeScript declarations ship with the package. Remove <code>@types/supercluster</code> if you have it installed.</li> </ul> <h3>TypeScript migration</h3> <p>The bundled declarations cover the same surface as <code>@types/[email protected]</code>, with three differences:</p> <ul> <li><strong>Breaking for <code>@types</code> users:</strong> types are named exports rather than members of a merged <code>Supercluster</code> namespace. Replace <code>Supercluster.Options<P, C></code> with an <code>import type {Options} from 'supercluster'</code>. Using <code>Supercluster<P, C></code> itself in type position still works. This matches how geojson-vt's declarations are shaped.</li> <li>Tile <code>tags</code> are typed <code>| null | undefined</code>. Supercluster passes each input feature's <code>properties</code> through verbatim, so <code>tags</code> is <code>null</code> when the input had <code>properties: null</code> and <code>undefined</code> when it omitted the member — both need a guard before use. The old declarations claimed <code>tags</code> was always present.</li> <li><code>load()</code> accepts <code>MultiPoint</code> features as well as <code>Point</code>, matching the support added in v9.0.0.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mapbox/supercluster/commit/641713a579c6bdbc5b588ac8a61b1552ccb21311"><code>641713a</code></a> 9.1.0</li> <li><a href="https://github.com/mapbox/supercluster/commit/0f1d49e219d22c9ef2ca7e1a538238109a55ad2b"><code>0f1d49e</code></a> upgrade dev deps</li> <li><a href="https://github.com/mapbox/supercluster/commit/e25a8571ed19c313088900f45f41207b7fd860fa"><code>e25a857</code></a> improve type definitions</li> <li><a href="https://github.com/mapbox/supercluster/commit/c56989dcee7ecb1e9331b8fe995868d8cabdbd06"><code>c56989d</code></a> add getTileRaw and TS definitions</li> <li>See full diff in <a href="https://github.com/mapbox/supercluster/compare/v9.0.0...v9.1.0">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]
