Skip to content

Commit e00d71a

Browse files
committed
Update dependency eslint-plugin-react to v7
1 parent 2a2d998 commit e00d71a

File tree

2 files changed

+111
-75
lines changed

2 files changed

+111
-75
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"eslint-config-airbnb": "18.2.0",
4747
"eslint-plugin-import": "2.22.0",
4848
"eslint-plugin-jsx-a11y": "4.0.0",
49-
"eslint-plugin-react": "6.10.3",
49+
"eslint-plugin-react": "7.20.5",
5050
"flow-bin": "0.131.0",
5151
"mocha": "3.5.3",
5252
"nyc": "10.3.2",

yarn.lock

Lines changed: 110 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,6 @@ array-unique@^0.2.1:
255255
version "0.2.1"
256256
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53"
257257

258-
array.prototype.find@^2.0.1:
259-
version "2.0.4"
260-
resolved "https://registry.yarnpkg.com/array.prototype.find/-/array.prototype.find-2.0.4.tgz#556a5c5362c08648323ddaeb9de9d14bc1864c90"
261-
dependencies:
262-
define-properties "^1.1.2"
263-
es-abstract "^1.7.0"
264-
265258
array.prototype.flat@^1.2.3:
266259
version "1.2.3"
267260
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz#0de82b426b0318dbfdb940089e38b043d37f6c7b"
@@ -270,6 +263,15 @@ array.prototype.flat@^1.2.3:
270263
define-properties "^1.1.3"
271264
es-abstract "^1.17.0-next.1"
272265

266+
array.prototype.flatmap@^1.2.3:
267+
version "1.2.3"
268+
resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.2.3.tgz#1c13f84a178566042dd63de4414440db9222e443"
269+
integrity sha512-OOEk+lkePcg+ODXIpvuU9PAryCikCJyo7GlDG1upleEpQRx6mzL9puEBkozQ5iAx20KV0l3DbyQwqciJtqe5Pg==
270+
dependencies:
271+
define-properties "^1.1.3"
272+
es-abstract "^1.17.0-next.1"
273+
function-bind "^1.1.1"
274+
273275
arrify@^1.0.0, arrify@^1.0.1:
274276
version "1.0.1"
275277
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
@@ -1508,7 +1510,7 @@ diff@3.2.0, diff@^3.1.0:
15081510
version "3.2.0"
15091511
resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9"
15101512

1511-
doctrine@1.5.0, doctrine@^1.2.2:
1513+
doctrine@1.5.0:
15121514
version "1.5.0"
15131515
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
15141516
dependencies:
@@ -1591,23 +1593,6 @@ es-abstract@^1.17.5:
15911593
string.prototype.trimend "^1.0.1"
15921594
string.prototype.trimstart "^1.0.1"
15931595

1594-
es-abstract@^1.7.0:
1595-
version "1.7.0"
1596-
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c"
1597-
dependencies:
1598-
es-to-primitive "^1.1.1"
1599-
function-bind "^1.1.0"
1600-
is-callable "^1.1.3"
1601-
is-regex "^1.0.3"
1602-
1603-
es-to-primitive@^1.1.1:
1604-
version "1.1.1"
1605-
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d"
1606-
dependencies:
1607-
is-callable "^1.1.1"
1608-
is-date-object "^1.0.1"
1609-
is-symbol "^1.0.1"
1610-
16111596
es-to-primitive@^1.2.1:
16121597
version "1.2.1"
16131598
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a"
@@ -1695,15 +1680,22 @@ eslint-plugin-jsx-a11y@4.0.0:
16951680
jsx-ast-utils "^1.0.0"
16961681
object-assign "^4.0.1"
16971682

