Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Permit react 17 #821

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"most": "^1.0.2",
"prettier": "^1.2.2",
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react": "^17.0.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's likely not wise to bump this so that anything between 16.3.1 and 17.0.1 isn't allowed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joealden thanks for the review, the tests are passing. Why do you think it would be risky to bump to the current react version for development of this package?

"react-dom": "^16.3.1",
"readline-sync": "^1.2.21",
"rollup": "^0.65.0",
Expand Down
2 changes: 1 addition & 1 deletion src/packages/recompose-relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"peerDependencies": {
"recompose": "^0.17.0 || ^0.18.0 || ^0.19.0 || ^0.20.0",
"react": "^0.14.0 || ^15.0.0",
"react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
"react-relay": "^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0"
}
}
2 changes: 1 addition & 1 deletion src/packages/recompose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"symbol-observable": "^1.0.4"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0 || ^16.0.0"
"react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
}
}
2 changes: 1 addition & 1 deletion types/flow-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"glamor": "^3.0.0-3",
"glamor-reset": "^3.0.0-2",
"hoist-non-react-statics": "^2.0.0",
"react": "^15.6.1",
"react": "^17.0.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's likely not wise to bump this so that anything between 16.3.1 and 17.0.1 isn't allowed.

"react-dom": "^15.6.1",
"react-motion": "^0.5.0",
"recompose": "^0.24.0"
Expand Down
11 changes: 5 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5563,14 +5563,13 @@ react-test-renderer@^16.0.0-0:
prop-types "^15.6.0"
react-is "^16.3.1"

react@^16.3.1:
version "16.3.1"
resolved "https://registry.yarnpkg.com/react/-/react-16.3.1.tgz#4a2da433d471251c69b6033ada30e2ed1202cfd8"
react@^17.0.1:
version "17.0.1"
resolved "https://registry.yarnpkg.com/react/-/react-17.0.1.tgz#6e0600416bd57574e3f86d92edba3d9008726127"
integrity sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==
dependencies:
fbjs "^0.8.16"
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.0"

read-pkg-up@^1.0.1:
version "1.0.1"
Expand Down Expand Up @@ -6793,7 +6792,7 @@ unset-value@^1.0.0:
has-value "^0.3.1"
isobject "^3.0.0"

upath@^1.0.0, upath@^1.0.5, upath@^1.1.0:
upath@^1.0.0, upath@^1.0.5:
version "1.1.0"
resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd"

Expand Down