@svelte-vitals/vite 0.32.2 → 0.32.3

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.
@@ -10,7 +10,7 @@ function findingSignature(results, config) {
10
10
  const warn = (line) => console.warn(terminalSafe(line));
11
11
  async function postIngest(origin, route, results, failedRuleIds) {
12
12
  if (!isLoopbackOrigin(origin)) {
13
- if (globalThis.process?.env?.SVELTE_VITALS_DEBUG) warn(`[svelte-vitals] live UI ingest skipped for non-loopback origin ${origin} — open the dashboard via localhost`);
13
+ if (globalThis.process?.env?.SVELTE_VITALS_DEBUG) warn(`svelte-vitals: live UI ingest skipped for non-loopback origin ${origin} — open the dashboard via localhost`);
14
14
  return;
15
15
  }
16
16
  try {
@@ -82,7 +82,7 @@ async function analyzeAndIngest(html, route, origin, rules, config, lastSignatur
82
82
  lastSignature.set(route, signature);
83
83
  if (globalThis.process?.env?.SVELTE_VITALS_UI) postIngest(origin, route, results, failedRuleIds);
84
84
  } catch (err) {
85
- if (globalThis.process?.env?.SVELTE_VITALS_DEBUG) warn(`[svelte-vitals] dev analysis failed: ${err instanceof Error ? err.message : String(err)}`);
85
+ if (globalThis.process?.env?.SVELTE_VITALS_DEBUG) warn(`svelte-vitals: dev analysis failed: ${err instanceof Error ? err.message : String(err)}`);
86
86
  }
87
87
  }
88
88
  /**
package/dist/index.js CHANGED
@@ -744,7 +744,7 @@ function svelteVitals(options = {}) {
744
744
  store.setStatic(results);
745
745
  staticFailedRuleIds = failedRuleIds ?? [];
746
746
  },
747
- onError: (err) => warn(`[svelte-vitals] dev analysis failed: ${err instanceof Error ? err.message : String(err)}`),
747
+ onError: (err) => warn(`svelte-vitals: dev analysis failed: ${err instanceof Error ? err.message : String(err)}`),
748
748
  onStatusChange: (analyzing) => store.setAnalyzing(analyzing)
749
749
  });
750
750
  runner.start();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svelte-vitals/vite",
3
- "version": "0.32.2",
3
+ "version": "0.32.3",
4
4
  "description": "Vite/SvelteKit plugin for svelte-vitals — analyzes prerendered HTML during vite build, plus a live dev dashboard.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -42,12 +42,12 @@
42
42
  "esm-env": "^1.2.2",
43
43
  "node-html-parser": "^9.0.1",
44
44
  "tinyglobby": "^0.2.17",
45
- "@svelte-vitals/core": "0.47.1",
46
- "svelte-vitals": "0.50.1"
45
+ "@svelte-vitals/core": "0.47.2",
46
+ "svelte-vitals": "0.51.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@sveltejs/kit": "^2.70.3",
50
- "vite": "^8.2.1"
50
+ "vite": "^8.2.2"
51
51
  },
52
52
  "peerDependenciesMeta": {
53
53
  "@sveltejs/kit": {
@@ -57,9 +57,9 @@
57
57
  "devDependencies": {
58
58
  "@sveltejs/kit": "^2.70.3",
59
59
  "@types/node": "^24.13.3",
60
- "happy-dom": "^20.11.2",
61
- "svelte": "^5.56.9",
62
- "vite": "^8.2.1"
60
+ "happy-dom": "^20.11.6",
61
+ "svelte": "^5.56.10",
62
+ "vite": "^8.2.2"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsdown",