[Snyk] Upgrade mapbox-gl from 3.1.2 to 3.5.0 #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade mapbox-gl from 3.1.2 to 3.5.0.
ℹ️ 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 on 22 days ago.
Release notes
Package name: mapbox-gl
Breaking changes⚠️
@ types/mapbox-gl
are not fully compatible with the new first-class typings. Users relying on the community typings may experience breaking changes. Please remove the@ types/mapbox-gl
dependency and refer to the v3.5.0 migration guide for instructions on upgrading, resolving common issues, and asking questions regarding the migration to the first-class typings. We welcome your feedback and contributions to make Mapbox GL JS better.Features and improvements ✨
color-theme
property andMap
setColorTheme
method to enable colorization with a lookup table (LUT) images.updateData
forGeoJSON
sources indynamic
mode.icon-occlusion-opacity
andtext-occlusion-opacity
properties to fade symbols behind models and landmarks.line-occlusion-opacity
property to fade lines behind 3D objects.clip
layer to filter out rendering data.line-z-offset
property for a non-globe view.model-cutoff-fade-range
property to control fade out of faraway 3D buildings.line-pattern
on long lines and higher zooms.line-trim-color
andline-trim-fade-range
properties to customize rendering of lines trimmed withline-trim-offset
.Map
getSlots
method for listing available slots of a style.Bug fixes 🐞
updateData
calls.raster-particle
layer animation.model-front-cutoff
property for Meshopt-encoded models.setTerrain
.style.load
event missingstyle
property.queryRenderedFeatures
on areas with missing DEM tiles when terrain is enabled.Breaking changes⚠️
@ types/mapbox-gl
are not fully compatible with the new first-class typings. Users relying on the community typings may experience breaking changes. Please remove the@ types/mapbox-gl
dependency and refer to the v3.5.0 migration guide for instructions on upgrading, resolving common issues, and asking questions regarding the migration to the first-class typings. We welcome your feedback and contributions to make Mapbox GL JS better.Features and improvements ✨
color-theme
property to enable colorization with a lookup table (LUT) images.icon-occlusion-opacity
andtext-occlusion-opacity
properties to fade symbols behind models and landmarks.line-occlusion-opacity
property to fade lines behind 3D objects.clip
layer to filter out rendering data.line-z-offset
property for a non-globe view.model-cutoff-fade-range
property support to control fade out of faraway 3D buildings.Bug fixes 🐞
updateData
calls.raster-particle
layer animation.flyTo
whenprefers-reduced-motion
is set.Features and improvements ✨
dynamic: true
option for GeoJSON sources that enables partial update API withsource.updateData
method. Further optimizations for this mode are expected in future releases.Map
setConfig
,getConfig
,setSchema
andgetSchema
methods for batch setting of style configuration options.config
option for theMap
constructor andsetStyle
methods for conveniently setting style configuration options on map initialization.icon-color-saturation
,icon-color-contrast
,icon-color-brightness-min
andicon-color-brightness-max
to control symbol layer appearance.line-join
mode:none
to improve line pattern distortions around joins.model-id
property to support URIs (in addition to style-defined model references).devtools
UI.Bug fixes 🐞
flyTo
ignoringpadding
in its options.cameraForBounds
on globe view. (h/t @ jonasnoki) #13126preloadOnly
not preloading tiles from style imports.queryRenderedFeatures
for non-integer ID in non-tiled model sourcesmodel-scale
property for large number of 3D models.raster-particle
layer on globe view.raster-array
data.symbol-z-elevate
.raster-particle
layer on certain Android devices.Features and improvements ✨
icon-color-saturation
,icon-color-contrast
,icon-color-brightness-min
andicon-color-brightness-max
to control symbol layer appearance.line-join
mode:none
to improve line pattern distortions around joins.model-id
property to support URIs (in addition to style-defined model references).Bug fixes 🐞
cameraForBounds
on globe view. (h/t @ jonasnoki) #13126preloadOnly
not preloading tiles from style imports.queryRenderedFeatures
for non-integer ID in non-tiled model sourcesmodel-scale
property for large number of 3D models.raster-particle
layer on globe view.raster-array
data.Features and improvements ✨
raster-array
source type, representing a new experimental Mapbox Raster Tile format which encodes series of tiled raster data (such as weather time series).raster-particle
layer which animates particles of different speed and color based on underlyingraster-array
data.addImport
,moveImport
,updateImport
, andremoveImport
API methods.getSlot
, andsetSlot
API methods to control layers' slots.queryRenderedFeatures
.raster-elevation
support for tiled raster sources.config
expression support in fog.Bug fixes 🐞
maxZoom
.setStyle
.z
offset when the opacity is evaluated at 0 on the zoom change.format
expression in theconfig
expression.symbol-sort-key
property.Important
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: