Updated: audit.sh (#684)

This commit is contained in:
nobody 2021-09-18 08:38:20 +02:00
parent bf5d978689
commit d91f60dc36
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 6 additions and 0 deletions

View File

@ -681,6 +681,12 @@ function create_url() {
url="$JSDELIVR/npm/$folder@$version/themes/algolia-min.css"
elif [ "$folder" = "bootstrap-icons" ] && [ "$subfile" = "bootstrap-icons.woff" ]; then
url="$CLOUDFLARE/$folder/$version/font/fonts/$subfile"
elif [ "$folder" = "vex-js" ]; then
if [[ "$subfile" =~ \.css$ ]]; then
url="$CLOUDFLARE/$folder/$version/css/$subfile"
elif [[ "$subfile" =~ \.js$ ]]; then
url="$CLOUDFLARE/$folder/$version/js/$subfile"
fi
# --------------------------------------------------------------------------
# TODO: REMOVE WHEN CDNJS.COM AUTO UPDATE BOT IS FULLY FUNCTIONAL AGAIN
elif [ "$folder" = "noUiSlider" ] && [ "$version" != "14.7.0" ];then