@svelte-vitals/core 0.50.0 → 0.51.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
@@ -1,2 +1,2 @@
1
- import { Ct as RuleSetting, Dt as TreatDynamicAs, Et as Severity, Ot as Value, St as RuleOverride, at as formatGithubReport, bt as Result, dt as summarize, ft as CATEGORIES, gt as Fix, ht as Detection, it as formatMarkdownReport, jt as defineConfig, mt as Config, n as RuleEvidence, o as ScoreModel, pt as Category, st as Summary, t as JsonReport, ut as hasFailureAtOrAbove, vt as Presence, wt as RuleSettingObject, xt as RuleOptions } from "./json-CcKHN-tx.js";
1
+ import { $ as Summary, Ct as defineConfig, X as formatMarkdownReport, Z as formatGithubReport, at as Category, bt as Value, ct as Fix, ft as Result, gt as RuleSettingObject, ht as RuleSetting, it as CATEGORIES, mt as RuleOverride, n as RuleEvidence, nt as hasFailureAtOrAbove, o as ScoreModel, ot as Config, pt as RuleOptions, rt as summarize, st as Detection, t as JsonReport, ut as Presence, vt as Severity, yt as TreatDynamicAs } from "./json-D26FMrh-.js";
2
2
  export { CATEGORIES, type Category, type Config, type Detection, type Fix, type JsonReport, type Presence, type Result, type RuleEvidence, type RuleOptions, type RuleOverride, type RuleSetting, type RuleSettingObject, type ScoreModel, type Severity, type Summary, type TreatDynamicAs, type Value, defineConfig, formatGithubReport, formatMarkdownReport, hasFailureAtOrAbove, summarize };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { cr as hasFailureAtOrAbove, fr as CATEGORIES, hr as defineConfig, l as formatGithubReport, lr as summarize, t as formatMarkdownReport } from "./markdown-CEYpv4SU.js";
1
+ import { Cr as CATEGORIES, Er as defineConfig, br as summarize, c as formatGithubReport, t as formatMarkdownReport, yr as hasFailureAtOrAbove } from "./markdown-CD7sqanK.js";
2
2
  export { CATEGORIES, defineConfig, formatGithubReport, formatMarkdownReport, hasFailureAtOrAbove, summarize };
@@ -1,13 +1,6 @@
1
- import { $ as HeadTag, A as formatFailedRuleWarning, At as defaultProject, B as IDREF_ATTRS, C as shouldSkipRangeCheck, D as applyOverrides, E as CompiledOverride, Et as Severity, F as withFailedRulesOff, Ft as OrphanEffectFact, G as isTopFragment, H as ResolvedA11y, I as KitModuleFacts, It as SourceSpan, J as HeadingInfo, K as splitTokens, L as A11yOccurrenceInfo, Lt as SuppressionDirective, M as selectRules, Mt as ComponentFacts, N as settingOptions, Nt as EachBlockFact, O as applyRuleSeverities, Ot as Value, P as settingSeverity, Pt as EffectFact, Q as HeadProvider, R as A11ySkipCause, Rt as skippedFileWarnings, S as resolveRuleOptions, T as validateRuleSetting, Tt as Scope, U as decodeFragmentId, V as LANDMARK_ROLES, W as foldOccurrences, X as ImageInfo, Y as ResolvedHeadings, Z as ResolvedImages, _ as RuleOptionsSpec, _t as KitAlias, a as HealthResult, at as formatGithubReport, b as listOption, bt as Result, c as ScoreResult, ct as classify, d as scoresByCategory, dt as summarize, et as ResolvedHead, f as Rule, g as RuleOptionSpec, gt as Fix, h as isPenalized, i as formatJsonReport, it as formatMarkdownReport, j as overrideMatches, k as compileOverrides, kt as defaultConfig, l as computeHealth, lt as effectiveSeverity, m as docsUrlFor, mt as Config, nt as Runtime, ot as Classification, p as RuleContext, pt as Category, q as stripTextDirective, r as buildJsonReport, rt as withReadLimit, s as ScoreOptions, t as JsonReport, tt as READ_CONCURRENCY, u as computeScore, ut as hasFailureAtOrAbove, v as intOption, w as validateRuleOptions, x as mapOption, y as isMentionedAnywhere, yt as Project, z as BranchStep } from "./json-CcKHN-tx.js";
1
+ import { A as ASIDE_DEMOTING_TAGS, At as collectComponentFacts, B as resolveLandmark, C as selectRules, D as A11yOccurrenceInfo, Dt as OrphanEffectFact, E as KitModuleFacts, Et as EffectFact, F as ResolvedA11y, G as ImageInfo, H as stripTextDirective, I as SECTIONING_TAGS, J as ResolvedHead, K as ResolvedImages, L as decodeFragmentId, M as IDREF_ATTRS, Mt as Runtime, N as LandmarkInput, Nt as withReadLimit, O as A11ySkipCause, Ot as SourceSpan, P as NAMING_ATTRS, Q as Classification, R as foldOccurrences, S as formatFailedRuleWarning, St as defaultProject, T as withFailedRulesOff, Tt as EachBlockFact, U as HeadingInfo, V as splitTokens, W as ResolvedHeadings, X as formatMarkdownReport, Y as isClassicScriptType, Z as formatGithubReport, _ as resolveRuleOptions, _t as Scope, a as HealthResult, at as Category, b as CompiledOverride, bt as Value, c as ScoreResult, ct as Fix, d as Rule, dt as Project, et as classify, f as RuleContext, ft as Result, g as RuleOptionsSpec, h as RuleOptionSpec, i as formatJsonReport, j as BranchStep, jt as skippedFileWarnings, k as ANCESTRY_DEPENDENT_TAGS, kt as SuppressionDirective, l as computeHealth, lt as KitAlias, m as isPenalized, nt as hasFailureAtOrAbove, ot as Config, p as docsUrlFor, q as HeadTag, r as buildJsonReport, rt as summarize, s as ScoreOptions, t as JsonReport, tt as effectiveSeverity, u as computeScore, v as shouldSkipRangeCheck, vt as Severity, w as settingSeverity, wt as ComponentFacts, x as compileOverrides, xt as defaultConfig, y as validateRuleSetting, z as isTopFragment } from "./json-D26FMrh-.js";
2
2
  import { AST } from "svelte/compiler";
