Skip to content

Commit 8d1df27

Browse files
committed
chore: bump RN to 0.62
1 parent 0ecf788 commit 8d1df27

File tree

4 files changed

+309
-361
lines changed

4 files changed

+309
-361
lines changed

.flowconfig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ node_modules/warning/.*
2121
[include]
2222

2323
[libs]
24-
node_modules/react-native/Libraries/react-native/react-native-interface.js
24+
node_modules/react-native/interface.js
2525
node_modules/react-native/flow/
2626
flow-typed
2727

@@ -38,9 +38,8 @@ module.file_ext=.ios.js
3838

3939
munge_underscores=true
4040

41-
module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
4241
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
43-
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
42+
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
4443

4544
suppress_type=$FlowIssue
4645
suppress_type=$FlowFixMe

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
"@babel/core": "^7.8.7",
2020
"@callstack/eslint-config": "^9.1.0",
2121
"@release-it/conventional-changelog": "^1.1.0",
22-
"@types/react": "^16.9.23",
23-
"@types/react-native": "^0.61.23",
22+
"@types/react": "^16.9.34",
23+
"@types/react-native": "^0.62.2",
2424
"@types/react-test-renderer": "^16.9.2",
2525
"babel-jest": "^25.1.0",
2626
"conventional-changelog-cli": "^2.0.11",
2727
"dedent": "^0.7.0",
2828
"eslint": "^6.8.0",
29-
"flow-bin": "^0.107.0",
29+
"flow-bin": "^0.116.0",
3030
"flow-copy-source": "^2.0.6",
3131
"jest": "^25.1.0",
3232
"metro-react-native-babel-preset": "^0.58.0",
3333
"react": "^16.13.0",
34-
"react-native": "^0.61.5",
34+
"react-native": "^0.62.2",
3535
"react-test-renderer": "^16.13.0",
3636
"release-it": "^12.3.3",
3737
"strip-ansi": "^5.2.0",

src/__tests__/a11yAPI.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const Typography = ({ children, ...rest }: any) => {
2121
class Button extends React.Component<any> {
2222
render() {
2323
return (
24+
// $FlowFixMe - accessibilityStates removed in RN 0.62
2425
<TouchableOpacity
2526
accessibilityHint={BUTTON_HINT}
2627
accessibilityLabel={BUTTON_LABEL}
@@ -49,6 +50,7 @@ function Section() {
4950
accessibilityHint={TEXT_HINT}
5051
accessibilityLabel={TEXT_LABEL}
5152
accessibilityRole={TEXT_ROLE}
53+
// $FlowFixMe - removed in RN 0.62
5254
accessibilityStates={['selected', 'disabled']}
5355
accessibilityState={{ expanded: false }}
5456
accessibilityValue={{ max: 60 }}

0 commit comments

Comments
 (0)