1698-
eslint-plugin-react@6.10.3:
1699-
version "6.10.3"
1700-
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-6.10.3.tgz#c5435beb06774e12c7db2f6abaddcbf900cd3f78"
1683+
eslint-plugin-react@7.20.5:
1684+
version "7.20.5"
1685+
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.20.5.tgz#29480f3071f64a04b2c3d99d9b460ce0f76fb857"
1686+
integrity sha512-ajbJfHuFnpVNJjhyrfq+pH1C0gLc2y94OiCbAXT5O0J0YCKaFEHDV8+3+mDOr+w8WguRX+vSs1bM2BDG0VLvCw==
17011687
dependencies:
1702-
array.prototype.find "^2.0.1"
1703-
doctrine "^1.2.2"
1704-
has "^1.0.1"
1705-
jsx-ast-utils "^1.3.4"
1706-
object.assign "^4.0.4"
1688+
array-includes "^3.1.1"
1689+
array.prototype.flatmap "^1.2.3"
1690+
doctrine "^2.1.0"
1691+
has "^1.0.3"
1692+
jsx-ast-utils "^2.4.1"
1693+
object.entries "^1.1.2"
1694+
object.fromentries "^2.0.2"
1695+
object.values "^1.1.1"
1696+
prop-types "^15.7.2"
1697+
resolve "^1.17.0"
1698+
string.prototype.matchall "^4.0.2"
17071699

17081700
eslint-scope@^3.7.1:
17091701
version "3.7.3"
@@ -1992,10 +1984,6 @@ fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2:
19921984
mkdirp ">=0.5 0"
19931985
rimraf "2"
19941986

1995-
function-bind@^1.0.2, function-bind@^1.1.0:
1996-
version "1.1.0"
1997-
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771"
1998-
19991987
function-bind@^1.1.1:
20001988
version "1.1.1"
20011989
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
@@ -2154,12 +2142,6 @@ has-unicode@^2.0.0:
21542142
version "2.0.1"
21552143
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
21562144

2157-
has@^1.0.1:
2158-
version "1.0.1"
2159-
resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28"
2160-
dependencies:
2161-
function-bind "^1.0.2"
2162-
21632145
has@^1.0.3:
21642146
version "1.0.3"
21652147
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
@@ -2254,6 +2236,15 @@ inquirer@^3.0.6:
22542236
strip-ansi "^4.0.0"
22552237
through "^2.3.6"
22562238

2239+
internal-slot@^1.0.2:
2240+
version "1.0.2"
2241+
resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.2.tgz#9c2e9fb3cd8e5e4256c6f45fe310067fcfa378a3"
2242+
integrity sha512-2cQNfwhAfJIkU4KZPkDI+Gj5yNNnbqi40W9Gge6dfnk4TocEVm00B3bdiL+JINrbGJil2TeHvM4rETGzk/f/0g==
2243+
dependencies:
2244+
es-abstract "^1.17.0-next.1"
2245+
has "^1.0.3"
2246+
side-channel "^1.0.2"
2247+
22572248
invariant@^2.2.0, invariant@^2.2.2:
22582249
version "2.2.2"
22592250
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360"
@@ -2288,10 +2279,6 @@ is-builtin-module@^1.0.0:
22882279
dependencies:
22892280
builtin-modules "^1.0.0"
22902281

2291-
is-callable@^1.1.1, is-callable@^1.1.3:
2292-
version "1.1.3"
2293-
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
2294-
22952282
is-callable@^1.1.4:
22962283
version "1.1.4"
22972284
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
@@ -2383,12 +2370,6 @@ is-promise@^2.1.0:
23832370
version "2.1.0"
23842371
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa"
23852372

2386-
is-regex@^1.0.3:
2387-
version "1.0.4"
2388-
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
2389-
dependencies:
2390-
has "^1.0.1"
2391-
23922373
is-regex@^1.0.5:
23932374
version "1.0.5"
23942375
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae"
@@ -2413,10 +2394,6 @@ is-string@^1.0.5:
24132394
resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.5.tgz#40493ed198ef3ff477b8c7f92f644ec82a5cd3a6"
24142395
integrity sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==
24152396

2416-
is-symbol@^1.0.1:
2417-
version "1.0.1"
2418-
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572"
2419-
24202397
is-symbol@^1.0.2:
24212398
version "1.0.2"
24222399
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
@@ -2527,14 +2504,14 @@ js-tokens@^3.0.0:
25272504
version "3.0.1"
25282505
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7"
25292506

2507+
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
2508+
version "4.0.0"
2509+
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
2510+
25302511
js-tokens@^3.0.2:
25312512
version "3.0.2"
25322513
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
25332514

2534-
js-tokens@^4.0.0:
2535-
version "4.0.0"
2536-
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
2537-
25382515
js-yaml@3.x:
25392516
version "3.8.3"
25402517
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.3.tgz#33a05ec481c850c8875929166fe1beb61c728766"
@@ -2615,10 +2592,18 @@ jsprim@^1.2.2:
26152592
json-schema "0.2.3"
26162593
verror "1.3.6"
26172594

2618-
jsx-ast-utils@^1.0.0, jsx-ast-utils@^1.3.4:
2595+
jsx-ast-utils@^1.0.0:
26192596
version "1.4.1"
26202597
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-1.4.1.tgz#3867213e8dd79bf1e8f2300c0cfc1efb182c0df1"
26212598

2599+
jsx-ast-utils@^2.4.1:
2600+
version "2.4.1"
2601+
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz#1114a4c1209481db06c690c2b4f488cc665f657e"
2602+
integrity sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==
2603+
dependencies:
2604+
array-includes "^3.1.1"
2605+
object.assign "^4.1.0"
2606+
26222607
kind-of@^3.0.2:
26232608
version "3.2.0"
26242609
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.0.tgz#b58abe4d5c044ad33726a8c1525b48cf891bff07"
@@ -2749,6 +2734,13 @@ loose-envify@^1.0.0:
27492734
dependencies:
27502735
js-tokens "^3.0.0"
27512736

2737+
loose-envify@^1.4.0:
2738+
version "1.4.0"
2739+
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
2740+
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
2741+
dependencies:
2742+
js-tokens "^3.0.0 || ^4.0.0"
2743+
27522744
lru-cache@^4.0.1:
27532745
version "4.0.2"
27542746
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e"
@@ -2982,29 +2974,21 @@ oauth-sign@~0.8.1:
29822974
version "0.8.2"
29832975
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
29842976

2985-
object-assign@^4.0.1, object-assign@^4.1.0:
2977+
object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
29862978
version "4.1.1"
29872979
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
29882980

29892981
object-inspect@^1.7.0:
29902982
version "1.7.0"
29912983
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"
29922984

2993-
object-keys@^1.0.10, object-keys@^1.0.8:
2994-
version "1.0.11"
2995-
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
2996-
29972985
object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1:
29982986
version "1.1.1"
29992987
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"
30002988

3001-
object.assign@^4.0.4:
3002-
version "4.0.4"
3003-
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.0.4.tgz#b1c9cc044ef1b9fe63606fc141abbb32e14730cc"
3004-
dependencies:
3005-
define-properties "^1.1.2"
3006-
function-bind "^1.1.0"
3007-
object-keys "^1.0.10"
2989+
object-keys@^1.0.8:
2990+
version "1.0.11"
2991+
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
30082992

30092993
object.assign@^4.1.0:
30102994
version "4.1.0"
@@ -3024,6 +3008,16 @@ object.entries@^1.1.2:
30243008
es-abstract "^1.17.5"
30253009
has "^1.0.3"
30263010

3011+
object.fromentries@^2.0.2:
3012+
version "2.0.2"
3013+
resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.2.tgz#4a09c9b9bb3843dd0f89acdb517a794d4f355ac9"
3014+
integrity sha512-r3ZiBH7MQppDJVLx6fhD618GKNG40CZYH9wgwdhKxBDDbQgjeWGGd4AtkZad84d291YxvWe7bJGuE65Anh0dxQ==
3015+
dependencies:
3016+
define-properties "^1.1.3"
3017+
es-abstract "^1.17.0-next.1"
3018+
function-bind "^1.1.1"
3019+
has "^1.0.3"
3020+
30273021
object.omit@^2.0.0:
30283022
version "2.0.1"
30293023
resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa"
@@ -3235,6 +3229,15 @@ progress@^2.0.0:
32353229
version "2.0.3"
32363230
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
32373231

