Skip to content

Commit

Permalink
Updating react & react-dom versions (vercel#2212)
Browse files Browse the repository at this point in the history
Ran into blocking compatibility issues (unable to start an app even  with the simplest possible example) when trying to upgrade the next.js version on an older project that used react/[email protected].

This was resolved by upgrading react/react-dom to the latest version (15.5.4) so updating dependencies and peerDependencies to reflect the latest version.

Raised in issue vercel#2150
  • Loading branch information
iaincollins authored and arunoda committed Jun 9, 2017
1 parent 0151d09 commit 5fa03f9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 35 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 122,14 @@
"node-fetch": "1.7.1",
"node-notifier": "5.1.2",
"nyc": "11.0.1",
"react": "15.5.3",
"react-dom": "15.5.3",
"react": "15.5.4",
"react-dom": "15.5.4",
"standard": "9.0.2",
"wd": "1.2.0"
},
"peerDependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2"
"react": "^15.5.4",
"react-dom": "^15.5.4"
},
"jest": {
"testEnvironment": "node",
Expand Down
57 changes: 26 additions & 31 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -815,9 815,9 @@ babel-plugin-transform-strict-mode@^6.24.1:
babel-runtime "^6.22.0"
babel-types "^6.24.1"

[email protected].1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.5.1.tgz#d2eca6af179edf27cdc305a84820f601b456dd0b"
[email protected].2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.5.2.tgz#cd4ae90a6e94b709f97374b33e5f8b983556adef"
dependencies:
babel-plugin-check-es2015-constants "^6.22.0"
babel-plugin-syntax-trailing-function-commas "^6.22.0"
Expand Down Expand Up @@ -1266,13 1266,14 @@ chokidar@^1.4.3, chokidar@^1.6.1:
optionalDependencies:
fsevents "^1.0.0"

[email protected].0:
version "2.29.0"
resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-2.29.0.tgz#e3fd8b3c08dce2562b80ef1b0b846597659d0cc3"
[email protected].1:
version "2.29.1"
resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-2.29.1.tgz#c65f78b66bf038365339dfc617afb61f7fc9838e"
dependencies:
adm-zip "^0.4.7"
kew "^0.7.0"
mkdirp "^0.5.1"
request "^2.81.0"
rimraf "^2.5.4"

ci-info@^1.0.0:
Expand Down Expand Up @@ -1500,9 1501,9 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
safe-buffer "^5.0.1"
sha.js "^2.4.8"

[email protected].0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.0.0.tgz#565ccae4d09676441a5087f406fe7661a29c931b"
[email protected].1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.0.1.tgz#ff4e72ea43b47da2486b43a7f2043b2609e44913"
dependencies:
cross-spawn "^5.1.0"
is-windows "^1.0.0"
Expand Down Expand Up @@ -1608,7 1609,7 @@ [email protected]:
dependencies:
ms "2.0.0"

debug@^2.1.1, debug@^2.2.0, debug@^2.6.3:
debug@^2.1.1, debug@^2.2.0, debug@^2.6.3, debug@^2.6.8:
version "2.6.8"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
dependencies:
Expand Down Expand Up @@ -3788,20 3789,13 @@ [email protected]:
version "0.6.1"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"

[email protected]:
[email protected], node-fetch@^1.0.1:
version "1.7.1"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.1.tgz#899cb3d0a3c92f952c47f1b876f4c8aeabd400d5"
dependencies:
encoding "^0.1.11"
is-stream "^1.0.1"

node-fetch@^1.0.1:
version "1.7.0"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.0.tgz#3ff6c56544f9b7fb00682338bb55ee6f54a8a0ef"
dependencies:
encoding "^0.1.11"
is-stream "^1.0.1"

node-int64@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
Expand Down Expand Up @@ -4279,7 4273,7 @@ promise@^7.0.1, promise@^7.1.1:
dependencies:
asap "~2.0.3"

[email protected], prop-types@^15.5.2, prop-types@^15.5.4, prop-types@~15.5.0:
[email protected], prop-types@^15.5.4, prop-types@^15.5.7, prop-types@~15.5.7:
version "15.5.10"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154"
dependencies:
Expand Down Expand Up @@ -4369,14 4363,14 @@ react-deep-force-update@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-2.0.1.tgz#4f7f6c12c3e7de42f345992a3c518236fa1ecad3"

[email protected].3:
version "15.5.3"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.5.3.tgz#2ee127ce942df55da53111ae303316e68072b5c5"
[email protected].4:
version "15.5.4"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.5.4.tgz#ba0c28786fd52ed7e4f2135fe0288d462aef93da"
dependencies:
fbjs "^0.8.9"
loose-envify "^1.1.0"
object-assign "^4.1.0"
prop-types "~15.5.0"
prop-types "~15.5.7"

[email protected]:
version "3.0.0-beta.7"
Expand All @@ -4395,14 4389,14 @@ react-proxy@^3.0.0-alpha.0:
dependencies:
lodash "^4.6.1"

[email protected].3:
version "15.5.3"
resolved "https://registry.yarnpkg.com/react/-/react-15.5.3.tgz#84055382c025dec4e3b902bb61a8697cc79c1258"
[email protected].4:
version "15.5.4"
resolved "https://registry.yarnpkg.com/react/-/react-15.5.4.tgz#fa83eb01506ab237cdc1c8c3b1cea8de012bf047"
dependencies:
fbjs "^0.8.9"
loose-envify "^1.1.0"
object-assign "^4.1.0"
prop-types "^15.5.2"
prop-types "^15.5.7"

read-pkg-up@^1.0.1:
version "1.0.1"
Expand Down Expand Up @@ -5506,11 5500,12 @@ write-file-atomic@^1.1.4:
imurmurhash "^0.1.4"
slide "^1.1.5"

write-file-webpack-plugin@4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/write-file-webpack-plugin/-/write-file-webpack-plugin-4.0.2.tgz#70c89a4d99a105e1aed778b21b5f75e7af4da58b"
write-file-webpack-plugin@4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/write-file-webpack-plugin/-/write-file-webpack-plugin-4.1.0.tgz#ed6ae9b54b68719c4ef4899fba70ce7cbdad0154"
dependencies:
chalk "^1.1.1"
debug "^2.6.8"
filesize "^3.2.1"
lodash "^4.5.1"
mkdirp "^0.5.1"
Expand All @@ -5526,7 5521,7 @@ xml-name-validator@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635"

xss-filters@^1.2.7:
[email protected]:
version "1.2.7"
resolved "https://registry.yarnpkg.com/xss-filters/-/xss-filters-1.2.7.tgz#59fa1de201f36f2f3470dcac5f58ccc2830b0a9a"

Expand Down

0 comments on commit 5fa03f9

Please sign in to comment.