Packages

aria-query

5.3.2 · 20 Sep 2024Apache-2.0220.3M / weekRepositoryHomepagenpmAtom feed

Your version

5.1.1

23 Oct 2022Where it was published

5.3.2 is the newest release of 5.x.

In short

1 breaking1 removed3 new1 fixed5 changed3 internal

  • breaking

    [Update] The 5.2.x minor version contains breaking changes and should be skipped.

  • removed

    Remove Node 12 as a target for Jest unit testing

Release note

5.1.0 / 5.1.1

This minor release introduces iteration support to the primary objects of the module, through the Symbol.iterator property. This reintroduces a native-like Map iteration support that was lost in the v3 update. A forEach method is also introduced in this update. The common interface of all objects exposed by this module is now:

type TAriaQueryMap<E, K, V> = {
  entries: () => E,
  forEach: ((V, K, E) => void) => void,
  get: (key: K) => ?V,
  has: (key: K) => boolean,
  keys: () => Array<K>,
  values: () => Array<V>,
  @@iterator?: () => Iterator<E>,
};

Commits of note

  • Introduce iteration support to the Maps in the module

  • removed

    Remove Node 12 as a target for Jest unit testing

  • Update out of date packages to latest major versions

  • Ran npm up --dev --save

  • Add graphics-* roles

  • Plumb the graphics roles through to rolesMap

No changes, just trying to get the NPM build to reflect the changes in v5.1.2

[Update] The 5.2.x minor version contains breaking changes and should be skipped.

Commit f7f6120 contains a substantial audit and update of the project to match the ARIA spec. Testing coverage was substantially improved. It really locks down the project's output.

  • Switch to dequal to remove 45 transitive dependencies

  • Install command for codesandbox ci

  • Add test case to elementRoleMap-test for td element

  • Audited and updated roles source of truth to HTML Accessibility API Mapping 1.0