Merge remote-tracking branch 'origin/develop'

This commit is contained in:
nobody 2024-06-15 14:59:42 +02:00
commit 26b8305e21
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
71 changed files with 298 additions and 228 deletions

View File

@ -35,6 +35,8 @@
"LogString": true,
"BlockedRequestMethods": true,
"GoogleDomains": true,
"ReqAnalyzer": true,
"MathJax3Files": true,
"fileGuard": true,
"files": true,

View File

@ -736,10 +736,10 @@ https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/xt256.min.css
https://cdnjs.cloudflare.com/ajax/libs/history/4.10.1/history.min.js
https://cdnjs.cloudflare.com/ajax/libs/history/5.3.0/history.production.min.js
https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.14.17/hls.min.js
https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.9/hls.min.js
https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.11/hls.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.70.0/instantsearch.production.min.js
https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/4.71.1/instantsearch.production.min.js
https://cdnjs.cloudflare.com/ajax/libs/iScroll/5.2.0/iscroll.min.js
https://cdnjs.cloudflare.com/ajax/libs/izimodal/1.6.1/js/iziModal.min.js
https://cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/css/jasny-bootstrap.min.css
@ -828,6 +828,7 @@ https://cdnjs.cloudflare.com/ajax/libs/jquery-validation-unobtrusive/4.0.0/jquer
https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.2.1/js.cookie.min.js
https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.min.js
https://cdnjs.cloudflare.com/ajax/libs/jScrollPane/2.2.2/script/jquery.jscrollpane.min.js
https://cdnjs.cloudflare.com/ajax/libs/jsrender/1.0.14/jsrender.min.js
https://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.2/knockout-min.js
https://cdnjs.cloudflare.com/ajax/libs/knockout/3.5.1/knockout-latest.min.js
https://cdnjs.cloudflare.com/ajax/libs/knockout.mapping/2.4.1/knockout.mapping.min.js
@ -841,7 +842,7 @@ https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.css
https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.js
https://cdnjs.cloudflare.com/ajax/libs/Leaflet.EasyButton/2.4.0/easy-button.min.js
https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.5.3/leaflet.markercluster.js
https://cdnjs.cloudflare.com/ajax/libs/libphonenumber-js/1.11.2/libphonenumber-js.min.js
https://cdnjs.cloudflare.com/ajax/libs/libphonenumber-js/1.11.3/libphonenumber-js.min.js
https://cdnjs.cloudflare.com/ajax/libs/libsodium-wrappers/0.5.4/sodium.min.js
https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/js/lightbox.min.js
https://cdnjs.cloudflare.com/ajax/libs/lightcase/2.5.0/css/lightcase.min.css
@ -857,8 +858,8 @@ https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js
https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js
https://cdnjs.cloudflare.com/ajax/libs/lozad.js/1.16.0/lozad.min.js
https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.9/lunr.min.js
https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js
https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.min.css
https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.2.0/jquery.magnific-popup.min.js
https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.2.0/magnific-popup.min.css
https://cdnjs.cloudflare.com/ajax/libs/markdown-it/13.0.2/markdown-it.min.js
https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css
https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js
@ -948,8 +949,8 @@ https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.css
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.js
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/6.4.2/mdb.min.css
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/6.4.2/mdb.min.js
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.0/mdb.es.min.js
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.0/mdb.min.css
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.1/mdb.es.min.js
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.1/mdb.min.css
https://cdnjs.cloudflare.com/ajax/libs/Modaal/0.4.4/css/modaal.min.css
https://cdnjs.cloudflare.com/ajax/libs/Modaal/0.4.4/js/modaal.min.js
https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js
@ -958,7 +959,7 @@ https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.5.1/moment-with-langs.min.js
https://cdnjs.cloudflare.com/ajax/libs/mootools/1.4.5/mootools-core-full-compat-yc.min.js
https://cdnjs.cloudflare.com/ajax/libs/mootools/1.6.0/mootools-core.min.js
https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/14.7.0/nouislider.min.js
https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/15.7.2/nouislider.min.js
https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/15.8.0/nouislider.min.js
https://cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.css
https://cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.js
https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.6/nv.d3.min.css
@ -1273,8 +1274,8 @@ https://cdnjs.cloudflare.com/ajax/libs/showdown/1.9.1/showdown.min.js
https://cdnjs.cloudflare.com/ajax/libs/showdown/2.1.0/showdown.min.js
https://cdnjs.cloudflare.com/ajax/libs/simplebar/5.3.9/simplebar.min.css
https://cdnjs.cloudflare.com/ajax/libs/simplebar/5.3.9/simplebar.min.js
https://cdnjs.cloudflare.com/ajax/libs/simplebar/6.2.6/simplebar.min.css
https://cdnjs.cloudflare.com/ajax/libs/simplebar/6.2.6/simplebar.min.js
https://cdnjs.cloudflare.com/ajax/libs/simplebar/6.2.7/simplebar.min.css
https://cdnjs.cloudflare.com/ajax/libs/simplebar/6.2.7/simplebar.min.js
https://cdnjs.cloudflare.com/ajax/libs/simplemde/1.11.2/simplemde.min.css
https://cdnjs.cloudflare.com/ajax/libs/simplemde/1.11.2/simplemde.min.js
https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css
@ -1307,7 +1308,7 @@ https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.1/css/swiper.min.css
https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.1/js/swiper.min.js
https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/css/swiper.min.css
https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/js/swiper.min.js
https://cdnjs.cloudflare.com/ajax/libs/tensorflow/4.19.0/tf.min.js
https://cdnjs.cloudflare.com/ajax/libs/tensorflow/4.20.0/tf.min.js
https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.7/js/tether.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.10.5/icons/default/icons.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.10.5/jquery.tinymce.min.js
@ -1330,32 +1331,32 @@ https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.10.5/skins/ui/oxide/skin.shadow
https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.10.5/themes/mobile/theme.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.10.5/themes/silver/theme.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.10.5/tinymce.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/icons/default/icons.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/models/dom/model.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/content/dark/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/content/default/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/content/document/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/content/tinymce-5/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/content/tinymce-5-dark/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/content/writer/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/oxide/content.inline.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/oxide/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/oxide-dark/content.inline.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/oxide-dark/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/oxide-dark/skin.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/oxide-dark/skin.shadowdom.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/oxide/skin.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/oxide/skin.shadowdom.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/tinymce-5/content.inline.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/tinymce-5/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/tinymce-5-dark/content.inline.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/tinymce-5-dark/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/tinymce-5-dark/skin.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/tinymce-5-dark/skin.shadowdom.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/tinymce-5/skin.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/skins/ui/tinymce-5/skin.shadowdom.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/themes/silver/theme.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.1/tinymce.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/icons/default/icons.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/models/dom/model.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/content/dark/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/content/default/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/content/document/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/content/tinymce-5/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/content/tinymce-5-dark/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/content/writer/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/oxide/content.inline.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/oxide/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/oxide-dark/content.inline.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/oxide-dark/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/oxide-dark/skin.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/oxide-dark/skin.shadowdom.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/oxide/skin.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/oxide/skin.shadowdom.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/tinymce-5/content.inline.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/tinymce-5/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/tinymce-5-dark/content.inline.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/tinymce-5-dark/content.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/tinymce-5-dark/skin.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/tinymce-5-dark/skin.shadowdom.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/tinymce-5/skin.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/skins/ui/tinymce-5/skin.shadowdom.min.css
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/themes/silver/theme.min.js
https://cdnjs.cloudflare.com/ajax/libs/tinymce/7.1.2/tinymce.min.js
https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.css
https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.js
https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.3.0/js/jquery.tooltipster.min.js
@ -1408,13 +1409,13 @@ 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.21.1/video-js.min.css
https://cdnjs.cloudflare.com/ajax/libs/video.js/7.21.1/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/video.js/8.14.0/video-js.min.css
https://cdnjs.cloudflare.com/ajax/libs/video.js/8.14.0/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.27/vue.global.prod.js
https://cdnjs.cloudflare.com/ajax/libs/video.js/8.16.0/video-js.min.css
https://cdnjs.cloudflare.com/ajax/libs/video.js/8.16.0/video.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.29/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.13.1/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.3.2/vue-router.global.min.js
https://cdnjs.cloudflare.com/ajax/libs/vue-router/4.3.3/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
@ -1443,7 +1444,7 @@ https://cdn.jsdelivr.net/npm/docsify-themeable@0.9.0/dist/css/theme-simple.css
https://cdn.jsdelivr.net/npm/docsify-themeable@0.9.0/dist/css/theme-simple-dark.css
https://cdn.jsdelivr.net/npm/ethjs@0.4.0/dist/ethjs.min.js
https://cdn.jsdelivr.net/npm/instantsearch.css@7.4.5/themes/algolia-min.css
https://cdn.jsdelivr.net/npm/instantsearch.css@8.2.0/themes/algolia-min.css
https://cdn.jsdelivr.net/npm/instantsearch.css@8.2.1/themes/algolia-min.css
https://cdn.jsdelivr.net/npm/in-view@0.6.1/dist/in-view.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@12.0.0/datepicker/bs-datepicker.css

