@svelte-vitals/core 0.54.7 → 0.55.1

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 { Q as formatGithubReport, Z as formatMarkdownReport, _t as RuleSettingObject, at as CATEGORIES, bt as TreatDynamicAs, ct as Detection, dt as Presence, et as Summary, gt as RuleSetting, ht as RuleOverride, it as summarize, lt as Fix, mt as RuleOptions, n as RuleEvidence, o as ScoreModel, ot as Category, pt as Result, rt as hasFailureAtOrAbove, st as Config, t as JsonReport, wt as defineConfig, xt as Value, yt as Severity } from "./json-C2_agGeh.js";
1
+ import { $ as formatMarkdownReport, Ct as Value, Et as defineConfig, St as TreatDynamicAs, _t as RuleOverride, at as hasFailureAtOrAbove, ct as Category, dt as Fix, et as formatGithubReport, gt as RuleOptions, ht as Result, lt as Config, n as RuleEvidence, nt as Summary, o as ScoreModel, ot as summarize, pt as Presence, st as CATEGORIES, t as JsonReport, ut as Detection, vt as RuleSetting, xt as Severity, yt as RuleSettingObject } from "./json-TIGneC1p.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 { Dr as defineConfig, br as hasFailureAtOrAbove, c as formatGithubReport, t as formatMarkdownReport, wr as CATEGORIES, xr as summarize } from "./markdown-DJLlGb28.js";
1
+ import { Cr as summarize, Er as CATEGORIES, Sr as hasFailureAtOrAbove, c as formatGithubReport, kr as defineConfig, t as formatMarkdownReport } from "./markdown-BOH3FPQl.js";
2
2
  export { CATEGORIES, defineConfig, formatGithubReport, formatMarkdownReport, hasFailureAtOrAbove, summarize };
@@ -1,4 +1,4 @@
1
- import { $ as Classification, A as ANCESTRY_DEPENDENT_TAGS, At as SuppressionDirective, B as isTopFragment, C as formatFailedRuleWarning, Ct as defaultProject, D as KitModuleFacts, Dt as EffectFact, E as withFailedRulesOff, Et as EachBlockFact, F as NAMING_ATTRS, Ft as withReadLimit, G as ResolvedHeadings, H as splitTokens, I as ResolvedA11y, J as HeadTag, K as ImageInfo, L as SECTIONING_TAGS, M as BranchStep, Mt as emptyComponentFacts, N as IDREF_ATTRS, Nt as skippedFileWarnings, O as A11yOccurrenceInfo, Ot as OrphanEffectFact, P as LandmarkInput, Pt as Runtime, Q as formatGithubReport, R as decodeFragmentId, S as compileOverrides, St as defaultConfig, T as settingSeverity, Tt as ComponentFacts, U as stripTextDirective, V as resolveLandmark, W as HeadingInfo, X as isClassicScriptType, Y as ResolvedHead, Z as formatMarkdownReport, _ as isPlainObject, a as HealthResult, b as validateRuleSetting, c as ScoreResult, d as Rule, f as RuleContext, ft as Project, g as RuleOptionsSpec, h as RuleOptionSpec, i as formatJsonReport, it as summarize, j as ASIDE_DEMOTING_TAGS, jt as collectComponentFacts, k as A11ySkipCause, kt as SourceSpan, l as computeHealth, lt as Fix, m as isPenalized, nt as effectiveSeverity, ot as Category, p as docsUrlFor, pt as Result, q as ResolvedImages, r as buildJsonReport, rt as hasFailureAtOrAbove, s as ScoreOptions, st as Config, t as JsonReport, tt as classify, u as computeScore, ut as KitAlias, v as resolveRuleOptions, vt as Scope, w as selectRules, x as CompiledOverride, xt as Value, y as shouldSkipRangeCheck, yt as Severity, z as foldOccurrences } from "./json-C2_agGeh.js";
1
+ import { $ as formatMarkdownReport, A as A11yOccurrenceInfo, At as OrphanEffectFact, B as decodeFragmentId, C as compileOverrides, Ct as Value, D as withFailedRulesOff, Dt as ComponentFacts, E as settingSeverity, F as IDREF_ATTRS, Ft as skippedFileWarnings, G as stripTextDirective, H as isTopFragment, I as LandmarkInput, It as Runtime, J as ImageInfo, K as HeadingInfo, L as NAMING_ATTRS, Lt as withReadLimit, M as ANCESTRY_DEPENDENT_TAGS, Mt as SuppressionDirective, N as ASIDE_DEMOTING_TAGS, Nt as collectComponentFacts, O as withIndexableOff, Ot as EachBlockFact, P as BranchStep, Pt as emptyComponentFacts, Q as isClassicScriptType, R as ResolvedA11y, S as SEARCH_RESULT_RULES, T as selectRules, Tt as defaultProject, U as resolveLandmark, V as foldOccurrences, W as splitTokens, X as HeadTag, Y as ResolvedImages, Z as ResolvedHead, _ as isPlainObject, a as HealthResult, at as hasFailureAtOrAbove, b as validateRuleSetting, bt as Scope, c as ScoreResult, ct as Category, d as Rule, dt as Fix, et as formatGithubReport, f as RuleContext, ft as KitAlias, g as RuleOptionsSpec, h as RuleOptionSpec, ht as Result, i as formatJsonReport, it as effectiveSeverity, j as A11ySkipCause, jt as SourceSpan, k as KitModuleFacts, kt as EffectFact, l as computeHealth, lt as Config, m as isPenalized, mt as Project, ot as summarize, p as docsUrlFor, q as ResolvedHeadings, r as buildJsonReport, rt as classify, s as ScoreOptions, t as JsonReport, tt as Classification, u as computeScore, v as resolveRuleOptions, w as formatFailedRuleWarning, wt as defaultConfig, x as CompiledOverride, xt as Severity, y as shouldSkipRangeCheck, z as SECTIONING_TAGS } from "./json-TIGneC1p.js";
2
2
  import { AST } from "svelte/compiler";
