@webability/core 1.11.0 → 1.13.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 +44 -39
- package/dist/dom.d.cts +3 -1
- package/dist/dom.d.ts +3 -1
- package/dist/dom.js +44 -39
- package/dist/engine.cjs +47 -41
- package/dist/engine.d.cts +284 -26
- package/dist/engine.d.ts +284 -26
- package/dist/engine.js +47 -41
- package/dist/index.cjs +55 -50
- package/dist/index.d.cts +16 -9
- package/dist/index.d.ts +16 -9
- package/dist/index.js +55 -50
- package/dist/playwright.cjs +44 -39
- package/dist/playwright.d.cts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/playwright.js +44 -39
- package/dist/{types-jXnoW_NT.d.cts → types-gjAJ8j0I.d.cts} +26 -1
- package/dist/{types-jXnoW_NT.d.ts → types-gjAJ8j0I.d.ts} +26 -1
- package/package.json +3 -1
package/dist/dom.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-
|
|
1
|
+
import { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-gjAJ8j0I.cjs';
|
|
2
2
|
|
|
3
3
|
/** Installs the detector helper globals onto `g` (default: globalThis). Idempotent. */
|
|
4
4
|
declare function installDomKernel(g?: any): void;
|
|
@@ -30,6 +30,8 @@ interface DomScanOptions {
|
|
|
30
30
|
wcagTags?: string[];
|
|
31
31
|
/** Highest conformance level reported (default 'AA'; AAA findings are dropped). */
|
|
32
32
|
level?: 'A' | 'AA' | 'AAA';
|
|
33
|
+
/** Also run the experimental best-practice checks (not WCAG 2.2 A/AA). Default false. */
|
|
34
|
+
experimental?: boolean;
|
|
33
35
|
/**
|
|
34
36
|
* Window to scan. Default the ambient `window`. SAME-REALM only: detector
|
|
35
37
|
* 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 { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-
|
|
1
|
+
import { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-gjAJ8j0I.js';
|
|
2
2
|
|
|
3
3
|
/** Installs the detector helper globals onto `g` (default: globalThis). Idempotent. */
|
|
4
4
|
declare function installDomKernel(g?: any): void;
|
|
@@ -30,6 +30,8 @@ interface DomScanOptions {
|
|
|
30
30
|
wcagTags?: string[];
|
|
31
31
|
/** Highest conformance level reported (default 'AA'; AAA findings are dropped). */
|
|
32
32
|
level?: 'A' | 'AA' | 'AAA';
|
|
33
|
+
/** Also run the experimental best-practice checks (not WCAG 2.2 A/AA). Default false. */
|
|
34
|
+
experimental?: boolean;
|
|
33
35
|
/**
|
|
34
36
|
* Window to scan. Default the ambient `window`. SAME-REALM only: detector
|
|
35
37
|
* code executes in the realm this module was loaded into, so a cross-realm
|