3
3
  //#region src/component-parse.d.ts
4
- /**
5
- * Inline `svelte-vitals-disable-next-line` directives (issue #92). A plain text scan, not an
6
- * AST walk, so `<script>` (`//`) and template (`<!-- -->`) comments are covered uniformly. The
7
- * directive must be the entire content of its line; the suppressed line is directive-line + 1.
8
- * Shared with the Kit-module parser (the security kit-module rules).
9
- */
10
- declare function collectSuppressions(source: string): SuppressionDirective[];
11
4
  /** What the per-file parsers produce — `ComponentFacts` minus `file`, with `suppressions` always present. */
12
5
  type ParsedFacts = Omit<ComponentFacts, 'file' | 'suppressions'> & {
13
6
  suppressions: SuppressionDirective[];
@@ -19,24 +12,28 @@ type ParsedFacts = Omit<ComponentFacts, 'file' | 'suppressions'> & {
19
12
  */
20
13
  declare function parseComponentFacts(source: string, filename: string): ParsedFacts;
21
14
  //#endregion
15
+ //#region src/module-ast.d.ts
16
+ /**
17
+ * Inline `svelte-vitals-disable-next-line` directives (issue #92). A plain text scan, not an
18
+ * AST walk, so `<script>` (`//`) and template (`<!-- -->`) comments are covered uniformly. The
19
+ * directive must be the entire content of its line; the suppressed line is directive-line + 1.
20
+ * Shared with the Kit-module parser (the security kit-module rules).
21
+ */
22
+ declare function collectSuppressions(source: string): SuppressionDirective[];
23
+ //#endregion
22
24
  //#region src/inline-directives.d.ts
23
25
  /** File-relative-path → the inline directives collected from that file. */
24
26
  type DirectiveIndex = ReadonlyMap<string, readonly SuppressionDirective[]>;
25
27
  /**
26
- * Apply inline `svelte-vitals-disable-next-line` directives to a finished result set one
27
- * mechanism, over `Result`s, so any rule that emits a line-anchored finding is covered by
28
- * construction rather than by per-family wiring (design 2026-08-17).
29
- *
30
- * Runs on the output of `applyOverrides(applyRuleSeverities(...))`, so a directive silences
31
- * whatever survived config, and every consumer downstream — scoring, `--fail-on`, the suppressions
32
- * file, the reporters — sees the same suppressed set. `fileRule` keeps its own earlier filter and
33
- * is unaffected: a result it already suppressed never arrives here, and its PASS is not penalized.
34
- *
35
- * A rule+route whose every penalized result was suppressed gains one PASS, located at the first
36
- * suppressed result in emission order — the anchor the rules themselves use. Its message is the
37
- * rule's `passLabel` when it declares one, else its `title`.
28
+ * Enter every fact-carrying file into a directive indexcomponents, Kit modules, and the Vite
29
+ * config when its minify flag was read. The one home for the union both pipelines apply, so a new
30
+ * fact family that carries suppressions is wired into inline directives in a single place.
38
31
  */
39
- declare function applyInlineDirectives(results: readonly Result[], index: DirectiveIndex, rules: readonly Rule[], config: Config): Result[];
32
+ declare function addFactsDirectives(index: Map<string, readonly SuppressionDirective[]>, facts: {
33
+ components?: readonly ComponentFacts[];
34
+ kitModules?: readonly KitModuleFacts[];
35
+ viteMinifyDisabled?: Project['viteMinifyDisabled'];
36
+ }): void;
40
37
  /**
41
38
  * Directives naming a rule id that no rule declares. Unlike a directive that matches no finding —
42
39
  * legitimate whenever the code was fixed, the rule turned off, or the run scoped — a misspelled id
@@ -47,23 +44,6 @@ declare function applyInlineDirectives(results: readonly Result[], index: Direct
47
44
  */
48
45
  declare function unknownDirectiveIds(index: DirectiveIndex, rules: readonly Rule[]): string[];
49
46
  //#endregion
50
- //#region src/component-collect.d.ts
51
- /**
52
- * Fallback facts for a file that fails to read or parse (dev tooling must never
53
- * throw). This is the single source of truth for the empty-facts shape — add new
54
- * `ComponentFacts` fields HERE so TypeScript catches every call site that still
55
- * needs updating.
56
- */
57
- declare function emptyComponentFacts(file: string): ComponentFacts;
58
- /**
59
- * Scan every `.svelte` component and `.svelte.ts`/`.svelte.js` runes module under `src/`
60
- * for Correctness/Security/Architecture/Bundle-Performance/Accessibility facts. Independent
61
- * of route resolution — covers `$lib` and non-route components too. A file that fails to
62
- * read or parse contributes empty facts instead of aborting the whole scan (dev tooling
63
- * must never throw).
64
- */
65
- declare function collectComponentFacts(rt: Runtime, cwd: string): Promise<ComponentFacts[]>;
66
- //#endregion
67
47
  //#region src/source-files.d.ts
68
48
  /**
69
49
  * Every file under `src/`, as project-relative paths, sorted. Paths only — nothing is
@@ -104,27 +84,8 @@ declare function collectSourceFiles(rt: Runtime, cwd: string): Promise<string[]>
104
84
  * repo-local specifier resolution in the repo.
105
85
  */
106
86
  declare function resolveRepoLocalPath(spec: string, importerFile: string, aliases?: readonly KitAlias[]): string | undefined;
107
- /**
108
- * Resolve an import specifier to a repo-relative `.svelte.ts`/`.svelte.js` path, or
109
- * undefined when it cannot be a runes module: delegates to `resolveRepoLocalPath` with
110
- * `aliases` (defaulting to `$lib` → `src/lib` when omitted), so a project's declared
111
- * `kit.alias`/`kit.files.lib` resolve here exactly as they do at rule time; `./`/`../`
112
- * resolve against the importing file's directory; bare packages, unmatched aliases, and
113
- * a relative specifier whose `..` segments escape the repo root are skipped. An
114
- * extensionless `…/x.svelte` specifier canonicalises to `….svelte.ts` (security/shared-state-import also
115
- * tries the `.js` sibling when matching).
116
- */
117
- declare function resolveRunesModuleSpecifier(spec: string, importerFile: string, aliases?: readonly KitAlias[]): string | undefined;
118
- /**
119
- * Parse one SvelteKit route/hooks file's SSR shared-state facts (the security kit-module rules). Uses
120
- * the shared wrap parser (`parseModuleProgram`), so reported lines subtract the
121
- * 1-line wrap prefix; suppressions are scanned on the unwrapped source.
122
- */
123
- declare function parseKitModuleFacts(source: string, filename: string, aliases?: readonly KitAlias[]): Omit<KitModuleFacts, 'file' | 'kind'>;
124
87
  //#endregion
125
88
  //#region src/kit-module-collect.d.ts
126
- /** Fallback facts for a Kit file that fails to read or parse (dev tooling must never throw). */
127
- declare function emptyKitModuleFacts(file: string, kind: KitModuleFacts['kind']): KitModuleFacts;
128
89
  /**
129
90
  * Scan SvelteKit route/hooks files for SSR shared-state facts (the security kit-module rules): route
130
91
  * `+page`/`+layout` server and universal modules, `+server` endpoints, and
@@ -148,49 +109,6 @@ declare function findMinifyDisabled(source: string): {
148
109
  } | undefined;
149
110
  //#endregion
150
111
  //#region src/svelte-config-parse.d.ts
151
- /** What a Vite config says about SvelteKit's own configuration. */
152
- type ViteKitConfigResult =
153
- /** No `sveltekit()` call, or one with no argument — `svelte.config` still applies. */
154
- {
155
- kind: 'no-plugin-config';
156
- } |
157
- /** `sveltekit(<something we can't resolve>)` — the effective config is unknowable AND
158
- * `svelte.config` is provably ignored, so the caller must stay quiet. */
159
- {
160
- kind: 'unresolvable';
161
- } |
162
- /** `sveltekit({…})` resolved. `base` is unset when the config declares no non-empty base. */
163
- {
164
- kind: 'resolved';
165
- base?: {
166
- value?: string;
167
- };
168
- };
169
- /** `kit.alias` and `kit.files.lib` as written, before Kit compiles them into ordered entries. */
170
- type RawKitAliases = {
171
- /**
172
- * `kit.alias` entries in declaration order, `value: null` where the config's value is not a
173
- * string literal. **Undefined means the key set is unknowable** — a spread or a computed key
174
- * puts an unknown key at a known position, and an unknown key could shadow anything after it,
175
- * with no `find` to record that with. The caller then discards every user entry.
176
- */
177
- entries?: {
178
- key: string;
179
- value: string | null;
180
- }[];
181
- /**
182
- * `kit.files.lib`, in three distinct states: **absent** (`undefined`) — there is no `lib`
183
- * property, or `files` itself does not resolve to an object literal; a **literal** (the
184
- * string) — `files.lib` is a string literal; **present but unreadable** (`null`) — the `lib`
185
- * property exists but its value is not statically a string (e.g. a computed expression). The
186
- * `null` state must not collapse into "absent": the caller cannot fall back to `src/lib`
187
- * without risking a wrong answer, because the project may have moved `$lib` to something this
188
- * parser simply couldn't read.
189
- */
190
- filesLib?: string | null;
191
- };
192
- /** `kit.alias` and `kit.files.lib` from a `svelte.config.{js,ts}` source. */
193
- declare function findKitAliasesInSvelteConfig(source: string): RawKitAliases;
194
112
  /**
195
113
  * The project's compiled alias list, following SvelteKit's config precedence: options passed to
196
114
  * the `sveltekit()` Vite plugin make `svelte.config` irrelevant (Kit logs "svelte.config.js is
@@ -204,12 +122,6 @@ declare function resolveKitAliases(viteConfig: {
204
122
  } | undefined, svelteConfig: {
205
123
  source: string;
206
124
  } | undefined): KitAlias[] | undefined;
207
- /** `kit.paths.base` from a `svelte.config.{js,ts}` source. */
208
- declare function findKitPathsBaseInSvelteConfig(source: string): {
209
- value?: string;
210
- } | undefined;
211
- /** SvelteKit config passed to the `sveltekit()` plugin in a Vite config source (since Kit 2.62). */
212
- declare function findKitPathsBaseInViteConfig(source: string): ViteKitConfigResult;
213
125
  /**
214
126
  * The project's effective `kit.paths.base`, following SvelteKit's precedence: the `sveltekit()`
215
127
  * plugin config when it carries one, otherwise `svelte.config`. `file` is the config the base
@@ -303,6 +215,21 @@ declare function runRules(rules: Rule[], ctx: RuleContext): Promise<{
303
215
  examined: Record<string, Record<string, number>>;
304
216
  failedRules: FailedRule[];
305
217
  }>;
218
+ /**
219
+ * Run rules and apply the correction sequence every pipeline owes its results: configured
220
+ * severities, overrides, inline directives, then the failed-rule weight correction — a failed
221
+ * rule examined nothing, so its weight must not stay in the Health denominator, and every
222
+ * downstream consumer must score against the returned `scoringConfig` so they agree.
223
+ * A caller with no directive sources passes an empty index, which makes the directive pass
224
+ * identity; the severity and override passes are config-governed and run regardless.
225
+ */
226
+ declare function runAnalysis(rules: Rule[], ctx: RuleContext, directives: DirectiveIndex): Promise<{
227
+ results: Result[];
228
+ examined: Record<string, Record<string, number>>;
229
+ failedRules: FailedRule[];
230
+ failedRuleIds: string[];
231
+ scoringConfig: Config;
232
+ }>;
306
233
  //#endregion
307
234
  //#region src/rules/seo/title-presence.d.ts
308
235
  /**
@@ -928,67 +855,6 @@ interface RuleInfo {
928
855
  /** Look up a rule's static metadata, as `svelte-vitals explain` renders it (issue #24). Rule ids are matched exactly (case-sensitive, e.g. "seo/ssr-disabled"). */
929
856
  declare function explainRule(id: string): RuleInfo | undefined;
930
857
  //#endregion
931
- //#region src/rules/seo/head-tag-rule.d.ts
932
- interface HeadTagRuleOptions {
933
- id: string;
934
- title: string;
935
- severity: Severity;
936
- /** Identifies the tag this rule looks for. */
937
- match: (tag: HeadTag) => boolean;
938
- /** Short human label, e.g. 'description'. */
939
- label: string;
940
- recommendation: string;
941
- /** Why this rule matters — surfaced by `svelte-vitals explain` (issue #24). */
942
- rationale: string;
943
- /** Agent-actionable remediation attached to every finding (issue #18). */
944
- fix?: Fix;
945
- /**
946
- * When set, only heads for which this returns true are evaluated; others emit
947
- * nothing. Use for tags whose canonical location is invisible to a given mode
948
- * (e.g. viewport lives in app.html → only checkable in rendered mode), so the
949
- * rule stays silent instead of false-flagging "missing".
950
- */
951
- appliesTo?: (head: ResolvedHead) => boolean;
952
- }
953
- /** Build a route-scope rule asserting the presence of a single head tag (design §11). */
954
- declare function headTagRule(opts: HeadTagRuleOptions): Rule;
955
- //#endregion
956
- //#region src/rules/perf/image-rule.d.ts
957
- interface ImageRuleOptions {
958
- id: string;
959
- title: string;
960
- severity: Severity;
961
- /** Vitals category (default 'performance'); seo/image-alt (alt text) reports under 'seo'. */
962
- category?: Category;
963
- /** Noun phrase for messages, e.g. '<img> width/height'. */
964
- label: string;
965
- recommendation: string;
966
- rationale: string;
967
- fix?: Fix;
968
- /** Returns true when the image satisfies the rule (passes). */
969
- ok: (img: ImageInfo) => boolean;
970
- }
971
- /** Build a route-scoped <img> rule that checks each image against `ok` (issue #10). */
972
- declare function imageRule(opts: ImageRuleOptions): Rule;
973
- //#endregion
974
- //#region src/rules/perf/link-rule.d.ts
975
- interface LinkRuleOptions {
976
- id: string;
977
- title: string;
978
- severity: Severity;
979
- /** Noun phrase for messages, e.g. '`as` on a preloaded `<link>`'. */
980
- label: string;
981
- recommendation: string;
982
- rationale: string;
983
- fix?: Fix;
984
- /** Which link tags this rule evaluates (e.g. rel === 'preload'). */
985
- relevant: (tag: HeadTag) => boolean;
986
- /** Returns true when a relevant link satisfies the rule (passes). */
987
- ok: (tag: HeadTag) => boolean;
988
- }
989
- /** Build a route-scoped Performance rule that checks each relevant <link> in the effective head. */
990
- declare function linkRule(opts: LinkRuleOptions): Rule;
991
- //#endregion
992
858
  //#region src/reporter/palette.d.ts
993
859
  /** String decorators for the console reporter. Injected so core stays pure/dep-free. */
994
860
  interface Palette {
@@ -1025,17 +891,20 @@ declare function formatConsoleReport(results: Result[], config: Config, options?
1025
891
  //#endregion
1026
892
  //#region src/reporter/sanitize.d.ts
1027
893
  /**
1028
- * Strip ANSI/OSC escape sequences and C0 control characters (except `\n`/`\t`) from a
894
+ * Strip ANSI/OSC escape sequences and C0/C1 control characters (except `\n`/`\t`) from a
1029
895
  * string before it reaches a terminal. POSIX file/route names can contain almost any
1030
896
  * byte, so a hostile repo can smuggle a terminal-title rewrite, cursor move, or other
1031
897
  * escape-sequence trick into what looks like plain report text.
1032
898
  *
1033
- * Only OSC and CSI sequences are pattern-matched and removed whole (payload included) —
1034
- * those cover title-bar writes and cursor/screen control, the two classes with a real
1035
- * blast radius. Any other `ESC` byte (rarer single/two-byte forms like reset or
1036
- * save-cursor) falls through to the final C0 sweep below, which drops the lone `ESC`
1037
- * but — deliberately, not swallowing an adjacent legitimate character leaves whatever
1038
- * printable byte follows it as stray text.
899
+ * OSC and CSI sequences are pattern-matched and removed whole (payload included) — those
900
+ * cover title-bar writes and cursor/screen control, the two classes with a real blast
901
+ * radius. Each is matched in both its two-byte `ESC` form and its single-codepoint C1
902
+ * form (U+009D OSC, U+009B CSI C1 also interprets as `ESC ]`/`ESC [` on legacy/some
903
+ * configured terminals), and OSC's terminator likewise accepts either `ESC \` or the
904
+ * single-codepoint C1 ST (U+009C). Any other `ESC`/C1 byte (rarer single/two-byte forms
905
+ * like reset or save-cursor) falls through to the final control sweep below, which drops
906
+ * the lone control byte but — deliberately, not swallowing an adjacent legitimate
907
+ * character — leaves whatever printable byte follows it as stray text.
1039
908
  * ponytail: doesn't special-case every Fe escape form; broaden the CSI/OSC patterns if a
1040
909
  * concrete non-CSI/OSC sequence turns out to matter.
1041
910
  */
@@ -1052,13 +921,6 @@ declare function formatSarifReport(results: Result[], config: Config, meta: {
1052
921
  }): string;
1053
922
  //#endregion
1054
923
  //#region src/reporter/app-shell.d.ts
1055
- type Band = 'good' | 'warn' | 'poor';
1056
- declare const BAND_COLOR: {
1057
- good: string;
1058
- warn: string;
1059
- poor: string;
1060
- };
1061
- declare function scoreBand(score: number): Band;
1062
924
  declare function escapeHtml(s: string): string;
1063
925
  /**
1064
926
  * Return the URL only when it uses a safe http/https scheme, else null.
@@ -1085,13 +947,6 @@ interface AppSnapshot {
1085
947
  coreVersion?: string;
1086
948
  };
1087
949
  }
1088
- /**
1089
- * Hand-authored CSS for the master/detail shell. Reuses the same design-token
1090
- * names/values as the rest of the project, and adds a dark theme via
1091
- * `:root[data-theme="dark"]` plus a `prefers-color-scheme` fallback for a
1092
- * first-ever visit with no stored preference.
1093
- */
1094
- declare const APP_STYLE: string;
1095
950
  /**
1096
951
  * Hand-authored client script for the shell — no bundler, no framework. Parses the
1097
952
  * AppSnapshot embedded by renderAppShell, then owns all rendering: sidebar
@@ -1119,4 +974,4 @@ declare function formatHtmlReport(results: Result[], config: Config, meta: {
1119
974
  coreVersion?: string;
1120
975
  }): string;
1121
976
  //#endregion
1122
- export { type A11yOccurrenceInfo, type A11ySkipCause, APP_SCRIPT, APP_STYLE, type AppSnapshot, BAND_COLOR, type BranchStep, CHILD_NODE_KEYS, type Classification, type CompiledOverride, type ComponentFacts, type ConsoleReportOptions, type DirectiveIndex, type EachBlockFact, type EffectFact, type FailedRule, type HeadProvider, type HeadTag, type HeadingInfo, type HealthResult, IDREF_ATTRS, type ImageInfo, type KitAlias, type KitModuleFacts, LANDMARK_ROLES, type OrphanEffectFact, type Palette, type Project, READ_CONCURRENCY, ROBOTS_SOURCE_PATHS, type RawKitAliases, type ResolvedA11y, type ResolvedHead, type ResolvedHeadings, type ResolvedImages, type RouteBadge, type Rule, type RuleContext, RuleInfo, RuleOptionInfo, type RuleOptionSpec, type RuleOptionsSpec, type Runtime, SITEMAP_SOURCE_PATHS, SVELTE_CONFIG_FILES, type Scope, type ScoreOptions, type ScoreResult, type SourceSpan, type SuppressionDirective, VITE_CONFIG_FILES, type ViteKitConfigResult, a11yAbbrTitle, a11yAccessibleName, a11yAriaHiddenFocus, a11yDeprecatedAria, a11yDeprecatedAttr, a11yDeprecatedElement, a11yDisallowedAriaProps, a11yDisallowedElement, a11yDoctype, a11yDuplicateLandmark, a11yIdDuplication, a11yInteractiveNesting, a11yInvalidAriaValue, a11yInvalidRole, a11yLabelHasControl, a11yNoAccesskey, a11yNoAutofocus, a11yNoDuplicateDt, a11yNoMissingIdRef, a11yPatternTitle, a11yPermittedContents, a11yPlaceholderLabelOption, a11yPositiveTabindex, a11yRequireDatetime, a11yRequiredAriaProps, a11yRequiredElement, a11yTopLevelLandmark, a11yUnknownAriaAttribute, a11yUnverifiedIdRef, a11yUseList, allRules, applyInlineDirectives, applyOverrides, applyRuleSeverities, architectureComponentSize, architectureDirectoryNaming, architectureDocLinkTarget, architecturePrivateScopeImport, architecturePropCount, architectureReservedDirectoryNames, architectureReservedNamePlacement, architectureRouteComponentImport, architectureUnitEntryFile, attrText, attrTextOf, attrValue, attrValueOf, buildHtmlDocument, buildJsonReport, classify, collectComponentFacts, collectKitModuleFacts, collectSourceFiles, collectSuppressions, compileOverrides, computeHealth, computeScore, correctnessAutoplayMuted, correctnessBasePathNavigation, correctnessCheckableBindValue, correctnessEachIndexKey, correctnessEachKey, correctnessEffectAsDerived, correctnessEffectAsOnMount, correctnessInstanceBrowserGlobal, correctnessNonreactiveBuiltinState, correctnessOrphanEffect, correctnessOrphanLifecycle, correctnessPropMutation, correctnessServerBrowserGlobal, correctnessStalePropDerivation, correctnessUnmutatedState, decodeFragmentId, defaultConfig, defaultProject, docsUrlFor, effectiveSeverity, emptyComponentFacts, emptyKitModuleFacts, escapeHtml, explainRule, findAttr, findKitAliasesInSvelteConfig, findKitPathsBaseInSvelteConfig, findKitPathsBaseInViteConfig, findMinifyDisabled, foldOccurrences, formatAgentReport, formatConsoleReport, formatFailedRuleWarning, formatGithubReport, formatHtmlReport, formatJsonReport, formatMarkdownReport, formatSarifReport, hasFailureAtOrAbove, headTagRule, imageRule, intOption, isMentionedAnywhere, isPenalized, isTopFragment, lineOf, linkRule, listOption, mapOption, noColorPalette, overrideMatches, parseComponentFacts, parseKitModuleFacts, parseSvelte, performanceFontPreloadCrossorigin, performanceHeavyImport, performanceIframeLoading, performanceImageDimensions, performanceImageLoadingHint, performanceLcpImage, performanceLoadWaterfall, performanceMinifyDisabled, performanceNamespaceImport, performancePreconnect, performancePreloadMissingAs, performanceRenderBlockingScript, performanceResponsiveImage, performanceSequentialAwaits, performanceStateRaw, renderAppShell, resolveKitAliases, resolveKitPathsBase, resolveRepoLocalPath, resolveRuleOptions, resolveRunesModuleSpecifier, runRules, safeHref, scoreBand, scoreColor, scoresByCategory, securityHandlerStateWrite, securityJavascriptUrl, securityRawHtml, securityServerModuleState, securitySharedStateImport, selectRules, seoCanonicalUrl, seoCharset, seoDescriptionLength, seoDescriptionPresence, seoDuplicateDescription, seoDuplicateTitle, seoHeadingLevelSkip, seoHreflang, seoHtmlLang, seoImageAlt, seoIndexability, seoJsonLd, seoJsonLdDateFormat, seoJsonLdDeprecatedType, seoJsonLdPlaceholder, seoJsonLdRelativeUrl, seoJsonLdRequiredProps, seoJsonLdValidity, seoOgDescription, seoOgImage, seoOgTitle, seoOgUrl, seoRobotsTxt, seoSingleH1, seoSitemapInRobots, seoSitemapXml, seoSsrDisabled, seoTitleLength, seoTitlePresence, seoTwitterCard, seoViewport, settingOptions, settingSeverity, shouldSkipRangeCheck, skippedFileWarnings, splitTokens, stripTextDirective, summarize, terminalSafe, textFromNodes, unknownDirectiveIds, validateRuleOptions, validateRuleSetting, valueFromNodes, withFailedRulesOff, withReadLimit };
977
+ export { type A11yOccurrenceInfo, type A11ySkipCause, ANCESTRY_DEPENDENT_TAGS, APP_SCRIPT, ASIDE_DEMOTING_TAGS, type AppSnapshot, type BranchStep, CHILD_NODE_KEYS, type Classification, type CompiledOverride, type ComponentFacts, type ConsoleReportOptions, type DirectiveIndex, type EachBlockFact, type EffectFact, type FailedRule, type HeadTag, type HeadingInfo, type HealthResult, IDREF_ATTRS, type ImageInfo, type KitAlias, type KitModuleFacts, type LandmarkInput, NAMING_ATTRS, type OrphanEffectFact, type Palette, type Project, ROBOTS_SOURCE_PATHS, type ResolvedA11y, type ResolvedHead, type ResolvedHeadings, type ResolvedImages, type RouteBadge, type Rule, type RuleContext, RuleInfo, RuleOptionInfo, type RuleOptionSpec, type RuleOptionsSpec, type Runtime, SECTIONING_TAGS, SITEMAP_SOURCE_PATHS, SVELTE_CONFIG_FILES, type Scope, type ScoreOptions, type ScoreResult, type SourceSpan, type SuppressionDirective, VITE_CONFIG_FILES, a11yAbbrTitle, a11yAccessibleName, a11yAriaHiddenFocus, a11yDeprecatedAria, a11yDeprecatedAttr, a11yDeprecatedElement, a11yDisallowedAriaProps, a11yDisallowedElement, a11yDoctype, a11yDuplicateLandmark, a11yIdDuplication, a11yInteractiveNesting, a11yInvalidAriaValue, a11yInvalidRole, a11yLabelHasControl, a11yNoAccesskey, a11yNoAutofocus, a11yNoDuplicateDt, a11yNoMissingIdRef, a11yPatternTitle, a11yPermittedContents, a11yPlaceholderLabelOption, a11yPositiveTabindex, a11yRequireDatetime, a11yRequiredAriaProps, a11yRequiredElement, a11yTopLevelLandmark, a11yUnknownAriaAttribute, a11yUnverifiedIdRef, a11yUseList, addFactsDirectives, allRules, architectureComponentSize, architectureDirectoryNaming, architectureDocLinkTarget, architecturePrivateScopeImport, architecturePropCount, architectureReservedDirectoryNames, architectureReservedNamePlacement, architectureRouteComponentImport, architectureUnitEntryFile, attrText, attrTextOf, attrValue, attrValueOf, buildHtmlDocument, buildJsonReport, classify, collectComponentFacts, collectKitModuleFacts, collectSourceFiles, collectSuppressions, compileOverrides, computeHealth, computeScore, correctnessAutoplayMuted, correctnessBasePathNavigation, correctnessCheckableBindValue, correctnessEachIndexKey, correctnessEachKey, correctnessEffectAsDerived, correctnessEffectAsOnMount, correctnessInstanceBrowserGlobal, correctnessNonreactiveBuiltinState, correctnessOrphanEffect, correctnessOrphanLifecycle, correctnessPropMutation, correctnessServerBrowserGlobal, correctnessStalePropDerivation, correctnessUnmutatedState, decodeFragmentId, defaultConfig, defaultProject, docsUrlFor, effectiveSeverity, escapeHtml, explainRule, findAttr, findMinifyDisabled, foldOccurrences, formatAgentReport, formatConsoleReport, formatFailedRuleWarning, formatGithubReport, formatHtmlReport, formatJsonReport, formatMarkdownReport, formatSarifReport, hasFailureAtOrAbove, isClassicScriptType, isPenalized, isTopFragment, lineOf, noColorPalette, parseComponentFacts, parseSvelte, performanceFontPreloadCrossorigin, performanceHeavyImport, performanceIframeLoading, performanceImageDimensions, performanceImageLoadingHint, performanceLcpImage, performanceLoadWaterfall, performanceMinifyDisabled, performanceNamespaceImport, performancePreconnect, performancePreloadMissingAs, performanceRenderBlockingScript, performanceResponsiveImage, performanceSequentialAwaits, performanceStateRaw, renderAppShell, resolveKitAliases, resolveKitPathsBase, resolveLandmark, resolveRepoLocalPath, resolveRuleOptions, runAnalysis, runRules, safeHref, scoreColor, securityHandlerStateWrite, securityJavascriptUrl, securityRawHtml, securityServerModuleState, securitySharedStateImport, selectRules, seoCanonicalUrl, seoCharset, seoDescriptionLength, seoDescriptionPresence, seoDuplicateDescription, seoDuplicateTitle, seoHeadingLevelSkip, seoHreflang, seoHtmlLang, seoImageAlt, seoIndexability, seoJsonLd, seoJsonLdDateFormat, seoJsonLdDeprecatedType, seoJsonLdPlaceholder, seoJsonLdRelativeUrl, seoJsonLdRequiredProps, seoJsonLdValidity, seoOgDescription, seoOgImage, seoOgTitle, seoOgUrl, seoRobotsTxt, seoSingleH1, seoSitemapInRobots, seoSitemapXml, seoSsrDisabled, seoTitleLength, seoTitlePresence, seoTwitterCard, seoViewport, settingSeverity, shouldSkipRangeCheck, skippedFileWarnings, splitTokens, stripTextDirective, summarize, terminalSafe, textFromNodes, unknownDirectiveIds, validateRuleSetting, valueFromNodes, withFailedRulesOff, withReadLimit };