Skip to content

Commit

Permalink
enhance: Support React 17 (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Aug 12, 2020
1 parent 131fa45 commit a833f07
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 25 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -56,8 +56,8 @@
"lerna": "^3.22.1",
"nock": "^13.0.3",
"prettier": "^2.0.5",
"react": "16.13.1",
"react-dom": "16.13.1",
"react": "17.0.0-rc.0",
"react-dom": "17.0.0-rc.0",
"react-native": "^0.63.2",
"react-test-renderer": "^16.13.1",
"redux": "^4.0.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Expand Up @@ -68,8 +68,8 @@
"flux-standard-action": "^2.1.1"
},
"peerDependencies": {
"@types/react": "^16.8.4",
"react": "^16.8.4"
"@types/react": "^16.8.4 || ^17.0.0",
"react": "^16.8.4 || ^17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
Expand Down
4 changes: 2 additions & 2 deletions packages/hooks/package.json
Expand Up @@ -53,8 +53,8 @@
},
"peerDependencies": {
"@rest-hooks/endpoint": "^0.6.1",
"@types/react": "^16.8.2",
"react": "^16.8.2"
"@types/react": "^16.8.4 || ^17.0.0",
"react": "^16.8.4 || ^17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
Expand Down
4 changes: 2 additions & 2 deletions packages/legacy/package.json
Expand Up @@ -60,8 +60,8 @@
},
"peerDependencies": {
"@rest-hooks/core": "^1.0.0-delta.0",
"@types/react": "^16.8.4",
"react": "^16.8.2"
"@types/react": "^16.8.4 || ^17.0.0",
"react": "^16.8.4 || ^17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
Expand Down
4 changes: 2 additions & 2 deletions packages/rest-hooks/package.json
Expand Up @@ -68,8 +68,8 @@
"@rest-hooks/endpoint": "^0.6.1"
},
"peerDependencies": {
"@types/react": "^16.8.2",
"react": "^16.8.2"
"@types/react": "^16.8.4 || ^17.0.0",
"react": "^16.8.4 || ^17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
Expand Down
4 changes: 2 additions & 2 deletions packages/test/package.json
Expand Up @@ -50,8 +50,8 @@
},
"peerDependencies": {
"@rest-hooks/core": "^1.0.0-beta.1",
"@types/react": "^16.8.2",
"react": "^16.8.2",
"@types/react": "^16.8.4 || ^17.0.0",
"react": "^16.8.4 || ^17.0.0",
"redux": "^4.0.0",
"rest-hooks": "^5.0.0-beta.5"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/use-enhanced-reducer/package.json
Expand Up @@ -51,8 +51,8 @@
"url": "https://github.com/coinbase/rest-hooks/issues"
},
"peerDependencies": {
"@types/react": "^16.8.2",
"react": "^16.8.2"
"@types/react": "^16.8.4 || ^17.0.0",
"react": "^16.8.4 || ^17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
Expand Down
28 changes: 17 additions & 11 deletions yarn.lock
Expand Up @@ -11381,15 +11381,14 @@ react-devtools-core@^4.6.0:
shell-quote "^1.6.1"
ws "^7"

react-dom@16.13.1:
version "16.13.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.13.1.tgz#c1bd37331a0486c078ee54c4740720993b2e0e7f"
integrity sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==
react-dom@17.0.0-rc.0:
version "17.0.0-rc.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.0-rc.0.tgz#237b4cca9cf817329373424bde00736f11fd7541"
integrity sha512-Ny2SlnMe+SxWRVDX2aLyWsv3ltbJC0gVyWtedfoJnV2265ePcM8BLY9fJjKb4ZXwcQ+pwZFdsURYarJ5qEEMeQ==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.2"
scheduler "^0.19.1"
scheduler "0.20.0-rc.0"

react-is@^16.12.0:
version "16.12.0"
Expand Down Expand Up @@ -11454,14 +11453,13 @@ react-test-renderer@^16.13.1:
react-is "^16.8.6"
scheduler "^0.19.1"

react@16.13.1:
version "16.13.1"
resolved "https://registry.yarnpkg.com/react/-/react-16.13.1.tgz#2e818822f1a9743122c063d6410d85c1e3afe48e"
integrity sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==
react@17.0.0-rc.0:
version "17.0.0-rc.0"
resolved "https://registry.yarnpkg.com/react/-/react-17.0.0-rc.0.tgz#91a4d2085f07b501175a2434bd65b35aa0e95686"
integrity sha512-GPOdeCEE5HL9jRh7YIXoqBBxQVTqKtMm7tbH0Q//PJZV9EkFyUSDUglvIO/0i42PuUstEBcmOwlodTV2R9iStg==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.2"

read-cmd-shim@^1.0.1:
version "1.0.5"
Expand Down Expand Up @@ -12184,6 +12182,14 @@ scheduler@0.19.1, scheduler@^0.19.1:
loose-envify "^1.1.0"
object-assign "^4.1.1"

scheduler@0.20.0-rc.0:
version "0.20.0-rc.0"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.0-rc.0.tgz#9cb397f88f9decea28d159d3aad068b54a6f35e4"
integrity sha512-5CZiVhk9xI9VmqaodZH+eO3aKgqYwjZ8uf9lnfRlYEwaB4lbmIq0mzuNY5w52sbPlZP9pifXQaLGudKHMgQZcw==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"

semver-compare@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
Expand Down

0 comments on commit a833f07

Please sign in to comment.