chore(deps): Bump maplibre-gl from 5.20.2 to 5.21.0 (#1730)

Bumps [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) from
5.20.2 to 5.21.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/maplibre/maplibre-gl-js/releases">maplibre-gl's
releases</a>.</em></p>
<blockquote>
<h2>v5.21.0</h2>
<h3> Features and improvements</h3>
<ul>
<li>Add compatibility for ES2020 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7283">#7283</a>)
(by <a
href="https://github.com/claudiobgit"><code>@​claudiobgit</code></a>)</li>
<li>Add <code>referrerPolicy</code> option to
<code>RequestParameters</code> to allow controlling the referrer policy
for tile requests (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7278">#7278</a>)
(by <a
href="https://github.com/Bingtagui404"><code>@​Bingtagui404</code></a>)</li>
<li>Wait for the GPU to finish its callstack for rendering benchmarks
(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7285">#7285</a>)
(by <a
href="https://github.com/xavierjs"><code>@​xavierjs</code></a>)</li>
<li>Remove Edge 18 WebP detection workaround; always send <code>Accept:
image/webp</code> header for image requests (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7293">#7293</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Remove legacy browser compatibility code targeting IE11 and pre-2016
browsers (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7294">#7294</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Remove legacy <code>DOM.remove()</code> and
<code>DOM.mouseButton()</code> wrappers; use native APIs directly
(baseline 2015) (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7295">#7295</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Make <code>setTransformRequest</code> accept an async function in
addition to a sync function. (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7184">#7184</a>)
(by <a href="https://github.com/kikuomax"><code>@​kikuomax</code>
</a>)</li>
</ul>
<h3>🐞 Bug fixes</h3>
<ul>
<li>Fix incorrect popup location in case of terrain and
<code>jumpTo</code> (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7267">#7267</a>)
(by <a href="https://github.com/HarelM"><code>@​HarelM</code></a>)</li>
<li>Fix memory leak in VideoSource: remove <code>playing</code> event
listener and pause video on source removal (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7279">#7279</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix memory leak where typed array views retained StructArray buffers
after GPU upload, preventing garbage collection (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7280">#7280</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix raster DEM tiles getting stuck in
<code>&quot;reloading&quot;</code> state (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7284">#7284</a>)
(by <a
href="https://github.com/katemihalikova"><code>@​katemihalikova</code></a>)</li>
<li>Fix <code>GeolocateControl</code> leaking a <code>movestart</code>
listener on the map after removal, which could also crash if the control
was in active tracking state when removed (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7286">#7286</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Cap tile texture reuse pool to prevent unbounded VRAM growth during
rapid zoom/pan (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7289">#7289</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix Marker <code>click</code> listener not removed on
<code>remove()</code>, leaking the handler added in <a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7028">#7028</a>
(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7287">#7287</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix Terrain GPU resource leak: free FBO, textures, and meshes when
terrain is disabled via <code>setTerrain(null)</code> (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7288">#7288</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix guard against partial layout in <code>PauseablePlacement</code>
(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7079">#7079</a>)
(by <a
href="https://github.com/garethbowker"><code>@​garethbowker</code></a>)</li>
<li>Fix missing tile encoding for MLT queryRenderedFeatures (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7056">#7056</a>)
(by <a href="https://github.com/dannote"><code>@​dannote</code></a> and
<a
href="https://github.com/ted-piotrowski"><code>@​ted-piotrowski</code></a>)</li>
<li>Fix 3D Tiles example (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7275">#7275</a>)
(by <a
href="https://github.com/hh-hang"><code>@​hh-hang</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md">maplibre-gl's
changelog</a>.</em></p>
<blockquote>
<h2>5.21.0</h2>
<h3> Features and improvements</h3>
<ul>
<li>Add compatibility for ES2020 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7283">#7283</a>)
(by <a
href="https://github.com/claudiobgit"><code>@​claudiobgit</code></a>)</li>
<li>Add <code>referrerPolicy</code> option to
<code>RequestParameters</code> to allow controlling the referrer policy
for tile requests (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7278">#7278</a>)
(by <a
href="https://github.com/Bingtagui404"><code>@​Bingtagui404</code></a>)</li>
<li>Wait for the GPU to finish its callstack for rendering benchmarks
(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7285">#7285</a>)
(by <a
href="https://github.com/xavierjs"><code>@​xavierjs</code></a>)</li>
<li>Remove Edge 18 WebP detection workaround; always send <code>Accept:
image/webp</code> header for image requests (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7293">#7293</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Remove legacy browser compatibility code targeting IE11 and pre-2016
browsers (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7294">#7294</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Remove legacy <code>DOM.remove()</code> and
<code>DOM.mouseButton()</code> wrappers; use native APIs directly
(baseline 2015) (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7295">#7295</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Make <code>setTransformRequest</code> accept an async function in
addition to a sync function. (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7184">#7184</a>)
(by <a href="https://github.com/kikuomax"><code>@​kikuomax</code>
</a>)</li>
</ul>
<h3>🐞 Bug fixes</h3>
<ul>
<li>Fix incorrect popup location in case of terrain and
<code>jumpTo</code> (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7267">#7267</a>)
(by <a href="https://github.com/HarelM"><code>@​HarelM</code></a>)</li>
<li>Fix memory leak in VideoSource: remove <code>playing</code> event
listener and pause video on source removal (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7279">#7279</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix memory leak where typed array views retained StructArray buffers
after GPU upload, preventing garbage collection (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7280">#7280</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix raster DEM tiles getting stuck in
<code>&quot;reloading&quot;</code> state (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7284">#7284</a>)
(by <a
href="https://github.com/katemihalikova"><code>@​katemihalikova</code></a>)</li>
<li>Fix <code>GeolocateControl</code> leaking a <code>movestart</code>
listener on the map after removal, which could also crash if the control
was in active tracking state when removed (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7286">#7286</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Cap tile texture reuse pool to prevent unbounded VRAM growth during
rapid zoom/pan (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7289">#7289</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix Marker <code>click</code> listener not removed on
<code>remove()</code>, leaking the handler added in <a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7028">#7028</a>
(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7287">#7287</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix Terrain GPU resource leak: free FBO, textures, and meshes when
terrain is disabled via <code>setTerrain(null)</code> (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7288">#7288</a>)
(by <a
href="https://github.com/johanrd"><code>@​johanrd</code></a>)</li>
<li>Fix guard against partial layout in <code>PauseablePlacement</code>
(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7079">#7079</a>)
(by <a
href="https://github.com/garethbowker"><code>@​garethbowker</code></a>)</li>
<li>Fix missing tile encoding for MLT queryRenderedFeatures (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7056">#7056</a>)
(by <a href="https://github.com/dannote"><code>@​dannote</code></a> and
<a
href="https://github.com/ted-piotrowski"><code>@​ted-piotrowski</code></a>)</li>
<li>Fix 3D Tiles example (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7275">#7275</a>)
(by <a
href="https://github.com/hh-hang"><code>@​hh-hang</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="44a48f868c"><code>44a48f8</code></a>
Bump js version to 5.21.0 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7304">#7304</a>)</li>
<li><a
href="7aae2263ea"><code>7aae226</code></a>
feat: async RequestTransformFunction (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7184">#7184</a>)</li>
<li><a
href="901b3af07e"><code>901b3af</code></a>
fix: guard against unhydrated layout in PauseablePlacement (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7079">#7079</a>)</li>
<li><a
href="bab57d5a44"><code>bab57d5</code></a>
fix: store encoding when caching raw tile data for MLT
queryRenderedFeatures ...</li>
<li><a
href="bf4735e8f7"><code>bf4735e</code></a>
chore(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code> (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7302">#7302</a>)</li>
<li><a
href="ff37d1f79f"><code>ff37d1f</code></a>
chore(deps): bump actions/download-artifact from 8.0.0 to 8.0.1 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7261">#7261</a>)</li>
<li><a
href="80a862845e"><code>80a8628</code></a>
chore(deps-dev): bump <code>@​types/murmurhash-js</code> from 1.0.6 to
1.0.7 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7300">#7300</a>)</li>
<li><a
href="4e21c3fe09"><code>4e21c3f</code></a>
chore(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.57.0 to 8.57.1 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7301">#7301</a>)</li>
<li><a
href="16bde40824"><code>16bde40</code></a>
chore(deps-dev): bump nise from 6.1.3 to 6.1.4 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7297">#7297</a>)</li>
<li><a
href="c1c4252e5b"><code>c1c4252</code></a>
chore(deps-dev): bump jsdom from 28.1.0 to 29.0.0 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7298">#7298</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/maplibre/maplibre-gl-js/compare/v5.20.2...v5.21.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=maplibre-gl&package-manager=npm_and_yarn&previous-version=5.20.2&new-version=5.21.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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2026-03-23 14:10:42 +00:00
committed by GitHub
parent c94c995f4c
commit 250a480626
2 changed files with 7 additions and 7 deletions

12
package-lock.json generated
View File

@@ -42,7 +42,7 @@
"lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0",
"lodash.throttle": "^4.1.1",
"maplibre-gl": "^5.20.2",
"maplibre-gl": "^5.21.0",
"maputnik-design": "github:maputnik/design#172b06c",
"ol": "^10.8.0",
"ol-mapbox-style": "^13.4.0",
@@ -10172,9 +10172,9 @@
"license": "BSD-2-Clause"
},
"node_modules/maplibre-gl": {
"version": "5.20.2",
"resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-5.20.2.tgz",
"integrity": "sha512-0UzMWOe+GZmIUmOA99yTI1vRh15YcGnHxADVB2s+JF3etpjj2/MBCqbPEuu4BP9mLsJWJcpHH0Nzr9uuimmbuQ==",
"version": "5.21.0",
"resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-5.21.0.tgz",
"integrity": "sha512-n0v4J/Ge0EG8ix/z3TY3ragtJYMqzbtSnj1riOC0OwQbzwp0lUF2maS1ve1z8HhitQCKtZZiZJhb8to36aMMfQ==",
"license": "BSD-3-Clause",
"dependencies": {
"@mapbox/jsonlint-lines-primitives": "^2.0.2",
@@ -10183,9 +10183,9 @@
"@mapbox/unitbezier": "^0.0.1",
"@mapbox/vector-tile": "^2.0.4",
"@mapbox/whoots-js": "^3.1.0",
"@maplibre/geojson-vt": "^6.0.3",
"@maplibre/geojson-vt": "^6.0.4",
"@maplibre/maplibre-gl-style-spec": "^24.7.0",
"@maplibre/mlt": "^1.1.7",
"@maplibre/mlt": "^1.1.8",
"@maplibre/vt-pbf": "^4.3.0",
"@types/geojson": "^7946.0.16",
"earcut": "^3.0.2",

View File

@@ -59,7 +59,7 @@
"lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0",
"lodash.throttle": "^4.1.1",
"maplibre-gl": "^5.20.2",
"maplibre-gl": "^5.21.0",
"maputnik-design": "github:maputnik/design#172b06c",
"ol": "^10.8.0",
"ol-mapbox-style": "^13.4.0",