View File

@ -160,7 +160,7 @@
"description": "Statistics view for past year."
},
"labelAll": {
"message": "",
"message": "Alle",
"description": "Statistics view over the whole time range"
},
"labelDelete": {
@ -496,19 +496,19 @@
"description": "Missing"
},
"permissionRevokedHeader": {
"message": "",
"message": "Toestemming ingetrokken",
"description": "Permission revoked"
},
"permissionRevokedPermissionName": {
"message": "",
"message": "Uw data voor alle websites inzien",
"description": "The exact name of the permission. Exactly as it is displayed in Firefox."
},
"permissionRevokedDescription": {
"message": "",
"message": "Weiger deze toestemming alstublieft niet. LocalCDN heeft deze toestemming nodig om CDN's te detecteren en om te leiden.",
"description": "Please do not disable the permission. LocalCDN needs the permission to detect and redirect requests to CDNs."
},
"helpWhyThisPermission": {
"message": "",
"message": "Waarom heeft deze extensie deze toestemming nodig?",
"description": "Why does this extension need this permission?"
},
"helpPermissionDescription": {
@ -516,15 +516,15 @@
"description": "LocalCDN needs to know which requests are created by a website to redirect or block it. With the introduction of MV3, this permission is listed as an optional permission."
},
"permissionMissing": {
"message": "",
"message": "Geen toestemming verleend",
"description": "Missing permission"
},
"permissionAllow": {
"message": "",
"message": "Toestaan",
"description": "Allow"
},
"permissionMoreInfo": {
"message": "",
"message": "Meer informatie",
"description": "More info"
}
}

