File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 40
40
" dist"
41
41
],
42
42
"dependencies" : {
43
- "@babel/runtime" : " ^7.5.5 " ,
43
+ "@babel/runtime" : " ^7.6.2 " ,
44
44
"@sheerun/mutationobserver-shim" : " ^0.3.2" ,
45
45
"@types/testing-library__dom" : " ^6.0.0" ,
46
46
"aria-query" : " 3.0.0" ,
47
- "pretty-format" : " ^24.8 .0" ,
48
- "wait-for-expect" : " ^1.3 .0"
47
+ "pretty-format" : " ^24.9 .0" ,
48
+ "wait-for-expect" : " ^3.0 .0"
49
49
},
50
50
"devDependencies" : {
51
- "@testing-library/jest-dom" : " ^4.0 .0" ,
51
+ "@testing-library/jest-dom" : " ^4.1 .0" ,
52
52
"jest-in-case" : " ^1.0.2" ,
53
53
"jest-serializer-ansi" : " ^1.0.3" ,
54
- "jest-watch-select-projects" : " ^0.1.1 " ,
54
+ "jest-watch-select-projects" : " ^1.0.0 " ,
55
55
"jsdom" : " ^15.1.1" ,
56
- "kcd-scripts" : " ^1.5.2 "
56
+ "kcd-scripts" : " ^1.7.0 "
57
57
},
58
58
"eslintConfig" : {
59
59
"extends" : " ./node_modules/kcd-scripts/eslint.js" ,
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ function shouldExcludeFromA11yTree(element) {
57
57
}
58
58
59
59
function getImplicitAriaRoles ( currentNode ) {
60
+ // eslint bug here:
61
+ // eslint-disable-next-line no-unused-vars
60
62
for ( const { selector, roles} of elementRoleList ) {
61
63
if ( currentNode . matches ( selector ) ) {
62
64
return [ ...roles ]
@@ -88,6 +90,8 @@ function buildElementRoleList(elementRolesMap) {
88
90
89
91
let result = [ ]
90
92
93
+ // eslint bug here:
94
+ // eslint-disable-next-line no-unused-vars
91
95
for ( const [ element , roles ] of elementRolesMap . entries ( ) ) {
92
96
result = [
93
97
...result ,
You can’t perform that action at this time.
0 commit comments