Skip to content

Commit

Permalink
chore: update version range of React (zhihu#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
ambar authored May 21, 2021
1 parent e54d061 commit 20c4d26
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 26 deletions.
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"griffith": "^1.12.0",
"query-string": "^6.3.0",
"raf": "^3.4.1",
"react": "16.4.2",
"react-dom": "16.4.2",
"react": "^16.8",
"react-dom": "^16.8",
"react-hot-loader": "^4.3.12"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/griffith-hls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"build": "rollup -c ../../rollup.config.js"
},
"peerDependencies": {
"react": ">=16.3.0 <17.0.0",
"react-dom": ">=16.3.0 <17.0.0"
"react": "^16.8 || ^17",
"react-dom": "^16.8 || ^17"
},
"dependencies": {
"hls.js": "0.7.11"
Expand Down
4 changes: 2 additions & 2 deletions packages/griffith-mp4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"read-chunk": "^3.0.0"
},
"peerDependencies": {
"react": ">=16.3.0 <17.0.0",
"react-dom": ">=16.3.0 <17.0.0"
"react": "^16.8 || ^17",
"react-dom": "^16.8 || ^17"
},
"dependencies": {
"griffith-utils": "^1.11.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/griffith-standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"babel-loader": "^8.0.5",
"griffith": "^1.12.0",
"react": "16.4.2",
"react-dom": "16.4.2"
"react": "^16.8",
"react-dom": "^16.8"
}
}
4 changes: 2 additions & 2 deletions packages/griffith/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"build": "rollup -c ../../rollup.config.js"
},
"peerDependencies": {
"react": ">=16.3.0 <17.0.0",
"react-dom": ">=16.3.0 <17.0.0"
"react": "^16.8 || ^17",
"react-dom": "^16.8 || ^17"
},
"dependencies": {
"aphrodite": "2.3.1",
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"gatsby-transformer-remark": "^2.3.11",
"griffith": "^1.12.0",
"normalize.css": "^8.0.1",
"react": "16.4.2",
"react-dom": "16.4.2",
"react": "^16.8",
"react-dom": "^16.8",
"react-helmet": "^5.2.0"
},
"devDependencies": {
Expand Down
35 changes: 21 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6161,7 +6161,7 @@ fbjs-css-vars@^1.0.0:
resolved "https://registry.yarnpkg.com/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz#216551136ae02fe255932c3ec8775f18e2c078b8"
integrity sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==

fbjs@^0.8.0, fbjs@^0.8.16:
fbjs@^0.8.0:
version "0.8.17"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd"
integrity sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=
Expand Down Expand Up @@ -11873,7 +11873,7 @@ promzard@^0.3.0:
dependencies:
read "1"

prop-types@^15.5.4, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2:
prop-types@^15.5.4, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2:
version "15.7.2"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
Expand Down Expand Up @@ -12141,15 +12141,15 @@ react-dev-utils@^4.2.1:
strip-ansi "3.0.1"
text-table "0.2.0"

react-dom@16.4.2:
version "16.4.2"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.4.2.tgz#4afed569689f2c561d2b8da0b819669c38a0bda4"
integrity sha512-Usl73nQqzvmJN+89r97zmeUpQDKDlh58eX6Hbs/ERdDHzeBzWy+ENk7fsGQ+5KxArV1iOFPT46/VneklK9zoWw==
react-dom@^16.8:
version "16.14.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.14.0.tgz#7ad838ec29a777fb3c75c3a190f661cf92ab8b89"
integrity sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==
dependencies:
fbjs "^0.8.16"
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.0"
prop-types "^15.6.2"
scheduler "^0.19.1"

react-error-overlay@^3.0.0:
version "3.0.0"
Expand Down Expand Up @@ -12209,15 +12209,14 @@ react-test-renderer@^16.0.0-0:
react-is "^16.8.4"
scheduler "^0.13.4"

react@16.4.2:
version "16.4.2"
resolved "https://registry.yarnpkg.com/react/-/react-16.4.2.tgz#2cd90154e3a9d9dd8da2991149fdca3c260e129f"
integrity sha512-dMv7YrbxO4y2aqnvA7f/ik9ibeLSHQJTI6TrYAenPSaQ6OXfb+Oti+oJiy8WBxgRzlKatYqtCjphTgDSCEiWFg==
react@^16.8:
version "16.14.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d"
integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==
dependencies:
fbjs "^0.8.16"
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.0"
prop-types "^15.6.2"

read-chunk@^3.0.0:
version "3.1.0"
Expand Down Expand Up @@ -12957,6 +12956,14 @@ scheduler@^0.13.4, scheduler@^0.13.6:
loose-envify "^1.1.0"
object-assign "^4.1.1"

scheduler@^0.19.1:
version "0.19.1"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196"
integrity sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"

schema-utils@^0.4.0, schema-utils@^0.4.4, schema-utils@^0.4.5:
version "0.4.7"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.7.tgz#ba74f597d2be2ea880131746ee17d0a093c68187"
Expand Down

0 comments on commit 20c4d26

Please sign in to comment.