Skip to content

Commit 9c46f04

Browse files
committed
fix(deps): phase 4 RN
1 parent 7980425 commit 9c46f04

File tree

5 files changed

+568
-475
lines changed

5 files changed

+568
-475
lines changed

examples/react-native/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"@react-native-async-storage/async-storage": "^1.17.5",
2222
"@react-native-community/netinfo": "^8.3.0",
2323
"@xstate/react": "^3.2.2",
24-
"react": "^18.3.0",
25-
"react-native": "0.71.16",
24+
"react": "18.2.0",
25+
"react-native": "0.74.7",
2626
"react-native-get-random-values": "^1.9.0",
2727
"react-native-paper": "^5.13.1",
2828
"react-native-safe-area-context": "^4.7.3",
@@ -42,14 +42,14 @@
4242
"babel-loader": "^8.2.5",
4343
"eslint": "^8.44.0",
4444
"jest": "^29.7.0",
45-
"metro-react-native-babel-preset": "^0.77.0",
45+
"metro-react-native-babel-preset": "0.76.9",
4646
"react-native-dotenv": "^3.4.0",
4747
"react-native-launch-arguments": "^3.1.4"
4848
},
4949
"jest": {
5050
"preset": "react-native"
5151
},
5252
"resolutions": {
53-
"react": "18"
53+
"react": "18.2.0"
5454
}
5555
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"prismjs": "^1.25.0",
9999
"react": "^18.3.0",
100100
"react-dom": "^18.3.0",
101-
"react-native": "0.71.16",
101+
"react-native": "0.74.7",
102102
"react-devtools-core": "^4.28.4",
103103
"rollup": "^4.22.4",
104104
"send": "^0.19.0",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module.exports = {
22
presets: ['module:metro-react-native-babel-preset'],
3+
plugins: [['@babel/plugin-proposal-private-methods', { loose: true }]],
34
};

packages/react-native/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@aws-amplify/react-native": "^1.0.1",
2323
"@babel/cli": "^7.23.0",
2424
"@babel/core": "^7.23.2",
25+
"@babel/plugin-proposal-private-methods": "^7.18.6",
2526
"@babel/preset-env": "^7.23.2",
2627
"@babel/preset-typescript": "^7.23.2",
2728
"@react-native-async-storage/async-storage": "*",

0 commit comments

Comments
 (0)