1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Added: leaflet v1.7.1 (#1096)

This commit is contained in:
nobody
2022-07-30 06:01:10 +02:00
parent 3aae81ff70
commit b4ba5b9f4e
10 changed files with 653 additions and 1 deletions

View File

@ -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';