From 7b3cda3854451affe20b2e4f2dd57cf317dd7d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Ren=C3=A9e=20Beach?= Date: Thu, 20 Oct 2022 23:02:47 -0700 Subject: [PATCH] [Deps] update `aria-query`, `axobject-query` --- .../src/rules/role-supports-aria-props-test.js | 15 +++------------ package.json | 4 ++-- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/__tests__/src/rules/role-supports-aria-props-test.js b/__tests__/src/rules/role-supports-aria-props-test.js index 801b747c2..5aa8019d8 100644 --- a/__tests__/src/rules/role-supports-aria-props-test.js +++ b/__tests__/src/rules/role-supports-aria-props-test.js @@ -94,6 +94,7 @@ ruleTester.run('role-supports-aria-props', rule, { { code: '' }, { code: '' }, { code: '' }, + { code: '' }, { code: '' }, { code: '' }, { code: '' }, @@ -115,6 +116,7 @@ ruleTester.run('role-supports-aria-props', rule, { { code: '' }, { code: '' }, { code: '' }, + { code: '' }, { code: '' }, { code: '' }, { code: '' }, @@ -136,6 +138,7 @@ ruleTester.run('role-supports-aria-props', rule, { { code: '' }, { code: '' }, { code: '' }, + { code: '' }, { code: '' }, { code: '' }, { code: '' }, @@ -552,22 +555,10 @@ ruleTester.run('role-supports-aria-props', rule, { code: '', errors: [errorMessage('aria-invalid', 'link', 'link', true)], }, - { - code: '', - errors: [errorMessage('aria-haspopup', 'link', 'link', true)], - }, { code: '', errors: [errorMessage('aria-invalid', 'link', 'area', true)], }, - { - code: '', - errors: [errorMessage('aria-haspopup', 'link', 'area', true)], - }, - { - code: '', - errors: [errorMessage('aria-haspopup', 'link', 'a', true)], - }, { code: '', errors: [errorMessage('aria-invalid', 'link', 'a', true)], diff --git a/package.json b/package.json index 24fb52c68..c66436228 100644 --- a/package.json +++ b/package.json @@ -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",