3
3
  //#region src/component-parse.d.ts
4
4
  /** What the per-file parsers produce — `ComponentFacts` minus `file`, with `suppressions` always present. */
@@ -383,7 +383,8 @@ export declare const seoHreflang: Rule;
383
383
  * a primary heading. Two or more is only `info`: a single <h1> is the conventional
384
384
  * signal, but no official source documents a ranking penalty for several (2026-08-09 v1
385
385
  * rule-validity review, P2 #11) — so it's flagged as a style nit, not a defect. Exactly
386
- * one passes. A route whose headings were not collected (channel unset) emits nothing. A
386
+ * one passes. A route whose headings were not collected (channel unset) emits nothing, as does
387
+ * one whose `dynamicHeading` flag says an undeterminable `<svelte:element>` may be its <h1>. A
387
388
  * global `rules: { 'seo/single-h1': <severity> }` override flattens both arms to one
388
389
  * severity (design, `applyRuleSeverities`).
389
390
  */
@@ -974,4 +975,4 @@ export declare function formatHtmlReport(results: Result[], config: Config, meta
974
975
  coreVersion?: string;
975
976
  }): string;
976
977
  //#endregion
977
- export { type A11yOccurrenceInfo, type A11ySkipCause, ANCESTRY_DEPENDENT_TAGS, ASIDE_DEMOTING_TAGS, type AppSnapshot, type BranchStep, 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, type ResolvedA11y, type ResolvedHead, type ResolvedHeadings, type ResolvedImages, type RouteBadge, type Rule, type RuleContext, type RuleOptionSpec, type RuleOptionsSpec, type Runtime, SECTIONING_TAGS, type Scope, type ScoreOptions, type ScoreResult, type SourceSpan, type SuppressionDirective, buildJsonReport, classify, collectComponentFacts, compileOverrides, computeHealth, computeScore, decodeFragmentId, defaultConfig, defaultProject, docsUrlFor, effectiveSeverity, emptyComponentFacts, foldOccurrences, formatFailedRuleWarning, formatGithubReport, formatJsonReport, formatMarkdownReport, hasFailureAtOrAbove, isClassicScriptType, isPenalized, isPlainObject, isTopFragment, resolveLandmark, resolveRuleOptions, selectRules, settingSeverity, shouldSkipRangeCheck, skippedFileWarnings, splitTokens, stripTextDirective, summarize, validateRuleSetting, withFailedRulesOff, withReadLimit };
978
+ export { type A11yOccurrenceInfo, type A11ySkipCause, ANCESTRY_DEPENDENT_TAGS, ASIDE_DEMOTING_TAGS, type AppSnapshot, type BranchStep, 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, type ResolvedA11y, type ResolvedHead, type ResolvedHeadings, type ResolvedImages, type RouteBadge, type Rule, type RuleContext, type RuleOptionSpec, type RuleOptionsSpec, type Runtime, SEARCH_RESULT_RULES, SECTIONING_TAGS, type Scope, type ScoreOptions, type ScoreResult, type SourceSpan, type SuppressionDirective, buildJsonReport, classify, collectComponentFacts, compileOverrides, computeHealth, computeScore, decodeFragmentId, defaultConfig, defaultProject, docsUrlFor, effectiveSeverity, emptyComponentFacts, foldOccurrences, formatFailedRuleWarning, formatGithubReport, formatJsonReport, formatMarkdownReport, hasFailureAtOrAbove, isClassicScriptType, isPenalized, isPlainObject, isTopFragment, resolveLandmark, resolveRuleOptions, selectRules, settingSeverity, shouldSkipRangeCheck, skippedFileWarnings, splitTokens, stripTextDirective, summarize, validateRuleSetting, withFailedRulesOff, withIndexableOff, withReadLimit };
package/dist/internal.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as SECTIONING_TAGS, $n as selectRules, $t as valueFromNodes, A as a11yAbbrTitle, An as seoDescriptionLength, At as collectDerivedGuardBindings, B as a11yUseList, Bn as seoOgUrl, Bt as unwrapTs, C as a11yDisallowedElement, Cn as seoHeadingLevelSkip, Cr as isPenalized, Ct as parseKitModuleFacts, D as a11yDeprecatedElement, Dn as seoHreflang, Dt as addBoundNames, E as a11yDeprecatedAttr, En as seoSingleH1, Er as defaultProject, Et as WALK_IGNORED_KEYS, F as isInteractiveContainer, Fn as seoJsonLdRelativeUrl, Ft as matchLifecycleCall, G as a11yInvalidAriaValue, Gn as isPlainObject, Gt as attrText, H as a11yAccessibleName, Hn as seoTwitterCard, Ht as walkEvalScope, I as isInteractiveElement, In as seoJsonLdDeprecatedType, It as parseModuleProgram, J as a11yInvalidRole, Jn as validateRuleSetting, Jt as attrValueOf, K as a11yRequiredAriaProps, Kn as resolveRuleOptions, Kt as attrTextOf, L as literalTabindexValue, Ln as seoJsonLdValidity, Lt as rootObjectName, M as a11yNoAutofocus, Mn as seoJsonLdRequiredProps, Mt as collectProgramBindings, N as a11yNoAccesskey, Nn as seoJsonLdPlaceholder, Nt as collectSuppressions, O as HTML_SPEC, On as seoImageAlt, Ot as collectBrowserGlobalRefs, P as a11yPositiveTabindex, Pn as seoJsonLdDateFormat, Pt as collectSvelteLifecycleImports, Q as NAMING_ATTRS, Qn as formatFailedRuleWarning, Qt as textFromNodes, R as a11yRequireDatetime, Rn as seoSitemapInRobots, Rt as scopeIntroducedNames, S as a11yPermittedContents, Sn as seoSsrDisabled, Sr as docsUrlFor, St as parseInMemoryExports, T as a11yDisallowedAriaProps, Tn as seoDuplicateTitle, Tr as defaultConfig, Tt as isRootRelativePath, U as a11yAriaHiddenFocus, Un as seoIndexability, Ut as walkScoped, V as a11yLabelHasControl, Vn as seoOgDescription, Vt as walkEstree, W as a11yInteractiveNesting, Wn as performancePreconnect, Wt as CHILD_NODE_KEYS, X as ASIDE_DEMOTING_TAGS, Xn as applyRuleSeverities, Xt as lineOf, Y as ANCESTRY_DEPENDENT_TAGS, Yn as applyOverrides, Yt as findAttr, Z as IDREF_ATTRS, Zn as compileOverrides, Zt as parseSvelte, _ as a11yIdDuplication, _n as correctnessUnmutatedState, _r as seoTitlePresence, _t as architectureReservedDirectoryNames, a as formatJsonReport, an as securityJavascriptUrl, ar as performancePreloadMissingAs, at as stripTextDirective, b as a11yDoctype, bn as correctnessEachIndexKey, br as hasFailureAtOrAbove, bt as architecturePrivateScopeImport, c as formatGithubReport, cn as correctnessServerBrowserGlobal, cr as performanceImageDimensions, ct as performanceStateRaw, d as ruleMetaById, dn as correctnessOrphanEffect, dr as seoRobotsTxt, dt as performanceMinifyDisabled, en as architecturePropCount, er as settingSeverity, et as decodeFragmentId, f as severityToSarifLevel, fn as correctnessAutoplayMuted, fr as seoJsonLd, ft as performanceNamespaceImport, g as a11yNoMissingIdRef, gn as correctnessPropMutation, gr as seoDescriptionPresence, gt as architectureReservedNamePlacement, h as a11yUnverifiedIdRef, hn as correctnessStalePropDerivation, hr as seoCanonicalUrl, ht as architectureRouteComponentImport, i as buildJsonReport, in as securityHandlerStateWrite, ir as performanceFontPreloadCrossorigin, it as splitTokens, j as a11yNoDuplicateDt, jn as seoTitleLength, jt as collectNamedImportAliases, k as a11yPatternTitle, kn as seoCharset, kt as collectBrowserGuardImports, l as SEVERITY_RANK, ln as correctnessBasePathNavigation, lr as seoHtmlLang, lt as performanceSequentialAwaits, m as explainRule, mn as correctnessNonreactiveBuiltinState, mr as seoOgImage, mt as architectureDocLinkTarget, n as mdEscape, nn as securitySharedStateImport, nr as performanceRenderBlockingScript, nt as isTopFragment, o as computeHealth, on as securityRawHtml, or as performanceResponsiveImage, ot as resolveRole, p as allRules, pn as correctnessCheckableBindValue, pr as seoOgTitle, pt as performanceHeavyImport, q as a11yUnknownAriaAttribute, qn as shouldSkipRangeCheck, qt as attrValue, r as terminalSafe, rn as securityServerModuleState, rr as performanceLcpImage, rt as resolveLandmark, s as computeScore, sn as correctnessInstanceBrowserGlobal, sr as performanceImageLoadingHint, st as performanceIframeLoading, t as formatMarkdownReport, tn as architectureComponentSize, tr as withFailedRulesOff, tt as foldOccurrences, u as messageText, un as correctnessOrphanLifecycle, ur as seoSitemapXml, ut as performanceLoadWaterfall, v as a11yTopLevelLandmark, vn as correctnessEffectAsOnMount, vr as classify, vt as architectureDirectoryNaming, w as a11yDeprecatedAria, wn as seoDuplicateDescription, wt as resolveRepoLocalPath, x as a11yRequiredElement, xn as correctnessEachKey, xr as summarize, xt as collectTopLevelBindings, y as a11yDuplicateLandmark, yn as correctnessEffectAsDerived, yr as effectiveSeverity, yt as architectureUnitEntryFile, z as a11yPlaceholderLabelOption, zn as seoViewport, zt as unwrapExport } from "./markdown-DJLlGb28.js";
1
+ import { $ as SECTIONING_TAGS, $n as formatFailedRuleWarning, $t as valueFromNodes, A as a11yAbbrTitle, An as seoDescriptionLength, At as collectDerivedGuardBindings, B as a11yUseList, Bn as seoOgUrl, Bt as unwrapTs, C as a11yDisallowedElement, Cn as seoHeadingLevelSkip, Cr as summarize, Ct as parseKitModuleFacts, D as a11yDeprecatedElement, Dn as seoHreflang, Dr as defaultConfig, Dt as addBoundNames, E as a11yDeprecatedAttr, En as seoSingleH1, Et as WALK_IGNORED_KEYS, F as isInteractiveContainer, Fn as seoJsonLdRelativeUrl, Ft as matchLifecycleCall, G as a11yInvalidAriaValue, Gn as isPlainObject, Gt as attrText, H as a11yAccessibleName, Hn as seoTwitterCard, Ht as walkEvalScope, I as isInteractiveElement, In as seoJsonLdDeprecatedType, It as parseModuleProgram, J as a11yInvalidRole, Jn as validateRuleSetting, Jt as attrValueOf, K as a11yRequiredAriaProps, Kn as resolveRuleOptions, Kt as attrTextOf, L as literalTabindexValue, Ln as seoJsonLdValidity, Lt as rootObjectName, M as a11yNoAutofocus, Mn as seoJsonLdRequiredProps, Mt as collectProgramBindings, N as a11yNoAccesskey, Nn as seoJsonLdPlaceholder, Nt as collectSuppressions, O as HTML_SPEC, On as seoImageAlt, Or as defaultProject, Ot as collectBrowserGlobalRefs, P as a11yPositiveTabindex, Pn as seoJsonLdDateFormat, Pt as collectSvelteLifecycleImports, Q as NAMING_ATTRS, Qn as compileOverrides, Qt as textFromNodes, R as a11yRequireDatetime, Rn as seoSitemapInRobots, Rt as scopeIntroducedNames, S as a11yPermittedContents, Sn as seoSsrDisabled, Sr as hasFailureAtOrAbove, St as parseInMemoryExports, T as a11yDisallowedAriaProps, Tn as seoDuplicateTitle, Tr as isPenalized, Tt as isRootRelativePath, U as a11yAriaHiddenFocus, Un as seoIndexability, Ut as walkScoped, V as a11yLabelHasControl, Vn as seoOgDescription, Vt as walkEstree, W as a11yInteractiveNesting, Wn as performancePreconnect, Wt as CHILD_NODE_KEYS, X as ASIDE_DEMOTING_TAGS, Xn as applyOverrides, Xt as lineOf, Y as ANCESTRY_DEPENDENT_TAGS, Yn as SEARCH_RESULT_RULES, Yt as findAttr, Z as IDREF_ATTRS, Zn as applyRuleSeverities, Zt as parseSvelte, _ as a11yIdDuplication, _n as correctnessUnmutatedState, _r as seoCanonicalUrl, _t as architectureReservedDirectoryNames, a as formatJsonReport, an as securityJavascriptUrl, ar as performanceLcpImage, at as stripTextDirective, b as a11yDoctype, bn as correctnessEachIndexKey, br as classify, bt as architecturePrivateScopeImport, c as formatGithubReport, cn as correctnessServerBrowserGlobal, cr as performanceResponsiveImage, ct as performanceStateRaw, d as ruleMetaById, dn as correctnessOrphanEffect, dr as seoHtmlLang, dt as performanceMinifyDisabled, en as architecturePropCount, er as selectRules, et as decodeFragmentId, f as severityToSarifLevel, fn as correctnessAutoplayMuted, fr as seoSitemapXml, ft as performanceNamespaceImport, g as a11yNoMissingIdRef, gn as correctnessPropMutation, gr as seoOgImage, gt as architectureReservedNamePlacement, h as a11yUnverifiedIdRef, hn as correctnessStalePropDerivation, hr as seoOgTitle, ht as architectureRouteComponentImport, i as buildJsonReport, in as securityHandlerStateWrite, ir as performanceRenderBlockingScript, it as splitTokens, j as a11yNoDuplicateDt, jn as seoTitleLength, jt as collectNamedImportAliases, k as a11yPatternTitle, kn as seoCharset, kt as collectBrowserGuardImports, l as SEVERITY_RANK, ln as correctnessBasePathNavigation, lr as performanceImageLoadingHint, lt as performanceSequentialAwaits, m as explainRule, mn as correctnessNonreactiveBuiltinState, mr as seoJsonLd, mt as architectureDocLinkTarget, n as mdEscape, nn as securitySharedStateImport, nr as withFailedRulesOff, nt as isTopFragment, o as computeHealth, on as securityRawHtml, or as performanceFontPreloadCrossorigin, ot as resolveRole, p as allRules, pn as correctnessCheckableBindValue, pr as seoRobotsTxt, pt as performanceHeavyImport, q as a11yUnknownAriaAttribute, qn as shouldSkipRangeCheck, qt as attrValue, r as terminalSafe, rn as securityServerModuleState, rr as withIndexableOff, rt as resolveLandmark, s as computeScore, sn as correctnessInstanceBrowserGlobal, sr as performancePreloadMissingAs, st as performanceIframeLoading, t as formatMarkdownReport, tn as architectureComponentSize, tr as settingSeverity, tt as foldOccurrences, u as messageText, un as correctnessOrphanLifecycle, ur as performanceImageDimensions, ut as performanceLoadWaterfall, v as a11yTopLevelLandmark, vn as correctnessEffectAsOnMount, vr as seoDescriptionPresence, vt as architectureDirectoryNaming, w as a11yDeprecatedAria, wn as seoDuplicateDescription, wr as docsUrlFor, wt as resolveRepoLocalPath, x as a11yRequiredElement, xn as correctnessEachKey, xr as effectiveSeverity, xt as collectTopLevelBindings, y as a11yDuplicateLandmark, yn as correctnessEffectAsDerived, yr as seoTitlePresence, yt as architectureUnitEntryFile, z as a11yPlaceholderLabelOption, zn as seoViewport, zt as unwrapExport } from "./markdown-BOH3FPQl.js";
2
2
  //#region src/head.ts
