@webability/core 1.18.0 → 1.19.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/dom.cjs +597 -34
- package/dist/dom.d.cts +1 -1
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +597 -34
- package/dist/engine.cjs +602 -38
- package/dist/engine.d.cts +6 -5
- package/dist/engine.d.ts +6 -5
- package/dist/engine.js +602 -38
- package/dist/index.cjs +614 -50
- package/dist/index.d.cts +143 -4
- package/dist/index.d.ts +143 -4
- package/dist/index.js +614 -50
- package/dist/playwright.cjs +601 -37
- package/dist/playwright.d.cts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/playwright.js +601 -37
- package/dist/{types-Bk-B2Y9X.d.cts → types-B_q8lTmv.d.cts} +46 -4
- package/dist/{types-Bk-B2Y9X.d.ts → types-B_q8lTmv.d.ts} +46 -4
- package/package.json +4 -3
package/dist/engine.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ScanIssue, J as JudgeOptions, c as InternalBug, q as JudgedEntry, P as PageLike } from './types-B_q8lTmv.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
|
|
762
|
-
*
|
|
763
|
-
*
|
|
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 {
|
|
1
|
+
import { b as ScanIssue, J as JudgeOptions, c as InternalBug, q as JudgedEntry, P as PageLike } from './types-B_q8lTmv.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
|
|
762
|
-
*
|
|
763
|
-
*
|
|
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 {
|