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

Added AngularJS v1.2.32 (#34)

This commit is contained in:
nobody
2020-06-22 17:54:39 +02:00
parent f283cae79a
commit 62ae89b431
12 changed files with 341 additions and 9 deletions

View File

@@ -490,7 +490,8 @@ helpers.setLastVersion = function (type, version) {
if (type.includes('/algoliasearch/3.')) {
return '3.35.1';
} else if (type.includes('/angularjs/1.')) {
if (helpers.compareVersion('1.3.13', requestVersion)) return '1.3.13'; // <= v1.3.13
if (helpers.compareVersion('1.2.32', requestVersion)) return '1.2.32'; // <= v1.2.32
else if (helpers.compareVersion('1.3.13', requestVersion)) return '1.3.13'; // > 1.2.32 to <= 1.3.13
else if (helpers.compareVersion('1.4.14', requestVersion)) return '1.4.14'; // > 1.3.13 to <= 1.4.14
else if (helpers.compareVersion('1.5.11', requestVersion)) return '1.5.11'; // > 1.4.14 to <= 1.5.11
else if (helpers.compareVersion('1.6.10', requestVersion)) return '1.6.10'; // > 1.5.11 to <= 1.6.10