Skip to content

Commit

Permalink
[Deps] update aria-query, axobject-query
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebeach authored and ljharb committed Oct 21, 2022
1 parent bccf0ae commit 7b3cda3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
15 changes: 3 additions & 12 deletions __tests__/src/rules/role-supports-aria-props-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ ruleTester.run('role-supports-aria-props', rule, {
{ code: '<a href="#" aria-disabled />' },
{ code: '<a href="#" aria-dropeffect />' },
{ code: '<a href="#" aria-flowto />' },
{ code: '<a href="#" aria-haspopup />' },
{ code: '<a href="#" aria-grabbed />' },
{ code: '<a href="#" aria-hidden />' },
{ code: '<a href="#" aria-label />' },
Expand All @@ -115,6 +116,7 @@ ruleTester.run('role-supports-aria-props', rule, {
{ code: '<area href="#" aria-dropeffect />' },
{ code: '<area href="#" aria-flowto />' },
{ code: '<area href="#" aria-grabbed />' },
{ code: '<area href="#" aria-haspopup />' },
{ code: '<area href="#" aria-hidden />' },
{ code: '<area href="#" aria-label />' },
{ code: '<area href="#" aria-labelledby />' },
Expand All @@ -136,6 +138,7 @@ ruleTester.run('role-supports-aria-props', rule, {
{ code: '<link href="#" aria-flowto />' },
{ code: '<link href="#" aria-grabbed />' },
{ code: '<link href="#" aria-hidden />' },
{ code: '<link href="#" aria-haspopup />' },
{ code: '<link href="#" aria-label />' },
{ code: '<link href="#" aria-labelledby />' },
{ code: '<link href="#" aria-live />' },
Expand Down Expand Up @@ -552,22 +555,10 @@ ruleTester.run('role-supports-aria-props', rule, {
code: '<link href="#" aria-invalid />',
errors: [errorMessage('aria-invalid', 'link', 'link', true)],
},
{
code: '<link href="#" aria-haspopup />',
errors: [errorMessage('aria-haspopup', 'link', 'link', true)],
},
{
code: '<area href="#" aria-invalid />',
errors: [errorMessage('aria-invalid', 'link', 'area', true)],
},
{
code: '<area href="#" aria-haspopup />',
errors: [errorMessage('aria-haspopup', 'link', 'area', true)],
},
{
code: '<a href="#" aria-haspopup />',
errors: [errorMessage('aria-haspopup', 'link', 'a', true)],
},
{
code: '<a href="#" aria-invalid />',
errors: [errorMessage('aria-invalid', 'link', 'a', true)],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.19.0",
"aria-query": "^4.2.2",
"aria-query": "^5.1.1",
"array-includes": "^3.1.5",
"ast-types-flow": "^0.0.7",
"axe-core": "^4.4.3",
"axobject-query": "^2.2.0",
"axobject-query": "^3.1.1",
"damerau-levenshtein": "^1.0.8",
"emoji-regex": "^9.2.2",
"has": "^1.0.3",
Expand Down

0 comments on commit 7b3cda3

Please sign in to comment.