[Snyk] Upgrade maplibre-gl from 4.3.2 to 4.7.1
Snyk has created this PR to upgrade maplibre-gl from 4.3.2 to 4.7.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
-
The recommended version is 8 versions ahead of your current version.
-
The recommended version was released 5 months ago.
Release notes
Package name: maplibre-gl
-
4.7.1 - 2024-09-23
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.7.0:🐞 Bug fixes
-
4.7.0 - 2024-09-06
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.6.0:✨ Features and improvements
- Support multiple layers in
map.on,map.onceandmap.offmethods (#4570) - Ensure GeoJSON cluster sources emit a console warning if
maxzoomis less than or equal toclusterMaxZoomsince in this case you may see unexpected results. (#4604)
🐞 Bug fixes
- Heatmap Fix for 3D terrain (#4571)
- Fix Map#off to not remove listener with layer(s) registered with Map#once (#4592)
- Improve types a bit for
addSourceandgetSource(#4616) - Fix the color near the horizon when terrain is enabled without any sky (#4607)
- Fix bug where
fitBoundsandcameraForBoundswould not display across the 180th meridian (antimeridian) - Fix white flickering on map resize (#4158)
- Fixed a performance regression related to symbol placement (#4599)
- Fix a bug where cloning a Transform instance didn't include the
lngRange. This caused a bug where
usingtransformCameraUpdatecaused themaxBoundsto stop working just for east/west bounds. (#4625)
- Support multiple layers in
-
4.6.0 - 2024-08-22
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.2:✨ Features and improvements
- Prefer local glyph rendering for all CJKV characters, not just those in the CJK Unified Ideographs, Hiragana, Katakana, and Hangul Syllables blocks. (#4560))
🐞 Bug fixes
- Fix right-to-left layout of labels that contain characters in the Arabic Extended-B code block. (#4536)
- Fix 3D map freezing when camera is adjusted against map bounds. (#4537)
- Fix
getStyle()to return a clone so the object cannot be internally changed (#4488) - Fix issues with setting sky to
undefined(#4587))
-
4.5.2 - 2024-08-11
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.1:✨ Features and improvements
- Emit events when the cooperative gestures option has prevented a gesture. (#4470)
- Enable anisotropic filtering only when the pitch is greater than 20 degrees to preserve image sharpness on flat or slightly tilted maps.
🐞 Bug fixes
- Fix camera being able to move into 3D terrain (#1542)
-
4.5.1 - 2024-08-01
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.0:✨ Features and improvements
- Allow trackpad pinch gestures to break through the
cooperativeGesturessetting, bringing it in line with other embedded map behaviours, such as Google Maps and Mapbox. (#4465) - Expose projection matrix parameters (#3136)
- Add option to position markers at subpixel coordinates to prevent markers jumping on
moveend(#4458)
🐞 Bug fixes
- Fix lag on fast map zoom (#4366)
- Fix unguarded read access to possibly undefined object (#4431)
- Fix remove hash string when map is removed (#4427)
- Fix GeolocateControl may be added twice when calling addControl/removeControl/addControl rapidly (#4454)
- Fix
style.loadURLabort error being logged when removing style (#4425) - Fix vector tiles not loading when html is opened via "resource://android" (i.e., the assets folder) in GeckoView on Android (#4451)
- Allow trackpad pinch gestures to break through the
-
4.5.0 - 2024-06-27
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.4.1:✨ Features and improvements
- Add sky implementation according to spec (#3645)
🐞 Bug fixes
- Fix (de)serialization of extends of built-ins (currently only AjaxError) not working correctly in web_worker_transfer. Also refactored related web_worker_transfer code and added more tests (#4024)
-
4.4.1 - 2024-06-17
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.4.0:🐞 Bug fixes
- Fix
terrainlistener memory leak when adding and removing Marker (#4284)
- Fix
-
4.4.0 - 2024-06-14
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.3.2:✨ Features and improvements
- Improve animation curve when easeTo and flyTo with constraints (#3793)
- For filled extrusions, calculate the elevation per polygon (#3313)
- Add events to
GeolocateControlto allow a more granular interaction (#3847) - Make
MapOptions.styleoptional to be consistent withMap.setStyle(null)(#4151) - Use Autoprefixer to handle vendor prefixes in CSS (#4165)
- Make
aria-labelconfigurable for Map, Marker and Popup (#4147) - Map
<canvas>is focusable only when interactive (#4147) - "Accept" headers set in Request Transformers are not overwritten (#4210)
⚠️ Rename projMatrix to modelViewProjectionMatrix. Also rename invProjMatrix, alignedProjMatrix accordingly (#4215)- Publish an unminified prod build (#4265)
🐞 Bug fixes
⚠️ Allow breaking lines in labels before a left parenthesis (#4138)⚠️ Fix ignoring embedded line breaks whensymbol-placementislineorline-center(#4124)- Ensure loseContext exists before calling it (#4245)
- Update deprecated
-ms-high-contrastvendor prefix to(forced-colors: active)and(prefers-color-scheme: light)as appropriate (#4250)
-
4.3.2 - 2024-05-19
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.3.1:🐞 Bug fixes
- Fix an issue with
moveendzoom being different than the actual current zoom (#4132)
- Fix an issue with
[!IMPORTANT]
- Check the changes in this PR to ensure they won't cause issues with your project.
- This PR was automatically created by Snyk using the credentials of a real user.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: