add supabase-js (#1619)

This commit is contained in:
nobody 2024-02-04 08:15:30 +01:00
parent 2f9bdcd6c0
commit 5a0ce65cb9
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
7 changed files with 15 additions and 0 deletions

View File

@ -1923,4 +1923,5 @@ https://raw.githubusercontent.com/Templarian/MaterialDesign-Webfont/v4.9.95/font
https://raw.githubusercontent.com/Templarian/MaterialDesign-Webfont/v5.8.55/css/materialdesignicons.min.css
https://raw.githubusercontent.com/Templarian/MaterialDesign-Webfont/v5.8.55/fonts/materialdesignicons-webfont.woff2
https://unpkg.com/react-side-effect@2.1.2/lib/index.umd.min.js
https://unpkg.com/@supabase/supabase-js@2.39.3/dist/umd/supabase.js
https://use.fontawesome.com/a1f20be65b.js

View File

@ -747,6 +747,8 @@ function create_url() {
url="$CLOUDFLARE/$folder/$version/plugins/$jfile"
elif [ "$folder" = "redux" ] && [ "$version" != "4.2.1" ];then
url="$CLOUDFLARE/$folder/$version/redux.legacy-esm.min.js"
elif [ "$folder" = "supabase-js" ]; then
url="$UNPKG/@supabase/supabase-js@$version/dist/umd/supabase.js"
# --------------------------------------------------------------------------
else
if [ "$subfile" = "$jfile" ]; then

View File

@ -726,6 +726,7 @@ mappings.cdn = {
'slick-carousel@{version}/slick/slick.css': resources.slickCarouselCSS,
'slick-carousel@{version}/slick/slick.min.js': resources.slickCarouselJS,
'slick-carousel@{version}/slick/slick.js': resources.slickCarouselJS,
'@supabase/supabase-js@{version}': resources.supabaseJs,
'@tensorflow/tfjs@{version}/dist/tf.min.js': resources.tensorflow,
'@tensorflow/tfjs@{version}/dist/tf.js': resources.tensorflow,
'underscore@{version}/underscore.': resources.underscore,

View File

@ -1051,6 +1051,10 @@ var resources = {
'storeJS': {
'path': 'resources/store.js/{version}/store.legacy.min.jsm'
},
// suprabase-js
'supabaseJs': {
'path': 'resources/supabase-js/{version}/supabase.min.jsm'
},
// swagger-ui
'swaggerUiJS': {
'path': 'resources/swagger-ui/{version}/swagger-ui-bundle.min.jsm'

View File

@ -435,6 +435,7 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/stickyfill/2.')) return '2.1.0';
if (type.startsWith('/sticky-js/')) return '1.3.0';
if (type.startsWith('/store.js/2.')) return '2.0.12';
if (type.startsWith('/supabase-js/2.')) return '2.39.3';
if (type.startsWith('/swagger-ui/4.')) return '4.18.3';
if (type.startsWith('/swagger-ui/5.')) return '5.11.2';
if (type.startsWith('/Swiper/3.')) return '3.4.2';
@ -513,6 +514,7 @@ targets.determineResourceName = function (filename) {
};
const ListOfFiles = {
'supabase.min.jsm': 'supabase-js',
'handlebars.min.jsm': 'handlebars.js',
'URI.min.jsm': 'URI.js',
'vue-router.global.min.jsm': 'vue-router',

View File

@ -45,6 +45,10 @@
<li>libphonenumber-js v1.10.53 -> v1.10.55</li>
<li>corejs-typeahead v1.3.3 -> v1.3.4</li>
</ul>
<p>Added</p>
<ul>
<li>supabase-js (<a href="https://codeberg.org/nobody/LocalCDN/issues/1619">#1619</a>)</li>
</ul>
<p>Remove</p>
<ul>
<li>SWFObject</li>

File diff suppressed because one or more lines are too long