Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

leaflet

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet - npm Package Versions

1345

1.8.0-alpha.0

Diff

ivansanchez
published 1.7.1 •

Changelog

Source

1.7.1 (2020-09-04)

Bug fixes

  • Fix build toolchain to reflect uglifyjs upgrade from v2 to v3 (by @ivansanchez)
ivansanchez
published 1.7.0 •

Changelog

Source

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)
  • Prefix MS-specific CSS style to prevent warnings (by @ivansanchez, kudos to @zachricha for #6960)
  • Clean up moveend listener from map.setMaxBounds (#6958 by @simon04)
  • Fix wrong scope of bind call in ESM environments (#6970 by @shintonik)
  • Check that closePopup exists before calling it automatically (#6962 by @pke)
  • Fix exception when calling layerGroup.hasLayer() with wrong layerId (#6998 by @johnd0e)
  • Remove click filter targeting Android 4.x browsers (#7013 by @johnd0e)
  • Fix touch zoom handler context (#7036 by @johnd0e)
  • Tests for Bounds.overlaps() and Bounds.intersects() (#7075 by @mondeja)
  • Fix event propagation in a popup's container (#7091 by @johnd0e)
  • Fix tile flickering when maxNativeZoom === maxZoom (#7094 by @johnd0e)
  • Fix GridLayer's zoom-level loading algorithm (#7123 by @johnd0e)
  • Fix tooltipAnchor behavior for different tooltip directions (#7155 by @Istador)

Docs & Web Site

cherniavskii
published 1.6.0 •

Changelog

Source

1.6.0 (2019-11-17)

API changes

  • GeoJSON.resetStyle - allow invocation without an argument (#6663 by joukewitteveen)
  • Add new markersInheritOptions option to L.GeoJSON (#6866 by ghybs)

Improvements

Bug fixes

Docs & Web Site

cherniavskii
published 1.5.1 •

Changelog

Source

1.5.1 (2019-05-08)

cherniavskii
published 1.5.0 •

Changelog

Source

1.5.0 (2019-05-08)

API changes

Improvements

Bug fixes

Docs & Web Site

Development workflow

  • Update dev dependencies & remove coverage scripts (#6635 by mourner)
cherniavskii
published 1.4.0 •

Changelog

Source

1.4.0 (2018-12-30)

API changes

Improvements

  • Remove unused _drawnLayers object (#6324 by ud09)
  • Avoid unnecessary redrawing in TileLayer.setUrl() when URL does not change (#6313 by JackNeus)
  • Use section instead of form in layers control (#6380 by hundekoerper)
  • Add IE11 linked SVG elements support to DomUtil.getClass function (#6366 by Schleuse)

Bug fixes

  • Set internal flags at beginning of map initialization (#6362 by ghybs)
  • Guard against layers no longer attached to a map in bringToFront/Back() (#6389 by perliedman)
  • Fix autoPan option when popup content gets updated while a panning animation is running (#6365 by Schleuse)
  • Ignore dash arrays with non-numeric entries in canvas (#6387 by perliedman)

Docs & Web Site

cherniavskii
published 1.3.4 •

Changelog

Source

1.3.4 (2018-08-21)

Improvements

  • Reset max-width and max-height styles for tiles in custom panes (#6255 by jerekshoe)
  • Add unprefixed cursor: grab style (#6281 by Malvoz)
  • Remove legacy prefixed styles, add unprefixed styles (#6282 by Malvoz)

Bug fixes

  • Move set/getAttribute('src') calls from GridLayer into TileLayer (#6264 by IvanSanchez)
  • Support comma- or space-separated strings in Canvas dashArray option (#6277 by IvanSanchez)
  • Remove trailing commas to avoid crashes in some IE browsers (#6279 by helbling)
  • Fixed capitalization of webkitTransform property, which broke transformations on certain Webkit browsers (#6290 by tuckergordon)

Docs & Web Site

cherniavskii
published 1.3.3 •

Changelog

Source

1.3.3 (2018-07-18)

Bug fixes

  • Remove module field from package.json (#6239)
cherniavskii
published 1.3.2 •

Changelog

Source

1.3.2 (2018-07-17)

Improvements

Bug fixes

  • Respect the preferCanvas option in all panes (#6019 by mjumbewu)
  • Do not fire tileload event if tile has empty src (#6025 by cherniavskii)
  • Fix race condition when removing canvas before it has rendered (#6033 by louMoxy)
  • Fix memory leak in canvas renderer (#6117 by aj8k)
  • Fix dragging for CSS scaled map (#6055 by ghybs)
  • Handle Polygons with empty array of LatLngs (#6119 by BakuCity)
  • Fix view bounds calculation in geolocation event handler (#6140 by wladich)
  • Fix error removing map and resizing window at the same time (#6160 by danzel)
  • Stop pan key event when pan animation is in progress (#6231 by cherniavskii)

Docs & Web Site

ES6 / Rollup

Development workflow

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc