Skip to content

Commit df89468

Browse files
cmfcmfsupasate
authored andcommitted
Move prop-types from peerDependencies into dependencies (#281)
* Remove prop-types from peerDependencies
1 parent d327b90 commit df89468

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
},
3030
"dependencies": {
3131
"immutable": "^3.8.1",
32+
"prop-types": "^15.7.2",
3233
"seamless-immutable": "^7.1.3"
3334
},
3435
"peerDependencies": {
3536
"history": "^4.7.2",
36-
"prop-types": "^15.0.0 || ^16.0.0",
3737
"react": "^16.4.0",
3838
"react-redux": "^6.0.0",
3939
"react-router": "^4.3.1 || ^5.0.0",
@@ -61,7 +61,6 @@
6161
"eslint-plugin-import": "^2.14.0",
6262
"eslint-plugin-react": "^7.11.1",
6363
"jest": "^24.3.1",
64-
"prop-types": "^15.5.8",
6564
"raf": "^3.4.0",
6665
"react": "^16.4.0",
6766
"react-dom": "^16.0.0",

yarn.lock

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5602,14 +5602,23 @@ prompts@^2.0.1:
56025602
kleur "^3.0.2"
56035603
sisteransi "^1.0.0"
56045604

5605-
prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.6.2:
5605+
prop-types@^15.5.7, prop-types@^15.6.1, prop-types@^15.6.2:
56065606
version "15.6.2"
56075607
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102"
56085608
integrity sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==
56095609
dependencies:
56105610
loose-envify "^1.3.1"
56115611
object-assign "^4.1.1"
56125612

5613+
prop-types@^15.7.2:
5614+
version "15.7.2"
5615+
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
5616+
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
5617+
dependencies:
5618+
loose-envify "^1.4.0"
5619+
object-assign "^4.1.1"
5620+
react-is "^16.8.1"
5621+
56135622
prr@~1.0.1:
56145623
version "1.0.1"
56155624
resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"
@@ -5751,11 +5760,6 @@ react-dom@^16.0.0:
57515760
prop-types "^15.6.2"
57525761
scheduler "^0.11.2"
57535762

5754-
react-is@^16.3.2, react-is@^16.6.1, react-is@^16.6.3:
5755-
version "16.6.3"
5756-
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.6.3.tgz#d2d7462fcfcbe6ec0da56ad69047e47e56e7eac0"
5757-
integrity sha512-u7FDWtthB4rWibG/+mFbVd5FvdI20yde86qKGx4lVUTWmPlSWQ4QxbBIrrs+HnXGbxOUlUzTAP/VDmvCwaP2yA==
5758-
57595763
react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.4:
57605764
version "16.8.4"
57615765
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.4.tgz#90f336a68c3a29a096a3d648ab80e87ec61482a2"

0 commit comments

Comments
 (0)