mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deploy v0.106.0 to xplat/js
Reviewed By: mroch Differential Revision: D16979246 fbshipit-source-id: 995fbd391823eaf0c9e3a673cf8fbe061ce0545a
This commit is contained in:
committed by
Facebook Github Bot
parent
08daad4427
commit
97b42bb142
+1
-1
@@ -79,4 +79,4 @@ untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
^0.105.0
|
||||
^0.106.0
|
||||
|
||||
+1
-1
@@ -79,4 +79,4 @@ untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
^0.105.0
|
||||
^0.106.0
|
||||
|
||||
@@ -109,7 +109,9 @@ const ActivityIndicator = (props: Props, forwardedRef?: any) => {
|
||||
// $FlowFixMe Flow doesn't know when this is the android component
|
||||
<PlatformActivityIndicator {...nativeProps} {...androidProps} />
|
||||
) : (
|
||||
// $FlowFixMe Flow doesn't know when this is the iOS component
|
||||
/* $FlowFixMe(>=0.106.0 site=react_native_android_fb) This comment
|
||||
* suppresses an error found when Flow v0.106 was deployed. To see the
|
||||
* error, delete this comment and run Flow. */
|
||||
<PlatformActivityIndicator {...nativeProps} />
|
||||
)}
|
||||
</View>
|
||||
|
||||
@@ -183,11 +183,6 @@ class WindowedListView extends React.Component<Props, State> {
|
||||
maxNumToRender: 30,
|
||||
numToRenderAhead: 10,
|
||||
viewablePercentThreshold: 50,
|
||||
/* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an
|
||||
* error caught by Flow 0.59 which was not caught before. Most likely, this
|
||||
* error is because an exported function parameter is missing an
|
||||
* annotation. Without an annotation, these parameters are uncovered by
|
||||
* Flow. */
|
||||
renderScrollComponent: props => <ScrollView {...props} />,
|
||||
disableIncrementalRendering: false,
|
||||
recomputeRowsBatchingPeriod: 10, // This should capture most events that happen within a frame
|
||||
|
||||
@@ -16,8 +16,8 @@ const warning = require('fbjs/lib/warning');
|
||||
|
||||
const Sample = {
|
||||
test: function() {
|
||||
/* $FlowFixMe(>=0.103.0 site=react_native_android_fb) This comment
|
||||
* suppresses an error found when Flow v0.103 was deployed. To see the
|
||||
/* $FlowFixMe(>=0.106.0 site=react_native_android_fb) This comment
|
||||
* suppresses an error found when Flow v0.106 was deployed. To see the
|
||||
* error, delete this comment and run Flow. */
|
||||
warning('Not yet implemented for Android.');
|
||||
},
|
||||
|
||||
@@ -15,7 +15,4 @@ const React = require('react');
|
||||
/**
|
||||
* Whether the current element is the descendant of a <Text> element.
|
||||
*/
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.85 was deployed. To see the error, delete this comment
|
||||
* and run Flow. */
|
||||
module.exports = (React.createContext(false): React$Context<$FlowFixMe>);
|
||||
|
||||
@@ -309,9 +309,6 @@ class TrackingExample extends React.Component<
|
||||
this.state.toJS.setValue(nextValue);
|
||||
};
|
||||
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.85 was deployed. To see the error, delete this comment
|
||||
* and run Flow. */
|
||||
renderBlock = (anim, dest) => [
|
||||
<Animated.View
|
||||
key="line"
|
||||
|
||||
@@ -236,7 +236,4 @@ exports.framework = 'React';
|
||||
exports.title = 'Pointer Events';
|
||||
exports.description = ('Demonstrates the use of the pointerEvents prop of a ' +
|
||||
'View to control how touches should be handled.': string);
|
||||
/* $FlowFixMe(>=0.70.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.70 was deployed. To see the error delete this comment
|
||||
* and run Flow. */
|
||||
exports.examples = (exampleClasses.map(infoToExample): Array<any>);
|
||||
|
||||
@@ -42,9 +42,6 @@ class ProgressViewExample extends React.Component<Props, State> {
|
||||
this._rafId = requestAnimationFrame(() => this.updateProgress());
|
||||
};
|
||||
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.85 was deployed. To see the error, delete this comment
|
||||
* and run Flow. */
|
||||
getProgress = offset => {
|
||||
const progress = this.state.progress + offset;
|
||||
return Math.sin(progress % Math.PI) % 1;
|
||||
|
||||
@@ -22,9 +22,6 @@ const {
|
||||
const NUM_ITEMS = 20;
|
||||
|
||||
class ScrollViewSimpleExample extends React.Component<{}> {
|
||||
/* $FlowFixMe(>=0.98.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.98 was deployed. To see the error delete this comment
|
||||
* and run Flow. */
|
||||
makeItems: (nItems: number, styles: any) => Array<any> = (
|
||||
nItems: number,
|
||||
styles,
|
||||
|
||||
@@ -28,9 +28,6 @@ class ShareMessageExample extends React.Component<Props, State> {
|
||||
_shareText: Function;
|
||||
_showResult: Function;
|
||||
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.85 was deployed. To see the error, delete this comment
|
||||
* and run Flow. */
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
|
||||
@@ -100,9 +100,6 @@ class TextEventsExample extends React.Component<{}, $FlowFixMeState> {
|
||||
}
|
||||
|
||||
class TextInputAccessoryViewExample extends React.Component<{}, *> {
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_ios_fb) This comment suppresses an
|
||||
* error found when Flow v0.85 was deployed. To see the error, delete this
|
||||
* comment and run Flow. */
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {text: 'Placeholder Text'};
|
||||
@@ -132,9 +129,6 @@ class TextInputAccessoryViewExample extends React.Component<{}, *> {
|
||||
}
|
||||
|
||||
class RewriteExample extends React.Component<$FlowFixMeProps, any> {
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_ios_fb) This comment suppresses an
|
||||
* error found when Flow v0.85 was deployed. To see the error, delete this
|
||||
* comment and run Flow. */
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {text: ''};
|
||||
@@ -167,9 +161,6 @@ class RewriteExampleInvalidCharacters extends React.Component<
|
||||
$FlowFixMeProps,
|
||||
any,
|
||||
> {
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_ios_fb) This comment suppresses an
|
||||
* error found when Flow v0.85 was deployed. To see the error, delete this
|
||||
* comment and run Flow. */
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {text: ''};
|
||||
@@ -191,9 +182,6 @@ class RewriteExampleInvalidCharacters extends React.Component<
|
||||
}
|
||||
|
||||
class RewriteExampleKana extends React.Component<$FlowFixMeProps, any> {
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_ios_fb) This comment suppresses an
|
||||
* error found when Flow v0.85 was deployed. To see the error, delete this
|
||||
* comment and run Flow. */
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {text: ''};
|
||||
@@ -215,9 +203,6 @@ class RewriteExampleKana extends React.Component<$FlowFixMeProps, any> {
|
||||
}
|
||||
|
||||
class SecureEntryExample extends React.Component<$FlowFixMeProps, any> {
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_ios_fb) This comment suppresses an
|
||||
* error found when Flow v0.85 was deployed. To see the error, delete this
|
||||
* comment and run Flow. */
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
@@ -263,9 +248,6 @@ class SecureEntryExample extends React.Component<$FlowFixMeProps, any> {
|
||||
}
|
||||
|
||||
class TokenizedTextExample extends React.Component<$FlowFixMeProps, any> {
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_ios_fb) This comment suppresses an
|
||||
* error found when Flow v0.85 was deployed. To see the error, delete this
|
||||
* comment and run Flow. */
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {text: 'Hello #World'};
|
||||
|
||||
@@ -92,9 +92,6 @@ type State = {|
|
||||
|};
|
||||
|
||||
class ScrollViewTestApp extends React.Component<Props, State> {
|
||||
/* $FlowFixMe(>=0.87.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.87 was deployed. To see the error, delete this comment
|
||||
* and run Flow. */
|
||||
scrollView: {|current: any | null|} = React.createRef();
|
||||
state: State = getInitialState();
|
||||
|
||||
@@ -129,9 +126,6 @@ class ScrollViewTestApp extends React.Component<Props, State> {
|
||||
}
|
||||
|
||||
class HorizontalScrollViewTestApp extends React.Component<Props, State> {
|
||||
/* $FlowFixMe(>=0.87.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.87 was deployed. To see the error, delete this comment
|
||||
* and run Flow. */
|
||||
scrollView: {|current: any | null|} = React.createRef();
|
||||
state: State = getInitialState();
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
import fs from 'fs';
|
||||
|
||||
// $FlowFixMe: flow doesn't know about yargs
|
||||
import yargs from 'yargs';
|
||||
|
||||
import {Command} from './Command';
|
||||
|
||||
+1
-1
@@ -138,7 +138,7 @@
|
||||
"eslint-plugin-react-hooks": "^2.0.1",
|
||||
"eslint-plugin-react-native": "3.6.0",
|
||||
"eslint-plugin-relay": "1.3.0",
|
||||
"flow-bin": "^0.105.0",
|
||||
"flow-bin": "^0.106.0",
|
||||
"flow-remove-types": "1.2.3",
|
||||
"jest": "^24.8.0",
|
||||
"jest-junit": "^6.3.0",
|
||||
|
||||
@@ -72,4 +72,4 @@ untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
^0.105.0
|
||||
^0.106.0
|
||||
|
||||
@@ -3159,10 +3159,10 @@ flat-cache@^1.2.1:
|
||||
rimraf "~2.6.2"
|
||||
write "^0.2.1"
|
||||
|
||||
flow-bin@^0.105.0:
|
||||
version "0.105.1"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.105.1.tgz#5ce4515b583e5fa6ea1b82bc849c354271f5b88d"
|
||||
integrity sha512-wRI5ogu/+85fgftljAOtnDBx9+2JHToyq2XifzoMmXc5mmB9OE7osukzwi2PuOoEKtq9fu+APRD+MqbEJ8bUwQ==
|
||||
flow-bin@^0.106.0:
|
||||
version "0.106.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.106.0.tgz#55aab8c154df2bd78abfe6acfe120cf5638a0352"
|
||||
integrity sha512-sV8lNBLTTfieUBNvQZFc1K1wXjC8I+O7ltv6G/nd3hdGyq2Jymyy01zAPhJ7MRw8yZ0X2dBSHFZx5DPreBqhAg==
|
||||
|
||||
flow-parser@0.*:
|
||||
version "0.89.0"
|
||||
|
||||
Reference in New Issue
Block a user