@svelte-vitals/core 0.9.0 → 0.10.0

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.d.ts CHANGED
@@ -53,7 +53,7 @@ interface Result {
53
53
  line?: number;
54
54
  }
55
55
  type Scope = 'route' | 'project';
56
- type Category = 'seo' | 'performance' | 'a11y' | 'maintainability';
56
+ type Category = 'seo' | 'performance';
57
57
  /** How dynamic (`{data.title}`) values are treated by scoring (design §4, §12). */
58
58
  type TreatDynamicAs = 'pass' | 'warn' | 'fail';
59
59
  /** Per-rule override: disable, or change severity. */
package/dist/index.js CHANGED
@@ -521,11 +521,9 @@ var SEVERITY_TITLE = {
521
521
  };
522
522
  var CATEGORY_LABEL = {
523
523
  seo: "SEO",
524
- performance: "Performance",
525
- a11y: "Accessibility",
526
- maintainability: "Maintainability"
524
+ performance: "Performance"
527
525
  };
528
- var CATEGORY_ORDER = ["seo", "performance", "a11y", "maintainability"];
526
+ var CATEGORY_ORDER = ["seo", "performance"];
529
527
  function scoreLine(label, { score, scoreModel }) {
530
528
  const parts = [`route avg ${scoreModel.routeAverage}`];
531
529
  if (scoreModel.sitePenalty > 0) parts.push(`site \u2212${scoreModel.sitePenalty}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svelte-vitals/core",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Shared, runtime-agnostic core for svelte-vitals (types, rule engine, scorer, reporter).",
5
5
  "type": "module",
6
6
  "license": "MIT",