@webability/core 1.18.0 → 1.19.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/engine.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as ScanIssue, m as JudgeOptions, I as InternalBug, q as JudgedEntry, P as PageLike } from './types-Bk-B2Y9X.cjs';
1
+ import { b as ScanIssue, J as JudgeOptions, c as InternalBug, q as JudgedEntry, P as PageLike } from './types-BoA8VqsC.cjs';
2
2
  import { d as FixJudgeTransport, f as FixJudgeVerdictKind } from './hostedFixJudge-DXYes7X1.cjs';
3
3
 
4
4
  /**
@@ -420,6 +420,8 @@ interface EngineFinding {
420
420
  needsReview: boolean;
421
421
  /** The detector's reason for review. */
422
422
  reviewReason?: string;
423
+ /** The detector's measurements for an uncertain verdict. */
424
+ evidence?: Record<string, unknown>;
423
425
  /** State pseudo-class the detector's style fix applies in (`:focus-visible`); `selector` names the element at rest. */
424
426
  pseudo?: string;
425
427
  }
@@ -758,10 +760,9 @@ declare const labelContainsText: (value: string, text: string) => boolean;
758
760
  /** Widget normalisation: trim, collapse whitespace. Case-folding happens at compare time. */
759
761
  declare const normalizeVisibleText: (text: string) => string;
760
762
  /**
761
- * The same contract as browser-side JS for the scan detector, which runs under
762
- * page.evaluate and cannot import (labelInName.detector.ts; injected by
763
- * index.ts with the other helpers, declared in browser-globals.d.ts). Built
764
- * from the very functions above, so there is one implementation, not a copy.
763
+ * The same contract as browser-side JS for code that runs under page.evaluate
764
+ * and cannot import. Built from the very functions above, so there is one
765
+ * implementation, not a copy.
765
766
  */
766
767
  declare const LABEL_IN_NAME_JS: string;
767
768
  interface LabelInNameInput {
package/dist/engine.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as ScanIssue, m as JudgeOptions, I as InternalBug, q as JudgedEntry, P as PageLike } from './types-Bk-B2Y9X.js';
1
+ import { b as ScanIssue, J as JudgeOptions, c as InternalBug, q as JudgedEntry, P as PageLike } from './types-BoA8VqsC.js';
2
2
  import { d as FixJudgeTransport, f as FixJudgeVerdictKind } from './hostedFixJudge-DXYes7X1.js';
3
3
 
4
4
  /**
@@ -420,6 +420,8 @@ interface EngineFinding {
420
420
  needsReview: boolean;
421
421
  /** The detector's reason for review. */
422
422
  reviewReason?: string;
423
+ /** The detector's measurements for an uncertain verdict. */
424
+ evidence?: Record<string, unknown>;
423
425
  /** State pseudo-class the detector's style fix applies in (`:focus-visible`); `selector` names the element at rest. */
424
426
  pseudo?: string;
425
427
  }
@@ -758,10 +760,9 @@ declare const labelContainsText: (value: string, text: string) => boolean;
758
760
  /** Widget normalisation: trim, collapse whitespace. Case-folding happens at compare time. */
759
761
  declare const normalizeVisibleText: (text: string) => string;
760
762
  /**
761
- * The same contract as browser-side JS for the scan detector, which runs under
762
- * page.evaluate and cannot import (labelInName.detector.ts; injected by
763
- * index.ts with the other helpers, declared in browser-globals.d.ts). Built
764
- * from the very functions above, so there is one implementation, not a copy.
763
+ * The same contract as browser-side JS for code that runs under page.evaluate
764
+ * and cannot import. Built from the very functions above, so there is one
765
+ * implementation, not a copy.
765
766
  */
766
767
  declare const LABEL_IN_NAME_JS: string;
767
768
  interface LabelInNameInput {