Skip to content

Commit d9b3ffe

Browse files
committed
build: upgrade react and enzyme
1 parent 34aaebf commit d9b3ffe

File tree

2 files changed

+109
-58
lines changed

2 files changed

+109
-58
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
"codecov": "^3.1.0",
9999
"copy": "^0.3.2",
100100
"cross-env": "^5.2.0",
101-
"enzyme": "^3.3.0",
102-
"enzyme-adapter-react-16": "^1.1.1",
101+
"enzyme": "^3.8.0",
102+
"enzyme-adapter-react-16": "^1.7.1",
103103
"eslint": "^5.9.0",
104104
"eslint-config-prettier": "^3.3.0",
105105
"eslint-plugin-flowtype": "^3.2.0",
@@ -117,8 +117,8 @@
117117
"nyc": "^13.1.0",
118118
"prettier": "^1.15.2",
119119
"prettier-eslint": "^8.8.2",
120-
"react": "^16.2.0",
121-
"react-dom": "^16.2.0",
120+
"react": "^16.6.3",
121+
"react-dom": "^16.6.3",
122122
"rimraf": "^2.6.0",
123123
"semantic-release": "^15.1.4",
124124
"travis-deploy-once": "^5.0.9"

yarn.lock

Lines changed: 105 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,6 +1361,15 @@ array-unique@^0.3.2:
13611361
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
13621362
integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=
13631363

1364+
array.prototype.flat@^1.2.1:
1365+
version "1.2.1"
1366+
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz#812db8f02cad24d3fab65dd67eabe3b8903494a4"
1367+
integrity sha512-rVqIs330nLJvfC7JqYvEWwqVr5QjYF1ib02i3YJtR/fICO6527Tjpc/e4Mvmxh3GIePPreRXMdaGyC99YphWEw==
1368+
dependencies:
1369+
define-properties "^1.1.2"
1370+
es-abstract "^1.10.0"
1371+
function-bind "^1.1.1"
1372+
13641373
arrify@^1.0.1:
13651374
version "1.0.1"
13661375
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
@@ -2945,49 +2954,53 @@ env-ci@^3.0.0:
29452954
execa "^1.0.0"
29462955
java-properties "^0.2.9"
29472956

2948-
enzyme-adapter-react-16@^1.1.1:
2949-
version "1.1.1"
2950-
resolved "https://registry.npmjs.org/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.1.tgz#a8f4278b47e082fbca14f5bfb1ee50ee650717b4"
2951-
integrity sha512-kC8pAtU2Jk3OJ0EG8Y2813dg9Ol0TXi7UNxHzHiWs30Jo/hj7alc//G1YpKUsPP1oKl9X+Lkx+WlGJpPYA+nvw==
2957+
enzyme-adapter-react-16@^1.7.1:
2958+
version "1.7.1"
2959+
resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.7.1.tgz#c37c4cb0fd75e88a063154a7a88096474914496a"
2960+
integrity sha512-OQXKgfHWyHN3sFu2nKj3mhgRcqIPIJX6aOzq5AHVFES4R9Dw/vCBZFMPyaG81g2AZ5DogVh39P3MMNUbqNLTcw==
29522961
dependencies:
2953-
enzyme-adapter-utils "^1.3.0"
2954-
lodash "^4.17.4"
2955-
object.assign "^4.0.4"
2962+
enzyme-adapter-utils "^1.9.0"
2963+
function.prototype.name "^1.1.0"
2964+
object.assign "^4.1.0"
29562965
object.values "^1.0.4"
2957-
prop-types "^15.6.0"
2958-
react-reconciler "^0.7.0"
2966+
prop-types "^15.6.2"
2967+
react-is "^16.6.1"
29592968
react-test-renderer "^16.0.0-0"
29602969

