axe-core 4.10.3-canary.32ed8da → 4.10.3-canary.3462cc5

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
@@ -155,7 +155,7 @@ declare namespace axe {
155
155
  toolOptions: RunOptions;
156
156
  passes: Result[];
157
157
  violations: Result[];
158
- incomplete: IncompleteResult[];
158
+ incomplete: Result[];
159
159
  inapplicable: Result[];
160
160
  }
161
161
  interface Result {
@@ -167,9 +167,6 @@ declare namespace axe {
167
167
  tags: TagValue[];
168
168
  nodes: NodeResult[];
169
169
  }
170
- interface IncompleteResult extends Result {
171
- error?: Omit<SupportError, 'errorNode'>;
172
- }
173
170
  interface NodeResult {
174
171
  html: string;
175
172
  impact?: ImpactValue;
@@ -207,21 +204,6 @@ declare namespace axe {
207
204
  fail: string | { [key: string]: string };
208
205
  incomplete?: string | { [key: string]: string };
209
206
  }
210
- interface SupportError {
211
- name: string;
212
- message: string;
213
- stack: string;
214
- ruleId?: string;
215
- method?: string;
216
- cause?: SerialError;
217
- errorNode?: DqElement;
218
- }
219
- interface SerialError {
220
- message: string;
221
- stack: string;
222
- name: string;
223
- cause?: SerialError;
224
- }
225
207
  interface CheckLocale {
226
208
  [key: string]: CheckMessages;
227
209
  }
@@ -479,13 +461,7 @@ declare namespace axe {
479
461
  isLabelledShadowDomSelector: (
480
462
  selector: unknown
481
463
  ) => selector is LabelledShadowDomSelector;
482
- SupportError: (
483
- error: Error,
484
- ruleId?: string,
485
- method?: string,
486
- errorNode?: DqElement
487
- ) => SupportError;
488
- serializeError: (error: Error) => SerialError;
464
+
489
465
  DqElement: DqElementConstructor;
490
466
  uuid: (
491
467
  options?: { random?: Uint8Array | Array<number> },