axe-core 4.10.1-canary.61dd5e3 → 4.10.2

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
@@ -342,9 +342,6 @@ declare namespace axe {
342
342
  interface DqElement extends SerialDqElement {
343
343
  element: Element;
344
344
  toJSON(): SerialDqElement;
345
- }
346
- interface DqElementConstructor {
347
- new (elm: Element, options?: { absolutePaths?: boolean }): DqElement;
348
345
  mergeSpecs(
349
346
  childSpec: SerialDqElement,
350
347
  parentSpec: SerialDqElement
@@ -408,24 +405,6 @@ declare namespace axe {
408
405
  boundingClientRect: DOMRect;
409
406
  }
410
407
 
411
- interface CustomNodeSerializer<T = SerialDqElement> {
412
- toSpec: (dqElm: DqElement) => T;
413
- mergeSpecs: (nodeSpec: T, parentFrameSpec: T) => T;
414
- }
415
-
416
- interface NodeSerializer {
417
- update: <T>(serializer: CustomNodeSerializer<T>) => void;
418
- toSpec: (node: Element | VirtualNode) => SerialDqElement;
419
- dqElmToSpec: (
420
- dqElm: DqElement | SerialDqElement,
421
- options?: RunOptions
422
- ) => SerialDqElement;
423
- mergeSpecs: (
424
- nodeSpec: SerialDqElement,
425
- parentFrameSpec: SerialDqElement
426
- ) => SerialDqElement;
427
- }
428
-
429
408
  interface Utils {
430
409
  getFrameContexts: (
431
410
  context?: ElementContext,
@@ -444,13 +423,15 @@ declare namespace axe {
444
423
  selector: unknown
445
424
  ) => selector is LabelledShadowDomSelector;
446
425
 
447
- DqElement: DqElementConstructor;
426
+ DqElement: new (
427
+ elm: Element,
428
+ options?: { absolutePaths?: boolean }
429
+ ) => DqElement;
448
430
  uuid: (
449
431
  options?: { random?: Uint8Array | Array<number> },
450
432
  buf?: Uint8Array | Array<number>,
451
433
  offset?: number
452
434
  ) => string | Uint8Array | Array<number>;
453
- nodeSerializer: NodeSerializer;
454
435
  }
455
436
 
456
437
  interface Aria {
package/axe.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! axe v4.10.1-canary.61dd5e3
1
+ /*! axe v4.10.2
2
2
  * Copyright (c) 2015 - 2024 Deque Systems, Inc.
3
3
  *
4
4
  * Your use of this Source Code Form is subject to the terms of the Mozilla Public
@@ -22,7 +22,7 @@
22
22
  }, _typeof(o);
23
23
  }
24
24
  var axe = axe || {};
25
- axe.version = '4.10.1-canary.61dd5e3';
25
+ axe.version = '4.10.2';
26
26
  if (typeof define === 'function' && define.amd) {
27
27
  define('axe-core', [], function() {
28
28
  return axe;