Version selection of AngularUI Router improved

This commit is contained in:
nobody42 2020-05-05 07:40:09 +02:00
parent 2f4531941a
commit 7801d5bc18
No known key found for this signature in database
GPG Key ID: AB5145CF05BFE119
1 changed files with 3 additions and 4 deletions

View File

@ -461,10 +461,9 @@ helpers.setLastVersion = function (type, version) {
version = '0.14.3';
} else if (type.includes('/angular-ui-bootstrap/1.')) {
version = '1.3.3';
} else if (type.includes('/angular-ui-router/0.')) {
version = '0.4.3';
} else if (type.includes('/angular-ui-router/1.')) {
version = '1.0.25';
} else if (type.includes('/angular-ui-router/')) {
if (helpers.compareVersion('0.4.3', requestVersion)) version = '0.4.3'; // <= 0.4.3
else version = '1.0.25'; // > 0.4.3
} else if (type.includes('/angular-ui-select/0.')) {
version = '0.20.0';
} else if (type.includes('/angucomplete-alt/3.')) {