3
3
  const JS_MIME_TYPES = /* @__PURE__ */ new Set([
4
4
  "application/ecmascript",
@@ -3992,4 +3992,4 @@ function formatHtmlReport(results, config, meta) {
3992
3992
  return buildHtmlDocument(buildJsonReport(results, config, meta), meta);
3993
3993
  }
3994
3994
  //#endregion
3995
- export { ANCESTRY_DEPENDENT_TAGS, APP_SCRIPT, ASIDE_DEMOTING_TAGS, CHILD_NODE_KEYS, IDREF_ATTRS, NAMING_ATTRS, ROBOTS_SOURCE_PATHS, SECTIONING_TAGS, SITEMAP_SOURCE_PATHS, SVELTE_CONFIG_FILES, 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, emptyComponentFacts, escapeHtml, explainRule, findAttr, findMinifyDisabled, foldOccurrences, formatAgentReport, formatConsoleReport, formatFailedRuleWarning, formatGithubReport, formatHtmlReport, formatJsonReport, formatMarkdownReport, formatSarifReport, hasFailureAtOrAbove, isClassicScriptType, isPenalized, isPlainObject, 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 };
3995
+ export { ANCESTRY_DEPENDENT_TAGS, APP_SCRIPT, ASIDE_DEMOTING_TAGS, CHILD_NODE_KEYS, IDREF_ATTRS, NAMING_ATTRS, ROBOTS_SOURCE_PATHS, SEARCH_RESULT_RULES, SECTIONING_TAGS, SITEMAP_SOURCE_PATHS, SVELTE_CONFIG_FILES, 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, emptyComponentFacts, escapeHtml, explainRule, findAttr, findMinifyDisabled, foldOccurrences, formatAgentReport, formatConsoleReport, formatFailedRuleWarning, formatGithubReport, formatHtmlReport, formatJsonReport, formatMarkdownReport, formatSarifReport, hasFailureAtOrAbove, isClassicScriptType, isPenalized, isPlainObject, 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, withIndexableOff, withReadLimit };
@@ -555,6 +555,10 @@ interface Config {
555
555
  weights?: Partial<Record<Category, number>>;
556
556
  /** Route-/file-scoped rule overrides, applied to results after analysis (later entries win). */
557
557
  overrides?: RuleOverride[];
558
+ /** SEO-wide switches. `indexable: false` turns off the search-result rules (`SEARCH_RESULT_RULES`). */
559
+ seo?: {
560
+ indexable?: boolean;
561
+ };
558
562
  }
559
563
  declare const defaultConfig: Config;
560
564
  /** Merge user config over defaults. Identity helper for config files (design §6). */
@@ -708,6 +712,12 @@ interface ResolvedHeadings {
708
712
  * counting (seo/single-h1), unusable for outline order (seo/heading-level-skip).
709
713
  */
710
714
  componentHeadings?: HeadingInfo[];
715
+ /**
716
+ * This route renders a `<svelte:element>` that may be a heading whose level is not
717
+ * statically determinable (`this={`h${n}`}`, an identifier, …) — source mode only.
718
+ * Counting stays as-is; only the "no <h1> anywhere" claim becomes unsafe to make.
719
+ */
720
+ dynamicHeading?: boolean;
711
721
  }
712
722
  //#endregion
713
723
  //#region src/a11y.d.ts
@@ -957,6 +967,21 @@ declare function selectRules(rules: Rule[], config: Config): Rule[];
957
967
  * second, parallel notion of "not counted" for callers to keep in sync.
958
968
  */
959
969
  declare function withFailedRulesOff(config: Config, failedRuleIds: readonly string[]): Config;
970
+ /**
971
+ * The rules that only pay off for a page that appears in a search result, turned off by
972
+ * `seo: { indexable: false }` — plus `seo/indexability`, whose "is this noindex intentional?"
973
+ * the switch answers. Every other SEO rule is deliberately absent, and a test fails on an SEO
974
+ * rule classified neither way. Design:
975
+ * docs/superpowers/specs/2026-09-21-noindex-seo-rules-design.md.
976
+ */
977
+ declare const SEARCH_RESULT_RULES: readonly ["seo/canonical-url", "seo/og-title", "seo/og-description", "seo/og-image", "seo/og-url", "seo/twitter-card", "seo/json-ld", "seo/sitemap-xml", "seo/sitemap-in-robots", "seo/title-length", "seo/description-length", "seo/description-presence", "seo/duplicate-title", "seo/duplicate-description", "seo/hreflang", "seo/ssr-disabled", "seo/indexability"];
978
+ /**
979
+ * Expand `seo: { indexable: false }` into the `'off'` entries a user writes by hand today, so
980
+ * nothing downstream needs a second notion of "not counted". The caller's own map is spread
981
+ * last: an explicit `rules` entry re-enables a rule the switch turned off. Applied before
982
+ * `--rules`/`--ignore` layer on top, which is what lets `--rules seo/og-title` force one back on.
983
+ */
984
+ declare function withIndexableOff(rules: Record<string, RuleSetting> | undefined, seo: Config['seo'] | undefined): Record<string, RuleSetting> | undefined;
960
985
  /** One-line "rule failed and was skipped" warning; capped to the message's first line so a stack trace can't flood a terminal. */
961
986
  declare function formatFailedRuleWarning(f: {
962
987
  id: string;
@@ -1261,4 +1286,4 @@ declare function formatJsonReport(results: Result[], config: Config, meta: {
1261
1286
  version: string;
1262
1287
  }, ruleIds?: readonly string[], examined?: Record<string, Record<string, number>>, skipped?: JsonReport['skipped']): string;
1263
1288
  //#endregion
1264
- export { Classification as $, ANCESTRY_DEPENDENT_TAGS as A, SuppressionDirective as At, isTopFragment as B, formatFailedRuleWarning as C, defaultProject as Ct, KitModuleFacts as D, EffectFact as Dt, withFailedRulesOff as E, EachBlockFact as Et, NAMING_ATTRS as F, withReadLimit as Ft, ResolvedHeadings as G, splitTokens as H, ResolvedA11y as I, HeadTag as J, ImageInfo as K, SECTIONING_TAGS as L, BranchStep as M, emptyComponentFacts as Mt, IDREF_ATTRS as N, skippedFileWarnings as Nt, A11yOccurrenceInfo as O, OrphanEffectFact as Ot, LandmarkInput as P, Runtime as Pt, formatGithubReport as Q, decodeFragmentId as R, compileOverrides as S, defaultConfig as St, settingSeverity as T, ComponentFacts as Tt, stripTextDirective as U, resolveLandmark as V, HeadingInfo as W, isClassicScriptType as X, ResolvedHead as Y, formatMarkdownReport as Z, isPlainObject as _, RuleSettingObject as _t, HealthResult as a, CATEGORIES as at, validateRuleSetting as b, TreatDynamicAs as bt, ScoreResult as c, Detection as ct, Rule as d, Presence as dt, Summary as et, RuleContext as f, Project as ft, RuleOptionsSpec as g, RuleSetting as gt, RuleOptionSpec as h, RuleOverride as ht, formatJsonReport as i, summarize as it, ASIDE_DEMOTING_TAGS as j, collectComponentFacts as jt, A11ySkipCause as k, SourceSpan as kt, computeHealth as l, Fix as lt, isPenalized as m, RuleOptions as mt, RuleEvidence as n, effectiveSeverity as nt, ScoreModel as o, Category as ot, docsUrlFor as p, Result as pt, ResolvedImages as q, buildJsonReport as r, hasFailureAtOrAbove as rt, ScoreOptions as s, Config as st, JsonReport as t, classify as tt, computeScore as u, KitAlias as ut, resolveRuleOptions as v, Scope as vt, selectRules as w, defineConfig as wt, CompiledOverride as x, Value as xt, shouldSkipRangeCheck as y, Severity as yt, foldOccurrences as z };
1289
+ export { formatMarkdownReport as $, A11yOccurrenceInfo as A, OrphanEffectFact as At, decodeFragmentId as B, compileOverrides as C, Value as Ct, withFailedRulesOff as D, ComponentFacts as Dt, settingSeverity as E, defineConfig as Et, IDREF_ATTRS as F, skippedFileWarnings as Ft, stripTextDirective as G, isTopFragment as H, LandmarkInput as I, Runtime as It, ImageInfo as J, HeadingInfo as K, NAMING_ATTRS as L, withReadLimit as Lt, ANCESTRY_DEPENDENT_TAGS as M, SuppressionDirective as Mt, ASIDE_DEMOTING_TAGS as N, collectComponentFacts as Nt, withIndexableOff as O, EachBlockFact as Ot, BranchStep as P, emptyComponentFacts as Pt, isClassicScriptType as Q, ResolvedA11y as R, SEARCH_RESULT_RULES as S, TreatDynamicAs as St, selectRules as T, defaultProject as Tt, resolveLandmark as U, foldOccurrences as V, splitTokens as W, HeadTag as X, ResolvedImages as Y, ResolvedHead as Z, isPlainObject as _, RuleOverride as _t, HealthResult as a, hasFailureAtOrAbove as at, validateRuleSetting as b, Scope as bt, ScoreResult as c, Category as ct, Rule as d, Fix as dt, formatGithubReport as et, RuleContext as f, KitAlias as ft, RuleOptionsSpec as g, RuleOptions as gt, RuleOptionSpec as h, Result as ht, formatJsonReport as i, effectiveSeverity as it, A11ySkipCause as j, SourceSpan as jt, KitModuleFacts as k, EffectFact as kt, computeHealth as l, Config as lt, isPenalized as m, Project as mt, RuleEvidence as n, Summary as nt, ScoreModel as o, summarize as ot, docsUrlFor as p, Presence as pt, ResolvedHeadings as q, buildJsonReport as r, classify as rt, ScoreOptions as s, CATEGORIES as st, JsonReport as t, Classification as tt, computeScore as u, Detection as ut, resolveRuleOptions as v, RuleSetting as vt, formatFailedRuleWarning as w, defaultConfig as wt, CompiledOverride as x, Severity as xt, shouldSkipRangeCheck as y, RuleSettingObject as yt, SECTIONING_TAGS as z };