@sdeverywhere/check-ui-shell 0.2.15 → 0.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +12 -4
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -9767,10 +9767,18 @@ class Uv {
|
|
|
9767
9767
|
async loadRemoteBundles() {
|
|
9768
9768
|
if (this.config.remoteBundlesUrl)
|
|
9769
9769
|
try {
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9770
|
+
let e;
|
|
9771
|
+
const r = {};
|
|
9772
|
+
let s = this.config.remoteBundlesUrl;
|
|
9773
|
+
if (s.startsWith("https://") && s.includes("@")) {
|
|
9774
|
+
const [a, l] = s.replace("https://", "").split("@");
|
|
9775
|
+
r.Authorization = "Basic " + btoa(a), s = `https://${l}`, e = "include";
|
|
9776
|
+
}
|
|
9777
|
+
s += `?cb=${Date.now()}`;
|
|
9778
|
+
const n = await fetch(s, { headers: r, credentials: e });
|
|
9779
|
+
if (!n.ok)
|
|
9780
|
+
throw new Error(`Failed to fetch remote bundles: ${n.statusText}`);
|
|
9781
|
+
return await n.json();
|
|
9774
9782
|
} catch (e) {
|
|
9775
9783
|
const s = `Failed to load remote bundles: ${e instanceof Error ? e.message : String(e)}`, n = this.error;
|
|
9776
9784
|
n ? this.error = `${n}; ${s}` : this.error = s;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdeverywhere/check-ui-shell",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**"
|
|
6
6
|
],
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
30
30
|
"@types/chart.js": "^2.9.34",
|
|
31
31
|
"@types/fontfaceobserver": "^2.1.3",
|
|
32
|
-
"postcss": "^8.
|
|
33
|
-
"sass": "^1.
|
|
32
|
+
"postcss": "^8.5.6",
|
|
33
|
+
"sass": "^1.97.2",
|
|
34
34
|
"storybook": "^10.1.11",
|
|
35
35
|
"svelte": "^5.39.10",
|
|
36
36
|
"svelte-awesome": "^3.3.5",
|
|
37
37
|
"svelte-check": "^4.3.2",
|
|
38
|
-
"vite": "^7.1.
|
|
38
|
+
"vite": "^7.1.12"
|
|
39
39
|
},
|
|
40
40
|
"devDependenciesComments": {
|
|
41
41
|
"svelte-awesome": [
|