[Snyk] Upgrade leaflet from 1.3.1 to 1.5.1 #9
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.
Snyk has created this PR to upgrade
leaflet
from 1.3.1 to 1.5.1.Release notes
API changes
keepAspectRatio
option toVideoOverlay
(#6038 by ronikar)keydown
andkeyup
events to map (#6421 by OrBin)shadowPane
option toMarker
(#6460 by alexfig)L.SVGOverlay
class (#6517 by Zsavajji)getIcon
method toMarker
(#6457 by OsamaShabrez)Improvements
DivIcon
html
option accept Element (#6571 by oscar-sensornet)GeoJSON._setLayerStyle
(#6616 by johnd0e)openPopup
andopenTooltip
code (#6613 by johnd0e)Bug fixes
Control.Layers
radio buttons when using multiple maps (#6483 by jjimenezshaw)L.Util.formatNum
rounding precision (#6587 by inkstak)Marker
without icon (#6610 by charlie67)dblclick
event relate to left mouse button (#6628 by IvanSanchez)Docs & Web Site
toGeoJSON
'sprecision
argument (#6375 by rkatka)Events.off
method docs (#6619 by lancebendo)Layer
example (#6636 by billygarrison)Development workflow
API changes
Map.panInside
method (#6054 by daverayment)Improvements
_drawnLayers
object (#6324 by ud09)TileLayer.setUrl()
when URL does not change (#6313 by JackNeus)section
instead ofform
in layers control (#6380 by hundekoerper)DomUtil.getClass
function (#6366 by Schleuse)Bug fixes
bringToFront/Back()
(#6389 by perliedman)autoPan
option when popup content gets updated while a panning animation is running (#6365 by Schleuse)Docs & Web Site
<tr>
(#6334 by mgred)Improvements
cursor: grab
style (#6281 by Malvoz)Bug fixes
GridLayer
intoTileLayer
(#6264 by IvanSanchez)Canvas
dashArray
option (#6277 by IvanSanchez)webkitTransform
property, which broke transformations on certain Webkit browsers (#6290 by tuckergordon)Docs & Web Site
zoomControl
map option (#6254 by IvanSanchez)ImageOverlay
docs (#6266 by jgravois)Bug fixes
module
field frompackage.json
to fix plugin compatibility issues (#6239)Improvements
use-credentials
CORS option toImageOverlay
andTileLayer
(#6016 by caleblogan) + unit tests (#6022 and #6027 by ghybs)L
in source code (#6047 and #6048 by ghybs)Canvas
dashArray
option + support array type (#6200 by McBen)Bug fixes
preferCanvas
option in all panes (#6019 by mjumbewu)tileload
event if tile has emptysrc
(#6025 by cherniavskii)Polygon
s with empty array ofLatLng
s (#6119 by BakuCity)Docs & Web Site
Map panes
example (#6018 by ghybs)closestLayerPoint
method (#6060 by mattdsteele)VideoOverlay.js
example docs (#6090 by zhuang-hao-ming)LatLng
docstring (#6138 by jieter)Browser.retina
explanation (#6203 by JLuc)ES6 / Rollup
Development workflow
node_modules
(#6028 by cherniavskii)jake
dependency and use NPM scripts instead (#5828 by cherniavskii)ssri
dependency to5.2.2
(#6086 by cherniavskii)getBoundsZoom
parameterinside
(#6192 by ghybs)Bug fixes
L.TileLayer
regression, which caused incorrect tile URLs (#6006 by ghybs)from
leaflet
GitHub Release Notes🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs