Skip to content

chore(deps-dev): bump supercluster from 8.0.1 to 9.1.0 - #7

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/supercluster-9.1.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/supercluster-9.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 10, 2026

Copy link
Copy Markdown

Bumps supercluster from 8.0.1 to 9.1.0.

Release notes

Sourced from supercluster's releases.

v9.1.0

Adds a flat tile envelope matching geojson-vt v5's getTileRaw, and moves TypeScript declarations into the package.

API changes

  • New getTileRaw(z, x, y) returns the same tiles as getTile, but with each feature's coordinates inline — {type: 4, x, y, tags} instead of {type: 1, geometry: [[x, y]], tags}. 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 geometry[0] immediately can skip two array allocations per feature. getTile is unchanged.
  • TypeScript declarations ship with the package. Remove @types/supercluster if you have it installed.

TypeScript migration

The bundled declarations cover the same surface as @types/supercluster@7.1.3, with three differences:

  • Breaking for @types users: types are named exports rather than members of a merged Supercluster namespace. Replace Supercluster.Options<P, C> with an import type {Options} from 'supercluster'. Using Supercluster<P, C> itself in type position still works. This matches how geojson-vt's declarations are shaped.
  • Tile tags are typed | null | undefined. Supercluster passes each input feature's properties through verbatim, so tags is null when the input had properties: null and undefined when it omitted the member — both need a guard before use. The old declarations claimed tags was always present.
  • load() accepts MultiPoint features as well as Point, matching the support added in v9.0.0.

v9.0.0

  • Radically optimize memory footprint and performance — on a sample 1M points index, Supercluster now uses 94% less transient allocation, 57% lower peak heap, 65% less retained memory, and runs 23% faster. #258
  • Improve internal coordinate precision by 6 bits (64 times).
  • ⚠️ Breaking: hard-cap maxZoom at 30 (it wasn't practical to use it on higher zooms anyway).
  • Add support for MultiPoint features. #263
Commits

Dependabot compatibility score

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 commands and options

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)

Bumps [supercluster](https://github.com/mapbox/supercluster) from 8.0.1 to 9.1.0.
- [Release notes](https://github.com/mapbox/supercluster/releases)
- [Commits](mapbox/supercluster@v8.0.1...v9.1.0)

---
updated-dependencies:
- dependency-name: supercluster
  dependency-version: 9.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants