Skip to content

Commit

Permalink
feat: Update aria-query to 5.0.0 (#414)
Browse files Browse the repository at this point in the history
* Update aria-query to 5.0.0
* Roles.keys() returns an array now
  • Loading branch information
IanVS committed Dec 3, 2021
1 parent dfcefa2 commit de26c7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@babel/runtime": "^7.9.2",
"@types/testing-library__jest-dom": "^5.9.1",
"aria-query": "^4.2.2",
"aria-query": "^5.0.0",
"chalk": "^3.0.0",
"css": "^3.0.0",
"css.escape": "^1.5.1",
Expand Down
2 changes: 1 addition & 1 deletion src/to-be-checked.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function supportedRolesSentence() {
}

function supportedRoles() {
return Array.from(roles.keys()).filter(roleSupportsChecked)
return roles.keys().filter(roleSupportsChecked)
}

function roleSupportsChecked(role) {
Expand Down

1 comment on commit de26c7a

@Mroczek1992
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

N

Please sign in to comment.