axe-core 4.11.0 → 4.11.1-canary.0d4e4e7

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/axe.d.ts CHANGED
@@ -147,6 +147,9 @@ declare namespace axe {
147
147
  performanceTimer?: boolean;
148
148
  pingWaitTime?: number;
149
149
  }
150
+ interface NormalizedRunOptions extends RunOptions {
151
+ runOnly?: RunOnly;
152
+ }
150
153
  interface PreloadOptions {
151
154
  assets: string[];
152
155
  timeout?: number;
@@ -386,8 +389,10 @@ declare namespace axe {
386
389
  frameContext: FrameContextObject;
387
390
  }
388
391
 
389
- interface RawCheckResult
390
- extends Omit<CheckResult, 'relatedNodes' | 'impact'> {
392
+ interface RawCheckResult extends Omit<
393
+ CheckResult,
394
+ 'relatedNodes' | 'impact'
395
+ > {
391
396
  relatedNodes?: Array<SerialDqElement | DqElement>;
392
397
  impact?: ImpactValue;
393
398
  }
@@ -495,6 +500,7 @@ declare namespace axe {
495
500
  offset?: number
496
501
  ) => string | Uint8Array | Array<number>;
497
502
  nodeSerializer: NodeSerializer;
503
+ normalizeRunOptions: (options?: RunOptions) => NormalizedRunOptions;
498
504
  }
499
505
 
500
506
  interface Aria {