2961-
enzyme-adapter-utils@^1.3.0:
2962-
version "1.3.0"
2963-
resolved "https://registry.npmjs.org/enzyme-adapter-utils/-/enzyme-adapter-utils-1.3.0.tgz#d6c85756826c257a8544d362cc7a67e97ea698c7"
2964-
integrity sha512-vVXSt6uDv230DIv+ebCG66T1Pm36Kv+m74L1TrF4kaE7e1V7Q/LcxO0QRkajk5cA6R3uu9wJf5h13wOTezTbjA==
2970+
enzyme-adapter-utils@^1.9.0:
2971+
version "1.9.0"
2972+
resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.9.0.tgz#3997c20f3387fdcd932b155b3740829ea10aa86c"
2973+
integrity sha512-uMe4xw4l/Iloh2Fz+EO23XUYMEQXj5k/5ioLUXCNOUCI8Dml5XQMO9+QwUq962hBsY5qftfHHns+d990byWHvg==
29652974
dependencies:
2966-
lodash "^4.17.4"
2967-
object.assign "^4.0.4"
2968-
prop-types "^15.6.0"
2975+
function.prototype.name "^1.1.0"
2976+
object.assign "^4.1.0"
2977+
prop-types "^15.6.2"
2978+
semver "^5.6.0"
29692979

2970-
enzyme@^3.3.0:
2971-
version "3.3.0"
2972-
resolved "https://registry.npmjs.org/enzyme/-/enzyme-3.3.0.tgz#0971abd167f2d4bf3f5bd508229e1c4b6dc50479"
2973-
integrity sha512-l8csyPyLmtxskTz6pX9W8eDOyH1ckEtDttXk/vlFWCjv00SkjTjtoUrogqp4yEvMyneU9dUJoOLnqFoiHb8IHA==
2980+
enzyme@^3.8.0:
2981+
version "3.8.0"
2982+
resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.8.0.tgz#646d2d5d0798cb98fdec39afcee8a53237b47ad5"
2983+
integrity sha512-bfsWo5nHyZm1O1vnIsbwdfhU989jk+squU9NKvB+Puwo5j6/Wg9pN5CO0YJelm98Dao3NPjkDZk+vvgwpMwYxw==
29742984
dependencies:
2985+
array.prototype.flat "^1.2.1"
29752986
cheerio "^1.0.0-rc.2"
2976-
function.prototype.name "^1.0.3"
2977-
has "^1.0.1"
2987+
function.prototype.name "^1.1.0"
2988+
has "^1.0.3"
29782989
is-boolean-object "^1.0.0"
2979-
is-callable "^1.1.3"
2990+
is-callable "^1.1.4"
29802991
is-number-object "^1.0.3"
29812992
is-string "^1.0.4"
29822993
is-subset "^0.1.1"
2983-
lodash "^4.17.4"
2984-
object-inspect "^1.5.0"
2994+
lodash.escape "^4.0.1"
2995+
lodash.isequal "^4.5.0"
2996+
object-inspect "^1.6.0"
29852997
object-is "^1.0.1"
29862998
object.assign "^4.1.0"
29872999
object.entries "^1.0.4"
29883000
object.values "^1.0.4"
29893001
raf "^3.4.0"
29903002
rst-selector-parser "^2.2.3"
3003+
string.prototype.trim "^1.1.2"
29913004

29923005
err-code@^1.0.0:
29933006
version "1.1.2"
@@ -3008,6 +3021,17 @@ error-ex@^1.3.1:
30083021
dependencies:
30093022
is-arrayish "^0.2.1"
30103023

3024+
es-abstract@^1.10.0, es-abstract@^1.5.0:
3025+
version "1.12.0"
3026+
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165"
3027+
integrity sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==
3028+
dependencies:
3029+
es-to-primitive "^1.1.1"
3030+
function-bind "^1.1.1"
3031+
has "^1.0.1"
3032+
is-callable "^1.1.3"
3033+
is-regex "^1.0.4"
3034+
30113035
es-abstract@^1.6.1, es-abstract@^1.7.0:
30123036
version "1.10.0"
30133037
resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864"
@@ -3817,9 +3841,9 @@ function-bind@^1.0.2, function-bind@^1.1.0, function-bind@^1.1.1:
38173841
resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
38183842
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
38193843

3820-
function.prototype.name@^1.0.3:
3844+
function.prototype.name@^1.1.0:
38213845
version "1.1.0"
3822-
resolved "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.0.tgz#8bd763cc0af860a859cc5d49384d74b932cd2327"
3846+
resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.0.tgz#8bd763cc0af860a859cc5d49384d74b932cd2327"
38233847
integrity sha512-Bs0VRrTz4ghD8pTmbJQD1mZ8A/mN0ur/jGz+A6FBxPDUPkm1tNfF6bhTYPA7i7aF4lZJVr+OXTNNrnnIl58Wfg==
38243848
dependencies:
38253849
define-properties "^1.1.2"
@@ -4577,6 +4601,11 @@ is-callable@^1.1.1, is-callable@^1.1.3:
45774601
resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
45784602
integrity sha1-hut1OSgF3cM69xySoO7fdO52BLI=
45794603

4604+
is-callable@^1.1.4:
4605+
version "1.1.4"
4606+
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
4607+
integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==
4608+
45804609
is-ci@^1.0.10, is-ci@^1.2.1:
45814610
version "1.2.1"
45824611
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c"
@@ -5462,6 +5491,11 @@ lodash.debounce@^4.0.8:
54625491
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
54635492
integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168=
54645493

5494+
lodash.escape@^4.0.1:
5495+
version "4.0.1"
5496+
resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-4.0.1.tgz#c9044690c21e04294beaa517712fded1fa88de98"
5497+
integrity sha1-yQRGkMIeBClL6qUXcS/e0fqI3pg=
5498+
54655499
lodash.escaperegexp@^4.1.2:
54665500
version "4.1.2"
54675501
resolved "https://registry.yarnpkg.com/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz#64762c48618082518ac3df4ccf5d5886dae20347"
@@ -5472,6 +5506,11 @@ lodash.flattendeep@^4.4.0:
54725506
resolved "https://registry.yarnpkg.com/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2"
54735507
integrity sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=
54745508

5509+
lodash.isequal@^4.5.0:
5510+
version "4.5.0"
5511+
resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
5512+
integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA=
5513+
54755514
lodash.isplainobject@^4.0.6:
54765515
version "4.0.6"
54775516
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
@@ -6608,10 +6647,10 @@ object-copy@^0.1.0:
66086647
define-property "^0.2.5"
66096648
kind-of "^3.0.3"
66106649

6611-
object-inspect@^1.5.0:
6612-
version "1.5.0"
6613-
resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.5.0.tgz#9d876c11e40f485c79215670281b767488f9bfe3"
6614-
integrity sha512-UmOFbHbwvv+XHj7BerrhVq+knjceBdkvU5AriwLMvhv2qi+e7DJzxfBeFpILEjVzCp+xA+W/pIf06RGPWlZNfw==
6650+
object-inspect@^1.6.0:
6651+
version "1.6.0"
6652+
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b"
6653+
integrity sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==
66156654

66166655
object-is@^1.0.1:
66176656
version "1.0.1"
@@ -6630,7 +6669,7 @@ object-visit@^1.0.0:
66306669
dependencies:
66316670
isobject "^3.0.0"
66326671

6633-
object.assign@^4.0.4, object.assign@^4.1.0:
6672+
object.assign@^4.1.0:
66346673
version "4.1.0"
66356674
resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da"
66366675
integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==
@@ -7318,25 +7357,20 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.2.7, rc@^1.2.8:
73187357
minimist "^1.2.0"
73197358
strip-json-comments "~2.0.1"
73207359

7321-
react-dom@^16.2.0:
7322-
version "16.2.0"
7323-
resolved "https://registry.npmjs.org/react-dom/-/react-dom-16.2.0.tgz#69003178601c0ca19b709b33a83369fe6124c044"
7324-
integrity sha512-zpGAdwHVn9K0091d+hr+R0qrjoJ84cIBFL2uU60KvWBPfZ7LPSrfqviTxGHWN0sjPZb2hxWzMexwrvJdKePvjg==
7360+
react-dom@^16.6.3:
7361+
version "16.6.3"
7362+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.6.3.tgz#8fa7ba6883c85211b8da2d0efeffc9d3825cccc0"
7363+
integrity sha512-8ugJWRCWLGXy+7PmNh8WJz3g1TaTUt1XyoIcFN+x0Zbkoz+KKdUyx1AQLYJdbFXjuF41Nmjn5+j//rxvhFjgSQ==
73257364
dependencies:
7326-
fbjs "^0.8.16"
73277365
loose-envify "^1.1.0"
73287366
object-assign "^4.1.1"
7329-
prop-types "^15.6.0"
7367+
prop-types "^15.6.2"
7368+
scheduler "^0.11.2"
73307369