3232+
prop-types@^15.7.2:
3233+
version "15.7.2"
3234+
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
3235+
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
3236+
dependencies:
3237+
loose-envify "^1.4.0"
3238+
object-assign "^4.1.1"
3239+
react-is "^16.8.1"
3240+
32383241
pseudomap@^1.0.1:
32393242
version "1.0.2"
32403243
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
@@ -3263,6 +3266,11 @@ rc@^1.1.7:
32633266
minimist "^1.2.0"
32643267
strip-json-comments "~2.0.1"
32653268

3269+
react-is@^16.8.1:
3270+
version "16.13.1"
3271+
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
3272+
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
3273+
32663274
read-pkg-up@^1.0.1:
32673275
version "1.0.1"
32683276
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
@@ -3341,6 +3349,14 @@ regex-cache@^0.4.2:
33413349
is-equal-shallow "^0.1.3"
33423350
is-primitive "^2.0.0"
33433351

3352+
regexp.prototype.flags@^1.3.0:
3353+
version "1.3.0"
3354+
resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz#7aba89b3c13a64509dabcf3ca8d9fbb9bdf5cb75"
3355+
integrity sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==
3356+
dependencies:
3357+
define-properties "^1.1.3"
3358+
es-abstract "^1.17.0-next.1"
3359+
33443360
regexpp@^1.0.1:
33453361
version "1.1.0"
33463362
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-1.1.0.tgz#0e3516dd0b7904f413d2d4193dce4618c3a689ab"
@@ -3523,6 +3539,14 @@ shebang-regex@^1.0.0:
35233539
version "1.0.0"
35243540
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
35253541

3542+
side-channel@^1.0.2:
3543+
version "1.0.2"
3544+
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.2.tgz#df5d1abadb4e4bf4af1cd8852bf132d2f7876947"
3545+
integrity sha512-7rL9YlPHg7Ancea1S96Pa8/QWb4BtXL/TZvS6B8XFetGBeuhAsfmUspK6DokBeZ64+Kj9TCNRD/30pVz1BvQNA==
3546+
dependencies:
3547+
es-abstract "^1.17.0-next.1"
3548+
object-inspect "^1.7.0"
3549+
35263550
signal-exit@^2.0.0:
35273551
version "2.1.2"
35283552
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-2.1.2.tgz#375879b1f92ebc3b334480d038dc546a6d558564"
@@ -3659,6 +3683,18 @@ string-width@^2.1.0, string-width@^2.1.1:
36593683
is-fullwidth-code-point "^2.0.0"
36603684
strip-ansi "^4.0.0"
36613685

3686+
string.prototype.matchall@^4.0.2:
3687+
version "4.0.2"
3688+
resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.2.tgz#48bb510326fb9fdeb6a33ceaa81a6ea04ef7648e"
3689+
integrity sha512-N/jp6O5fMf9os0JU3E72Qhf590RSRZU/ungsL/qJUYVTNv7hTG0P/dbPjxINVN9jpscu3nzYwKESU3P3RY5tOg==
3690+
dependencies:
3691+
define-properties "^1.1.3"
3692+
es-abstract "^1.17.0"
3693+
has-symbols "^1.0.1"
3694+
internal-slot "^1.0.2"
3695+
regexp.prototype.flags "^1.3.0"
3696+
side-channel "^1.0.2"
3697+
36623698
string.prototype.trimend@^1.0.1:
36633699
version "1.0.1"
36643700
resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz#85812a6b847ac002270f5808146064c995fb6913"

0 commit comments

Comments
 (0)