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

Improved: Determination of latest versions (#194)

This commit is contained in:
nobody
2020-12-08 19:49:09 +01:00
parent 6d624a30ae
commit ac7f1cf4d7
3 changed files with 10 additions and 11 deletions

View File

@ -169,7 +169,7 @@ targets.setLastVersion = function (type, version) {
return '6.3.0';
} else if (type.startsWith('/d3-legend/2.')) {
return '2.25.6';
} else if (type.startsWith('/dexie/3.')) {
} else if (type.startsWith('/dexie/3.') || type.startsWith('/dexie/latest') ) {
return '3.0.3';
} else if (type.startsWith('/dojo/1.')) {
return '1.16.3';
@ -235,7 +235,7 @@ targets.setLastVersion = function (type, version) {
else return '1.12.4'; // > 1.11.3
} else if (type.startsWith('/jquery/2.')) {
return '2.2.4';
} else if (type.startsWith('/jquery/3.') || type.startsWith('/jquery/null')) {
} else if (type.startsWith('/jquery/3.') || type.startsWith('/jquery/latest')) {
return '3.5.1';
} else if (type.startsWith('/jquery.devbridge-autocomplete/1.')) {
return '1.4.11';