7331-
react-reconciler@^0.7.0:
7332-
version "0.7.0"
7333-
resolved "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.7.0.tgz#9614894103e5f138deeeb5eabaf3ee80eb1d026d"
7334-
integrity sha512-50JwZ3yNyMS8fchN+jjWEJOH3Oze7UmhxeoJLn2j6f3NjpfCRbcmih83XTWmzqtar/ivd5f7tvQhvvhism2fgg==
7335-
dependencies:
7336-
fbjs "^0.8.16"
7337-
loose-envify "^1.1.0"
7338-
object-assign "^4.1.1"
7339-
prop-types "^15.6.0"
7370+
react-is@^16.6.1:
7371+
version "16.6.3"
7372+
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.6.3.tgz#d2d7462fcfcbe6ec0da56ad69047e47e56e7eac0"
7373+
integrity sha512-u7FDWtthB4rWibG/+mFbVd5FvdI20yde86qKGx4lVUTWmPlSWQ4QxbBIrrs+HnXGbxOUlUzTAP/VDmvCwaP2yA==
73407374

73417375
react-test-renderer@^16.0.0-0:
73427376
version "16.2.0"
@@ -7347,15 +7381,15 @@ react-test-renderer@^16.0.0-0:
73477381
object-assign "^4.1.1"
73487382
prop-types "^15.6.0"
73497383

7350-
react@^16.2.0:
7351-
version "16.2.0"
7352-
resolved "https://registry.npmjs.org/react/-/react-16.2.0.tgz#a31bd2dab89bff65d42134fa187f24d054c273ba"
7353-
integrity sha512-ZmIomM7EE1DvPEnSFAHZn9Vs9zJl5A9H7el0EGTE6ZbW9FKe/14IYAlPbC8iH25YarEQxZL+E8VW7Mi7kfQrDQ==
7384+
react@^16.6.3:
7385+
version "16.6.3"
7386+
resolved "https://registry.yarnpkg.com/react/-/react-16.6.3.tgz#25d77c91911d6bbdd23db41e70fb094cc1e0871c"
7387+
integrity sha512-zCvmH2vbEolgKxtqXL2wmGCUxUyNheYn/C+PD1YAjfxHC54+MhdruyhO7QieQrYsYeTxrn93PM2y0jRH1zEExw==
73547388
dependencies:
7355-
fbjs "^0.8.16"
73567389
loose-envify "^1.1.0"
73577390
object-assign "^4.1.1"
7358-
prop-types "^15.6.0"
7391+
prop-types "^15.6.2"
7392+
scheduler "^0.11.2"
73597393

73607394
read-cmd-shim@^1.0.1, read-cmd-shim@~1.0.1:
73617395
version "1.0.1"
@@ -7882,6 +7916,14 @@ sax@^1.2.1, sax@^1.2.4:
78827916
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
78837917
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
78847918

7919+
scheduler@^0.11.2:
7920+
version "0.11.3"
7921+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.11.3.tgz#b5769b90cf8b1464f3f3cfcafe8e3cd7555a2d6b"
7922+
integrity sha512-i9X9VRRVZDd3xZw10NY5Z2cVMbdYg6gqFecfj79USv1CFN+YrJ3gIPRKf1qlY+Sxly4djoKdfx1T+m9dnRB8kQ==
7923+
dependencies:
7924+
loose-envify "^1.1.0"
7925+
object-assign "^4.1.1"
7926+
78857927
semantic-release@^15.1.4:
78867928
version "15.12.0"
78877929
resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-15.12.0.tgz#061f390bbf999ae56ae52a71f0a986659bbe556d"
@@ -7931,7 +7973,7 @@ semver-regex@^2.0.0:
79317973
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338"
79327974
integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==
79337975

7934-
"semver@2 >=2.2.1 || 3.x || 4 || 5", "semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1:
7976+
"semver@2 >=2.2.1 || 3.x || 4 || 5", "semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", "semver@^2.3.0 || 3.x || 4 || 5", semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
79357977
version "5.6.0"
79367978
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
79377979
integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
@@ -8378,6 +8420,15 @@ string-width@^1.0.1:
83788420
is-fullwidth-code-point "^2.0.0"
83798421
strip-ansi "^4.0.0"
83808422

8423+
string.prototype.trim@^1.1.2:
8424+
version "1.1.2"
8425+
resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea"
8426+
integrity sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=
8427+
dependencies:
8428+
define-properties "^1.1.2"
8429+
es-abstract "^1.5.0"
8430+
function-bind "^1.0.2"
8431+
83818432
string_decoder@~0.10.x:
83828433
version "0.10.31"
83838434
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"

0 commit comments

Comments
 (0)