axe-core 4.11.1 → 4.11.2-canary.c29b0af

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;
@@ -467,6 +470,10 @@ declare namespace axe {
467
470
  }
468
471
 
469
472
  interface Utils {
473
+ getElementSource: (
474
+ element: Node | null | undefined,
475
+ options?: { maxLength?: number; attrLimit?: number }
476
+ ) => string;
470
477
  getFrameContexts: (
471
478
  context?: ElementContext,
472
479
  options?: RunOptions
@@ -497,6 +504,7 @@ declare namespace axe {
497
504
  offset?: number
498
505
  ) => string | Uint8Array | Array<number>;
499
506
  nodeSerializer: NodeSerializer;
507
+ normalizeRunOptions: (options?: RunOptions) => NormalizedRunOptions;
500
508
  }
501
509
 
502
510
  interface Aria {