1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-22 16:12:13 +01:00

Updated: audit.sh and THIRD_PARTY.txt

This commit is contained in:
nobody 2021-06-13 06:36:06 +02:00
parent 03ef3398e0
commit d784e25912
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 18 additions and 24 deletions

View File

@ -1107,6 +1107,8 @@ https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.5/styles/zenburn.min.cs
https://cdnjs.cloudflare.com/ajax/libs/history/4.10.1/history.min.js
https://cdnjs.cloudflare.com/ajax/libs/history/5.0.0/history.production.min.js
https://cdnjs.cloudflare.com/ajax/libs/hogan.js/3.0.2/hogan.min.js
https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/3.7.0/instantsearch.production.min.js
https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/4.23.0/instantsearch.production.min.js
https://cdnjs.cloudflare.com/ajax/libs/iScroll/5.2.0/iscroll.min.js
https://cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/css/jasny-bootstrap.min.css
https://cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/js/jasny-bootstrap.min.js
@ -1530,6 +1532,12 @@ https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.0.1/css/bootstrap.min
https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.0.1/js/bootstrap.bundle.min.js
https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js
https://cdnjs.cloudflare.com/ajax/libs/urlive/1.1.1/jquery.urlive.min.js
https://cdnjs.cloudflare.com/ajax/libs/video.js/5.20.5/video-js.min.css
https://cdnjs.cloudflare.com/ajax/libs/video.js/5.20.5/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/video.js/6.13.0/video-js.min.css
https://cdnjs.cloudflare.com/ajax/libs/video.js/6.13.0/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/video.js/7.13.0/video-js.min.css
https://cdnjs.cloudflare.com/ajax/libs/video.js/7.13.0/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue/3.1.1/vue.global.prod.js
https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/8.24.4/vue-i18n.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue-i18n/9.1.6/vue-i18n.cjs.min.js
@ -1586,8 +1594,6 @@ https://cdn.jsdelivr.net/npm/@findify/bundle@7.0.19/dist/sentry.js
https://cdn.jsdelivr.net/npm/@findify/bundle@7.0.19/dist/styles.css
https://cdn.jsdelivr.net/npm/hls.js@0.14.17/dist/hls.min.js
https://cdn.jsdelivr.net/npm/hls.js@1.0.7/dist/hls.min.js
https://cdn.jsdelivr.net/npm/instantsearch.js@3.7.0/dist/instantsearch.production.min.js
https://cdn.jsdelivr.net/npm/instantsearch.js@4.23.0/dist/instantsearch.production.min.js
https://cdn.jsdelivr.net/npm/leaflet.featuregroup.subgroup@1.0.2/dist/leaflet.featuregroup.subgroup.js
https://cdn.jsdelivr.net/npm/ngx-bootstrap@6.2.0/datepicker/bs-datepicker.css
https://cdn.jsdelivr.net/npm/nouislider@15.1.1/dist/nouislider.min.js
@ -1602,12 +1608,6 @@ https://cdn.jsdelivr.net/npm/swiper@6.7.0/swiper-bundle.min.css
https://cdn.jsdelivr.net/npm/swiper@6.7.0/swiper-bundle.min.js
https://cdn.jsdelivr.net/npm/urlize.js/urlize.js
https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.4.0/dist/lazyload.min.js
https://cdn.jsdelivr.net/npm/video.js@5.20.5/dist/video-js.min.css
https://cdn.jsdelivr.net/npm/video.js@5.20.5/dist/video.min.js
https://cdn.jsdelivr.net/npm/video.js@6.13.0/dist/video-js.min.css
https://cdn.jsdelivr.net/npm/video.js@6.13.0/dist/video.min.js
https://cdn.jsdelivr.net/npm/video.js@7.13.0/dist/video-js.min.css
https://cdn.jsdelivr.net/npm/video.js@7.13.0/dist/video.min.js
https://cdn.jsdelivr.net/npm/videojs-seek-buttons@1.6.0/dist/videojs-seek-buttons.css
https://cdn.jsdelivr.net/npm/videojs-seek-buttons@1.6.0/dist/videojs-seek-buttons.min.js
https://cdn.jsdelivr.net/npm/videojs-seek-buttons@2.0.1/dist/videojs-seek-buttons.css

View File

@ -549,8 +549,12 @@ function create_url() {
fi
elif [ "$folder" = "tooltipster" ] && [ "$version" = "4.2.8" ]; then
url="$CLOUDFLARE/$folder/$version/js/tooltipster.bundle.min.js"
# elif [ "$folder" = "vue" ] && [ "$version" != "1.0.28" ] && [ "$version" != "2.6.12" ]; then
# url="$CLOUDFLARE/$folder/$version/vue.global.prod.js"
elif [ "$folder" = "vue" ]; then
if [[ "$version" != 3* ]]; then
url="$JSDELIVR/npm/$folder@$version/dist/vue.min.js"
else
url="$CLOUDFLARE/$folder/$version/vue.global.prod.js"
fi
elif [ "$folder" = "waypoints" ]; then
if [ "$jfile" = "infinite.min.js" ] || [ "$jfile" = "inview.min.js" ] || [ "$jfile" = "sticky.min.js" ]; then
url="$CLOUDFLARE/$folder/$version/shortcuts/$jfile"
@ -662,26 +666,16 @@ function create_url() {
url="$CLOUDFLARE/$url"
elif [ "$folder" = "vanilla-lazyload" ]; then
url="$JSDELIVR/npm/$folder@$version/dist/lazyload.min.js"
elif [ "$folder" = "lightgallery" ] && [ "$version" != "1.10.0" ] && [ "$subfile" = "lightgallery.min.js" ];then
url="$CLOUDFLARE/$folder/$version/lightgallery.min.js"
elif [ "$folder" = "alpinejs" ] && [ "$version" != "2.8.2" ];then
url="$CLOUDFLARE/$folder/$version/cdn.min.js"
# --------------------------------------------------------------------------
# TODO: REMOVE WHEN CDNJS.COM AUTO UPDATE BOT IS FULLY FUNCTIONAL AGAIN
elif [ "$folder" = "hls.js" ]; then
url="$JSDELIVR/npm/$folder@$version/dist/$jfile"
elif [ "$folder" = "instantsearch.js" ]; then
url="$JSDELIVR/npm/$folder@$version/dist/instantsearch.production.min.js"
elif [ "$folder" = "noUiSlider" ] && [ "$version" != "14.7.0" ];then
url="$JSDELIVR/npm/nouislider@$version/dist/nouislider.min.js"
elif [ "$folder" = "video.js" ]; then
if [[ $file =~ .*\.css$ ]]; then
url="$JSDELIVR/npm/$folder@$version/dist/video-js.min.css"
else
url="$JSDELIVR/npm/$folder@$version/dist/video.min.js"
fi
elif [ "$folder" = "vue" ]; then
if [[ "$version" != 3* ]]; then
url="$JSDELIVR/npm/$folder@$version/dist/vue.min.js"
else
url="$CLOUDFLARE/$folder/$version/vue.global.prod.js"
fi
# --------------------------------------------------------------------------
else
if [ "$subfile" = "$jfile" ]; then