mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-17 04:10:53 +01:00
Version detection of Vue.js (#598)
This commit is contained in:
parent
e1ed284fc7
commit
9c87f1e917
@ -202,7 +202,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
||||
'bundle': 'Materialize'
|
||||
};
|
||||
} else if (/cdn\.jsdelivr\.net\/npm\/vue@(2|3)/.test(CompleteURL)) {
|
||||
let version = CompleteURL.slice(-1);
|
||||
let version = CompleteURL.match(Resource.VERSION_EXPRESSION);
|
||||
lastVersion = targets.setLastVersion(`/vue/${version}.`);
|
||||
if (lastVersion === false) {
|
||||
return false;
|
||||
|
@ -49,7 +49,7 @@
|
||||
</ul>
|
||||
<p>Fixed</p>
|
||||
<ul>
|
||||
<li>Version detection of Vue.js (<a href="https://codeberg.org/nobody/LocalCDN/commit/465a18cb04e21968ee1b33519d77982475c28308">#465a18cb04</a>)</li>
|
||||
<li>Version detection of Vue.js (<a href="https://codeberg.org/nobody/LocalCDN/issues/465a18cb04e21968ee1b33519d77982475c28308">#465a18cb04</a>, <a href="https://codeberg.org/nobody/LocalCDN/issues/598">#598</a>)</li>
|
||||
<li>Latest version of toastr.js (<a href="https://codeberg.org/nobody/LocalCDN/issues/590">#590</a>)</li>
|
||||
</ul>
|
||||
<p>Improved</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user