File tree 2 files changed +12
-8
lines changed
local-cli/templates/HelloWorld
2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 7
7
* of patent rights can be found in the PATENTS file in the same directory.
8
8
*
9
9
* @providesModule URL
10
+ * @format
10
11
* @flow
11
12
*/
12
13
13
14
'use strict' ;
14
15
15
16
const Blob = require ( 'Blob' ) ;
16
17
17
- const { BlobModule } = require ( 'NativeModules' ) ;
18
+ const { BlobModule} = require ( 'NativeModules' ) ;
18
19
19
20
let BLOB_URL_PREFIX = null ;
20
21
21
- if ( typeof BlobModule . BLOB_URI_SCHEME === 'string' ) {
22
+ if ( BlobModule && typeof BlobModule . BLOB_URI_SCHEME === 'string' ) {
22
23
BLOB_URL_PREFIX = BlobModule . BLOB_URI_SCHEME + ':' ;
23
24
if ( typeof BlobModule . BLOB_URI_HOST === 'string' ) {
24
25
BLOB_URL_PREFIX += `//${ BlobModule . BLOB_URI_HOST } /` ;
Original file line number Diff line number Diff line change 12
12
; For RN Apps installed via npm, "Libraries" folder is inside
13
13
; "node_modules/react-native" but in the source repo it is in the root
14
14
.*/Libraries/react-native/React.js
15
- .*/Libraries/react-native/ReactNative.js
15
+
16
+ ; Ignore polyfills
17
+ .*/Libraries/polyfills/.*
16
18
17
19
[include]
18
20
19
21
[libs]
20
22
node_modules/react-native/Libraries/react-native/react-native-interface.js
21
- node_modules/react-native/flow
22
- flow/
23
+ node_modules/react-native/flow/
23
24
24
25
[options]
25
26
emoji=true
@@ -32,14 +33,16 @@ module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|we
32
33
33
34
suppress_type=$FlowIssue
34
35
suppress_type=$FlowFixMe
36
+ suppress_type=$FlowFixMeProps
37
+ suppress_type=$FlowFixMeState
35
38
suppress_type=$FixMe
36
39
37
- suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4 [0-9 ]\\|[1-3 ][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
38
- suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4 [0-9 ]\\|[1-3 ][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
40
+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5 [0-3 ]\\|[1-4 ][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
41
+ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5 [0-3 ]\\|[1-4 ][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
39
42
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
40
43
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
41
44
42
45
unsafe.enable_getters_and_setters=true
43
46
44
47
[version]
45
- ^0.49.1
48
+ ^0.53.0
You can’t perform that action at this time.
0 commit comments