Version detection of Vue.js

This commit is contained in:
nobody 2021-07-27 06:16:27 +02:00
parent 9d2595a1d3
commit 465a18cb04
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 5 additions and 0 deletions

View File

@ -204,6 +204,9 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
} else if (/cdn\.jsdelivr\.net\/npm\/vue@(2|3)/.test(CompleteURL)) {
let version = CompleteURL.slice(-1);
lastVersion = targets.setLastVersion(`/vue/${version}.`);
if (lastVersion === false) {
return false;
}
return {
'source': channelHost,
'versionDelivered': lastVersion,

View File

@ -29,6 +29,8 @@
<li>Updated: video.js v7.14.2 -> v7.14.3 (<a href="https://codeberg.org/nobody/LocalCDN/issues/587">#587</a>)</li>
<br>
<li>Mapping: vuex -> cdn.jsdelivr.net</li>
<br>
<li>Fixed: Version detection of Vue.js</li>
</ul>
<div id="generator-section">
<div class="topic-label">