Skip to content

Commit de26c7a

Browse files
authored
feat: Update aria-query to 5.0.0 (#414)
* Update aria-query to 5.0.0 * Roles.keys() returns an array now
1 parent dfcefa2 commit de26c7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"dependencies": {
3434
"@babel/runtime": "^7.9.2",
3535
"@types/testing-library__jest-dom": "^5.9.1",
36-
"aria-query": "^4.2.2",
36+
"aria-query": "^5.0.0",
3737
"chalk": "^3.0.0",
3838
"css": "^3.0.0",
3939
"css.escape": "^1.5.1",

src/to-be-checked.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function supportedRolesSentence() {
5757
}
5858

5959
function supportedRoles() {
60-
return Array.from(roles.keys()).filter(roleSupportsChecked)
60+
return roles.keys().filter(roleSupportsChecked)
6161
}
6262

6363
function roleSupportsChecked(role) {

0 commit comments

Comments
 (0)