View File

@ -745,6 +745,10 @@ function create_url() {
url="$CLOUDFLARE/$folder/$version/redux.legacy-esm.min.js"
elif [ "$folder" = "supabase-js" ]; then
url="$UNPKG/@supabase/supabase-js@$version/dist/umd/supabase.js"
elif [ "$folder" = "pure" ] && \
[ "$jfile" = "pure.min.css" ] && \
( [ "$version" = "0.6.2" ] || [ "$version" = "1.0.1" ] ); then
url="$CLOUDFLARE/$folder/$version/pure-min.css"
# --------------------------------------------------------------------------
else
if [ "$subfile" = "$jfile" ]; then

View File

@ -430,6 +430,16 @@ const MathJax3Files = {
'es5/tex-svg.js': true,
};
const ReqAnalyzer = {
'BUNDLE_MATHJAX': 'MathJax (Bundle)',
'BUNDLE_TINYMCE': 'TinyMCE (Bundle)',
'BUNDLE_DATATABLES': 'DataTables (Bundle)',
'BUNDLE_SCROLLMAGIC': 'ScrollMagic (Bundle)',
'BUNDLE_FONT_AWESOME': 'Font Awesome (Fonts) (Bundle)',
'BUNDLE_PURE_CSS': 'Pure CSS (Bundle)',
};
/**
* To block bad resources, e.g. fingerprint
*

View File

@ -383,6 +383,7 @@ mappings.cdn = {
'jquery-ujs/{version}/rails.': resources.jqueryUJS,
'jScrollPane/{version}/script/jquery.jscrollpane.': resources.jScrollPane,
'js-cookie/{version}/js.cookie.min.js': resources.jscookie,
'jsrender/{version}/jsrender.min.js': resources.jsrender,
'knockout/{version}/knockout': resources.knockout,
'knockout.mapping/{version}/knockout.mapping.': resources.knockoutMapping,
'lazysizes/{version}/lazysizes.min.js': resources.lazysizes,

View File

@ -251,16 +251,18 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
requestAnalyzer._getPathOfBundle = function (initiator, channelHost, channelPath, targetPath, bundle) {
let filename = channelPath.split('/').pop();
if (bundle === 'MathJax (Bundle)' && filename !== 'MathJax.js') {
if (bundle === ReqAnalyzer.BUNDLE_MATHJAX && filename !== 'MathJax.js') {
filename = requestAnalyzer._handleMathJax(channelPath, channelHost, initiator);
} else if (bundle === 'TinyMCE (Bundle)' && filename !== 'tinymce.min.js') {
} else if (bundle === ReqAnalyzer.BUNDLE_TINYMCE && filename !== 'tinymce.min.js') {
filename = requestAnalyzer._handleTinyMCE(channelPath, channelHost, initiator);
} else if (bundle === 'DataTables (Bundle)') {
} else if (bundle === ReqAnalyzer.BUNDLE_DATATABLES) {
filename = requestAnalyzer._handleUncompressedFiles(filename);
} else if (bundle === 'ScrollMagic (Bundle)' && !filename.endsWith('.min.js')) {
} else if (bundle === ReqAnalyzer.BUNDLE_SCROLLMAGIC && !filename.endsWith('.min.js')) {
filename = requestAnalyzer._handleUncompressedFiles(filename);
} else if (bundle === 'Font Awesome (Fonts) (Bundle)') {
} else if (bundle === ReqAnalyzer.BUNDLE_FONT_AWESOME) {
filename = requestAnalyzer._handleFontawesomeFiles(targetPath, filename);
} else if (bundle === ReqAnalyzer.BUNDLE_PURE_CSS) {
filename = (filename === 'pure-min.css' ? 'pure.min.css' : filename);
}
if (filename === false) {

View File

@ -645,6 +645,10 @@ let resources = {
'jscookie': {
'path': 'resources/js-cookie/{version}/js.cookie.min.jsm'
},
// jsrender
'jsrender': {
'path': 'resources/jsrender/{version}/jsrender.min.jsm'
},
// knockout
'knockout': {
'path': 'resources/knockout/{version}/knockout-min.jsm'

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "LocalCDN",
"version": "2.6.68",
"version": "2.6.69",
"browser_specific_settings": {
"gecko": {
"id": "{b86e4813-687a-43e6-ab65-0bde4ab75758}",

View File

@ -164,8 +164,7 @@ targets.setLastVersion = function (type, version) {
if (version !== 'latest' && helpers.compareVersion('1.9.4', version)) return '1.9.4';
return '2.11.0';
}
if (type.startsWith('/bulma/0.')) return '1.0.0';
if (type.startsWith('/bulma/1.')) return '1.0.1';
if (type.startsWith('/bulma/0.') || type.startsWith('/bulma/1.')) return '1.0.1';
if (type.startsWith('/bxslider/4.')) return '4.2.17';
if (type.startsWith('/Chart.js/2.')) return '2.9.4';
if (type.startsWith('/Chart.js/3.')) return '3.9.1';
@ -228,12 +227,12 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/history/4.')) return '4.10.1';
if (type.startsWith('/history/5.')) return '5.3.0';
if (type.startsWith('/hls.js/0.')) return '0.14.17';
if (type.startsWith('/hls.js/1.')) return '1.5.9';
if (type.startsWith('/hls.js/1.')) return '1.5.11';
if (type.startsWith('/hogan.js/')) return '3.0.2';
if (type.startsWith('/instantsearch.css/7.')) return '7.4.5';
if (type.startsWith('/instantsearch.css/8.')) return '8.2.0';
if (type.startsWith('/instantsearch.css/8.')) return '8.2.1';
if (type.startsWith('/instantsearch.js/3.')) return '3.7.0';
if (type.startsWith('/instantsearch.js/4.')) return '4.70.0';
if (type.startsWith('/instantsearch.js/4.')) return '4.71.1';
if (type.startsWith('/in-view/0.')) return '0.6.1';
if (type.startsWith('/iScroll/5.')) return '5.2.0';
if (type.startsWith('/izimodal/1.')) return '1.6.1';
@ -294,6 +293,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/jasny-bootstrap/4.')) return '4.0.0';
if (type.startsWith('/js-cookie/2.')) return '2.2.1';
if (type.startsWith('/js-cookie/3.')) return '3.0.5';
if (type.startsWith('/jsrender/1.')) return '1.0.14';
if (type.startsWith('/knockout/3.')) {
if (helpers.compareVersion('3.4.2', version)) return '3.4.2'; // <= v3.4.2
return '3.5.1';
@ -309,7 +309,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/Leaflet.EasyButton/2.')) return '2.4.0';
if (type.startsWith('/leaflet.featuregroup.subgroup/1.')) return '1.0.2';
if (type.startsWith('/leaflet.markercluster/1.')) return '1.5.3';
if (type.startsWith('/libphonenumber-js/1.')) return '1.11.2';
if (type.startsWith('/libphonenumber-js/1.')) return '1.11.3';
if (type.startsWith('/libsodium-wrappers/0.')) return '0.5.4';
if (type.startsWith('/lightbox2/2.')) return '2.11.4';
if (type.startsWith('/lightcase/2.')) return '2.5.0';
@ -319,7 +319,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/lodash.js/4.')) return '4.17.21';
if (type.startsWith('/lozad')) return '1.16.0';
if (type.startsWith('/lunr.js/2.')) return '2.3.9';
if (type.startsWith('/magnific-popup.js/1.')) return '1.1.0';
if (type.startsWith('/magnific-popup.js/1.')) return '1.2.0';
if (type.startsWith('/markdown-it/')) return '13.0.2';
if (type.startsWith('/mdbootstrap/4.')) return '4.20.0';
if (type.startsWith('/material-design-icons/2.')) return '2.8.94';
@ -337,7 +337,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/mdb-ui-kit/4.')) return '4.4.0';
if (type.startsWith('/mdb-ui-kit/5.')) return '5.0.0';
if (type.startsWith('/mdb-ui-kit/6.')) return '6.4.2';
if (type.startsWith('/mdb-ui-kit/7.')) return '7.3.0';
if (type.startsWith('/mdb-ui-kit/7.')) return '7.3.1';
if (type.startsWith('/mobile/1.')) return '1.4.5';
if (type.startsWith('/Modaal/0.')) return '0.4.4';
if (type.startsWith('/modernizr/2.')) return '2.8.3';
@ -356,7 +356,7 @@ targets.setLastVersion = function (type, version) {
return '12.0.0';
}
if (type.startsWith('/noUiSlider/14.')) return '14.7.0';
if (type.startsWith('/noUiSlider/15.')) return '15.7.2';
if (type.startsWith('/noUiSlider/15.')) return '15.8.0';
if (type.startsWith('/nprogress/0.')) return '0.2.0';
if (type.startsWith('/nvd3/1.')) return '1.8.6';
if (type.startsWith('/object-assign@4.')) return '4.1.1';
@ -412,7 +412,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/showdown/1.')) return '1.9.1';
if (type.startsWith('/showdown/2.')) return '2.1.0';
if (type.startsWith('/simplebar/5.')) return '5.3.9';
if (type.startsWith('/simplebar/6.')) return '6.2.6';
if (type.startsWith('/simplebar/6.')) return '6.2.7';
if (type.startsWith('/simplemde/')) return '1.11.2';
if (type.startsWith('/slick-carousel/1.')) {
if (helpers.compareVersion('1.8.1', version)) return '1.8.1'; // <= v1.8.1
@ -444,12 +444,12 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/Swiper/10.') || type.startsWith('/Swiper/11.') || type.startsWith('/Swiper/')) return '11.0.5';
if (type.startsWith('/tensorflow/')) {
// NOTE: Parameters swapped. (= anything greater than v2.0.0)
if (helpers.compareVersion(version, '2.0.0')) return '4.19.0'; // >= v2.0.0
if (helpers.compareVersion(version, '2.0.0')) return '4.20.0'; // >= v2.0.0
}
if (type.startsWith('/tether/1.')) return '1.4.7';
if (type.startsWith('/tinymce/5.')) return '5.10.5';
if (type.startsWith('/tinymce/6.')) return '7.0.1';
if (type.startsWith('/tinymce/7.')) return '7.1.1';
if (type.startsWith('/tinymce/7.')) return '7.1.2';
if (type.startsWith('/tooltipster/3.')) return '3.3.0';
if (type.startsWith('/tooltipster/4.')) return '4.2.8';
if (type.startsWith('/toastr.js/2.') || type.startsWith('/toastr.js/latest/')) return '2.1.4';
@ -484,17 +484,17 @@ targets.setLastVersion = function (type, version) {
if (helpers.compareVersion('5.20.5', version)) return '5.20.5'; // <= 5.20.5
if (helpers.compareVersion('6.13.0', version)) return '6.13.0'; // > 5.20.5 to <= 6.13.0
if (helpers.compareVersion('7.21.1', version)) return '7.21.1'; // > 6.13.0 to <= 7.21.1
return '8.14.0';
return '8.16.0';
}
if (type.startsWith('/vue/1.')) return '1.0.28';
if (type.startsWith('/vue/2.')) return '2.6.14';
if (type.startsWith('/vue/3.')) return '3.4.27';
if (type.startsWith('/vue/3.')) return '3.4.29';
if (type.startsWith('/vue-i18n/8.')) return '8.27.2';
if (type.startsWith('/vue-i18n/9.')) return '9.13.1';
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.3.2';
if (type.startsWith('/vue-router/4.')) return '4.3.3';
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';
@ -515,6 +515,7 @@ targets.determineResourceName = function (filename) {
};
const ListOfFiles = {
'jsrender.min.jsm': 'jsrender',
'supabase.min.jsm': 'supabase-js',
'handlebars.min.jsm': 'handlebars.js',
'URI.min.jsm': 'URI.js',

View File

@ -25,29 +25,33 @@
<h2>New in LocalCDN:</h2>
</div>
<div class="release-notes-area">
<p>Mapping</p>
<ul>
<li>pure-min.css to pure.min.css (<a href="https://codeberg.org/nobody/LocalCDN/issues/1629">#1629</a>)</li>
</ul>
<p>Fixed</p>
<ul>
<li>Wrong version for bulma v0.x (<a href="https://codeberg.org/nobody/LocalCDN/issues/1632">#1632</a>)</li>
</ul>
<p>Added</p>
<ul>
<li>jsrender v1.0.14</li>
</ul>
<p>Updated</p>
<ul>
<li>alpinejs v3.13.10 -> v3.14.0</li>
<li>axios v1.6.8 -> v1.7.2</li>
<li>bootstrap-table v1.22.5 -> v1.22.6</li>
<li>bulma v1.0.0 -> v1.0.1</li>
<li>bxslider v4.2.15 -> v4.2.17</li>
<li>dexie v4.0.4 -> v4.0.7</li>
<li>hls.js v1.5.8 -> v1.5.9</li>
<li>instantsearch.css v8.1.0 -> v8.2.0</li>
<li>instantsearch.js v4.68.0 -> v4.70.0</li>
<li>libphonenumber-js v1.10.62 -> v1.11.2</li>
<li>mdb-ui-kit v7.2.0 -> v7.3.0</li>
<li>noUiSlider v15.7.1 -> v15.7.2</li>
<li>p5.js v1.9.3 -> v1.9.4</li>
<li>react-intl v6.6.6 -> v6.6.8</li>
<li>react-router v6.23.0 -> v6.23.1</li>
<li>search-insights v2.13.0 -> v2.14.0</li>
<li>simplebar v6.2.5 -> v6.2.6</li>
<li>swagger-ui v5.17.3 -> v5.17.14</li>
<li>tinymce v7.0.1 -> v7.1.1</li>
<li>video.js v8.13.0 -> v8.14.0</li>
<li>vue v3.4.26 -> v3.4.27</li>
<li>hls.js v1.5.9 -> v1.5.11</li>
<li>instantsearch.css v8.2.0 -> v8.2.1</li>
<li>instantsearch.js v4.70.0 -> v4.71.1</li>
<li>libphonenumber-js v1.11.2 -> v1.11.3</li>
<li>magnific-popup.js v1.1.0 -> v1.2.0</li>
<li>mdb-ui-kit v7.3.0 -> v7.3.1</li>
<li>noUiSlider v15.7.2 -> v15.8.0</li>
<li>simplebar v6.2.6 -> v6.2.7</li>
<li>tensorflow v4.19.0 -> v4.20.0</li>
<li>tinymce v7.1.1 -> v7.1.2</li>
<li>video.js v8.14.0 -> v8.16.0</li>
<li>vue v3.4.27 -> v3.4.29</li>
<li>vue-router v4.3.2 -> v4.3.3</li>
</ul>
</div>
<div id="generator-section">
@ -86,6 +90,31 @@
</div>
<div id="history"><span id="history-indicator">+</span> Previous Versions</div>
<div id="history-release-notes">
<p class='release-date'>2023-05-30 (v2.6.68)</p>
<p>Updated</p>
<ul>
<li>alpinejs v3.13.10 -> v3.14.0</li>
<li>axios v1.6.8 -> v1.7.2</li>
<li>bootstrap-table v1.22.5 -> v1.22.6</li>
<li>bulma v1.0.0 -> v1.0.1</li>
<li>bxslider v4.2.15 -> v4.2.17</li>
<li>dexie v4.0.4 -> v4.0.7</li>
<li>hls.js v1.5.8 -> v1.5.9</li>
<li>instantsearch.css v8.1.0 -> v8.2.0</li>
<li>instantsearch.js v4.68.0 -> v4.70.0</li>
<li>libphonenumber-js v1.10.62 -> v1.11.2</li>
<li>mdb-ui-kit v7.2.0 -> v7.3.0</li>
<li>noUiSlider v15.7.1 -> v15.7.2</li>
<li>p5.js v1.9.3 -> v1.9.4</li>
<li>react-intl v6.6.6 -> v6.6.8</li>
<li>react-router v6.23.0 -> v6.23.1</li>
<li>search-insights v2.13.0 -> v2.14.0</li>
<li>simplebar v6.2.5 -> v6.2.6</li>
<li>swagger-ui v5.17.3 -> v5.17.14</li>
<li>tinymce v7.0.1 -> v7.1.1</li>
<li>video.js v8.13.0 -> v8.14.0</li>
<li>vue v3.4.26 -> v3.4.27</li>
</ul>
<p class='release-date'>2023-05-06 (v2.6.67)</p>
<p>Updated</p>
<ul>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1197,7 +1197,9 @@ const initComponent = (component, manualInit = false) => {
if (!component || InitializedComponents.get(component.NAME)) {
return;
}
InitializedComponents.set(component.NAME);
if (!manualInit) {
InitializedComponents.set(component.NAME);
}
const thisComponent = _defaultInitSelectors[component.NAME] || null;
const isToggler = (thisComponent == null ? void 0 : thisComponent.isToggler) || false;
defineJQueryPlugin(component);
@ -6052,8 +6054,9 @@ class Input extends BaseComponent2 {
});
}
_toggleDefaultDatePlaceholder(input = this.input) {
const isTypeDate = input.getAttribute("type") === "date";
if (!isTypeDate) {
const type = input.getAttribute("type");
const typesWithPlaceholder = ["date", "time", "datetime-local", "month", "week"];
if (!typesWithPlaceholder.includes(type)) {
return;
}
const isInputFocused = document.activeElement === input;
@ -6118,6 +6121,9 @@ class Input extends BaseComponent2 {
_activate(event) {
onDOMContentLoaded(() => {
this._getElements(event);
if (!this._element) {
return;
}
const input = event ? event.target : this.input;
if (input.value !== "") {
Manipulator$1.addClass(input, CLASSNAME_ACTIVE$1);
@ -6126,9 +6132,17 @@ class Input extends BaseComponent2 {
});
}
_getElements(event) {
let initialized;
if (event) {
this._element = event.target.parentNode;
this._label = SelectorEngine$1.findOne("label", this._element);
initialized = Manipulator$1.getDataAttribute(
this._element,
`${this.constructor.NAME}-initialized`
);
}
if (!initialized) {
return;
}
if (event && this._label) {
const prevLabelWidth = this._labelWidth;
@ -7496,7 +7510,7 @@ const inputCallback = (component, initSelector) => {
instance.update();
});
});
SelectorEngine$1.find(SELECTOR_DATA_INIT).map((element2) => new Input2(element2));
SelectorEngine$1.find(SELECTOR_DATA_INIT).map((element2) => Input2.getOrCreateInstance(element2));
EventHandler$1.on(window, "reset", (e) => {
SelectorEngine$1.find(SELECTOR_OUTLINE_INPUT, e.target).forEach((element2) => {
const instance = Input2.getInstance(element2.parentNode);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long