diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index 077ddf40..33f8b7a2 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1242,6 +1242,8 @@ https://cdnjs.cloudflare.com/ajax/libs/lazysizes/4.1.8/lazysizes.min.js https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.3.2/lazysizes.min.js https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js +https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.css +https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.js https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.8.0/leaflet.css https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.8.0/leaflet.js https://cdnjs.cloudflare.com/ajax/libs/Leaflet.EasyButton/2.4.0/easy-button.min.js diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 4324c9ef..60435bb2 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -300,7 +300,10 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/lazysizes/4.')) return '4.1.8'; if (type.startsWith('/lazysizes/5.')) return '5.3.2'; if (type.startsWith('/leaflet/0.')) return '0.7.7'; - if (type.startsWith('/leaflet/1.')) return '1.8.0'; + if (type.startsWith('/leaflet/1.')) { + if (helpers.compareVersion('1.7.1', version)) return '1.7.1'; // <= v1.7.1 + return '1.8.0'; + } if (type.startsWith('/Leaflet.EasyButton/2.')) return '2.4.0'; if (type.startsWith('/leaflet.featuregroup.subgroup/1.')) return '1.0.2'; if (type.startsWith('/leaflet.markercluster/1.')) return '1.5.3'; diff --git a/pages/updates/updates.html b/pages/updates/updates.html index cba903be..6dd1ea4e 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -44,6 +44,7 @@
  • react-intl v6.0.5 (#1078)
  • MathJax: TeX-MML-AM_SVG.js (#1091)
  • ngx-bootstrap v9.0.0 (#1095)
  • +
  • leaflet v1.7.1 (#1096)
  • Improved