Snyk has created this PR to upgrade leaflet from 1.5.1 to 1.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 3 versions ahead of your current version.
The recommended version was released a year ago, on 2020-09-03.
Fix build toolchain to reflect uglifyjs upgrade from v2 to v3 (by @ ivansanchez)
1.7.0 (2020-09-03)
API changes
VideoOverlay now can take a muted option (#7071 by @ ronikar)
The featureGroup factory method now takes options, as the FeatureGroup constructor (#7160 by @ frogcat)
Improvements
Use passive event listeners for touchstart/touchend events (#7008 by @ yneet)
Better detection of PointerEvents-capable browsers in L.Browser, and related changes to Tap, Drag, and TouchZoom handlers (#7010, (#7033, (#7036, (#7068, (#7195 by @ johnd0e)
Add more browser profiles for the automated tests (#7115 by @ johnd0e)
Bug fixes
Fix canvas renderer not clearing the canvas on some zoom transformations, was affecting opacity of items (#6915 by @ chipta)
Fix detection of passive events in L.Browser (#6930 by @ Ivan-Perez)
Snyk has created this PR to upgrade leaflet from 1.5.1 to 1.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.
Release notes
Package name: leaflet
1.7.1 (2020-09-04)
Bug fixes
1.7.0 (2020-09-03)
API changes
VideoOverlay
now can take amuted
option (#7071 by @ ronikar)featureGroup
factory method now takesoptions
, as theFeatureGroup
constructor (#7160 by @ frogcat)Improvements
touchstart
/touchend
events (#7008 by @ yneet)PointerEvents
-capable browsers inL.Browser
, and related changes toTap
,Drag
, andTouchZoom
handlers (#7010, (#7033, (#7036, (#7068, (#7195 by @ johnd0e)Bug fixes
L.Browser
(#6930 by @ Ivan-Perez)moveend
listener frommap.setMaxBounds
(#6958 by @ simon04)bind
call in ESM environments (#6970 by @ shintonik)closePopup
exists before calling it automatically (#6962 by @ pke)layerGroup.hasLayer()
with wronglayerId
(#6998 by @ johnd0e)click
filter targeting Android 4.x browsers (#7013 by @ johnd0e)Bounds.overlaps()
andBounds.intersects()
(#7075 by @ mondeja)maxNativeZoom === maxZoom
(#7094 by @ johnd0e)GridLayer
's zoom-level loading algorithm (#7123 by @ johnd0e)tooltipAnchor
behavior for different tooltip directions (#7155 by @ Istador)Docs & Web Site
Polyline.addLatLng()
(#6924 by @ life777)map.setMaxBounds()
(#7001 by @ johnd0e)jekyll
when building docs (#7014 by @ vncntcltt)divOverlay.getElement()
(#7111 by @ mondeja)Marker.shadowPane
(#7135 by @ mi-v)Layer.removeFrom()
regardingLayerGroup
s (by @ ivansanchez)LatLngBounds.overlaps()
#7194 by @ DerZade)v1.7.0
API changes
GeoJSON.resetStyle
- allow invocation without an argument (#6663 by joukewitteveen)markersInheritOptions
option toL.GeoJSON
(#6866 by ghybs)Improvements
oldLatLng
coordinates toL.CircleMarker
move
event (#6719 by errnesto)Bug fixes
L.Util.formatNum
(#6668 by cherniavskii)className
option inSVGOverlay
andVideoOverlay
(#6679 by IvanSanchez)mousehover
throttle onmouseout
(#6749 by IvanSanchez)L.Path.setStyle
(#6728 by TheRealTorreySmith)dblclick
event when both Pointer Events and Touch Events are available (#6855 by filcab)Marker
when icon is not present (#6794 by BenTalagan)Docs & Web Site
L.Marker
docs sections (#6871 by chloe-mc)Commit messages
Package name: leaflet
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs