Skip to content

Commit d830402

Browse files
committed
Update dependency eslint-plugin-react to v7
1 parent 07bd4f1 commit d830402

File tree

2 files changed

+133
-34
lines changed

2 files changed

+133
-34
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.0.1",
4747
"eslint-plugin-import": "2.20.0",
4848
"eslint-plugin-jsx-a11y": "4.0.0",
49-
"eslint-plugin-react": "6.10.3",
49+
"eslint-plugin-react": "7.18.0",
5050
"flow-bin": "0.116.0",
5151
"mocha": "3.5.3",
5252
"nyc": "10.3.2",

yarn.lock

Lines changed: 132 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,14 @@ array-includes@^3.0.3:
208208
define-properties "^1.1.2"
209209
es-abstract "^1.7.0"
210210

211+
array-includes@^3.1.1:
212+
version "3.1.1"
213+
resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.1.tgz#cdd67e6852bdf9c1215460786732255ed2459348"
214+
dependencies:
215+
define-properties "^1.1.3"
216+
es-abstract "^1.17.0"
217+
is-string "^1.0.5"
218+
211219
array-union@^1.0.1:
212220
version "1.0.2"
213221
resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
@@ -222,13 +230,6 @@ array-unique@^0.2.1:
222230
version "0.2.1"
223231
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53"
224232

225-
array.prototype.find@^2.0.1:
226-
version "2.0.4"
227-
resolved "https://registry.yarnpkg.com/array.prototype.find/-/array.prototype.find-2.0.4.tgz#556a5c5362c08648323ddaeb9de9d14bc1864c90"
228-
dependencies:
229-
define-properties "^1.1.2"
230-
es-abstract "^1.7.0"
231-
232233
array.prototype.flat@^1.2.1:
233234
version "1.2.2"
234235
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.2.tgz#8f3c71d245ba349b6b64b4078f76f5576f1fd723"
@@ -1475,7 +1476,7 @@ [email protected], diff@^3.1.0:
14751476
version "3.2.0"
14761477
resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9"
14771478

1478-
[email protected], doctrine@^1.2.2:
1479+
14791480
version "1.5.0"
14801481
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
14811482
dependencies:
@@ -1534,6 +1535,22 @@ es-abstract@^1.15.0:
15341535
string.prototype.trimleft "^2.1.0"
15351536
string.prototype.trimright "^2.1.0"
15361537

1538+
es-abstract@^1.17.0, es-abstract@^1.17.0-next.1:
1539+
version "1.17.2"
1540+
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.2.tgz#965b10af56597b631da15872c17a405e86c1fd46"
1541+
dependencies:
1542+
es-to-primitive "^1.2.1"
1543+
function-bind "^1.1.1"
1544+
has "^1.0.3"
1545+
has-symbols "^1.0.1"
1546+
is-callable "^1.1.5"
1547+
is-regex "^1.0.5"
1548+
object-inspect "^1.7.0"
1549+
object-keys "^1.1.1"
1550+
object.assign "^4.1.0"
1551+
string.prototype.trimleft "^2.1.1"
1552+
string.prototype.trimright "^2.1.1"
1553+
15371554
es-abstract@^1.7.0:
15381555
version "1.7.0"
15391556
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c"
@@ -1640,15 +1657,19 @@ [email protected]:
16401657
jsx-ast-utils "^1.0.0"
16411658
object-assign "^4.0.1"
16421659

1643-
eslint-plugin-react@6.10.3:
1644-
version "6.10.3"
1645-
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-6.10.3.tgz#c5435beb06774e12c7db2f6abaddcbf900cd3f78"
1660+
eslint-plugin-react@7.18.0:
1661+
version "7.18.0"
1662+
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.18.0.tgz#2317831284d005b30aff8afb7c4e906f13fa8e7e"
16461663
dependencies:
1647-
array.prototype.find "^2.0.1"
1648-
doctrine "^1.2.2"
1649-
has "^1.0.1"
1650-
jsx-ast-utils "^1.3.4"
1651-
object.assign "^4.0.4"
1664+
array-includes "^3.1.1"
1665+
doctrine "^2.1.0"
1666+
has "^1.0.3"
1667+
jsx-ast-utils "^2.2.3"
1668+
object.entries "^1.1.1"
1669+
object.fromentries "^2.0.2"
1670+
object.values "^1.1.1"
1671+
prop-types "^15.7.2"
1672+
resolve "^1.14.2"
16521673

16531674
eslint-scope@^3.7.1:
16541675
version "3.7.3"
@@ -2240,6 +2261,10 @@ is-callable@^1.1.4:
22402261
version "1.1.4"
22412262
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
22422263

2264+
is-callable@^1.1.5:
2265+
version "1.1.5"
2266+
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab"
2267+
22432268
is-date-object@^1.0.1:
22442269
version "1.0.1"
22452270
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
@@ -2324,12 +2349,22 @@ is-regex@^1.0.3, is-regex@^1.0.4:
23242349
dependencies:
23252350
has "^1.0.1"
23262351

2352+
is-regex@^1.0.5:
2353+
version "1.0.5"
2354+
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae"
2355+
dependencies:
2356+
has "^1.0.3"
2357+
23272358
is-resolvable@^1.0.0:
23282359
version "1.0.0"
23292360
resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.0.0.tgz#8df57c61ea2e3c501408d100fb013cf8d6e0cc62"
23302361
dependencies:
23312362
tryit "^1.0.1"
23322363

2364+
is-string@^1.0.5:
2365+
version "1.0.5"
2366+
resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.5.tgz#40493ed198ef3ff477b8c7f92f644ec82a5cd3a6"
2367+
23332368
is-symbol@^1.0.1:
23342369
version "1.0.1"
23352370
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572"
@@ -2444,14 +2479,14 @@ js-tokens@^3.0.0:
24442479
version "3.0.1"
24452480
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7"
24462481

2482+
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
2483+
version "4.0.0"
2484+
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
2485+
24472486
js-tokens@^3.0.2:
24482487
version "3.0.2"
24492488
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
24502489

2451-
js-tokens@^4.0.0:
2452-
version "4.0.0"
2453-
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
2454-
24552490
24562491
version "3.8.3"
24572492
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.3.tgz#33a05ec481c850c8875929166fe1beb61c728766"
@@ -2525,10 +2560,17 @@ jsprim@^1.2.2:
25252560
json-schema "0.2.3"
25262561
verror "1.3.6"
25272562

2528-
jsx-ast-utils@^1.0.0, jsx-ast-utils@^1.3.4:
2563+
jsx-ast-utils@^1.0.0:
25292564
version "1.4.1"
25302565
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-1.4.1.tgz#3867213e8dd79bf1e8f2300c0cfc1efb182c0df1"
25312566

2567+
jsx-ast-utils@^2.2.3:
2568+
version "2.2.3"
2569+
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.2.3.tgz#8a9364e402448a3ce7f14d357738310d9248054f"
2570+
dependencies:
2571+
array-includes "^3.0.3"
2572+
object.assign "^4.1.0"
2573+
25322574
kind-of@^3.0.2:
25332575
version "3.2.0"
25342576
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.0.tgz#b58abe4d5c044ad33726a8c1525b48cf891bff07"
@@ -2659,6 +2701,12 @@ loose-envify@^1.0.0:
26592701
dependencies:
26602702
js-tokens "^3.0.0"
26612703

2704+
loose-envify@^1.4.0:
2705+
version "1.4.0"
2706+
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
2707+
dependencies:
2708+
js-tokens "^3.0.0 || ^4.0.0"
2709+
26622710
lru-cache@^4.0.1:
26632711
version "4.0.2"
26642712
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e"
@@ -2892,29 +2940,21 @@ oauth-sign@~0.8.1:
28922940
version "0.8.2"
28932941
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
28942942

2895-
object-assign@^4.0.1, object-assign@^4.1.0:
2943+
object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
28962944
version "4.1.1"
28972945
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
28982946

28992947
object-inspect@^1.7.0:
29002948
version "1.7.0"
29012949
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"
29022950

2903-
object-keys@^1.0.10, object-keys@^1.0.8:
2904-
version "1.0.11"
2905-
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
2906-
29072951
object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1:
29082952
version "1.1.1"
29092953
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"
29102954

2911-
object.assign@^4.0.4:
2912-
version "4.0.4"
2913-
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.0.4.tgz#b1c9cc044ef1b9fe63606fc141abbb32e14730cc"
2914-
dependencies:
2915-
define-properties "^1.1.2"
2916-
function-bind "^1.1.0"
2917-
object-keys "^1.0.10"
2955+
object-keys@^1.0.8:
2956+
version "1.0.11"
2957+
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
29182958

29192959
object.assign@^4.1.0:
29202960
version "4.1.0"
@@ -2934,6 +2974,24 @@ object.entries@^1.1.0:
29342974
function-bind "^1.1.1"
29352975
has "^1.0.3"
29362976

2977+
object.entries@^1.1.1:
2978+
version "1.1.1"
2979+
resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.1.tgz#ee1cf04153de02bb093fec33683900f57ce5399b"
2980+
dependencies:
2981+
define-properties "^1.1.3"
2982+
es-abstract "^1.17.0-next.1"
2983+
function-bind "^1.1.1"
2984+
has "^1.0.3"
2985+
2986+
object.fromentries@^2.0.2:
2987+
version "2.0.2"
2988+
resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.2.tgz#4a09c9b9bb3843dd0f89acdb517a794d4f355ac9"
2989+
dependencies:
2990+
define-properties "^1.1.3"
2991+
es-abstract "^1.17.0-next.1"
2992+
function-bind "^1.1.1"
2993+
has "^1.0.3"
2994+
29372995
object.omit@^2.0.0:
29382996
version "2.0.1"
29392997
resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa"
@@ -2950,6 +3008,15 @@ object.values@^1.1.0:
29503008
function-bind "^1.1.1"
29513009
has "^1.0.3"
29523010

3011+
object.values@^1.1.1:
3012+
version "1.1.1"
3013+
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.1.tgz#68a99ecde356b7e9295a3c5e0ce31dc8c953de5e"
3014+
dependencies:
3015+
define-properties "^1.1.3"
3016+
es-abstract "^1.17.0-next.1"
3017+
function-bind "^1.1.1"
3018+
has "^1.0.3"
3019+
29533020
[email protected], once@^1.3.0, once@^1.3.3:
29543021
version "1.4.0"
29553022
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
@@ -3144,6 +3211,14 @@ progress@^2.0.0:
31443211
version "2.0.3"
31453212
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
31463213

3214+
prop-types@^15.7.2:
3215+
version "15.7.2"
3216+
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
3217+
dependencies:
3218+
loose-envify "^1.4.0"
3219+
object-assign "^4.1.1"
3220+
react-is "^16.8.1"
3221+
31473222
pseudomap@^1.0.1:
31483223
version "1.0.2"
31493224
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
@@ -3172,6 +3247,10 @@ rc@^1.1.7:
31723247
minimist "^1.2.0"
31733248
strip-json-comments "~2.0.1"
31743249

3250+
react-is@^16.8.1:
3251+
version "16.12.0"
3252+
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.12.0.tgz#2cc0fe0fba742d97fd527c42a13bec4eeb06241c"
3253+
31753254
read-pkg-up@^1.0.1:
31763255
version "1.0.1"
31773256
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
@@ -3352,6 +3431,12 @@ resolve@^1.12.0, resolve@^1.5.0:
33523431
dependencies:
33533432
path-parse "^1.0.6"
33543433

3434+
resolve@^1.14.2:
3435+
version "1.14.2"
3436+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.14.2.tgz#dbf31d0fa98b1f29aa5169783b9c290cb865fea2"
3437+
dependencies:
3438+
path-parse "^1.0.6"
3439+
33553440
restore-cursor@^2.0.0:
33563441
version "2.0.0"
33573442
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
@@ -3568,13 +3653,27 @@ string.prototype.trimleft@^2.1.0:
35683653
define-properties "^1.1.3"
35693654
function-bind "^1.1.1"
35703655

3656+
string.prototype.trimleft@^2.1.1:
3657+
version "2.1.1"
3658+
resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74"
3659+
dependencies:
3660+
define-properties "^1.1.3"
3661+
function-bind "^1.1.1"
3662+
35713663
string.prototype.trimright@^2.1.0:
35723664
version "2.1.0"
35733665
resolved "https://registry.yarnpkg.com/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz#669d164be9df9b6f7559fa8e89945b168a5a6c58"
35743666
dependencies:
35753667
define-properties "^1.1.3"
35763668
function-bind "^1.1.1"
35773669

3670+
string.prototype.trimright@^2.1.1:
3671+
version "2.1.1"
3672+
resolved "https://registry.yarnpkg.com/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz#440314b15996c866ce8a0341894d45186200c5d9"
3673+
dependencies:
3674+
define-properties "^1.1.3"
3675+
function-bind "^1.1.1"
3676+
35783677
string_decoder@~1.0.0:
35793678
version "1.0.0"
35803679
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.0.tgz#f06f41157b664d86069f84bdbdc9b0d8ab281667"

0 commit comments

Comments
 (0)