aria-query
Advanced tools
Changelog
5.3.0
Reverts some API data shape changes from 5.2.x. Also reverts some changes to the representation of the ARIA spec.
Changelog
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>,
};
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.
Changelog
5.0.0
This major release removes the runtime Babel dependencies that were necessary because of Map and Set usage. Map and Set usages are now replaced with object and array literals.
These are the changes in usage you might need to account for:
entries
method to get access to the items.keys
and values
methods now return arrays, not iterators.forEach
method. One could be added in the future, but at present, it does not exist on the exports.Changelog
4.2.2