Skip to content

Commit 5e2a231

Browse files
authored
Updated eslint-plugin-react to 7.21.5 & eslint-plugin-jsx-a11y to 6.4.1 (#3370)
These updates fix issue #3120. The real problem was in jsx-ast-utils which is a dependency of both eslint-plugin-react & eslint-plugin-jsx-a11y
1 parent ed88a24 commit 5e2a231

File tree

2 files changed

+94
-5
lines changed

2 files changed

+94
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"eslint-config-react": "^1.1.7",
1414
"eslint-plugin-babel": "^4.1.2",
1515
"eslint-plugin-flowtype": "^2.39.1",
16-
"eslint-plugin-jsx-a11y": "^6.0.2",
16+
"eslint-plugin-jsx-a11y": "^6.4.1",
1717
"eslint-plugin-prettier": "^2.3.1",
18-
"eslint-plugin-react": "^7.4.0",
18+
"eslint-plugin-react": "^7.21.5",
1919
"eslint-plugin-relay": "^0.0.19",
2020
"flow-bin": "^0.56.0",
2121
"gatsby": "^2.24.63",

yarn.lock

Lines changed: 92 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2862,14 +2862,19 @@ axe-core@^3.5.4:
28622862
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-3.5.5.tgz#84315073b53fa3c0c51676c588d59da09a192227"
28632863
integrity sha512-5P0QZ6J5xGikH780pghEdbEKijCTrruK9KxtPZCFWUpef0f6GipO+xEZ5GKCb020mmqgbiNO6TcA55CriL784Q==
28642864

2865+
axe-core@^4.0.2:
2866+
version "4.0.2"
2867+
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.0.2.tgz#c7cf7378378a51fcd272d3c09668002a4990b1cb"
2868+
integrity sha512-arU1h31OGFu+LPrOLGZ7nB45v940NMDMEJeNmbutu57P+UFDVnkZg3e+J1I2HJRZ9hT7gO8J91dn/PMrAiKakA==
2869+
28652870
axios@^0.19.0, axios@^0.19.2:
28662871
version "0.19.2"
28672872
resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27"
28682873
integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==
28692874
dependencies:
28702875
follow-redirects "1.5.10"
28712876

2872-
axobject-query@^2.1.2:
2877+
axobject-query@^2.1.2, axobject-query@^2.2.0:
28732878
version "2.2.0"
28742879
resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be"
28752880
integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==
@@ -3631,6 +3636,14 @@ cacheable-request@^7.0.1:
36313636
normalize-url "^4.1.0"
36323637
responselike "^2.0.0"
36333638

3639+
call-bind@^1.0.0:
3640+
version "1.0.0"
3641+
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.0.tgz#24127054bb3f9bdcb4b1fb82418186072f77b8ce"
3642+
integrity sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==
3643+
dependencies:
3644+
function-bind "^1.1.1"
3645+
get-intrinsic "^1.0.0"
3646+
36343647
caller-callsite@^2.0.0:
36353648
version "2.0.0"
36363649
resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134"
@@ -5662,7 +5675,7 @@ eslint-plugin-import@^2.22.0:
56625675
resolve "^1.17.0"
56635676
tsconfig-paths "^3.9.0"
56645677

5665-
eslint-plugin-jsx-a11y@^6.0.2, eslint-plugin-jsx-a11y@^6.3.1:
5678+
eslint-plugin-jsx-a11y@^6.3.1:
56665679
version "6.3.1"
56675680
resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.3.1.tgz#99ef7e97f567cc6a5b8dd5ab95a94a67058a2660"
56685681
integrity sha512-i1S+P+c3HOlBJzMFORRbC58tHa65Kbo8b52/TwCwSKLohwvpfT5rm2GjGWzOHTEuq4xxf2aRlHHTtmExDQOP+g==
@@ -5679,6 +5692,23 @@ eslint-plugin-jsx-a11y@^6.0.2, eslint-plugin-jsx-a11y@^6.3.1:
56795692
jsx-ast-utils "^2.4.1"
56805693
language-tags "^1.0.5"
56815694

5695+
eslint-plugin-jsx-a11y@^6.4.1:
5696+
version "6.4.1"
5697+
resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.4.1.tgz#a2d84caa49756942f42f1ffab9002436391718fd"
5698+
integrity sha512-0rGPJBbwHoGNPU73/QCLP/vveMlM1b1Z9PponxO87jfr6tuH5ligXbDT6nHSSzBC8ovX2Z+BQu7Bk5D/Xgq9zg==
5699+
dependencies:
5700+
"@babel/runtime" "^7.11.2"
5701+
aria-query "^4.2.2"
5702+
array-includes "^3.1.1"
5703+
ast-types-flow "^0.0.7"
5704+
axe-core "^4.0.2"
5705+
axobject-query "^2.2.0"
5706+
damerau-levenshtein "^1.0.6"
5707+
emoji-regex "^9.0.0"
5708+
has "^1.0.3"
5709+
jsx-ast-utils "^3.1.0"
5710+
language-tags "^1.0.5"
5711+
56825712
eslint-plugin-prettier@^2.3.1:
56835713
version "2.7.0"
56845714
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.7.0.tgz#b4312dcf2c1d965379d7f9d5b5f8aaadc6a45904"
@@ -5692,7 +5722,7 @@ eslint-plugin-react-hooks@^1.7.0:
56925722
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.7.0.tgz#6210b6d5a37205f0b92858f895a4e827020a7d04"
56935723
integrity sha512-iXTCFcOmlWvw4+TOE8CLWj6yX1GwzT0Y6cUfHHZqWnSk144VmVIRcVGtUAzrLES7C798lmvnt02C7rxaOX1HNA==
56945724

5695-
eslint-plugin-react@^7.20.6, eslint-plugin-react@^7.4.0:
5725+
eslint-plugin-react@^7.20.6:
56965726
version "7.20.6"
56975727
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.20.6.tgz#4d7845311a93c463493ccfa0a19c9c5d0fd69f60"
56985728
integrity sha512-kidMTE5HAEBSLu23CUDvj8dc3LdBU0ri1scwHBZjI41oDv4tjsWZKU7MQccFzH1QYPYhsnTF2ovh7JlcIcmxgg==
@@ -5709,6 +5739,23 @@ eslint-plugin-react@^7.20.6, eslint-plugin-react@^7.4.0:
57095739
resolve "^1.17.0"
57105740
string.prototype.matchall "^4.0.2"
57115741

5742+
eslint-plugin-react@^7.21.5:
5743+
version "7.21.5"
5744+
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.21.5.tgz#50b21a412b9574bfe05b21db176e8b7b3b15bff3"
5745+
integrity sha512-8MaEggC2et0wSF6bUeywF7qQ46ER81irOdWS4QWxnnlAEsnzeBevk1sWh7fhpCghPpXb+8Ks7hvaft6L/xsR6g==
5746+
dependencies:
5747+
array-includes "^3.1.1"
5748+
array.prototype.flatmap "^1.2.3"
5749+
doctrine "^2.1.0"
5750+
has "^1.0.3"
5751+
jsx-ast-utils "^2.4.1 || ^3.0.0"
5752+
object.entries "^1.1.2"
5753+
object.fromentries "^2.0.2"
5754+
object.values "^1.1.1"
5755+
prop-types "^15.7.2"
5756+
resolve "^1.18.1"
5757+
string.prototype.matchall "^4.0.2"
5758+
57125759
eslint-plugin-relay@^0.0.19:
57135760
version "0.0.19"
57145761
resolved "https://registry.yarnpkg.com/eslint-plugin-relay/-/eslint-plugin-relay-0.0.19.tgz#68767f79f19bf81e2aa6a7ccf82fe30d65015efe"
@@ -7365,6 +7412,15 @@ get-caller-file@^2.0.1:
73657412
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
73667413
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
73677414

7415+
get-intrinsic@^1.0.0:
7416+
version "1.0.1"
7417+
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.0.1.tgz#94a9768fcbdd0595a1c9273aacf4c89d075631be"
7418+
integrity sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==
7419+
dependencies:
7420+
function-bind "^1.1.1"
7421+
has "^1.0.3"
7422+
has-symbols "^1.0.1"
7423+
73687424
get-nonce@^1.0.0:
73697425
version "1.0.1"
73707426
resolved "https://registry.yarnpkg.com/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3"
@@ -8759,6 +8815,13 @@ is-color-stop@^1.0.0:
87598815
rgb-regex "^1.0.1"
87608816
rgba-regex "^1.0.0"
87618817

8818+
is-core-module@^2.0.0:
8819+
version "2.0.0"
8820+
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.0.0.tgz#58531b70aed1db7c0e8d4eb1a0a2d1ddd64bd12d"
8821+
integrity sha512-jq1AH6C8MuteOoBPwkxHafmByhL9j5q4OaPGdbuD+ZtQJVzH+i6E3BJDQcBA09k57i2Hh2yQbEG8yObZ0jdlWw==
8822+
dependencies:
8823+
has "^1.0.3"
8824+
87628825
is-data-descriptor@^0.1.4:
87638826
version "0.1.4"
87648827
resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
@@ -9377,6 +9440,14 @@ jsx-ast-utils@^2.4.1:
93779440
array-includes "^3.1.1"
93789441
object.assign "^4.1.0"
93799442

9443+
"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.1.0:
9444+
version "3.1.0"
9445+
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.1.0.tgz#642f1d7b88aa6d7eb9d8f2210e166478444fa891"
9446+
integrity sha512-d4/UOjg+mxAWxCiF0c5UTSwyqbchkbqCvK87aBovhnh8GtysTjWmgC63tY0cJx/HzGgm9qnA147jVBdpOiQ2RA==
9447+
dependencies:
9448+
array-includes "^3.1.1"
9449+
object.assign "^4.1.1"
9450+
93809451
junk@^3.1.0:
93819452
version "3.1.0"
93829453
resolved "https://registry.yarnpkg.com/junk/-/junk-3.1.0.tgz#31499098d902b7e98c5d9b9c80f43457a88abfa1"
@@ -10800,6 +10871,16 @@ object.assign@^4.1.0:
1080010871
has-symbols "^1.0.1"
1080110872
object-keys "^1.1.1"
1080210873

10874+
object.assign@^4.1.1:
10875+
version "4.1.2"
10876+
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940"
10877+
integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==
10878+
dependencies:
10879+
call-bind "^1.0.0"
10880+
define-properties "^1.1.3"
10881+
has-symbols "^1.0.1"
10882+
object-keys "^1.1.1"
10883+
1080310884
object.entries@^1.1.2:
1080410885
version "1.1.2"
1080510886
resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.2.tgz#bc73f00acb6b6bb16c203434b10f9a7e797d3add"
@@ -13123,6 +13204,14 @@ resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.17.0, resolve@^1.3
1312313204
dependencies:
1312413205
path-parse "^1.0.6"
1312513206

13207+
resolve@^1.18.1:
13208+
version "1.18.1"
13209+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.18.1.tgz#018fcb2c5b207d2a6424aee361c5a266da8f4130"
13210+
integrity sha512-lDfCPaMKfOJXjy0dPayzPdF1phampNWr3qFCjAu+rw/qbQmr5jWH5xN2hwh9QKfw9E5v4hwV7A+jrCmL8yjjqA==
13211+
dependencies:
13212+
is-core-module "^2.0.0"
13213+
path-parse "^1.0.6"
13214+
1312613215
[email protected], responselike@^1.0.2:
1312713216
version "1.0.2"
1312813217
resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7"

0 commit comments

Comments
 (0)