File tree Expand file tree Collapse file tree 4 files changed +309
-361
lines changed Expand file tree Collapse file tree 4 files changed +309
-361
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ node_modules/warning/.*
21
21
[include]
22
22
23
23
[libs]
24
- node_modules/react-native/Libraries/react-native/react-native- interface.js
24
+ node_modules/react-native/interface.js
25
25
node_modules/react-native/flow/
26
26
flow-typed
27
27
@@ -38,9 +38,8 @@ module.file_ext=.ios.js
38
38
39
39
munge_underscores=true
40
40
41
- module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
42
41
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'
44
43
45
44
suppress_type=$FlowIssue
46
45
suppress_type=$FlowFixMe
Original file line number Diff line number Diff line change 19
19
"@babel/core" : " ^7.8.7" ,
20
20
"@callstack/eslint-config" : " ^9.1.0" ,
21
21
"@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 " ,
24
24
"@types/react-test-renderer" : " ^16.9.2" ,
25
25
"babel-jest" : " ^25.1.0" ,
26
26
"conventional-changelog-cli" : " ^2.0.11" ,
27
27
"dedent" : " ^0.7.0" ,
28
28
"eslint" : " ^6.8.0" ,
29
- "flow-bin" : " ^0.107 .0" ,
29
+ "flow-bin" : " ^0.116 .0" ,
30
30
"flow-copy-source" : " ^2.0.6" ,
31
31
"jest" : " ^25.1.0" ,
32
32
"metro-react-native-babel-preset" : " ^0.58.0" ,
33
33
"react" : " ^16.13.0" ,
34
- "react-native" : " ^0.61.5 " ,
34
+ "react-native" : " ^0.62.2 " ,
35
35
"react-test-renderer" : " ^16.13.0" ,
36
36
"release-it" : " ^12.3.3" ,
37
37
"strip-ansi" : " ^5.2.0" ,
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ const Typography = ({ children, ...rest }: any) => {
21
21
class Button extends React . Component < any > {
22
22
render ( ) {
23
23
return (
24
+ // $FlowFixMe - accessibilityStates removed in RN 0.62
24
25
< TouchableOpacity
25
26
accessibilityHint = { BUTTON_HINT }
26
27
accessibilityLabel = { BUTTON_LABEL }
@@ -49,6 +50,7 @@ function Section() {
49
50
accessibilityHint = { TEXT_HINT }
50
51
accessibilityLabel = { TEXT_LABEL }
51
52
accessibilityRole = { TEXT_ROLE }
53
+ // $FlowFixMe - removed in RN 0.62
52
54
accessibilityStates = { [ 'selected' , 'disabled' ] }
53
55
accessibilityState = { { expanded : false } }
54
56
accessibilityValue = { { max : 60 } }
You can’t perform that action at this time.
0 commit comments