Skip to content

Commit cc9c9f1

Browse files
brentvatnenecolas
authored andcommitted
Update react peer dependency in react-native-web
Play nicely with npm 7+ and [email protected] / react@18 Close necolas#2347
1 parent bbffe86 commit cc9c9f1

File tree

3 files changed

+24
-18
lines changed

3 files changed

+24
-18
lines changed

package-lock.json

Lines changed: 20 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/benchmarks/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
"prop-types": "^15.6.0",
1414
"react": ">=17.0.2",
1515
"react-dom": ">=17.0.2",
16-
"react-native-web": "0.18.4"
16+
"react-native-web": "0.18.6"
1717
},
1818
"devDependencies": {
1919
"babel-loader": "^8.2.5",
20-
"babel-plugin-react-native-web": "0.18.4",
20+
"babel-plugin-react-native-web": "0.18.6",
2121
"css-loader": "^6.7.1",
2222
"style-loader": "^3.3.1",
2323
"url-loader": "^4.1.1",

packages/react-native-web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"styleq": "^0.1.2"
3232
},
3333
"peerDependencies": {
34-
"react": "^17.0.2",
35-
"react-dom": "^17.0.2"
34+
"react": "^17.0.2 || ^18.0.0",
35+
"react-dom": "^17.0.2 || ^18.0.0"
3636
},
3737
"author": "Nicolas Gallagher",
3838
"license": "MIT",

0 commit comments

Comments
 (0)