@webability/core 1.7.0 → 1.8.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/dom.cjs +43 -27
- package/dist/dom.d.cts +4 -2
- package/dist/dom.d.ts +4 -2
- package/dist/dom.js +43 -27
- package/dist/index.cjs +55 -39
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +55 -39
- package/dist/playwright.cjs +45 -29
- package/dist/playwright.d.cts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/playwright.js +45 -29
- package/dist/{types-CbNyAKbT.d.cts → types-BgiJ7PGs.d.cts} +180 -9
- package/dist/{types-CbNyAKbT.d.ts → types-BgiJ7PGs.d.ts} +180 -9
- package/package.json +1 -1
package/dist/dom.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PageLike, S as ScanResult } from './types-
|
|
1
|
+
import { J as JudgeOptions, P as PageLike, S as ScanResult } from './types-BgiJ7PGs.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* In-DOM scan entry — runs the full detector engine directly against a live
|
|
@@ -9,7 +9,7 @@ import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.cjs';
|
|
|
9
9
|
* injection is impossible), the widget, or any bundled in-browser consumer.
|
|
10
10
|
*
|
|
11
11
|
* Parity notes vs the server `scan()`:
|
|
12
|
-
* - Same detectors, same dedupe, same
|
|
12
|
+
* - Same detectors, same dedupe, same verdict discipline (judged or dropped).
|
|
13
13
|
* - axe-core runs as a bundled module (no injection) when `includeAxe`.
|
|
14
14
|
* - HTML_CodeSniffer is NOT run — the server loads it from a CDN, which is
|
|
15
15
|
* remote code a browser extension may not execute.
|
|
@@ -18,6 +18,8 @@ import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.cjs';
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
interface DomScanOptions {
|
|
21
|
+
/** AI judge for undecided findings (text-only here: no layout, no screenshots). */
|
|
22
|
+
judge?: JudgeOptions;
|
|
21
23
|
/** Also run axe-core (bundled, ~104 rules). Default true. */
|
|
22
24
|
includeAxe?: boolean;
|
|
23
25
|
/** axe tag filter. Default WCAG 2.x A/AA. */
|
package/dist/dom.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PageLike, S as ScanResult } from './types-
|
|
1
|
+
import { J as JudgeOptions, P as PageLike, S as ScanResult } from './types-BgiJ7PGs.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* In-DOM scan entry — runs the full detector engine directly against a live
|
|
@@ -9,7 +9,7 @@ import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.js';
|
|
|
9
9
|
* injection is impossible), the widget, or any bundled in-browser consumer.
|
|
10
10
|
*
|
|
11
11
|
* Parity notes vs the server `scan()`:
|
|
12
|
-
* - Same detectors, same dedupe, same
|
|
12
|
+
* - Same detectors, same dedupe, same verdict discipline (judged or dropped).
|
|
13
13
|
* - axe-core runs as a bundled module (no injection) when `includeAxe`.
|
|
14
14
|
* - HTML_CodeSniffer is NOT run — the server loads it from a CDN, which is
|
|
15
15
|
* remote code a browser extension may not execute.
|
|
@@ -18,6 +18,8 @@ import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.js';
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
interface DomScanOptions {
|
|
21
|
+
/** AI judge for undecided findings (text-only here: no layout, no screenshots). */
|
|
22
|
+
judge?: JudgeOptions;
|
|
21
23
|
/** Also run axe-core (bundled, ~104 rules). Default true. */
|
|
22
24
|
includeAxe?: boolean;
|
|
23
25
|
/** axe tag filter. Default WCAG 2.x A/AA. */
|