diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index 2fbf1909..5ea5494b 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1822,6 +1822,8 @@ https://cdnjs.cloudflare.com/ajax/libs/video.js/8.0.2/video.min.js https://cdnjs.cloudflare.com/ajax/libs/vue/3.2.45/vue.global.prod.js https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/8.27.2/vue-i18n.min.js https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/9.2.2/vue-i18n.cjs.min.js +https://cdnjs.cloudflare.com/ajax/libs/vue-router/3.6.5/vue-router.min.js +https://cdnjs.cloudflare.com/ajax/libs/vue-router/4.1.6/vue-router.global.min.js https://cdnjs.cloudflare.com/ajax/libs/vuex/3.6.2/vuex.min.js https://cdnjs.cloudflare.com/ajax/libs/vuex/4.1.0/vuex.cjs.min.js https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js diff --git a/audit/audit.sh b/audit/audit.sh index 69036d96..cad55daa 100755 --- a/audit/audit.sh +++ b/audit/audit.sh @@ -739,6 +739,8 @@ function create_url() { url="$JSDELIVR/npm/in-view@$version/dist/in-view.min.js" elif [ "$folder" = "knockout" ] && [ "$version" = "3.5.1" ];then url="$CLOUDFLARE/$folder/$version/knockout-latest.min.js" + elif [ "$folder" = "vue-router" ] && [ "$version" = "3.6.5" ];then + url="$CLOUDFLARE/$folder/$version/vue-router.min.js" elif [ "$folder" = "ScrollMagic" ] && [ "$jfile" != "ScrollMagic.min.js" ];then url="$CLOUDFLARE/$folder/$version/plugins/$jfile" # -------------------------------------------------------------------------- diff --git a/core/mappings.js b/core/mappings.js index d4f82a9c..3fcb10a3 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -532,6 +532,7 @@ mappings.cdn = { 'vue/{version}/vue.min.js': resources.vueJs, 'vue-i18n/{version}/vue-i18n.': resources.vueI18N, 'vue-resource/{version}/vue-resource.': resources.vueResource, + 'vue-router/{version}/vue-router.': resources.vueRouter, 'vuex/{version}/vuex.min.': resources.vuex, 'waypoints/{version}/noframework.waypoints.': resources.jQueryWaypoints, 'waypoints/{version}/jquery.waypoints.': resources.jQueryWaypoints, @@ -726,6 +727,7 @@ mappings.cdn = { 'videojs-seek-buttons/dist/videojs-seek-buttons.min.js': resources.videojsSeekButtonsJS, 'vue-match-media@{version}/dist/index.': resources.vueMatchMedia, 'vue-resource@{version}/dist/vue-resource.': resources.vueResource, + 'vue-router@{version}/dist/vue-router.': resources.vueRouter, 'vue@{version}/dist/vue.min.js': resources.vueJs, 'vue@{version}/dist/vue.js': resources.vueJs, 'vuex@{version}/dist/vuex.': resources.vuex, diff --git a/core/resources.js b/core/resources.js index c8f6e244..4471ac29 100644 --- a/core/resources.js +++ b/core/resources.js @@ -1138,6 +1138,10 @@ var resources = { 'vueResource': { 'path': 'resources/vue-resource/{version}/vue-resource.min.jsm' }, + // vue-router + 'vueRouter': { + 'path': 'resources/vue-router/{version}/vue-router.global.min.jsm' + }, // vuex 'vuex': { 'path': 'resources/vuex/{version}/vuex.min.jsm' diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 3767a01c..7e794ba7 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -493,6 +493,8 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/vue-i18n/9.')) return '9.2.2'; if (type.startsWith('/vue-match-media/1.')) return '1.0.3'; if (type.startsWith('/vue-resource/1.')) return '1.5.3'; + if (type.startsWith('/vue-router/3.')) return '3.6.5'; + if (type.startsWith('/vue-router/4.')) return '4.1.6'; if (type.startsWith('/vuex/3.')) return '3.6.2'; if (type.startsWith('/vuex/4.')) return '4.1.0'; if (type.startsWith('/waypoints/4.')) return '4.0.1'; @@ -512,6 +514,7 @@ targets.determineResourceName = function (filename) { }; const ListOfFiles = { + 'vue-router.global.min.jsm': 'vue-router', 'tf.min.jsm': 'tensorflow', 'nprogress.min.jsm': 'nprogress (JS)', 'nprogress.min.css': 'nprogress (CSS)', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 7db8ae6d..86980aa0 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -50,6 +50,7 @@
  • nprogress v0.2.0 (#1254)
  • tensorflow v4.1.0 (#1264)
  • ScrollMagic (Bundle) v2.0.8 (#1277)
  • +
  • vue-router v3.6.5 & v4.1.6 (#1278)
  • Improved