@webability/core 1.5.0 → 1.7.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 +29 -29
- package/dist/dom.d.cts +3 -1
- package/dist/dom.d.ts +3 -1
- package/dist/dom.js +29 -29
- package/dist/index.cjs +45 -45
- package/dist/index.d.cts +41 -3
- package/dist/index.d.ts +41 -3
- package/dist/index.js +45 -45
- package/dist/playwright.cjs +31 -31
- package/dist/playwright.d.cts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/playwright.js +31 -31
- package/dist/{types-C6Lhzod6.d.cts → types-CbNyAKbT.d.cts} +20 -9
- package/dist/{types-C6Lhzod6.d.ts → types-CbNyAKbT.d.ts} +20 -9
- package/package.json +13 -13
package/dist/dom.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PageLike, S as ScanResult } from './types-
|
|
1
|
+
import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* In-DOM scan entry — runs the full detector engine directly against a live
|
|
@@ -22,6 +22,8 @@ interface DomScanOptions {
|
|
|
22
22
|
includeAxe?: boolean;
|
|
23
23
|
/** axe tag filter. Default WCAG 2.x A/AA. */
|
|
24
24
|
wcagTags?: string[];
|
|
25
|
+
/** Highest conformance level reported (default 'AA'; AAA findings are dropped). */
|
|
26
|
+
level?: 'A' | 'AA' | 'AAA';
|
|
25
27
|
/**
|
|
26
28
|
* Window to scan. Default the ambient `window`. SAME-REALM only: detector
|
|
27
29
|
* code executes in the realm this module was loaded into, so a cross-realm
|
package/dist/dom.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PageLike, S as ScanResult } from './types-
|
|
1
|
+
import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* In-DOM scan entry — runs the full detector engine directly against a live
|
|
@@ -22,6 +22,8 @@ interface DomScanOptions {
|
|
|
22
22
|
includeAxe?: boolean;
|
|
23
23
|
/** axe tag filter. Default WCAG 2.x A/AA. */
|
|
24
24
|
wcagTags?: string[];
|
|
25
|
+
/** Highest conformance level reported (default 'AA'; AAA findings are dropped). */
|
|
26
|
+
level?: 'A' | 'AA' | 'AAA';
|
|
25
27
|
/**
|
|
26
28
|
* Window to scan. Default the ambient `window`. SAME-REALM only: detector
|
|
27
29
|
* code executes in the realm this module was loaded into, so a cross-realm
|