Packages

aria-query

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

Upgrading aria-query From 4.2.2 to 5.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.2.2Latest5.3.2
  1. 4.2.2yours
  2. 5.0.0target

Before you upgrade

Tick each one off as you go
  • breaking5.0.0
  • breaking5.0.0

Release by release

  1. 5.0.0

    Migration needed4 Oct 20212 new · 4 fixes
    • breaking

      Remove bash-like command in flow NPM script

    • breaking

      Remove deprecated props

    • new

      Add aria-valuenow prop to the separator role

    • new

      Add a test for the specific items in elementRoleMap

22 other lines we could not sort, mostly version bumps
  • The module exports are no longer Maps, so you cannot spread them directly into an array to access their items. Use the entries method to get access to the items.

    5.0.0
  • Some values used to be Sets; these are now Arrays.

    5.0.0
  • The keys and values methods now return arrays, not iterators.

    5.0.0
  • There is no forEach method. One could be added in the future, but at present, it does not exist on the exports.

    5.0.0
  • Remove the usage of Maps and Sets, along with the Babel Runtime - dependency

    5.0.0
  • Update Flow bin version

    5.0.0
  • Use block for instead of iterable for

    5.0.0
  • Remove spread operator from roleElementMap

    5.0.0
  • Update the test for roleElementMap to include specific items

    5.0.0
  • Remove spread operator from elementRoleMap

    5.0.0

83 internal lines (docs, tests, tooling) left out.