From d1c434b54c73b6ed17b1642acd6646fbca92c92e Mon Sep 17 00:00:00 2001 From: Ashoat Tevosyan Date: Tue, 31 Oct 2017 10:41:17 -0400 Subject: [PATCH] Update to react-native@0.49 and flow-bin@0.53 (#2845) * Update root package to react-native@0.49 and flow-bin@0.53 * Update NavigationPlayground package to react-native@0.49 and flow-bin@0.53 * Update ReduxExample package to react-native@0.49 and flow-bin@0.53 * flow-typed update (code-gen) * Find-and-replace old types with new types - `React.Element<*>` as the result of a render function is now `React.Node` - `ReactClass` as the type of a Component is now `React.ComponentType` - `extends React.Component` is now `extends React.Component` - `React.Children<*>` as the type of a children prop is now `React.ChildrenArray<*>` - Refs are now typed with `React.Ref` There are also several tiny typo fixes in here. * Avoid assuming state is NavigationRoute in addNavigationHelpers For the root, top-level Navigator, the state is a simple `NavigationState` (with no route info) and we still use `addNavigationHelpers` for it. We can't assume `navigation.state.key` is accessible for this type, so we need to do runtime checks here. * Fix type of NavigationScreenConfig `navigationOptions` was incorrectly typed * Give createNavigationContainer's State a type parameter We want to be able to specifically type this guy so we can use specific NavigationState for things like the Drawer views without having to do runtime assertions about the state type * Fix typing of NavigationAction First of all, `NavigationAction` was being used as two different types, so I had to create the new `PossiblyDeprecatedNavigationAction` and add it as a type parameter everywhere. Second of all, generics and implied types were being used far more than they need to be, and they're hard to work with because Flow doesn't really explain things well when they go wrong. * Make sure children scenes of CardStack have NavigationProp typed with NavigationRoute CardStack's `NavigationScreenProp` is typed with `NavigationState`, but the children need `NavigationRoute`. Flow gets confused by the spread operator, even if the individual property is replaced later, so we need to explicitly list each property individually (just `dispatch`, actually). * Allow prevTransitionProps parameter to be nullable * Allow prevTransitionProps parameter to be nullable * Narrow down a couple type parameters * Move NavigationStateRoute cast to within Component.router check in createConfigGetter * Update withCachedChildNavigation so it's typed correctly with React.ComponentType * Add a $FlowFixMe for displayName `React.StatelessFunctionalComponent` is missing `displayName` before Flow 0.54.0 See https://github.com/facebook/flow/commit/de37062ea21cb4055d3f1b01bdbaa76461140fc8 * Make TouchableItem's onPress prop optional `HeaderBackButton` can pass in an undefined onPress, and the React Native `Touchable*` components allow it too * Simplify withCachedChildNavigation and get rid of generics The generics don't help us here and they make the types more confusing * Redefine NavigationComponent as direct intersection The new type is technically identical to the old type, but Flow is confused by the old type... * Save router to local var before checking createConfigGetter Flow seems to think Component.router can change after the check * Fix DrawerSidebar's navigation prop's type In order for us to be able to generate a childNavigationProp, the original navigation prop has to have a NavigationState state. * Colocate action.key check with action.type check in getStateForAction For some reason, Flow thinks `action` can change sometime after `action.type` is checked. As a result, it's not properly concluding that `action.key` should exist. To avoid this, we pull `action.key` out immediately after doing the `action.type` check. * Use bounded polymorphism to pass down all props in withCachedChildNavigation Also makes sure the injected props are specified first in the union Also removes an unused `eslint-disable-line` in `getScreenForRouteName` * Make TabRouter's getComponentForState return NavigationComponent `NavigationScreenComponent` is a subtype of `NavigationComponent`, but it's not clear that `getComponentForState` always returns a `NavigationScreenComponent`, as `getScreenForRouteName` returns `NavigationComponent` * Define NavigationComponent's props using NavigationNavigatorProps Right now the types ask Flow to infer the types of `NavigationComponent`'s props. (`NavigationComponent` is the union of `NavigationNavigator` and NavigationScreenComponent.) Instead, we type the props as subtypes of `NavigationNavigatorProps`, so we can properly access those props without type errors. We used bounded polymorphism in `createNavigationContainer` and `createNavigator` to pass down these props. We also explicitly type the action in `createNavigationContainer` so we can properly pass in a `NavigationInitAction` to the dispatch function. * Parameterize NavigationTabRouterConfig `NavigationTabRouterConfig` doesn't always take `NavigationTabScreenOptions`; sometimes, it takes `NavigationDrawerScreenOptions`. * Make all NavigationOptions Exact types We're seeing weird behavior when these are merged together. By making them Exact types, we make types don't get mangled when they're unioned. https://flow.org/en/docs/types/unions/#toc-disjoint-unions-with-exact-types * Silence errors in tests These errors are unavoidable since we can't type the precise shape of a particular `NavigationState`. * Include NavigationSetParamsAction in NavigationTabAction `TabNavigator`'s `getStateForAction` definitely takes `NavigationSetParamsAction`. * Explicitly list router as void in NavigationScreenComponent This is so Flow knows that if a `NavigationComponent` has a `router` property, then it is definitely a `NavigationNavigator`. * Fix website app navigator's type * Fix createDocPage type in App In an earlier commit I attempted to fix the types here, but I incorrectly read it as returning a navigator when it just returns a screen. For some reason the error didn't immediately show up. * Fix NavigationComponent types Five changes: 1. No longer parameterizing the props of `NavigationComponent`; directly specifying as `NavigationNavigatorProps` 2. Specify the two distinct kinds of route types (leaf and state) directly in `NavigationComponent` 3. Have `SceneView` directly take `NavigationComponent` and allow inferring of `NavigationSceneProp` type 4. Have `CardStack` directly take `NavigationComponent` as well * Allow Flow to infer `NavigationAction` type in `createNavigator` * Silence Flow in router code that handles navigator sub-routes There's no way for us to tell Flow that routes that correspond to navigators should be `NavigationStateRoute`s * Allow DrawerSidebar to take a null contentComponent The way `DrawerNavigator` is set up, it's possible to pass in a null `contentComponent` in the config. If somebody want to do this, we'll just make the `DrawerSidebar` not appear altogether. This is simpler than splitting the types so there's a possibly-unspecified one for the user input, but a definitely-specified one in `DrawerSidebar`. * Specify missing screenProps prop in DrawerView * Thread full NavigationStateRoute in to DrawerSidebar This requiring making `withCachedChildNavigation` use bounded polymorphism to thread the `NavigationStateRoute` through instead of downgrading it to a `NavigationState` * Make NavigationStateProp's state prop covariant This means that `NavigationStateProp` will be a subtype of `NavigationStateProp` and `NavigationStateProp` * Silence Flow's complaints about a route not being a NavigationStateRoute As mentioned in previous commits and in the comment, there is no way to type a specific navigation state shape, so we have to cast it and silence Flow's complaints. * Get rid of style prop in CardStack It looks like at some point, it was possible to specify a `style` prop that got passed all the way down to `Header`, the `TransitionConfig`'s `screenInterpolator`, and `Transitioner`. Doesn't look like we're using it anywhere, and there's a todo saying to remove it, and it's causing a type error. * Infer type of options instead of using a subtype of {} I think this has to do with {} allowing for unsealed objects. I'm not 100% sure, but this fixes 4/6 of the remaining errors! * Fix two type errors in NavigationPlayground One was just requiring an outdated type (`React.Children` instead of `React.ChildrenArray`), and the other was getting confused regarding types because of a spread operator. * Use a covariant property to simplify withCachedChildNavigation's InputProps This doesn't reduce any errors, but it's a bit simpler and cleaner. * Silence last two Flow errors regarding withCachedChildNavigation injecting childNavigationProps These are the only two errors I haven't been able to figure out at all. If I had more time I'd try and figure out the simplest case and report it to the Flow team, but I've been working on this for a week already and have to move on. The issue at hand is that `withCachedChildNavigation` injects `childNavigationProps`, but Flow doesn't see this and thinks it needs to be specified by the view component. We're using the HOC pattern suggested by the Flow docs, and I've tried several other patterns to no avail. * Use stock react-native instead of Expo's in NavigationPlayground Expo's causes Flow errors, and apparently this is normal practice because the person who switched us to Expo did this too. * Silence react-native-gesture-handler Flow errors in NavigationPlayground Expo requires this package, but it causes Flow errors. * Fix index check in DrawerSidebar Silly me, falling for the typical "0 is falsey" problem... * Rework deprecated action tests In an earlier commit I moved the `NavigationActions.mapDeprecatedActionAndWarn` out from `getStateForAction` and into `createNavigationContainer`'s `dispatch` function. The tests need to be reworked to support this, as they were previously calling `getStateForAction` directly. I don't imagine any users are calling `getStateForAction` directly. * Re-record two snapshots The changes in these snapshots are by design and don't affect anything. * Infer type of options in NavigationScreenConfig The issue is that sometimes we include options for different navigators in a single blob. * Infer types of action and options in createNavigationContainer Particulary helps with Options. Makes the types more specific and gets rid of an error that only shows up when using the library * Don't use generics for NavigationState in createNavigationContainer There's no particular reason for having those generics there, since there's no way we'd be able to get Flow to understand the exact shape of particular navigation states anyways. This fixes a bug when integrating this version of the project into my repo. * Move ReduxExample to react-native@0.49.3 instead of custom Expo version --- .eslintrc | 3 - .flowconfig | 27 +- docs/api/navigators/DrawerNavigator.md | 4 +- docs/api/navigators/TabNavigator.md | 4 +- docs/api/views/Transitioner.md | 2 +- examples/NavigationPlayground/.flowconfig | 18 +- examples/NavigationPlayground/app.json | 2 +- .../flow-typed/npm/babel-jest_vx.x.x.js | 4 +- .../flow-typed/npm/expo_vx.x.x.js | 152 +- .../flow-typed/npm/jest-expo_vx.x.x.js | 11 +- .../flow-typed/npm/jest_vx.x.x.js | 4 +- .../npm/react-addons-test-utils_vx.x.x.js | 4 +- .../npm/react-native-scripts_vx.x.x.js | 4 +- .../flow-typed/npm/react-native_vx.x.x.js | 1791 ++++++++++++++++- .../npm/react-test-renderer_vx.x.x.js | 4 +- .../NavigationPlayground/js/CustomTabs.js | 2 +- .../NavigationPlayground/js/SampleText.js | 4 +- examples/NavigationPlayground/package.json | 10 +- examples/NavigationPlayground/yarn.lock | 315 +-- examples/ReduxExample/.flowconfig | 63 - examples/ReduxExample/app.json | 2 +- examples/ReduxExample/package.json | 8 +- examples/ReduxExample/yarn.lock | 313 +-- flow-typed/npm/babel-cli_vx.x.x.js | 4 +- flow-typed/npm/babel-core_vx.x.x.js | 4 +- flow-typed/npm/babel-eslint_vx.x.x.js | 4 +- flow-typed/npm/babel-jest_vx.x.x.js | 4 +- .../babel-plugin-transform-define_vx.x.x.js | 4 +- flow-typed/npm/babel-preset-es2015_vx.x.x.js | 4 +- ...abel-preset-react-native-stage-0_vx.x.x.js | 4 +- ...babel-preset-react-native-syntax_vx.x.x.js | 4 +- .../npm/babel-preset-react-native_vx.x.x.js | 4 +- flow-typed/npm/babel-preset-react_vx.x.x.js | 4 +- flow-typed/npm/babel-preset-stage-1_vx.x.x.js | 4 +- flow-typed/npm/clamp_vx.x.x.js | 4 +- flow-typed/npm/codecov_vx.x.x.js | 4 +- .../npm/eslint-config-prettier_vx.x.x.js | 11 +- .../npm/eslint-plugin-flowtype_vx.x.x.js | 18 +- flow-typed/npm/eslint-plugin-import_vx.x.x.js | 11 +- .../npm/eslint-plugin-jsx-a11y_vx.x.x.js | 4 +- .../npm/eslint-plugin-prettier_vx.x.x.js | 4 +- flow-typed/npm/eslint-plugin-react_vx.x.x.js | 32 +- flow-typed/npm/eslint_vx.x.x.js | 52 +- .../npm/hoist-non-react-statics_vx.x.x.js | 4 +- flow-typed/npm/husky_vx.x.x.js | 4 +- flow-typed/npm/lint-staged_vx.x.x.js | 4 +- flow-typed/npm/path-to-regexp_vx.x.x.js | 4 +- flow-typed/npm/prettier-eslint_vx.x.x.js | 4 +- flow-typed/npm/prettier_vx.x.x.js | 11 +- ...ct-native-drawer-layout-polyfill_vx.x.x.js | 4 +- .../npm/react-native-tab-view_vx.x.x.js | 4 +- .../npm/react-native-vector-icons_vx.x.x.js | 193 +- flow-typed/npm/react-native_vx.x.x.js | 263 ++- flow-typed/npm/react-test-renderer_vx.x.x.js | 1756 +--------------- package.json | 8 +- src/NavigationActions.js | 156 +- src/TypeDefinition.js | 219 +- src/__tests__/NavigationActions-test.js | 68 +- src/addNavigationHelpers.js | 50 +- src/createNavigationContainer.js | 49 +- src/navigators/DrawerNavigator.js | 2 + src/navigators/TabNavigator.js | 2 + .../__snapshots__/StackNavigator-test.js.snap | 2 - src/navigators/createNavigator.js | 28 +- src/routers/StackRouter.js | 39 +- src/routers/TabRouter.js | 29 +- src/routers/__tests__/Routers-test.js | 8 +- src/routers/__tests__/StackRouter-test.js | 39 +- src/routers/__tests__/TabRouter-test.js | 14 +- .../__tests__/createConfigGetter-test.js | 9 +- src/routers/createConfigGetter.js | 18 +- src/routers/getScreenForRouteName.js | 2 +- src/views/CardStack/Card.js | 10 +- src/views/CardStack/CardStack.js | 37 +- src/views/CardStack/CardStackTransitioner.js | 24 +- src/views/CardStack/PointerEventsContainer.js | 10 +- src/views/CardStack/TransitionConfigs.js | 6 +- src/views/Drawer/DrawerNavigatorItems.js | 9 +- src/views/Drawer/DrawerScreen.js | 14 +- src/views/Drawer/DrawerSidebar.js | 27 +- src/views/Drawer/DrawerView.js | 41 +- src/views/Header/Header.js | 36 +- src/views/Header/HeaderBackButton.js | 10 +- src/views/Header/HeaderTitle.js | 4 +- src/views/SceneView.js | 15 +- src/views/TabView/TabBarBottom.js | 25 +- src/views/TabView/TabBarIcon.js | 11 +- src/views/TabView/TabBarTop.js | 28 +- src/views/TabView/TabView.js | 20 +- src/views/TouchableItem.js | 18 +- src/views/Transitioner.js | 15 +- .../__snapshots__/TabView-test.js.snap | 1 + src/views/withNavigation.js | 21 +- src/views/withOrientation.js | 10 +- src/withCachedChildNavigation.js | 36 +- website/src/App.js | 12 +- website/src/PhoneGraphic.js | 7 +- yarn.lock | 761 ++++--- 98 files changed, 3719 insertions(+), 3417 deletions(-) delete mode 100644 examples/ReduxExample/.flowconfig diff --git a/.eslintrc b/.eslintrc index 876970b..f3ef71e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -17,9 +17,6 @@ "env": { "jasmine": true }, - "globals": { - "ReactClass": true - }, "rules": { "prettier/prettier": ["error", { "trailingComma": "es5", diff --git a/.flowconfig b/.flowconfig index 9384abe..62b8ada 100644 --- a/.flowconfig +++ b/.flowconfig @@ -2,15 +2,20 @@ ; We fork some components by platform .*/*[.]android.js -; Ignore templates for 'react-native init' -.*/local-cli/templates/.* - ; Ignore "BUCK" generated dirs .*/node_modules/react-native/\.buckd/ ; Ignore unexpected extra "@providesModule" .*/node_modules/.*/node_modules/fbjs/.* +; Ignore duplicate module providers +; For RN Apps installed via npm, "Libraries" folder is inside +; "node_modules/react-native" but in the source repo it is in the root +.*/Libraries/react-native/React.js + +; Ignore polyfills +.*/Libraries/polyfills/.* + ; Ignore website node_modules react and react-native /website/node_modules/react/.* /website/node_modules/react-native/.* @@ -25,16 +30,17 @@ [libs] node_modules/react-native/Libraries/react-native/react-native-interface.js -node_modules/react-native/flow +node_modules/react-native/flow/ [options] module.system=haste -experimental.strict_type_args=true +emoji=true munge_underscores=true -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\)$' -> '/stubs/RelativeImageStub.js.flow' +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\)$' -> 'RelativeImageStub' + module.file_ext=.js module.file_ext=.jsx module.file_ext=.json @@ -42,11 +48,16 @@ module.file_ext=.native.js suppress_type=$FlowIssue suppress_type=$FlowFixMe +suppress_type=$FlowFixMeProps +suppress_type=$FlowFixMeState suppress_type=$FixMe -suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\) -suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+ +suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) +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]+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError unsafe.enable_getters_and_setters=true + +[version] +0.53.0 diff --git a/docs/api/navigators/DrawerNavigator.md b/docs/api/navigators/DrawerNavigator.md index eb2c6ad..10970b8 100644 --- a/docs/api/navigators/DrawerNavigator.md +++ b/docs/api/navigators/DrawerNavigator.md @@ -172,11 +172,11 @@ Generic title that can be used as a fallback for `headerTitle` and `drawerLabel` #### `drawerLabel` -String, React Element or a function that given `{ focused: boolean, tintColor: string }` returns a React.Element, to display in drawer sidebar. When undefined, scene `title` is used +String, React Element or a function that given `{ focused: boolean, tintColor: string }` returns a React.Node, to display in drawer sidebar. When undefined, scene `title` is used #### `drawerIcon` -React Element or a function, that given `{ focused: boolean, tintColor: string }` returns a React.Element, to display in drawer sidebar +React Element or a function, that given `{ focused: boolean, tintColor: string }` returns a React.Node, to display in drawer sidebar #### `drawerLockMode` diff --git a/docs/api/navigators/TabNavigator.md b/docs/api/navigators/TabNavigator.md index 2fdb4f9..b279b0b 100644 --- a/docs/api/navigators/TabNavigator.md +++ b/docs/api/navigators/TabNavigator.md @@ -169,11 +169,11 @@ True or false to show or hide the tab bar, if not set then defaults to true. #### `tabBarIcon` -React Element or a function that given `{ focused: boolean, tintColor: string }` returns a React.Element, to display in tab bar. +React Element or a function that given `{ focused: boolean, tintColor: string }` returns a React.Node, to display in tab bar. #### `tabBarLabel` -Title string of a tab displayed in the tab bar or React Element or a function that given `{ focused: boolean, tintColor: string }` returns a React.Element, to display in tab bar. When undefined, scene `title` is used. To hide, see `tabBarOptions.showLabel` in the previous section. +Title string of a tab displayed in the tab bar or React Element or a function that given `{ focused: boolean, tintColor: string }` returns a React.Node, to display in tab bar. When undefined, scene `title` is used. To hide, see `tabBarOptions.showLabel` in the previous section. #### `tabBarOnPress` diff --git a/docs/api/views/Transitioner.md b/docs/api/views/Transitioner.md index fe1b7f6..e3f7cfc 100644 --- a/docs/api/views/Transitioner.md +++ b/docs/api/views/Transitioner.md @@ -153,7 +153,7 @@ For a comprehensive tutorial on how to create custom transitions, see this [blog #### Flow definition ```js -render: (transitionProps: NavigationTransitionProps, prevTransitionProps: ?NavigationTransitionProps) => React.Element<*>, +render: (transitionProps: NavigationTransitionProps, prevTransitionProps: ?NavigationTransitionProps) => React.Node, ``` #### Parameters diff --git a/examples/NavigationPlayground/.flowconfig b/examples/NavigationPlayground/.flowconfig index ecbbee2..e12ae4c 100644 --- a/examples/NavigationPlayground/.flowconfig +++ b/examples/NavigationPlayground/.flowconfig @@ -12,7 +12,9 @@ ; For RN Apps installed via npm, "Libraries" folder is inside ; "node_modules/react-native" but in the source repo it is in the root .*/Libraries/react-native/React.js -.*/Libraries/react-native/ReactNative.js + +; Ignore polyfills +.*/Libraries/polyfills/.* .*/react-navigation/node_modules/.* @@ -38,11 +40,14 @@ .*/react-navigation/examples/ReduxExample/.* .*/react-navigation/website/.* +; This package is required by Expo and causes Flow errors +.*/node_modules/react-native-gesture-handler/.* + [include] [libs] node_modules/react-native/Libraries/react-native/react-native-interface.js -node_modules/react-native/flow +node_modules/react-native/flow/ [options] module.system=haste @@ -61,11 +66,16 @@ module.file_ext=.native.js suppress_type=$FlowIssue suppress_type=$FlowFixMe +suppress_type=$FlowFixMeProps +suppress_type=$FlowFixMeState suppress_type=$FixMe -suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-5]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\) -suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-5]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+ +suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) +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]+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError unsafe.enable_getters_and_setters=true + +[version] +0.53.0 diff --git a/examples/NavigationPlayground/app.json b/examples/NavigationPlayground/app.json index 9a754a8..c92c57b 100644 --- a/examples/NavigationPlayground/app.json +++ b/examples/NavigationPlayground/app.json @@ -12,7 +12,7 @@ "icon": "./assets/icons/react-navigation.png", "hideExponentText": false }, - "sdkVersion": "21.0.0", + "sdkVersion": "22.0.0", "entryPoint": "./node_modules/react-native-scripts/build/bin/crna-entry.js", "packagerOpts": { "assetExts": [ diff --git a/examples/NavigationPlayground/flow-typed/npm/babel-jest_vx.x.x.js b/examples/NavigationPlayground/flow-typed/npm/babel-jest_vx.x.x.js index e31a7cd..5b13cfd 100644 --- a/examples/NavigationPlayground/flow-typed/npm/babel-jest_vx.x.x.js +++ b/examples/NavigationPlayground/flow-typed/npm/babel-jest_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: e14baf3e1691e7c886f1f41fac30e58e -// flow-typed version: <>/babel-jest_v^21.0.0/flow_v0.51.0 +// flow-typed signature: 5964a245d3129ecd50da1f74a2f86454 +// flow-typed version: <>/babel-jest_v^21.0.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/examples/NavigationPlayground/flow-typed/npm/expo_vx.x.x.js b/examples/NavigationPlayground/flow-typed/npm/expo_vx.x.x.js index 58f6662..1026154 100644 --- a/examples/NavigationPlayground/flow-typed/npm/expo_vx.x.x.js +++ b/examples/NavigationPlayground/flow-typed/npm/expo_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 98c0d9a4701eab283a2fe842f1cede94 -// flow-typed version: <>/expo_v^20.1.2/flow_v0.51.0 +// flow-typed signature: 4fb1f6897647ab1ad25d819aa06d2d6c +// flow-typed version: <>/expo_v^22.0.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -30,6 +30,26 @@ declare module 'expo/src/__tests__/Amplitude-test' { declare module.exports: any; } +declare module 'expo/src/__tests__/AuthSession-test' { + declare module.exports: any; +} + +declare module 'expo/src/__tests__/Constants-test' { + declare module.exports: any; +} + +declare module 'expo/src/__tests__/ErrorRecovery-test' { + declare module.exports: any; +} + +declare module 'expo/src/__tests__/Expo-test' { + declare module.exports: any; +} + +declare module 'expo/src/__tests__/Facebook-test' { + declare module.exports: any; +} + declare module 'expo/src/__tests__/Location-test' { declare module.exports: any; } @@ -38,6 +58,10 @@ declare module 'expo/src/__tests__/Notifications-test' { declare module.exports: any; } +declare module 'expo/src/__tests__/SecureStore-test' { + declare module.exports: any; +} + declare module 'expo/src/__tests__/Segment-test' { declare module.exports: any; } @@ -54,11 +78,15 @@ declare module 'expo/src/apisAreAvailable' { declare module.exports: any; } -declare module 'expo/src/AppLoading.android' { +declare module 'expo/src/AppLoading' { declare module.exports: any; } -declare module 'expo/src/AppLoading.ios' { +declare module 'expo/src/AppLoadingNativeWrapper.android' { + declare module.exports: any; +} + +declare module 'expo/src/AppLoadingNativeWrapper.ios' { declare module.exports: any; } @@ -70,6 +98,10 @@ declare module 'expo/src/Audio' { declare module.exports: any; } +declare module 'expo/src/AuthSession' { + declare module.exports: any; +} + declare module 'expo/src/AV' { declare module.exports: any; } @@ -86,6 +118,10 @@ declare module 'expo/src/BlurView.ios' { declare module.exports: any; } +declare module 'expo/src/Brightness' { + declare module.exports: any; +} + declare module 'expo/src/Camera' { declare module.exports: any; } @@ -106,6 +142,10 @@ declare module 'expo/src/DocumentPicker' { declare module.exports: any; } +declare module 'expo/src/ErrorRecovery' { + declare module.exports: any; +} + declare module 'expo/src/Expo' { declare module.exports: any; } @@ -238,6 +278,26 @@ declare module 'expo/src/registerRootComponent' { declare module.exports: any; } +declare module 'expo/src/RNAdMobBanner' { + declare module.exports: any; +} + +declare module 'expo/src/RNAdMobInterstitial' { + declare module.exports: any; +} + +declare module 'expo/src/RNAdMobRewarded' { + declare module.exports: any; +} + +declare module 'expo/src/RNPublisherBanner' { + declare module.exports: any; +} + +declare module 'expo/src/RootErrorBoundary' { + declare module.exports: any; +} + declare module 'expo/src/ScreenOrientation' { declare module.exports: any; } @@ -254,6 +314,14 @@ declare module 'expo/src/sensor/__tests__/Accelerometer-test' { declare module.exports: any; } +declare module 'expo/src/sensor/__tests__/DeviceMotion-test' { + declare module.exports: any; +} + +declare module 'expo/src/sensor/__tests__/DeviceSensor-test' { + declare module.exports: any; +} + declare module 'expo/src/sensor/__tests__/Gyroscope-test' { declare module.exports: any; } @@ -262,11 +330,15 @@ declare module 'expo/src/sensor/__tests__/Magnetometer-test' { declare module.exports: any; } -declare module 'expo/src/sensor/__tests__/ThreeAxisSensor-test' { +declare module 'expo/src/sensor/Accelerometer' { declare module.exports: any; } -declare module 'expo/src/sensor/Accelerometer' { +declare module 'expo/src/sensor/DeviceMotion' { + declare module.exports: any; +} + +declare module 'expo/src/sensor/DeviceSensor' { declare module.exports: any; } @@ -329,12 +401,30 @@ declare module 'expo/AppEntry.js' { declare module 'expo/src/__tests__/Amplitude-test.js' { declare module.exports: $Exports<'expo/src/__tests__/Amplitude-test'>; } +declare module 'expo/src/__tests__/AuthSession-test.js' { + declare module.exports: $Exports<'expo/src/__tests__/AuthSession-test'>; +} +declare module 'expo/src/__tests__/Constants-test.js' { + declare module.exports: $Exports<'expo/src/__tests__/Constants-test'>; +} +declare module 'expo/src/__tests__/ErrorRecovery-test.js' { + declare module.exports: $Exports<'expo/src/__tests__/ErrorRecovery-test'>; +} +declare module 'expo/src/__tests__/Expo-test.js' { + declare module.exports: $Exports<'expo/src/__tests__/Expo-test'>; +} +declare module 'expo/src/__tests__/Facebook-test.js' { + declare module.exports: $Exports<'expo/src/__tests__/Facebook-test'>; +} declare module 'expo/src/__tests__/Location-test.js' { declare module.exports: $Exports<'expo/src/__tests__/Location-test'>; } declare module 'expo/src/__tests__/Notifications-test.js' { declare module.exports: $Exports<'expo/src/__tests__/Notifications-test'>; } +declare module 'expo/src/__tests__/SecureStore-test.js' { + declare module.exports: $Exports<'expo/src/__tests__/SecureStore-test'>; +} declare module 'expo/src/__tests__/Segment-test.js' { declare module.exports: $Exports<'expo/src/__tests__/Segment-test'>; } @@ -347,11 +437,14 @@ declare module 'expo/src/Amplitude.js' { declare module 'expo/src/apisAreAvailable.js' { declare module.exports: $Exports<'expo/src/apisAreAvailable'>; } -declare module 'expo/src/AppLoading.android.js' { - declare module.exports: $Exports<'expo/src/AppLoading.android'>; +declare module 'expo/src/AppLoading.js' { + declare module.exports: $Exports<'expo/src/AppLoading'>; } -declare module 'expo/src/AppLoading.ios.js' { - declare module.exports: $Exports<'expo/src/AppLoading.ios'>; +declare module 'expo/src/AppLoadingNativeWrapper.android.js' { + declare module.exports: $Exports<'expo/src/AppLoadingNativeWrapper.android'>; +} +declare module 'expo/src/AppLoadingNativeWrapper.ios.js' { + declare module.exports: $Exports<'expo/src/AppLoadingNativeWrapper.ios'>; } declare module 'expo/src/Asset.js' { declare module.exports: $Exports<'expo/src/Asset'>; @@ -359,6 +452,9 @@ declare module 'expo/src/Asset.js' { declare module 'expo/src/Audio.js' { declare module.exports: $Exports<'expo/src/Audio'>; } +declare module 'expo/src/AuthSession.js' { + declare module.exports: $Exports<'expo/src/AuthSession'>; +} declare module 'expo/src/AV.js' { declare module.exports: $Exports<'expo/src/AV'>; } @@ -371,6 +467,9 @@ declare module 'expo/src/BlurView.android.js' { declare module 'expo/src/BlurView.ios.js' { declare module.exports: $Exports<'expo/src/BlurView.ios'>; } +declare module 'expo/src/Brightness.js' { + declare module.exports: $Exports<'expo/src/Brightness'>; +} declare module 'expo/src/Camera.js' { declare module.exports: $Exports<'expo/src/Camera'>; } @@ -386,6 +485,9 @@ declare module 'expo/src/DangerZone.js' { declare module 'expo/src/DocumentPicker.js' { declare module.exports: $Exports<'expo/src/DocumentPicker'>; } +declare module 'expo/src/ErrorRecovery.js' { + declare module.exports: $Exports<'expo/src/ErrorRecovery'>; +} declare module 'expo/src/Expo.js' { declare module.exports: $Exports<'expo/src/Expo'>; } @@ -485,6 +587,21 @@ declare module 'expo/src/Permissions.js' { declare module 'expo/src/registerRootComponent.js' { declare module.exports: $Exports<'expo/src/registerRootComponent'>; } +declare module 'expo/src/RNAdMobBanner.js' { + declare module.exports: $Exports<'expo/src/RNAdMobBanner'>; +} +declare module 'expo/src/RNAdMobInterstitial.js' { + declare module.exports: $Exports<'expo/src/RNAdMobInterstitial'>; +} +declare module 'expo/src/RNAdMobRewarded.js' { + declare module.exports: $Exports<'expo/src/RNAdMobRewarded'>; +} +declare module 'expo/src/RNPublisherBanner.js' { + declare module.exports: $Exports<'expo/src/RNPublisherBanner'>; +} +declare module 'expo/src/RootErrorBoundary.js' { + declare module.exports: $Exports<'expo/src/RootErrorBoundary'>; +} declare module 'expo/src/ScreenOrientation.js' { declare module.exports: $Exports<'expo/src/ScreenOrientation'>; } @@ -497,18 +614,27 @@ declare module 'expo/src/Segment.js' { declare module 'expo/src/sensor/__tests__/Accelerometer-test.js' { declare module.exports: $Exports<'expo/src/sensor/__tests__/Accelerometer-test'>; } +declare module 'expo/src/sensor/__tests__/DeviceMotion-test.js' { + declare module.exports: $Exports<'expo/src/sensor/__tests__/DeviceMotion-test'>; +} +declare module 'expo/src/sensor/__tests__/DeviceSensor-test.js' { + declare module.exports: $Exports<'expo/src/sensor/__tests__/DeviceSensor-test'>; +} declare module 'expo/src/sensor/__tests__/Gyroscope-test.js' { declare module.exports: $Exports<'expo/src/sensor/__tests__/Gyroscope-test'>; } declare module 'expo/src/sensor/__tests__/Magnetometer-test.js' { declare module.exports: $Exports<'expo/src/sensor/__tests__/Magnetometer-test'>; } -declare module 'expo/src/sensor/__tests__/ThreeAxisSensor-test.js' { - declare module.exports: $Exports<'expo/src/sensor/__tests__/ThreeAxisSensor-test'>; -} declare module 'expo/src/sensor/Accelerometer.js' { declare module.exports: $Exports<'expo/src/sensor/Accelerometer'>; } +declare module 'expo/src/sensor/DeviceMotion.js' { + declare module.exports: $Exports<'expo/src/sensor/DeviceMotion'>; +} +declare module 'expo/src/sensor/DeviceSensor.js' { + declare module.exports: $Exports<'expo/src/sensor/DeviceSensor'>; +} declare module 'expo/src/sensor/Gyroscope.js' { declare module.exports: $Exports<'expo/src/sensor/Gyroscope'>; } diff --git a/examples/NavigationPlayground/flow-typed/npm/jest-expo_vx.x.x.js b/examples/NavigationPlayground/flow-typed/npm/jest-expo_vx.x.x.js index 00195e8..e5ce520 100644 --- a/examples/NavigationPlayground/flow-typed/npm/jest-expo_vx.x.x.js +++ b/examples/NavigationPlayground/flow-typed/npm/jest-expo_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1ad43f34af61a5f84f991aeeb41b14a8 -// flow-typed version: <>/jest-expo_v^20.0.0/flow_v0.51.0 +// flow-typed signature: 72ab5b9c7dcb88b82de627702a0db27a +// flow-typed version: <>/jest-expo_v^22.0.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -22,6 +22,10 @@ declare module 'jest-expo' { * require those files directly. Feel free to delete any files that aren't * needed. */ +declare module 'jest-expo/src/createMockConstants' { + declare module.exports: any; +} + declare module 'jest-expo/src/expoModules' { declare module.exports: any; } @@ -31,6 +35,9 @@ declare module 'jest-expo/src/setup' { } // Filename aliases +declare module 'jest-expo/src/createMockConstants.js' { + declare module.exports: $Exports<'jest-expo/src/createMockConstants'>; +} declare module 'jest-expo/src/expoModules.js' { declare module.exports: $Exports<'jest-expo/src/expoModules'>; } diff --git a/examples/NavigationPlayground/flow-typed/npm/jest_vx.x.x.js b/examples/NavigationPlayground/flow-typed/npm/jest_vx.x.x.js index 62744a3..7b60e4b 100644 --- a/examples/NavigationPlayground/flow-typed/npm/jest_vx.x.x.js +++ b/examples/NavigationPlayground/flow-typed/npm/jest_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: a2ca8bd1c604da82be334553e16a579e -// flow-typed version: <>/jest_v^21.0.1/flow_v0.51.0 +// flow-typed signature: 3ba80f288ae054d394dca2d025d14dd9 +// flow-typed version: <>/jest_v^21.0.1/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/examples/NavigationPlayground/flow-typed/npm/react-addons-test-utils_vx.x.x.js b/examples/NavigationPlayground/flow-typed/npm/react-addons-test-utils_vx.x.x.js index 59f931a..2909b7d 100644 --- a/examples/NavigationPlayground/flow-typed/npm/react-addons-test-utils_vx.x.x.js +++ b/examples/NavigationPlayground/flow-typed/npm/react-addons-test-utils_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 48eadf295dbbf5eb2f1696eb8b426800 -// flow-typed version: <>/react-addons-test-utils_v16.0.0-alpha.3/flow_v0.51.0 +// flow-typed signature: fe3ce80849031f84c8c106122bef896a +// flow-typed version: <>/react-addons-test-utils_v16.0.0-alpha.3/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/examples/NavigationPlayground/flow-typed/npm/react-native-scripts_vx.x.x.js b/examples/NavigationPlayground/flow-typed/npm/react-native-scripts_vx.x.x.js index 4c16989..11ad931 100644 --- a/examples/NavigationPlayground/flow-typed/npm/react-native-scripts_vx.x.x.js +++ b/examples/NavigationPlayground/flow-typed/npm/react-native-scripts_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ff6ce4595bf218af569f33145a252678 -// flow-typed version: <>/react-native-scripts_v^1.3.1/flow_v0.51.0 +// flow-typed signature: bd52927dcfdd08c54751906ebaf7cfa1 +// flow-typed version: <>/react-native-scripts_v^1.3.1/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/examples/NavigationPlayground/flow-typed/npm/react-native_vx.x.x.js b/examples/NavigationPlayground/flow-typed/npm/react-native_vx.x.x.js index 19c05e6..90a52be 100644 --- a/examples/NavigationPlayground/flow-typed/npm/react-native_vx.x.x.js +++ b/examples/NavigationPlayground/flow-typed/npm/react-native_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ecf026551ab6ff61e93976c81b2ca910 -// flow-typed version: <>/react-native_v~0.48.3/flow_v0.51.0 +// flow-typed signature: 01e545ca5248b0e5de36f2dda0df7a3b +// flow-typed version: <>/react-native_vhttps://github.com/expo/react-native/archive/sdk-22.0.1.tar.gz/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -22,10 +22,58 @@ declare module 'react-native' { * require those files directly. Feel free to delete any files that aren't * needed. */ +declare module 'react-native/babel-preset/configs/hmr' { + declare module.exports: any; +} + +declare module 'react-native/babel-preset/configs/main' { + declare module.exports: any; +} + +declare module 'react-native/babel-preset/index' { + declare module.exports: any; +} + +declare module 'react-native/babel-preset/lib/resolvePlugins' { + declare module.exports: any; +} + +declare module 'react-native/babel-preset/plugins' { + declare module.exports: any; +} + +declare module 'react-native/babel-preset/transforms/transform-dynamic-import' { + declare module.exports: any; +} + +declare module 'react-native/babel-preset/transforms/transform-symbol-member' { + declare module.exports: any; +} + +declare module 'react-native/bots/code-analysis-bot' { + declare module.exports: any; +} + +declare module 'react-native/bots/pr-inactivity-bookmarklet' { + declare module.exports: any; +} + +declare module 'react-native/bots/question-bookmarklet' { + declare module.exports: any; +} + declare module 'react-native/cli' { declare module.exports: any; } +declare module 'react-native/ContainerShip/scripts/run-android-ci-instrumentation-tests' { + declare module.exports: any; +} + +declare module 'react-native/danger/dangerfile' { + declare module.exports: any; +} + declare module 'react-native/flow/console' { declare module.exports: any; } @@ -54,11 +102,87 @@ declare module 'react-native/flow/prop-types' { declare module.exports: any; } -declare module 'react-native/flow/react' { +declare module 'react-native/flow/Set' { declare module.exports: any; } -declare module 'react-native/flow/Set' { +declare module 'react-native/IntegrationTests/AccessibilityManagerTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/AppEventsTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/AsyncStorageTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/ImageCachePolicyTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/ImageSnapshotTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/IntegrationTestHarnessTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/IntegrationTestsApp' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/LayoutEventsTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/LoggingTestModule' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/PromiseTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/PropertiesUpdateTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/RCTRootViewIntegrationTestApp' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/ReactContentSizeUpdateTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/SimpleSnapshotTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/SizeFlexibilityUpdateTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/SyncMethodTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/TimersTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/websocket_integration_test_server' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/WebSocketTest' { + declare module.exports: any; +} + +declare module 'react-native/IntegrationTests/WebViewTest' { declare module.exports: any; } @@ -158,6 +282,10 @@ declare module 'react-native/Libraries/Animated/src/Animated' { declare module.exports: any; } +declare module 'react-native/Libraries/Animated/src/AnimatedEvent' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Animated/src/AnimatedImplementation' { declare module.exports: any; } @@ -166,19 +294,91 @@ declare module 'react-native/Libraries/Animated/src/AnimatedWeb' { declare module.exports: any; } +declare module 'react-native/Libraries/Animated/src/animations/Animation' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/animations/DecayAnimation' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/animations/SpringAnimation' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/animations/TimingAnimation' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Animated/src/bezier' { declare module.exports: any; } +declare module 'react-native/Libraries/Animated/src/createAnimatedComponent' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Animated/src/Easing' { declare module.exports: any; } -declare module 'react-native/Libraries/Animated/src/Interpolation' { +declare module 'react-native/Libraries/Animated/src/NativeAnimatedHelper' { declare module.exports: any; } -declare module 'react-native/Libraries/Animated/src/NativeAnimatedHelper' { +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedAddition' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedDiffClamp' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedDivision' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedInterpolation' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedModulo' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedMultiplication' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedNode' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedProps' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedStyle' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedTracking' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedTransform' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedValue' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedValueXY' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedWithChildren' { declare module.exports: any; } @@ -298,6 +498,10 @@ declare module 'react-native/Libraries/Components/Button' { declare module.exports: any; } +declare module 'react-native/Libraries/Components/CheckBox/CheckBox' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Components/Clipboard/Clipboard' { declare module.exports: any; } @@ -650,6 +854,10 @@ declare module 'react-native/Libraries/Core/InitializeCore' { declare module.exports: any; } +declare module 'react-native/Libraries/Core/ReactNativeVersion' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Core/Timers/JSTimers' { declare module.exports: any; } @@ -1126,6 +1334,10 @@ declare module 'react-native/Libraries/ReactNative/queryLayoutByID' { declare module.exports: any; } +declare module 'react-native/Libraries/ReactNative/ReactNativeFeatureFlags' { + declare module.exports: any; +} + declare module 'react-native/Libraries/ReactNative/renderApplication' { declare module.exports: any; } @@ -1194,10 +1406,6 @@ declare module 'react-native/Libraries/Renderer/shims/ReactNativeComponentTree' declare module.exports: any; } -declare module 'react-native/Libraries/Renderer/shims/ReactNativeFeatureFlags' { - declare module.exports: any; -} - declare module 'react-native/Libraries/Renderer/shims/ReactNativePropRegistry' { declare module.exports: any; } @@ -2406,6 +2614,10 @@ declare module 'react-native/local-cli/server/util/webSocketProxy' { declare module.exports: any; } +declare module 'react-native/local-cli/templates/HelloNavigation/App' { + declare module.exports: any; +} + declare module 'react-native/local-cli/templates/HelloNavigation/components/KeyboardSpacer' { declare module.exports: any; } @@ -2414,14 +2626,6 @@ declare module 'react-native/local-cli/templates/HelloNavigation/components/List declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloNavigation/index.android' { - declare module.exports: any; -} - -declare module 'react-native/local-cli/templates/HelloNavigation/index.ios' { - declare module.exports: any; -} - declare module 'react-native/local-cli/templates/HelloNavigation/lib/Backend' { declare module.exports: any; } @@ -2438,10 +2642,6 @@ declare module 'react-native/local-cli/templates/HelloNavigation/views/HomeScree declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloNavigation/views/MainNavigator' { - declare module.exports: any; -} - declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeScreen' { declare module.exports: any; } @@ -2454,19 +2654,15 @@ declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/W declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloWorld/__tests__/index.android' { +declare module 'react-native/local-cli/templates/HelloWorld/__tests__/App' { declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloWorld/__tests__/index.ios' { +declare module 'react-native/local-cli/templates/HelloWorld/App' { declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloWorld/index.android' { - declare module.exports: any; -} - -declare module 'react-native/local-cli/templates/HelloWorld/index.ios' { +declare module 'react-native/local-cli/templates/HelloWorld/index' { declare module.exports: any; } @@ -2474,10 +2670,18 @@ declare module 'react-native/local-cli/upgrade/upgrade' { declare module.exports: any; } +declare module 'react-native/local-cli/util/__mocks__/fs' { + declare module.exports: any; +} + declare module 'react-native/local-cli/util/__mocks__/log' { declare module.exports: any; } +declare module 'react-native/local-cli/util/__tests__/findSymlinkedModules-test' { + declare module.exports: any; +} + declare module 'react-native/local-cli/util/assertRequiredOptions' { declare module.exports: any; } @@ -2490,6 +2694,14 @@ declare module 'react-native/local-cli/util/copyAndReplace' { declare module.exports: any; } +declare module 'react-native/local-cli/util/findReactNativeScripts' { + declare module.exports: any; +} + +declare module 'react-native/local-cli/util/findSymlinkedModules' { + declare module.exports: any; +} + declare module 'react-native/local-cli/util/findSymlinksPaths' { declare module.exports: any; } @@ -2526,7 +2738,27 @@ declare module 'react-native/local-cli/wrong-react-native' { declare module.exports: any; } -declare module 'react-native/ReactAndroid/src/androidTest/assets/AndroidTestBundle' { +declare module 'react-native/react-native-cli/index' { + declare module.exports: any; +} + +declare module 'react-native/react-native-git-upgrade/checks' { + declare module.exports: any; +} + +declare module 'react-native/react-native-git-upgrade/cli' { + declare module.exports: any; +} + +declare module 'react-native/react-native-git-upgrade/cliEntry' { + declare module.exports: any; +} + +declare module 'react-native/react-native-git-upgrade/index' { + declare module.exports: any; +} + +declare module 'react-native/react-native-git-upgrade/yarn' { declare module.exports: any; } @@ -2634,18 +2866,778 @@ declare module 'react-native/ReactAndroid/src/androidTest/js/ViewRenderingTestMo declare module.exports: any; } +declare module 'react-native/rn-cli.config' { + declare module.exports: any; +} + declare module 'react-native/rn-get-polyfills' { declare module.exports: any; } +declare module 'react-native/RNTester/js/AccessibilityAndroidExample.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AccessibilityIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ActionSheetIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ActivityIndicatorExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AlertExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AlertIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AnimatedExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExApp' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExBobble' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExChained' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExScroll' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExSet' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExTilt' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AppStateExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ARTExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AssetScaledImageExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/AsyncStorageExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/BorderExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/BoxShadowExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ButtonExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/CameraRollExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/CameraRollView' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/CheckBoxExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ClipboardExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/createExamplePage' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/DatePickerAndroidExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/DatePickerIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ExampleTypes' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/FlatListExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/GeolocationExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/http_test_server' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ImageCapInsetsExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ImageEditingExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ImageExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/KeyboardAvoidingViewExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/LayoutAnimationExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/LayoutEventsExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/LayoutExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/LinkingExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ListExampleShared' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ListViewExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ListViewGridLayoutExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ListViewPagingExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/MaskedViewExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ModalExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/MultiColumnExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/NativeAnimationsExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/NavigatorIOSBarStyleExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/NavigatorIOSColorsExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/NavigatorIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/NetInfoExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/OrientationChangeExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/PanResponderExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/PermissionsExampleAndroid.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/PickerExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/PickerIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/PointerEventsExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ProgressBarAndroidExample.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ProgressViewIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/PushNotificationIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RCTRootViewIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RefreshControlExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterActions' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterApp.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterApp.ios' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterBlock' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterButton' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterExampleContainer' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterExampleList' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterList.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterList.ios' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterNavigationReducer' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterPage' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterSettingSwitchRow' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterStatePersister' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RNTesterTitle' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RootViewSizeFlexibilityExampleApp' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/RTLExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ScrollViewExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ScrollViewSimpleExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/SectionListExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/SegmentedControlIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/SetPropertiesExampleApp' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ShareExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/SliderExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/SnapshotExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/StatusBarExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/SwipeableListViewExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/SwitchExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TabBarIOSBarStyleExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TabBarIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TextExample.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TextExample.ios' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TextInputExample.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TextInputExample.ios' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TimePickerAndroidExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TimerExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ToastAndroidExample.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ToolbarAndroidExample.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TouchableExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TransformExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TransparentHitTestExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/TVEventHandlerExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/URIActionMap' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/VibrationExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/VibrationIOSExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ViewExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/ViewPagerAndroidExample.android' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/websocket_test_server' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/WebSocketExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/WebViewExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/XHRExample' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/XHRExampleBinaryUpload' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/XHRExampleCookies' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/XHRExampleDownload' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/XHRExampleFetch' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/XHRExampleFormData' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/XHRExampleHeaders' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/js/XHRExampleOnTimeOut' { + declare module.exports: any; +} + +declare module 'react-native/RNTester/RNTesterUnitTests/RNTesterUnitTestsBundle' { + declare module.exports: any; +} + +declare module 'react-native/scripts/android-e2e-test' { + declare module.exports: any; +} + +declare module 'react-native/scripts/bump-oss-version' { + declare module.exports: any; +} + +declare module 'react-native/scripts/publish-npm' { + declare module.exports: any; +} + +declare module 'react-native/scripts/run-android-ci-instrumentation-tests' { + declare module.exports: any; +} + +declare module 'react-native/scripts/run-ci-e2e-tests' { + declare module.exports: any; +} + +declare module 'react-native/scripts/strip-haste' { + declare module.exports: any; +} + +declare module 'react-native/scripts/try-n-times' { + declare module.exports: any; +} + declare module 'react-native/setupBabel' { declare module.exports: any; } +declare module 'react-native/website/core/AlgoliaDocSearch' { + declare module.exports: any; +} + +declare module 'react-native/website/core/BlogPost' { + declare module.exports: any; +} + +declare module 'react-native/website/core/BlogPostDate' { + declare module.exports: any; +} + +declare module 'react-native/website/core/BlogPostExcerpt' { + declare module.exports: any; +} + +declare module 'react-native/website/core/BlogPostFooter' { + declare module.exports: any; +} + +declare module 'react-native/website/core/BlogPostHeader' { + declare module.exports: any; +} + +declare module 'react-native/website/core/center' { + declare module.exports: any; +} + +declare module 'react-native/website/core/DocsSidebar' { + declare module.exports: any; +} + +declare module 'react-native/website/core/EjectBanner' { + declare module.exports: any; +} + +declare module 'react-native/website/core/ExcerptLink' { + declare module.exports: any; +} + +declare module 'react-native/website/core/Footer' { + declare module.exports: any; +} + +declare module 'react-native/website/core/H2' { + declare module.exports: any; +} + +declare module 'react-native/website/core/Header' { + declare module.exports: any; +} + +declare module 'react-native/website/core/HeaderLinks' { + declare module.exports: any; +} + +declare module 'react-native/website/core/HeaderWithGithub' { + declare module.exports: any; +} + +declare module 'react-native/website/core/Hero' { + declare module.exports: any; +} + +declare module 'react-native/website/core/Marked' { + declare module.exports: any; +} + +declare module 'react-native/website/core/Prism' { + declare module.exports: any; +} + +declare module 'react-native/website/core/ShowcaseAppIcon' { + declare module.exports: any; +} + +declare module 'react-native/website/core/Site' { + declare module.exports: any; +} + +declare module 'react-native/website/core/slugify' { + declare module.exports: any; +} + +declare module 'react-native/website/core/SnackPlayer' { + declare module.exports: any; +} + +declare module 'react-native/website/core/unindent' { + declare module.exports: any; +} + +declare module 'react-native/website/core/WebPlayer' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/__tests__/jsdocs-test' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/findExportDefinition' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/generic-function-visitor' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/jsdoc-plugin-values' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/jsdocs' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/meta' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/syntax' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/traverseFlat' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/type' { + declare module.exports: any; +} + +declare module 'react-native/website/jsdocs/TypeExpressionParser' { + declare module.exports: any; +} + +declare module 'react-native/website/layout/AutodocsLayout' { + declare module.exports: any; +} + +declare module 'react-native/website/layout/BlogPageLayout' { + declare module.exports: any; +} + +declare module 'react-native/website/layout/BlogPostLayout' { + declare module.exports: any; +} + +declare module 'react-native/website/layout/DocsLayout' { + declare module.exports: any; +} + +declare module 'react-native/website/layout/PageLayout' { + declare module.exports: any; +} + +declare module 'react-native/website/layout/RedirectLayout' { + declare module.exports: any; +} + +declare module 'react-native/website/publish-gh-pages' { + declare module.exports: any; +} + +declare module 'react-native/website/server/convert' { + declare module.exports: any; +} + +declare module 'react-native/website/server/docgenHelpers' { + declare module.exports: any; +} + +declare module 'react-native/website/server/docsList' { + declare module.exports: any; +} + +declare module 'react-native/website/server/extractDocs' { + declare module.exports: any; +} + +declare module 'react-native/website/server/generate' { + declare module.exports: any; +} + +declare module 'react-native/website/server/server' { + declare module.exports: any; +} + +declare module 'react-native/website/src/react-native/404' { + declare module.exports: any; +} + +declare module 'react-native/website/src/react-native/index' { + declare module.exports: any; +} + +declare module 'react-native/website/src/react-native/js/scripts' { + declare module.exports: any; +} + +declare module 'react-native/website/src/react-native/showcase' { + declare module.exports: any; +} + +declare module 'react-native/website/src/react-native/support' { + declare module.exports: any; +} + +declare module 'react-native/website/src/react-native/versions' { + declare module.exports: any; +} + // Filename aliases +declare module 'react-native/babel-preset/configs/hmr.js' { + declare module.exports: $Exports<'react-native/babel-preset/configs/hmr'>; +} +declare module 'react-native/babel-preset/configs/main.js' { + declare module.exports: $Exports<'react-native/babel-preset/configs/main'>; +} +declare module 'react-native/babel-preset/index.js' { + declare module.exports: $Exports<'react-native/babel-preset/index'>; +} +declare module 'react-native/babel-preset/lib/resolvePlugins.js' { + declare module.exports: $Exports<'react-native/babel-preset/lib/resolvePlugins'>; +} +declare module 'react-native/babel-preset/plugins.js' { + declare module.exports: $Exports<'react-native/babel-preset/plugins'>; +} +declare module 'react-native/babel-preset/transforms/transform-dynamic-import.js' { + declare module.exports: $Exports<'react-native/babel-preset/transforms/transform-dynamic-import'>; +} +declare module 'react-native/babel-preset/transforms/transform-symbol-member.js' { + declare module.exports: $Exports<'react-native/babel-preset/transforms/transform-symbol-member'>; +} +declare module 'react-native/bots/code-analysis-bot.js' { + declare module.exports: $Exports<'react-native/bots/code-analysis-bot'>; +} +declare module 'react-native/bots/pr-inactivity-bookmarklet.js' { + declare module.exports: $Exports<'react-native/bots/pr-inactivity-bookmarklet'>; +} +declare module 'react-native/bots/question-bookmarklet.js' { + declare module.exports: $Exports<'react-native/bots/question-bookmarklet'>; +} declare module 'react-native/cli.js' { declare module.exports: $Exports<'react-native/cli'>; } +declare module 'react-native/ContainerShip/scripts/run-android-ci-instrumentation-tests.js' { + declare module.exports: $Exports<'react-native/ContainerShip/scripts/run-android-ci-instrumentation-tests'>; +} +declare module 'react-native/danger/dangerfile.js' { + declare module.exports: $Exports<'react-native/danger/dangerfile'>; +} declare module 'react-native/flow/console.js' { declare module.exports: $Exports<'react-native/flow/console'>; } @@ -2667,12 +3659,69 @@ declare module 'react-native/flow/Promise.js' { declare module 'react-native/flow/prop-types.js' { declare module.exports: $Exports<'react-native/flow/prop-types'>; } -declare module 'react-native/flow/react.js' { - declare module.exports: $Exports<'react-native/flow/react'>; -} declare module 'react-native/flow/Set.js' { declare module.exports: $Exports<'react-native/flow/Set'>; } +declare module 'react-native/IntegrationTests/AccessibilityManagerTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/AccessibilityManagerTest'>; +} +declare module 'react-native/IntegrationTests/AppEventsTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/AppEventsTest'>; +} +declare module 'react-native/IntegrationTests/AsyncStorageTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/AsyncStorageTest'>; +} +declare module 'react-native/IntegrationTests/ImageCachePolicyTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/ImageCachePolicyTest'>; +} +declare module 'react-native/IntegrationTests/ImageSnapshotTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/ImageSnapshotTest'>; +} +declare module 'react-native/IntegrationTests/IntegrationTestHarnessTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/IntegrationTestHarnessTest'>; +} +declare module 'react-native/IntegrationTests/IntegrationTestsApp.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/IntegrationTestsApp'>; +} +declare module 'react-native/IntegrationTests/LayoutEventsTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/LayoutEventsTest'>; +} +declare module 'react-native/IntegrationTests/LoggingTestModule.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/LoggingTestModule'>; +} +declare module 'react-native/IntegrationTests/PromiseTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/PromiseTest'>; +} +declare module 'react-native/IntegrationTests/PropertiesUpdateTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/PropertiesUpdateTest'>; +} +declare module 'react-native/IntegrationTests/RCTRootViewIntegrationTestApp.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/RCTRootViewIntegrationTestApp'>; +} +declare module 'react-native/IntegrationTests/ReactContentSizeUpdateTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/ReactContentSizeUpdateTest'>; +} +declare module 'react-native/IntegrationTests/SimpleSnapshotTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/SimpleSnapshotTest'>; +} +declare module 'react-native/IntegrationTests/SizeFlexibilityUpdateTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/SizeFlexibilityUpdateTest'>; +} +declare module 'react-native/IntegrationTests/SyncMethodTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/SyncMethodTest'>; +} +declare module 'react-native/IntegrationTests/TimersTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/TimersTest'>; +} +declare module 'react-native/IntegrationTests/websocket_integration_test_server.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/websocket_integration_test_server'>; +} +declare module 'react-native/IntegrationTests/WebSocketTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/WebSocketTest'>; +} +declare module 'react-native/IntegrationTests/WebViewTest.js' { + declare module.exports: $Exports<'react-native/IntegrationTests/WebViewTest'>; +} declare module 'react-native/jest/mockComponent.js' { declare module.exports: $Exports<'react-native/jest/mockComponent'>; } @@ -2745,24 +3794,81 @@ declare module 'react-native/Libraries/Animated/src/__tests__/Interpolation-test declare module 'react-native/Libraries/Animated/src/Animated.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/Animated'>; } +declare module 'react-native/Libraries/Animated/src/AnimatedEvent.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/AnimatedEvent'>; +} declare module 'react-native/Libraries/Animated/src/AnimatedImplementation.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/AnimatedImplementation'>; } declare module 'react-native/Libraries/Animated/src/AnimatedWeb.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/AnimatedWeb'>; } +declare module 'react-native/Libraries/Animated/src/animations/Animation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/animations/Animation'>; +} +declare module 'react-native/Libraries/Animated/src/animations/DecayAnimation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/animations/DecayAnimation'>; +} +declare module 'react-native/Libraries/Animated/src/animations/SpringAnimation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/animations/SpringAnimation'>; +} +declare module 'react-native/Libraries/Animated/src/animations/TimingAnimation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/animations/TimingAnimation'>; +} declare module 'react-native/Libraries/Animated/src/bezier.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/bezier'>; } +declare module 'react-native/Libraries/Animated/src/createAnimatedComponent.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/createAnimatedComponent'>; +} declare module 'react-native/Libraries/Animated/src/Easing.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/Easing'>; } -declare module 'react-native/Libraries/Animated/src/Interpolation.js' { - declare module.exports: $Exports<'react-native/Libraries/Animated/src/Interpolation'>; -} declare module 'react-native/Libraries/Animated/src/NativeAnimatedHelper.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/NativeAnimatedHelper'>; } +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedAddition.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedAddition'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedDiffClamp.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedDiffClamp'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedDivision.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedDivision'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedInterpolation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedInterpolation'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedModulo.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedModulo'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedMultiplication.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedMultiplication'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedNode.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedNode'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedProps.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedProps'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedStyle.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedStyle'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedTracking.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedTracking'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedTransform.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedTransform'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedValue.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedValue'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedValueXY.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedValueXY'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedWithChildren.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedWithChildren'>; +} declare module 'react-native/Libraries/Animated/src/polyfills/flattenStyle.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/polyfills/flattenStyle'>; } @@ -2850,6 +3956,9 @@ declare module 'react-native/Libraries/Components/AppleTV/TVViewPropTypes.js' { declare module 'react-native/Libraries/Components/Button.js' { declare module.exports: $Exports<'react-native/Libraries/Components/Button'>; } +declare module 'react-native/Libraries/Components/CheckBox/CheckBox.js' { + declare module.exports: $Exports<'react-native/Libraries/Components/CheckBox/CheckBox'>; +} declare module 'react-native/Libraries/Components/Clipboard/Clipboard.js' { declare module.exports: $Exports<'react-native/Libraries/Components/Clipboard/Clipboard'>; } @@ -3114,6 +4223,9 @@ declare module 'react-native/Libraries/Core/ExceptionsManager.js' { declare module 'react-native/Libraries/Core/InitializeCore.js' { declare module.exports: $Exports<'react-native/Libraries/Core/InitializeCore'>; } +declare module 'react-native/Libraries/Core/ReactNativeVersion.js' { + declare module.exports: $Exports<'react-native/Libraries/Core/ReactNativeVersion'>; +} declare module 'react-native/Libraries/Core/Timers/JSTimers.js' { declare module.exports: $Exports<'react-native/Libraries/Core/Timers/JSTimers'>; } @@ -3471,6 +4583,9 @@ declare module 'react-native/Libraries/ReactNative/I18nManager.js' { declare module 'react-native/Libraries/ReactNative/queryLayoutByID.js' { declare module.exports: $Exports<'react-native/Libraries/ReactNative/queryLayoutByID'>; } +declare module 'react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js' { + declare module.exports: $Exports<'react-native/Libraries/ReactNative/ReactNativeFeatureFlags'>; +} declare module 'react-native/Libraries/ReactNative/renderApplication.js' { declare module.exports: $Exports<'react-native/Libraries/ReactNative/renderApplication'>; } @@ -3522,9 +4637,6 @@ declare module 'react-native/Libraries/Renderer/shims/ReactNative.js' { declare module 'react-native/Libraries/Renderer/shims/ReactNativeComponentTree.js' { declare module.exports: $Exports<'react-native/Libraries/Renderer/shims/ReactNativeComponentTree'>; } -declare module 'react-native/Libraries/Renderer/shims/ReactNativeFeatureFlags.js' { - declare module.exports: $Exports<'react-native/Libraries/Renderer/shims/ReactNativeFeatureFlags'>; -} declare module 'react-native/Libraries/Renderer/shims/ReactNativePropRegistry.js' { declare module.exports: $Exports<'react-native/Libraries/Renderer/shims/ReactNativePropRegistry'>; } @@ -4431,18 +5543,15 @@ declare module 'react-native/local-cli/server/util/messageSocket.js' { declare module 'react-native/local-cli/server/util/webSocketProxy.js' { declare module.exports: $Exports<'react-native/local-cli/server/util/webSocketProxy'>; } +declare module 'react-native/local-cli/templates/HelloNavigation/App.js' { + declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/App'>; +} declare module 'react-native/local-cli/templates/HelloNavigation/components/KeyboardSpacer.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/components/KeyboardSpacer'>; } declare module 'react-native/local-cli/templates/HelloNavigation/components/ListItem.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/components/ListItem'>; } -declare module 'react-native/local-cli/templates/HelloNavigation/index.android.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/index.android'>; -} -declare module 'react-native/local-cli/templates/HelloNavigation/index.ios.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/index.ios'>; -} declare module 'react-native/local-cli/templates/HelloNavigation/lib/Backend.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/lib/Backend'>; } @@ -4455,9 +5564,6 @@ declare module 'react-native/local-cli/templates/HelloNavigation/views/chat/Chat declare module 'react-native/local-cli/templates/HelloNavigation/views/HomeScreenTabNavigator.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/views/HomeScreenTabNavigator'>; } -declare module 'react-native/local-cli/templates/HelloNavigation/views/MainNavigator.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/views/MainNavigator'>; -} declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeScreen.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeScreen'>; } @@ -4467,24 +5573,27 @@ declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/W declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeText.ios.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeText.ios'>; } -declare module 'react-native/local-cli/templates/HelloWorld/__tests__/index.android.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/__tests__/index.android'>; +declare module 'react-native/local-cli/templates/HelloWorld/__tests__/App.js' { + declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/__tests__/App'>; } -declare module 'react-native/local-cli/templates/HelloWorld/__tests__/index.ios.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/__tests__/index.ios'>; +declare module 'react-native/local-cli/templates/HelloWorld/App.js' { + declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/App'>; } -declare module 'react-native/local-cli/templates/HelloWorld/index.android.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/index.android'>; -} -declare module 'react-native/local-cli/templates/HelloWorld/index.ios.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/index.ios'>; +declare module 'react-native/local-cli/templates/HelloWorld/index.js' { + declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/index'>; } declare module 'react-native/local-cli/upgrade/upgrade.js' { declare module.exports: $Exports<'react-native/local-cli/upgrade/upgrade'>; } +declare module 'react-native/local-cli/util/__mocks__/fs.js' { + declare module.exports: $Exports<'react-native/local-cli/util/__mocks__/fs'>; +} declare module 'react-native/local-cli/util/__mocks__/log.js' { declare module.exports: $Exports<'react-native/local-cli/util/__mocks__/log'>; } +declare module 'react-native/local-cli/util/__tests__/findSymlinkedModules-test.js' { + declare module.exports: $Exports<'react-native/local-cli/util/__tests__/findSymlinkedModules-test'>; +} declare module 'react-native/local-cli/util/assertRequiredOptions.js' { declare module.exports: $Exports<'react-native/local-cli/util/assertRequiredOptions'>; } @@ -4494,6 +5603,12 @@ declare module 'react-native/local-cli/util/Config.js' { declare module 'react-native/local-cli/util/copyAndReplace.js' { declare module.exports: $Exports<'react-native/local-cli/util/copyAndReplace'>; } +declare module 'react-native/local-cli/util/findReactNativeScripts.js' { + declare module.exports: $Exports<'react-native/local-cli/util/findReactNativeScripts'>; +} +declare module 'react-native/local-cli/util/findSymlinkedModules.js' { + declare module.exports: $Exports<'react-native/local-cli/util/findSymlinkedModules'>; +} declare module 'react-native/local-cli/util/findSymlinksPaths.js' { declare module.exports: $Exports<'react-native/local-cli/util/findSymlinksPaths'>; } @@ -4521,8 +5636,23 @@ declare module 'react-native/local-cli/util/yarn.js' { declare module 'react-native/local-cli/wrong-react-native.js' { declare module.exports: $Exports<'react-native/local-cli/wrong-react-native'>; } -declare module 'react-native/ReactAndroid/src/androidTest/assets/AndroidTestBundle.js' { - declare module.exports: $Exports<'react-native/ReactAndroid/src/androidTest/assets/AndroidTestBundle'>; +declare module 'react-native/react-native-cli/index.js' { + declare module.exports: $Exports<'react-native/react-native-cli/index'>; +} +declare module 'react-native/react-native-git-upgrade/checks.js' { + declare module.exports: $Exports<'react-native/react-native-git-upgrade/checks'>; +} +declare module 'react-native/react-native-git-upgrade/cli.js' { + declare module.exports: $Exports<'react-native/react-native-git-upgrade/cli'>; +} +declare module 'react-native/react-native-git-upgrade/cliEntry.js' { + declare module.exports: $Exports<'react-native/react-native-git-upgrade/cliEntry'>; +} +declare module 'react-native/react-native-git-upgrade/index.js' { + declare module.exports: $Exports<'react-native/react-native-git-upgrade/index'>; +} +declare module 'react-native/react-native-git-upgrade/yarn.js' { + declare module.exports: $Exports<'react-native/react-native-git-upgrade/yarn'>; } declare module 'react-native/ReactAndroid/src/androidTest/js/Asserts.js' { declare module.exports: $Exports<'react-native/ReactAndroid/src/androidTest/js/Asserts'>; @@ -4602,9 +5732,552 @@ declare module 'react-native/ReactAndroid/src/androidTest/js/UIManagerTestModule declare module 'react-native/ReactAndroid/src/androidTest/js/ViewRenderingTestModule.js' { declare module.exports: $Exports<'react-native/ReactAndroid/src/androidTest/js/ViewRenderingTestModule'>; } +declare module 'react-native/rn-cli.config.js' { + declare module.exports: $Exports<'react-native/rn-cli.config'>; +} declare module 'react-native/rn-get-polyfills.js' { declare module.exports: $Exports<'react-native/rn-get-polyfills'>; } +declare module 'react-native/RNTester/js/AccessibilityAndroidExample.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AccessibilityAndroidExample.android'>; +} +declare module 'react-native/RNTester/js/AccessibilityIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AccessibilityIOSExample'>; +} +declare module 'react-native/RNTester/js/ActionSheetIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ActionSheetIOSExample'>; +} +declare module 'react-native/RNTester/js/ActivityIndicatorExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ActivityIndicatorExample'>; +} +declare module 'react-native/RNTester/js/AlertExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AlertExample'>; +} +declare module 'react-native/RNTester/js/AlertIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AlertIOSExample'>; +} +declare module 'react-native/RNTester/js/AnimatedExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AnimatedExample'>; +} +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExApp.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AnimatedGratuitousApp/AnExApp'>; +} +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExBobble.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AnimatedGratuitousApp/AnExBobble'>; +} +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExChained.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AnimatedGratuitousApp/AnExChained'>; +} +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExScroll.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AnimatedGratuitousApp/AnExScroll'>; +} +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExSet.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AnimatedGratuitousApp/AnExSet'>; +} +declare module 'react-native/RNTester/js/AnimatedGratuitousApp/AnExTilt.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AnimatedGratuitousApp/AnExTilt'>; +} +declare module 'react-native/RNTester/js/AppStateExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AppStateExample'>; +} +declare module 'react-native/RNTester/js/ARTExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ARTExample'>; +} +declare module 'react-native/RNTester/js/AssetScaledImageExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AssetScaledImageExample'>; +} +declare module 'react-native/RNTester/js/AsyncStorageExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/AsyncStorageExample'>; +} +declare module 'react-native/RNTester/js/BorderExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/BorderExample'>; +} +declare module 'react-native/RNTester/js/BoxShadowExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/BoxShadowExample'>; +} +declare module 'react-native/RNTester/js/ButtonExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ButtonExample'>; +} +declare module 'react-native/RNTester/js/CameraRollExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/CameraRollExample'>; +} +declare module 'react-native/RNTester/js/CameraRollView.js' { + declare module.exports: $Exports<'react-native/RNTester/js/CameraRollView'>; +} +declare module 'react-native/RNTester/js/CheckBoxExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/CheckBoxExample'>; +} +declare module 'react-native/RNTester/js/ClipboardExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ClipboardExample'>; +} +declare module 'react-native/RNTester/js/createExamplePage.js' { + declare module.exports: $Exports<'react-native/RNTester/js/createExamplePage'>; +} +declare module 'react-native/RNTester/js/DatePickerAndroidExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/DatePickerAndroidExample'>; +} +declare module 'react-native/RNTester/js/DatePickerIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/DatePickerIOSExample'>; +} +declare module 'react-native/RNTester/js/ExampleTypes.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ExampleTypes'>; +} +declare module 'react-native/RNTester/js/FlatListExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/FlatListExample'>; +} +declare module 'react-native/RNTester/js/GeolocationExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/GeolocationExample'>; +} +declare module 'react-native/RNTester/js/http_test_server.js' { + declare module.exports: $Exports<'react-native/RNTester/js/http_test_server'>; +} +declare module 'react-native/RNTester/js/ImageCapInsetsExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ImageCapInsetsExample'>; +} +declare module 'react-native/RNTester/js/ImageEditingExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ImageEditingExample'>; +} +declare module 'react-native/RNTester/js/ImageExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ImageExample'>; +} +declare module 'react-native/RNTester/js/KeyboardAvoidingViewExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/KeyboardAvoidingViewExample'>; +} +declare module 'react-native/RNTester/js/LayoutAnimationExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/LayoutAnimationExample'>; +} +declare module 'react-native/RNTester/js/LayoutEventsExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/LayoutEventsExample'>; +} +declare module 'react-native/RNTester/js/LayoutExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/LayoutExample'>; +} +declare module 'react-native/RNTester/js/LinkingExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/LinkingExample'>; +} +declare module 'react-native/RNTester/js/ListExampleShared.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ListExampleShared'>; +} +declare module 'react-native/RNTester/js/ListViewExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ListViewExample'>; +} +declare module 'react-native/RNTester/js/ListViewGridLayoutExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ListViewGridLayoutExample'>; +} +declare module 'react-native/RNTester/js/ListViewPagingExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ListViewPagingExample'>; +} +declare module 'react-native/RNTester/js/MaskedViewExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/MaskedViewExample'>; +} +declare module 'react-native/RNTester/js/ModalExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ModalExample'>; +} +declare module 'react-native/RNTester/js/MultiColumnExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/MultiColumnExample'>; +} +declare module 'react-native/RNTester/js/NativeAnimationsExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/NativeAnimationsExample'>; +} +declare module 'react-native/RNTester/js/NavigatorIOSBarStyleExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/NavigatorIOSBarStyleExample'>; +} +declare module 'react-native/RNTester/js/NavigatorIOSColorsExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/NavigatorIOSColorsExample'>; +} +declare module 'react-native/RNTester/js/NavigatorIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/NavigatorIOSExample'>; +} +declare module 'react-native/RNTester/js/NetInfoExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/NetInfoExample'>; +} +declare module 'react-native/RNTester/js/OrientationChangeExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/OrientationChangeExample'>; +} +declare module 'react-native/RNTester/js/PanResponderExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/PanResponderExample'>; +} +declare module 'react-native/RNTester/js/PermissionsExampleAndroid.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/PermissionsExampleAndroid.android'>; +} +declare module 'react-native/RNTester/js/PickerExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/PickerExample'>; +} +declare module 'react-native/RNTester/js/PickerIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/PickerIOSExample'>; +} +declare module 'react-native/RNTester/js/PointerEventsExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/PointerEventsExample'>; +} +declare module 'react-native/RNTester/js/ProgressBarAndroidExample.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ProgressBarAndroidExample.android'>; +} +declare module 'react-native/RNTester/js/ProgressViewIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ProgressViewIOSExample'>; +} +declare module 'react-native/RNTester/js/PushNotificationIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/PushNotificationIOSExample'>; +} +declare module 'react-native/RNTester/js/RCTRootViewIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RCTRootViewIOSExample'>; +} +declare module 'react-native/RNTester/js/RefreshControlExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RefreshControlExample'>; +} +declare module 'react-native/RNTester/js/RNTesterActions.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterActions'>; +} +declare module 'react-native/RNTester/js/RNTesterApp.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterApp.android'>; +} +declare module 'react-native/RNTester/js/RNTesterApp.ios.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterApp.ios'>; +} +declare module 'react-native/RNTester/js/RNTesterBlock.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterBlock'>; +} +declare module 'react-native/RNTester/js/RNTesterButton.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterButton'>; +} +declare module 'react-native/RNTester/js/RNTesterExampleContainer.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterExampleContainer'>; +} +declare module 'react-native/RNTester/js/RNTesterExampleList.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterExampleList'>; +} +declare module 'react-native/RNTester/js/RNTesterList.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterList.android'>; +} +declare module 'react-native/RNTester/js/RNTesterList.ios.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterList.ios'>; +} +declare module 'react-native/RNTester/js/RNTesterNavigationReducer.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterNavigationReducer'>; +} +declare module 'react-native/RNTester/js/RNTesterPage.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterPage'>; +} +declare module 'react-native/RNTester/js/RNTesterSettingSwitchRow.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterSettingSwitchRow'>; +} +declare module 'react-native/RNTester/js/RNTesterStatePersister.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterStatePersister'>; +} +declare module 'react-native/RNTester/js/RNTesterTitle.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RNTesterTitle'>; +} +declare module 'react-native/RNTester/js/RootViewSizeFlexibilityExampleApp.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RootViewSizeFlexibilityExampleApp'>; +} +declare module 'react-native/RNTester/js/RTLExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/RTLExample'>; +} +declare module 'react-native/RNTester/js/ScrollViewExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ScrollViewExample'>; +} +declare module 'react-native/RNTester/js/ScrollViewSimpleExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ScrollViewSimpleExample'>; +} +declare module 'react-native/RNTester/js/SectionListExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/SectionListExample'>; +} +declare module 'react-native/RNTester/js/SegmentedControlIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/SegmentedControlIOSExample'>; +} +declare module 'react-native/RNTester/js/SetPropertiesExampleApp.js' { + declare module.exports: $Exports<'react-native/RNTester/js/SetPropertiesExampleApp'>; +} +declare module 'react-native/RNTester/js/ShareExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ShareExample'>; +} +declare module 'react-native/RNTester/js/SliderExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/SliderExample'>; +} +declare module 'react-native/RNTester/js/SnapshotExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/SnapshotExample'>; +} +declare module 'react-native/RNTester/js/StatusBarExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/StatusBarExample'>; +} +declare module 'react-native/RNTester/js/SwipeableListViewExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/SwipeableListViewExample'>; +} +declare module 'react-native/RNTester/js/SwitchExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/SwitchExample'>; +} +declare module 'react-native/RNTester/js/TabBarIOSBarStyleExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TabBarIOSBarStyleExample'>; +} +declare module 'react-native/RNTester/js/TabBarIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TabBarIOSExample'>; +} +declare module 'react-native/RNTester/js/TextExample.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TextExample.android'>; +} +declare module 'react-native/RNTester/js/TextExample.ios.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TextExample.ios'>; +} +declare module 'react-native/RNTester/js/TextInputExample.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TextInputExample.android'>; +} +declare module 'react-native/RNTester/js/TextInputExample.ios.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TextInputExample.ios'>; +} +declare module 'react-native/RNTester/js/TimePickerAndroidExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TimePickerAndroidExample'>; +} +declare module 'react-native/RNTester/js/TimerExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TimerExample'>; +} +declare module 'react-native/RNTester/js/ToastAndroidExample.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ToastAndroidExample.android'>; +} +declare module 'react-native/RNTester/js/ToolbarAndroidExample.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ToolbarAndroidExample.android'>; +} +declare module 'react-native/RNTester/js/TouchableExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TouchableExample'>; +} +declare module 'react-native/RNTester/js/TransformExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TransformExample'>; +} +declare module 'react-native/RNTester/js/TransparentHitTestExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TransparentHitTestExample'>; +} +declare module 'react-native/RNTester/js/TVEventHandlerExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/TVEventHandlerExample'>; +} +declare module 'react-native/RNTester/js/URIActionMap.js' { + declare module.exports: $Exports<'react-native/RNTester/js/URIActionMap'>; +} +declare module 'react-native/RNTester/js/VibrationExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/VibrationExample'>; +} +declare module 'react-native/RNTester/js/VibrationIOSExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/VibrationIOSExample'>; +} +declare module 'react-native/RNTester/js/ViewExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ViewExample'>; +} +declare module 'react-native/RNTester/js/ViewPagerAndroidExample.android.js' { + declare module.exports: $Exports<'react-native/RNTester/js/ViewPagerAndroidExample.android'>; +} +declare module 'react-native/RNTester/js/websocket_test_server.js' { + declare module.exports: $Exports<'react-native/RNTester/js/websocket_test_server'>; +} +declare module 'react-native/RNTester/js/WebSocketExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/WebSocketExample'>; +} +declare module 'react-native/RNTester/js/WebViewExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/WebViewExample'>; +} +declare module 'react-native/RNTester/js/XHRExample.js' { + declare module.exports: $Exports<'react-native/RNTester/js/XHRExample'>; +} +declare module 'react-native/RNTester/js/XHRExampleBinaryUpload.js' { + declare module.exports: $Exports<'react-native/RNTester/js/XHRExampleBinaryUpload'>; +} +declare module 'react-native/RNTester/js/XHRExampleCookies.js' { + declare module.exports: $Exports<'react-native/RNTester/js/XHRExampleCookies'>; +} +declare module 'react-native/RNTester/js/XHRExampleDownload.js' { + declare module.exports: $Exports<'react-native/RNTester/js/XHRExampleDownload'>; +} +declare module 'react-native/RNTester/js/XHRExampleFetch.js' { + declare module.exports: $Exports<'react-native/RNTester/js/XHRExampleFetch'>; +} +declare module 'react-native/RNTester/js/XHRExampleFormData.js' { + declare module.exports: $Exports<'react-native/RNTester/js/XHRExampleFormData'>; +} +declare module 'react-native/RNTester/js/XHRExampleHeaders.js' { + declare module.exports: $Exports<'react-native/RNTester/js/XHRExampleHeaders'>; +} +declare module 'react-native/RNTester/js/XHRExampleOnTimeOut.js' { + declare module.exports: $Exports<'react-native/RNTester/js/XHRExampleOnTimeOut'>; +} +declare module 'react-native/RNTester/RNTesterUnitTests/RNTesterUnitTestsBundle.js' { + declare module.exports: $Exports<'react-native/RNTester/RNTesterUnitTests/RNTesterUnitTestsBundle'>; +} +declare module 'react-native/scripts/android-e2e-test.js' { + declare module.exports: $Exports<'react-native/scripts/android-e2e-test'>; +} +declare module 'react-native/scripts/bump-oss-version.js' { + declare module.exports: $Exports<'react-native/scripts/bump-oss-version'>; +} +declare module 'react-native/scripts/publish-npm.js' { + declare module.exports: $Exports<'react-native/scripts/publish-npm'>; +} +declare module 'react-native/scripts/run-android-ci-instrumentation-tests.js' { + declare module.exports: $Exports<'react-native/scripts/run-android-ci-instrumentation-tests'>; +} +declare module 'react-native/scripts/run-ci-e2e-tests.js' { + declare module.exports: $Exports<'react-native/scripts/run-ci-e2e-tests'>; +} +declare module 'react-native/scripts/strip-haste.js' { + declare module.exports: $Exports<'react-native/scripts/strip-haste'>; +} +declare module 'react-native/scripts/try-n-times.js' { + declare module.exports: $Exports<'react-native/scripts/try-n-times'>; +} declare module 'react-native/setupBabel.js' { declare module.exports: $Exports<'react-native/setupBabel'>; } +declare module 'react-native/website/core/AlgoliaDocSearch.js' { + declare module.exports: $Exports<'react-native/website/core/AlgoliaDocSearch'>; +} +declare module 'react-native/website/core/BlogPost.js' { + declare module.exports: $Exports<'react-native/website/core/BlogPost'>; +} +declare module 'react-native/website/core/BlogPostDate.js' { + declare module.exports: $Exports<'react-native/website/core/BlogPostDate'>; +} +declare module 'react-native/website/core/BlogPostExcerpt.js' { + declare module.exports: $Exports<'react-native/website/core/BlogPostExcerpt'>; +} +declare module 'react-native/website/core/BlogPostFooter.js' { + declare module.exports: $Exports<'react-native/website/core/BlogPostFooter'>; +} +declare module 'react-native/website/core/BlogPostHeader.js' { + declare module.exports: $Exports<'react-native/website/core/BlogPostHeader'>; +} +declare module 'react-native/website/core/center.js' { + declare module.exports: $Exports<'react-native/website/core/center'>; +} +declare module 'react-native/website/core/DocsSidebar.js' { + declare module.exports: $Exports<'react-native/website/core/DocsSidebar'>; +} +declare module 'react-native/website/core/EjectBanner.js' { + declare module.exports: $Exports<'react-native/website/core/EjectBanner'>; +} +declare module 'react-native/website/core/ExcerptLink.js' { + declare module.exports: $Exports<'react-native/website/core/ExcerptLink'>; +} +declare module 'react-native/website/core/Footer.js' { + declare module.exports: $Exports<'react-native/website/core/Footer'>; +} +declare module 'react-native/website/core/H2.js' { + declare module.exports: $Exports<'react-native/website/core/H2'>; +} +declare module 'react-native/website/core/Header.js' { + declare module.exports: $Exports<'react-native/website/core/Header'>; +} +declare module 'react-native/website/core/HeaderLinks.js' { + declare module.exports: $Exports<'react-native/website/core/HeaderLinks'>; +} +declare module 'react-native/website/core/HeaderWithGithub.js' { + declare module.exports: $Exports<'react-native/website/core/HeaderWithGithub'>; +} +declare module 'react-native/website/core/Hero.js' { + declare module.exports: $Exports<'react-native/website/core/Hero'>; +} +declare module 'react-native/website/core/Marked.js' { + declare module.exports: $Exports<'react-native/website/core/Marked'>; +} +declare module 'react-native/website/core/Prism.js' { + declare module.exports: $Exports<'react-native/website/core/Prism'>; +} +declare module 'react-native/website/core/ShowcaseAppIcon.js' { + declare module.exports: $Exports<'react-native/website/core/ShowcaseAppIcon'>; +} +declare module 'react-native/website/core/Site.js' { + declare module.exports: $Exports<'react-native/website/core/Site'>; +} +declare module 'react-native/website/core/slugify.js' { + declare module.exports: $Exports<'react-native/website/core/slugify'>; +} +declare module 'react-native/website/core/SnackPlayer.js' { + declare module.exports: $Exports<'react-native/website/core/SnackPlayer'>; +} +declare module 'react-native/website/core/unindent.js' { + declare module.exports: $Exports<'react-native/website/core/unindent'>; +} +declare module 'react-native/website/core/WebPlayer.js' { + declare module.exports: $Exports<'react-native/website/core/WebPlayer'>; +} +declare module 'react-native/website/jsdocs/__tests__/jsdocs-test.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/__tests__/jsdocs-test'>; +} +declare module 'react-native/website/jsdocs/findExportDefinition.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/findExportDefinition'>; +} +declare module 'react-native/website/jsdocs/generic-function-visitor.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/generic-function-visitor'>; +} +declare module 'react-native/website/jsdocs/jsdoc-plugin-values.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/jsdoc-plugin-values'>; +} +declare module 'react-native/website/jsdocs/jsdocs.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/jsdocs'>; +} +declare module 'react-native/website/jsdocs/meta.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/meta'>; +} +declare module 'react-native/website/jsdocs/syntax.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/syntax'>; +} +declare module 'react-native/website/jsdocs/traverseFlat.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/traverseFlat'>; +} +declare module 'react-native/website/jsdocs/type.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/type'>; +} +declare module 'react-native/website/jsdocs/TypeExpressionParser.js' { + declare module.exports: $Exports<'react-native/website/jsdocs/TypeExpressionParser'>; +} +declare module 'react-native/website/layout/AutodocsLayout.js' { + declare module.exports: $Exports<'react-native/website/layout/AutodocsLayout'>; +} +declare module 'react-native/website/layout/BlogPageLayout.js' { + declare module.exports: $Exports<'react-native/website/layout/BlogPageLayout'>; +} +declare module 'react-native/website/layout/BlogPostLayout.js' { + declare module.exports: $Exports<'react-native/website/layout/BlogPostLayout'>; +} +declare module 'react-native/website/layout/DocsLayout.js' { + declare module.exports: $Exports<'react-native/website/layout/DocsLayout'>; +} +declare module 'react-native/website/layout/PageLayout.js' { + declare module.exports: $Exports<'react-native/website/layout/PageLayout'>; +} +declare module 'react-native/website/layout/RedirectLayout.js' { + declare module.exports: $Exports<'react-native/website/layout/RedirectLayout'>; +} +declare module 'react-native/website/publish-gh-pages.js' { + declare module.exports: $Exports<'react-native/website/publish-gh-pages'>; +} +declare module 'react-native/website/server/convert.js' { + declare module.exports: $Exports<'react-native/website/server/convert'>; +} +declare module 'react-native/website/server/docgenHelpers.js' { + declare module.exports: $Exports<'react-native/website/server/docgenHelpers'>; +} +declare module 'react-native/website/server/docsList.js' { + declare module.exports: $Exports<'react-native/website/server/docsList'>; +} +declare module 'react-native/website/server/extractDocs.js' { + declare module.exports: $Exports<'react-native/website/server/extractDocs'>; +} +declare module 'react-native/website/server/generate.js' { + declare module.exports: $Exports<'react-native/website/server/generate'>; +} +declare module 'react-native/website/server/server.js' { + declare module.exports: $Exports<'react-native/website/server/server'>; +} +declare module 'react-native/website/src/react-native/404.js' { + declare module.exports: $Exports<'react-native/website/src/react-native/404'>; +} +declare module 'react-native/website/src/react-native/index.js' { + declare module.exports: $Exports<'react-native/website/src/react-native/index'>; +} +declare module 'react-native/website/src/react-native/js/scripts.js' { + declare module.exports: $Exports<'react-native/website/src/react-native/js/scripts'>; +} +declare module 'react-native/website/src/react-native/showcase.js' { + declare module.exports: $Exports<'react-native/website/src/react-native/showcase'>; +} +declare module 'react-native/website/src/react-native/support.js' { + declare module.exports: $Exports<'react-native/website/src/react-native/support'>; +} +declare module 'react-native/website/src/react-native/versions.js' { + declare module.exports: $Exports<'react-native/website/src/react-native/versions'>; +} diff --git a/examples/NavigationPlayground/flow-typed/npm/react-test-renderer_vx.x.x.js b/examples/NavigationPlayground/flow-typed/npm/react-test-renderer_vx.x.x.js index 7837ba8..c5aecaa 100644 --- a/examples/NavigationPlayground/flow-typed/npm/react-test-renderer_vx.x.x.js +++ b/examples/NavigationPlayground/flow-typed/npm/react-test-renderer_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 9a65b380a4d6ff7a8471416981e8cf13 -// flow-typed version: <>/react-test-renderer_v16.0.0-alpha.12/flow_v0.51.0 +// flow-typed signature: bc77d9125cee5869fd1f9ffe55231e21 +// flow-typed version: <>/react-test-renderer_v16.0.0-alpha.12/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/examples/NavigationPlayground/js/CustomTabs.js b/examples/NavigationPlayground/js/CustomTabs.js index af432fe..29b0f66 100644 --- a/examples/NavigationPlayground/js/CustomTabs.js +++ b/examples/NavigationPlayground/js/CustomTabs.js @@ -69,7 +69,7 @@ const CustomTabView = ({ router, navigation }) => { diff --git a/examples/NavigationPlayground/js/SampleText.js b/examples/NavigationPlayground/js/SampleText.js index fb2af64..e8adba9 100644 --- a/examples/NavigationPlayground/js/SampleText.js +++ b/examples/NavigationPlayground/js/SampleText.js @@ -7,9 +7,9 @@ import { StyleSheet, Text } from 'react-native'; /** * Used across examples as a screen placeholder. */ -import type { Children } from 'react'; +import type { ChildrenArray } from 'react'; -const SampleText = ({ children }: { children?: Children }) => ( +const SampleText = ({ children }: { children?: ChildrenArray<*> }) => ( {children} ); diff --git a/examples/NavigationPlayground/package.json b/examples/NavigationPlayground/package.json index 699de99..3a1e4e6 100644 --- a/examples/NavigationPlayground/package.json +++ b/examples/NavigationPlayground/package.json @@ -12,16 +12,16 @@ "test": "node node_modules/jest/bin/jest.js" }, "dependencies": { - "expo": "^21.0.1", - "react": "16.0.0-alpha.12", - "react-native": "~0.48.4", + "expo": "^22.0.0", + "react": "16.0.0-beta.5", + "react-native": "^0.49.3", "react-navigation": "file:../.." }, "devDependencies": { "babel-jest": "^21.0.0", - "flow-bin": "^0.51.0", + "flow-bin": "0.53.0", "jest": "^21.0.1", - "jest-expo": "^21.0.0", + "jest-expo": "^22.0.0", "react-addons-test-utils": "16.0.0-alpha.3", "react-native-scripts": "^1.3.1", "react-test-renderer": "16.0.0-alpha.12" diff --git a/examples/NavigationPlayground/yarn.lock b/examples/NavigationPlayground/yarn.lock index 38bac49..f9b32b2 100644 --- a/examples/NavigationPlayground/yarn.lock +++ b/examples/NavigationPlayground/yarn.lock @@ -515,7 +515,7 @@ babel-messages@^6.23.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-check-es2015-constants@^6.5.0, babel-plugin-check-es2015-constants@^6.7.2, babel-plugin-check-es2015-constants@^6.8.0: +babel-plugin-check-es2015-constants@^6.5.0, babel-plugin-check-es2015-constants@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" dependencies: @@ -585,7 +585,7 @@ babel-plugin-syntax-jsx@^6.5.0, babel-plugin-syntax-jsx@^6.8.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" -babel-plugin-syntax-object-rest-spread@^6.5.0, babel-plugin-syntax-object-rest-spread@^6.8.0: +babel-plugin-syntax-object-rest-spread@^6.8.0: version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" @@ -601,7 +601,7 @@ babel-plugin-transform-async-to-generator@6.16.0: babel-plugin-syntax-async-functions "^6.8.0" babel-runtime "^6.0.0" -babel-plugin-transform-class-properties@^6.18.0, babel-plugin-transform-class-properties@^6.5.0, babel-plugin-transform-class-properties@^6.6.0, babel-plugin-transform-class-properties@^6.8.0: +babel-plugin-transform-class-properties@^6.18.0, babel-plugin-transform-class-properties@^6.5.0, babel-plugin-transform-class-properties@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac" dependencies: @@ -625,19 +625,19 @@ babel-plugin-transform-define@^1.3.0: lodash "4.17.4" traverse "0.6.6" -babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.5.2, babel-plugin-transform-es2015-arrow-functions@^6.8.0: +babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-block-scoped-functions@^6.6.5, babel-plugin-transform-es2015-block-scoped-functions@^6.8.0: +babel-plugin-transform-es2015-block-scoped-functions@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es2015-block-scoping@^6.7.1, babel-plugin-transform-es2015-block-scoping@^6.8.0: +babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es2015-block-scoping@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f" dependencies: @@ -647,7 +647,7 @@ babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es201 babel-types "^6.26.0" lodash "^4.17.4" -babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-classes@^6.6.5, babel-plugin-transform-es2015-classes@^6.8.0: +babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-classes@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db" dependencies: @@ -661,20 +661,20 @@ babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-clas babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-plugin-transform-es2015-computed-properties@^6.5.0, babel-plugin-transform-es2015-computed-properties@^6.6.5, babel-plugin-transform-es2015-computed-properties@^6.8.0: +babel-plugin-transform-es2015-computed-properties@^6.5.0, babel-plugin-transform-es2015-computed-properties@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3" dependencies: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-destructuring@6.x, babel-plugin-transform-es2015-destructuring@^6.5.0, babel-plugin-transform-es2015-destructuring@^6.6.5, babel-plugin-transform-es2015-destructuring@^6.8.0: +babel-plugin-transform-es2015-destructuring@6.x, babel-plugin-transform-es2015-destructuring@^6.5.0, babel-plugin-transform-es2015-destructuring@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-for-of@^6.5.0, babel-plugin-transform-es2015-for-of@^6.6.0, babel-plugin-transform-es2015-for-of@^6.8.0: +babel-plugin-transform-es2015-for-of@^6.5.0, babel-plugin-transform-es2015-for-of@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" dependencies: @@ -694,7 +694,7 @@ babel-plugin-transform-es2015-literals@^6.5.0, babel-plugin-transform-es2015-lit dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.7.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0: +babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz#0d8394029b7dc6abe1a97ef181e00758dd2e5d8a" dependencies: @@ -703,14 +703,14 @@ babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es201 babel-template "^6.26.0" babel-types "^6.26.0" -babel-plugin-transform-es2015-object-super@^6.6.5, babel-plugin-transform-es2015-object-super@^6.8.0: +babel-plugin-transform-es2015-object-super@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d" dependencies: babel-helper-replace-supers "^6.24.1" babel-runtime "^6.22.0" -babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-parameters@^6.5.0, babel-plugin-transform-es2015-parameters@^6.7.0, babel-plugin-transform-es2015-parameters@^6.8.0: +babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-parameters@^6.5.0, babel-plugin-transform-es2015-parameters@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" dependencies: @@ -728,7 +728,7 @@ babel-plugin-transform-es2015-shorthand-properties@6.x, babel-plugin-transform-e babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-spread@6.x, babel-plugin-transform-es2015-spread@^6.5.0, babel-plugin-transform-es2015-spread@^6.6.5, babel-plugin-transform-es2015-spread@^6.8.0: +babel-plugin-transform-es2015-spread@6.x, babel-plugin-transform-es2015-spread@^6.5.0, babel-plugin-transform-es2015-spread@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" dependencies: @@ -742,7 +742,7 @@ babel-plugin-transform-es2015-sticky-regex@6.x: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-template-literals@^6.5.0, babel-plugin-transform-es2015-template-literals@^6.6.5, babel-plugin-transform-es2015-template-literals@^6.8.0: +babel-plugin-transform-es2015-template-literals@^6.5.0, babel-plugin-transform-es2015-template-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" dependencies: @@ -756,13 +756,13 @@ babel-plugin-transform-es2015-unicode-regex@6.x: babel-runtime "^6.22.0" regexpu-core "^2.0.0" -babel-plugin-transform-es3-member-expression-literals@^6.5.0, babel-plugin-transform-es3-member-expression-literals@^6.8.0: +babel-plugin-transform-es3-member-expression-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es3-member-expression-literals/-/babel-plugin-transform-es3-member-expression-literals-6.22.0.tgz#733d3444f3ecc41bef8ed1a6a4e09657b8969ebb" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es3-property-literals@^6.5.0, babel-plugin-transform-es3-property-literals@^6.8.0: +babel-plugin-transform-es3-property-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es3-property-literals/-/babel-plugin-transform-es3-property-literals-6.22.0.tgz#b2078d5842e22abf40f73e8cde9cd3711abd5758" dependencies: @@ -783,7 +783,7 @@ babel-plugin-transform-export-extensions@^6.22.0: babel-plugin-syntax-export-extensions "^6.8.0" babel-runtime "^6.22.0" -babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.22.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.7.0, babel-plugin-transform-flow-strip-types@^6.8.0: +babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.22.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf" dependencies: @@ -796,7 +796,7 @@ babel-plugin-transform-object-assign@^6.5.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.6.5, babel-plugin-transform-object-rest-spread@^6.8.0: +babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06" dependencies: @@ -837,7 +837,7 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-polyfill@^6.20.0, babel-polyfill@^6.23.0: +babel-polyfill@^6.23.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" dependencies: @@ -869,36 +869,7 @@ babel-preset-expo@^3.0.0: babel-plugin-transform-export-extensions "^6.22.0" babel-preset-react-native "^2.1.0" -babel-preset-fbjs@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-1.0.0.tgz#c972e5c9b301d4ec9e7971f4aec3e14ac017a8b0" - dependencies: - babel-plugin-check-es2015-constants "^6.7.2" - babel-plugin-syntax-flow "^6.5.0" - babel-plugin-syntax-object-rest-spread "^6.5.0" - babel-plugin-syntax-trailing-function-commas "^6.5.0" - babel-plugin-transform-class-properties "^6.6.0" - babel-plugin-transform-es2015-arrow-functions "^6.5.2" - babel-plugin-transform-es2015-block-scoped-functions "^6.6.5" - babel-plugin-transform-es2015-block-scoping "^6.7.1" - babel-plugin-transform-es2015-classes "^6.6.5" - babel-plugin-transform-es2015-computed-properties "^6.6.5" - babel-plugin-transform-es2015-destructuring "^6.6.5" - babel-plugin-transform-es2015-for-of "^6.6.0" - babel-plugin-transform-es2015-literals "^6.5.0" - babel-plugin-transform-es2015-modules-commonjs "^6.7.0" - babel-plugin-transform-es2015-object-super "^6.6.5" - babel-plugin-transform-es2015-parameters "^6.7.0" - babel-plugin-transform-es2015-shorthand-properties "^6.5.0" - babel-plugin-transform-es2015-spread "^6.6.5" - babel-plugin-transform-es2015-template-literals "^6.6.5" - babel-plugin-transform-es3-member-expression-literals "^6.5.0" - babel-plugin-transform-es3-property-literals "^6.5.0" - babel-plugin-transform-flow-strip-types "^6.7.0" - babel-plugin-transform-object-rest-spread "^6.6.5" - object-assign "^4.0.1" - -babel-preset-fbjs@^2.1.4: +babel-preset-fbjs@^2.1.2, babel-preset-fbjs@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-2.1.4.tgz#22f358e6654073acf61e47a052a777d7bccf03af" dependencies: @@ -1035,7 +1006,7 @@ babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26 lodash "^4.17.4" to-fast-properties "^1.0.3" -babylon@^6.17.0, babylon@^6.18.0: +babylon@^6.18.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" @@ -1178,12 +1149,6 @@ bser@1.0.2: dependencies: node-int64 "^0.4.0" -bser@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.3.tgz#d63da19ee17330a0e260d2a34422b21a89520317" - dependencies: - node-int64 "^0.4.0" - bser@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" @@ -1522,7 +1487,7 @@ core-js@^1.0.0: version "1.2.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" -core-js@^2.2.2, core-js@^2.4.0, core-js@^2.5.0: +core-js@^2.2.2, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0: version "2.5.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" @@ -1542,13 +1507,6 @@ create-react-class@^15.5.2: loose-envify "^1.3.1" object-assign "^4.1.1" -cross-spawn@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-3.0.1.tgz#1256037ecb9f0c5f79e3d6ef135e30770184b982" - dependencies: - lru-cache "^4.0.1" - which "^1.2.9" - cross-spawn@^5.0.1, cross-spawn@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -1779,7 +1737,7 @@ envinfo@^3.0.0: os-name "^2.0.1" which "^1.2.14" -"errno@>=0.1.1 <0.2.0-0", errno@^0.1.4: +errno@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" dependencies: @@ -1904,24 +1862,24 @@ expect@^21.0.0: jest-message-util "^21.0.0" jest-regex-util "^21.0.0" -expo@^21.0.1: - version "21.0.2" - resolved "https://registry.yarnpkg.com/expo/-/expo-21.0.2.tgz#8420b9f4b95503c464575a31fd9c820363caef9d" +expo@^22.0.0: + version "22.0.0" + resolved "https://registry.yarnpkg.com/expo/-/expo-22.0.0.tgz#a83fbccd2ab0aa9b6398475c6b36e8bae9f39f25" dependencies: "@expo/vector-icons" "^5.0.0" babel-preset-expo "^3.0.0" fbemitter "^2.1.1" lodash.map "^4.6.0" lodash.zipobject "^4.1.3" - lottie-react-native "2.2.0" + lottie-react-native "2.2.7" md5-file "^3.1.1" pretty-format "^20.0.3" prop-types "^15.5.10" qs "^6.5.0" react-native-branch "2.0.0-beta.3" - react-native-gesture-handler "1.0.0-alpha.22" - react-native-maps "0.15.3" - react-native-svg "5.3.0" + react-native-gesture-handler "1.0.0-alpha.28" + react-native-maps "0.17.0" + react-native-svg "5.4.2" uuid-js "^0.7.5" websql "https://github.com/expo/node-websql/archive/18.0.0.tar.gz" @@ -2027,32 +1985,20 @@ fbemitter@^2.1.1: dependencies: fbjs "^0.8.4" -fbjs-scripts@^0.7.0: - version "0.7.1" - resolved "https://registry.yarnpkg.com/fbjs-scripts/-/fbjs-scripts-0.7.1.tgz#4f115e218e243e3addbf0eddaac1e3c62f703fac" +fbjs-scripts@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/fbjs-scripts/-/fbjs-scripts-0.8.1.tgz#c1c6efbecb7f008478468976b783880c2f669765" dependencies: babel-core "^6.7.2" - babel-preset-fbjs "^1.0.0" - core-js "^1.0.0" - cross-spawn "^3.0.1" + babel-preset-fbjs "^2.1.2" + core-js "^2.4.1" + cross-spawn "^5.1.0" gulp-util "^3.0.4" object-assign "^4.0.1" semver "^5.1.0" through2 "^2.0.0" -fbjs@0.8.12: - version "0.8.12" - resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.12.tgz#10b5d92f76d45575fd63a217d4ea02bea2f8ed04" - dependencies: - core-js "^1.0.0" - isomorphic-fetch "^2.1.1" - loose-envify "^1.0.0" - object-assign "^4.1.0" - promise "^7.1.1" - setimmediate "^1.0.5" - ua-parser-js "^0.7.9" - -fbjs@^0.8.4, fbjs@^0.8.9: +fbjs@0.8.14, fbjs@^0.8.4, fbjs@^0.8.9: version "0.8.14" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.14.tgz#d1dbe2be254c35a91e09f31f9cd50a40b2a0ed1c" dependencies: @@ -2144,9 +2090,9 @@ find-up@^2.1.0: dependencies: locate-path "^2.0.0" -flow-bin@^0.51.0: - version "0.51.1" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.51.1.tgz#7929c6f0a94e765429fcb2ee6e468278faa9c732" +flow-bin@0.53.0: + version "0.53.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.53.0.tgz#f7830e609ca02b12db4127114213cccc7c0771b9" for-in@^1.0.1: version "1.0.2" @@ -3017,22 +2963,14 @@ jest-diff@^21.0.0: jest-get-type "^21.0.0" pretty-format "^21.0.0" -jest-docblock@20.1.0-chi.1: - version "20.1.0-chi.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-chi.1.tgz#06981ab0e59498a2492333b0c5502a82e4603207" - -jest-docblock@20.1.0-delta.4: - version "20.1.0-delta.4" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-delta.4.tgz#360d4f5fb702730c4136c4e71e5706188a694682" +jest-docblock@20.1.0-echo.1: + version "20.1.0-echo.1" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-echo.1.tgz#be02f43ee019f97e6b83267c746ac7b40d290fe8" jest-docblock@^20.0.3: version "20.0.3" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712" -jest-docblock@^20.1.0-chi.1: - version "20.1.0-echo.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-echo.1.tgz#be02f43ee019f97e6b83267c746ac7b40d290fe8" - jest-docblock@^21.0.0: version "21.0.0" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.0.0.tgz#7dd57568543aec98910f749540afc15fab53a27f" @@ -3067,36 +3005,26 @@ jest-environment-node@^21.0.0: jest-mock "^21.0.0" jest-util "^21.0.0" -jest-expo@^21.0.0: - version "21.0.2" - resolved "https://registry.yarnpkg.com/jest-expo/-/jest-expo-21.0.2.tgz#87c60deda29a9c67d5c59f24e7104aff6ce0aaee" +jest-expo@^22.0.0: + version "22.0.1" + resolved "https://registry.yarnpkg.com/jest-expo/-/jest-expo-22.0.1.tgz#029d73ad6f21a365fe55fff0c64d6cdb0046df68" dependencies: babel-jest "^20.0.3" jest "^20.0.4" - react-test-renderer "16.0.0-alpha.12" + json5 "^0.5.1" + react-test-renderer "16.0.0-beta.5" jest-get-type@^21.0.0: version "21.0.0" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.0.0.tgz#ed8667533c0a24a4feebbf492661f23abac3620b" -jest-haste-map@20.1.0-chi.1: - version "20.1.0-chi.1" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-chi.1.tgz#db5f5f31362c76e242b40ea9a3ccfa364719cee3" +jest-haste-map@20.1.0-echo.1: + version "20.1.0-echo.1" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-echo.1.tgz#6dfd0c97bb51a68a35dd98326e04f994157dce81" dependencies: fb-watchman "^2.0.0" graceful-fs "^4.1.11" - jest-docblock "^20.1.0-chi.1" - micromatch "^2.3.11" - sane "^2.0.0" - worker-farm "^1.3.1" - -jest-haste-map@20.1.0-delta.4: - version "20.1.0-delta.4" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-delta.4.tgz#12e32b297a6dd49705cacde938029fc158834006" - dependencies: - fb-watchman "^2.0.0" - graceful-fs "^4.1.11" - jest-docblock "20.1.0-delta.4" + jest-docblock "20.1.0-echo.1" micromatch "^2.3.11" sane "^2.0.0" worker-farm "^1.3.1" @@ -3721,16 +3649,16 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1: dependencies: js-tokens "^3.0.0" -lottie-ios@^2.0.5: +lottie-ios@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/lottie-ios/-/lottie-ios-2.1.3.tgz#57b2328511a26606dc6de7a74bbdbf77f92c6aa0" -lottie-react-native@2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/lottie-react-native/-/lottie-react-native-2.2.0.tgz#18196806ef6546cd3e01b24fc5a5974f02e4f017" +lottie-react-native@2.2.7: + version "2.2.7" + resolved "https://registry.yarnpkg.com/lottie-react-native/-/lottie-react-native-2.2.7.tgz#d89cf6e0a093693d5fed2999a986cbcb1a090955" dependencies: invariant "^2.2.2" - lottie-ios "^2.0.5" + lottie-ios "^2.1.3" prop-types "^15.5.10" react-native-safe-module "^1.1.0" @@ -3820,9 +3748,9 @@ methods@^1.1.1, methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" -metro-bundler@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/metro-bundler/-/metro-bundler-0.11.0.tgz#ba5d2ae34943da28a37c2098047ad265c16fddf4" +metro-bundler@^0.13.0: + version "0.13.0" + resolved "https://registry.yarnpkg.com/metro-bundler/-/metro-bundler-0.13.0.tgz#a1510eaecfc3db8ef46d2a936a3cc18f651e26f7" dependencies: absolute-path "^0.0.0" async "^2.4.0" @@ -3833,17 +3761,17 @@ metro-bundler@^0.11.0: babel-preset-fbjs "^2.1.4" babel-preset-react-native "^2.0.0" babel-register "^6.24.1" - babylon "^6.17.0" + babylon "^6.18.0" chalk "^1.1.1" concat-stream "^1.6.0" core-js "^2.2.2" debug "^2.2.0" denodeify "^1.2.1" - fbjs "0.8.12" + fbjs "0.8.14" graceful-fs "^4.1.3" image-size "^0.6.0" - jest-docblock "20.1.0-chi.1" - jest-haste-map "20.1.0-chi.1" + jest-docblock "20.1.0-echo.1" + jest-haste-map "20.1.0-echo.1" json-stable-stringify "^1.0.1" json5 "^0.4.0" left-pad "^1.1.3" @@ -4654,15 +4582,15 @@ react-native-drawer-layout@1.3.2: dependencies: react-native-dismiss-keyboard "1.0.0" -react-native-gesture-handler@1.0.0-alpha.22: - version "1.0.0-alpha.22" - resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.22.tgz#96e5ae08b26a9e99d115f6e16f63d7487ef995fc" +react-native-gesture-handler@1.0.0-alpha.28: + version "1.0.0-alpha.28" + resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.28.tgz#198c776b7b7d299f9b03017f666a9829f996e30d" dependencies: prop-types "^15.5.10" -react-native-maps@0.15.3: - version "0.15.3" - resolved "https://registry.yarnpkg.com/react-native-maps/-/react-native-maps-0.15.3.tgz#5d9e0a8e30ecc51dc755b7a3b9d6b6ed5e2dd08c" +react-native-maps@0.17.0: + version "0.17.0" + resolved "https://registry.yarnpkg.com/react-native-maps/-/react-native-maps-0.17.0.tgz#d10fa94a049432c46b6ee03fe9db84c83da65c8b" react-native-safe-module@^1.1.0: version "1.2.0" @@ -4689,18 +4617,18 @@ react-native-scripts@^1.3.1: rimraf "^2.6.1" xdl "44.0.0" -react-native-svg@5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-5.3.0.tgz#0d2ca98bee6726d627c2ca31617ac9c5f7d42daf" +react-native-svg@5.4.2: + version "5.4.2" + resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-5.4.2.tgz#a01b4d88cda4b8ef4b2bc1adf05e11ec93a77b79" dependencies: color "^0.11.1" lodash "^4.16.6" -react-native-tab-view@^0.0.69: - version "0.0.69" - resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.69.tgz#f52d4354a98a382f10eb5fcf61db5216c91dc7e7" +react-native-tab-view@^0.0.70: + version "0.0.70" + resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.70.tgz#1dd2ded32acd0cb6bfef38d26e53675db733b37b" dependencies: - prop-types "^15.5.8" + prop-types "^15.5.10" react-native-vector-icons@4.1.1: version "4.1.1" @@ -4710,59 +4638,38 @@ react-native-vector-icons@4.1.1: prop-types "^15.5.8" yargs "^6.3.0" -react-native@~0.48.4: - version "0.48.4" - resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.48.4.tgz#f305e9fef069a5b3f6a7250ddd50f603cf30ab2d" +react-native@^0.49.3: + version "0.49.5" + resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.49.5.tgz#89f0fe93a8da4db2670c4bd0d81131a2ff617f27" dependencies: absolute-path "^0.0.0" art "^0.10.0" - async "^2.4.0" babel-core "^6.24.1" - babel-generator "^6.24.1" - babel-plugin-external-helpers "^6.18.0" babel-plugin-syntax-trailing-function-commas "^6.20.0" babel-plugin-transform-async-to-generator "6.16.0" babel-plugin-transform-class-properties "^6.18.0" babel-plugin-transform-flow-strip-types "^6.21.0" babel-plugin-transform-object-rest-spread "^6.20.2" - babel-polyfill "^6.20.0" - babel-preset-es2015-node "^6.1.1" - babel-preset-fbjs "^2.1.4" - babel-preset-react-native "^2.0.0" babel-register "^6.24.1" babel-runtime "^6.23.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - babylon "^6.17.0" base64-js "^1.1.2" - bser "^1.0.2" chalk "^1.1.1" commander "^2.9.0" - concat-stream "^1.6.0" connect "^2.8.3" - core-js "^2.2.2" create-react-class "^15.5.2" debug "^2.2.0" denodeify "^1.2.1" envinfo "^3.0.0" - errno ">=0.1.1 <0.2.0-0" event-target-shim "^1.0.5" - fbjs "0.8.12" - fbjs-scripts "^0.7.0" - form-data "^2.1.1" + fbjs "0.8.14" + fbjs-scripts "^0.8.1" fs-extra "^1.0.0" glob "^7.1.1" graceful-fs "^4.1.3" inquirer "^3.0.6" - jest-haste-map "20.1.0-delta.4" - json-stable-stringify "^1.0.1" - json5 "^0.4.0" - left-pad "^1.1.3" lodash "^4.16.6" - merge-stream "^1.0.1" - metro-bundler "^0.11.0" + metro-bundler "^0.13.0" mime "^1.3.4" - mime-types "2.1.11" minimist "^1.2.0" mkdirp "^0.5.1" node-fetch "^1.3.3" @@ -4776,30 +4683,19 @@ react-native@~0.48.4: react-clone-referenced-element "^1.0.1" react-devtools-core "^2.5.0" react-timer-mixin "^0.13.2" - react-transform-hmr "^1.0.4" - rebound "^0.0.13" regenerator-runtime "^0.9.5" - request "^2.79.0" rimraf "^2.5.4" - sane "~1.4.1" semver "^5.0.3" shell-quote "1.6.1" - source-map "^0.5.6" stacktrace-parser "^0.1.3" - temp "0.8.3" - throat "^4.1.0" whatwg-fetch "^1.0.0" - wordwrap "^1.0.0" - write-file-atomic "^1.2.0" ws "^1.1.0" xcode "^0.9.1" xmldoc "^0.4.0" - xpipe "^1.0.5" - xtend ">=4.0.0 <4.1.0-0" yargs "^6.4.0" "react-navigation@file:../..": - version "1.0.0-beta.13" + version "1.0.0-beta.15" dependencies: babel-plugin-transform-define "^1.3.0" clamp "^1.0.1" @@ -4807,7 +4703,7 @@ react-native@~0.48.4: path-to-regexp "^1.7.0" prop-types "^15.5.10" react-native-drawer-layout-polyfill "^1.3.2" - react-native-tab-view "^0.0.69" + react-native-tab-view "^0.0.70" react-proxy@^1.1.7: version "1.1.8" @@ -4834,6 +4730,13 @@ react-test-renderer@16.0.0-alpha.12: fbjs "^0.8.9" object-assign "^4.1.0" +react-test-renderer@16.0.0-beta.5: + version "16.0.0-beta.5" + resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.0.0-beta.5.tgz#6169e2ea96e8d21645662b369c23239974cd1f11" + dependencies: + fbjs "^0.8.9" + object-assign "^4.1.0" + react-timer-mixin@^0.13.2: version "0.13.3" resolved "https://registry.yarnpkg.com/react-timer-mixin/-/react-timer-mixin-0.13.3.tgz#0da8b9f807ec07dc3e854d082c737c65605b3d22" @@ -4845,11 +4748,10 @@ react-transform-hmr@^1.0.4: global "^4.3.0" react-proxy "^1.1.7" -react@16.0.0-alpha.12: - version "16.0.0-alpha.12" - resolved "https://registry.yarnpkg.com/react/-/react-16.0.0-alpha.12.tgz#8c59485281485df319b6f77682d8dd0621c08194" +react@16.0.0-beta.5: + version "16.0.0-beta.5" + resolved "https://registry.yarnpkg.com/react/-/react-16.0.0-beta.5.tgz#b4abba9bce7db72c30633db54a148614b6574e79" dependencies: - create-react-class "^15.5.2" fbjs "^0.8.9" loose-envify "^1.1.0" object-assign "^4.1.0" @@ -4898,10 +4800,6 @@ readable-stream@2, readable-stream@^2.0.1, readable-stream@^2.0.5, readable-stre string_decoder "~1.0.3" util-deprecate "~1.0.1" -rebound@^0.0.13: - version "0.0.13" - resolved "https://registry.yarnpkg.com/rebound/-/rebound-0.0.13.tgz#4a225254caf7da756797b19c5817bf7a7941fac1" - redux-logger@^2.7.4: version "2.10.2" resolved "https://registry.yarnpkg.com/redux-logger/-/redux-logger-2.10.2.tgz#3c5a5f0a6f32577c1deadf6655f257f82c6c3937" @@ -5138,17 +5036,6 @@ sane@^2.0.0: optionalDependencies: fsevents "^1.1.1" -sane@~1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/sane/-/sane-1.4.1.tgz#88f763d74040f5f0c256b6163db399bf110ac715" - dependencies: - exec-sh "^0.2.0" - fb-watchman "^1.8.0" - minimatch "^3.0.2" - minimist "^1.1.1" - walker "~1.0.5" - watch "~0.10.0" - sane@~1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/sane/-/sane-1.6.0.tgz#9610c452307a135d29c1fdfe2547034180c46775" @@ -5987,14 +5874,14 @@ wordwrap@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" -wordwrap@^1.0.0, wordwrap@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - wordwrap@~0.0.2: version "0.0.3" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" +wordwrap@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" + worker-farm@^1.3.1: version "1.5.0" resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.5.0.tgz#adfdf0cd40581465ed0a1f648f9735722afd5c8d" @@ -6143,7 +6030,7 @@ xregexp@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-2.0.0.tgz#52a63e56ca0b84a7f3a5f3d61872f126ad7a5943" -"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.1, xtend@~4.0.1: +xtend@^4.0.1, xtend@~4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" diff --git a/examples/ReduxExample/.flowconfig b/examples/ReduxExample/.flowconfig deleted file mode 100644 index 559dad3..0000000 --- a/examples/ReduxExample/.flowconfig +++ /dev/null @@ -1,63 +0,0 @@ -[ignore] -; We fork some components by platform -.*/*[.]android.js - -; Ignore "BUCK" generated dirs -/\.buckd/ - -; Ignore unexpected extra "@providesModule" -.*/node_modules/.*/node_modules/fbjs/.* - -; Ignore duplicate module providers -; For RN Apps installed via npm, "Libraries" folder is inside -; "node_modules/react-native" but in the source repo it is in the root -.*/Libraries/react-native/React.js -.*/Libraries/react-native/ReactNative.js - -; Additional create-react-native-app ignores - -; Ignore duplicate module providers -.*/node_modules/fbemitter/lib/* - -; Ignore misbehaving dev-dependencies -.*/node_modules/xdl/build/* -.*/node_modules/reqwest/tests/* - -; Ignore missing expo-sdk dependencies (temporarily) -; https://github.com/expo/expo/issues/162 -.*/node_modules/expo/src/* - -; Ignore react-native-fbads dependency of the expo sdk -.*/node_modules/react-native-fbads/* - -[include] - -[libs] -node_modules/react-native/Libraries/react-native/react-native-interface.js -node_modules/react-native/flow -flow/ - -[options] -module.system=haste - -emoji=true - -experimental.strict_type_args=true - -munge_underscores=true - -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\)$' -> 'RelativeImageStub' - -suppress_type=$FlowIssue -suppress_type=$FlowFixMe -suppress_type=$FixMe - -suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-5]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\) -suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-5]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+ -suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy -suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError - -unsafe.enable_getters_and_setters=true - -[version] -^0.45.0 diff --git a/examples/ReduxExample/app.json b/examples/ReduxExample/app.json index 8e468d8..9e2e93a 100644 --- a/examples/ReduxExample/app.json +++ b/examples/ReduxExample/app.json @@ -12,7 +12,7 @@ "icon": "./assets/icons/react-navigation.png", "hideExponentText": false }, - "sdkVersion": "21.0.0", + "sdkVersion": "22.0.0", "entryPoint": "./node_modules/react-native-scripts/build/bin/crna-entry.js", "packagerOpts": { "assetExts": [ diff --git a/examples/ReduxExample/package.json b/examples/ReduxExample/package.json index 7f093c1..b7898a1 100644 --- a/examples/ReduxExample/package.json +++ b/examples/ReduxExample/package.json @@ -22,17 +22,17 @@ ] }, "dependencies": { - "expo": "^21.0.1", + "expo": "^22.0.0", "prop-types": "^15.5.10", - "react": "16.0.0-alpha.12", - "react-native": "~0.48.4", + "react": "16.0.0-beta.5", + "react-native": "^0.49.3", "react-redux": "^5.0.6", "redux": "^3.7.2" }, "devDependencies": { "babel-jest": "^21.0.0", "jest": "^21.0.1", - "jest-expo": "^21.0.0", + "jest-expo": "^22.0.0", "react-native-scripts": "^1.3.1", "react-navigation": "file:../..", "react-test-renderer": "16.0.0-alpha.12" diff --git a/examples/ReduxExample/yarn.lock b/examples/ReduxExample/yarn.lock index d138c70..c1574c1 100644 --- a/examples/ReduxExample/yarn.lock +++ b/examples/ReduxExample/yarn.lock @@ -515,7 +515,7 @@ babel-messages@^6.23.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-check-es2015-constants@^6.5.0, babel-plugin-check-es2015-constants@^6.7.2, babel-plugin-check-es2015-constants@^6.8.0: +babel-plugin-check-es2015-constants@^6.5.0, babel-plugin-check-es2015-constants@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" dependencies: @@ -585,7 +585,7 @@ babel-plugin-syntax-jsx@^6.5.0, babel-plugin-syntax-jsx@^6.8.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" -babel-plugin-syntax-object-rest-spread@^6.5.0, babel-plugin-syntax-object-rest-spread@^6.8.0: +babel-plugin-syntax-object-rest-spread@^6.8.0: version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" @@ -601,7 +601,7 @@ babel-plugin-transform-async-to-generator@6.16.0: babel-plugin-syntax-async-functions "^6.8.0" babel-runtime "^6.0.0" -babel-plugin-transform-class-properties@^6.18.0, babel-plugin-transform-class-properties@^6.5.0, babel-plugin-transform-class-properties@^6.6.0, babel-plugin-transform-class-properties@^6.8.0: +babel-plugin-transform-class-properties@^6.18.0, babel-plugin-transform-class-properties@^6.5.0, babel-plugin-transform-class-properties@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac" dependencies: @@ -625,19 +625,19 @@ babel-plugin-transform-define@^1.3.0: lodash "4.17.4" traverse "0.6.6" -babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.5.2, babel-plugin-transform-es2015-arrow-functions@^6.8.0: +babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-block-scoped-functions@^6.6.5, babel-plugin-transform-es2015-block-scoped-functions@^6.8.0: +babel-plugin-transform-es2015-block-scoped-functions@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es2015-block-scoping@^6.7.1, babel-plugin-transform-es2015-block-scoping@^6.8.0: +babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es2015-block-scoping@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f" dependencies: @@ -647,7 +647,7 @@ babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es201 babel-types "^6.26.0" lodash "^4.17.4" -babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-classes@^6.6.5, babel-plugin-transform-es2015-classes@^6.8.0: +babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-classes@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db" dependencies: @@ -661,20 +661,20 @@ babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-clas babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-plugin-transform-es2015-computed-properties@^6.5.0, babel-plugin-transform-es2015-computed-properties@^6.6.5, babel-plugin-transform-es2015-computed-properties@^6.8.0: +babel-plugin-transform-es2015-computed-properties@^6.5.0, babel-plugin-transform-es2015-computed-properties@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3" dependencies: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-destructuring@6.x, babel-plugin-transform-es2015-destructuring@^6.5.0, babel-plugin-transform-es2015-destructuring@^6.6.5, babel-plugin-transform-es2015-destructuring@^6.8.0: +babel-plugin-transform-es2015-destructuring@6.x, babel-plugin-transform-es2015-destructuring@^6.5.0, babel-plugin-transform-es2015-destructuring@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-for-of@^6.5.0, babel-plugin-transform-es2015-for-of@^6.6.0, babel-plugin-transform-es2015-for-of@^6.8.0: +babel-plugin-transform-es2015-for-of@^6.5.0, babel-plugin-transform-es2015-for-of@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" dependencies: @@ -694,7 +694,7 @@ babel-plugin-transform-es2015-literals@^6.5.0, babel-plugin-transform-es2015-lit dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.7.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0: +babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz#0d8394029b7dc6abe1a97ef181e00758dd2e5d8a" dependencies: @@ -703,14 +703,14 @@ babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es201 babel-template "^6.26.0" babel-types "^6.26.0" -babel-plugin-transform-es2015-object-super@^6.6.5, babel-plugin-transform-es2015-object-super@^6.8.0: +babel-plugin-transform-es2015-object-super@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d" dependencies: babel-helper-replace-supers "^6.24.1" babel-runtime "^6.22.0" -babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-parameters@^6.5.0, babel-plugin-transform-es2015-parameters@^6.7.0, babel-plugin-transform-es2015-parameters@^6.8.0: +babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-parameters@^6.5.0, babel-plugin-transform-es2015-parameters@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" dependencies: @@ -728,7 +728,7 @@ babel-plugin-transform-es2015-shorthand-properties@6.x, babel-plugin-transform-e babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-spread@6.x, babel-plugin-transform-es2015-spread@^6.5.0, babel-plugin-transform-es2015-spread@^6.6.5, babel-plugin-transform-es2015-spread@^6.8.0: +babel-plugin-transform-es2015-spread@6.x, babel-plugin-transform-es2015-spread@^6.5.0, babel-plugin-transform-es2015-spread@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" dependencies: @@ -742,7 +742,7 @@ babel-plugin-transform-es2015-sticky-regex@6.x: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-template-literals@^6.5.0, babel-plugin-transform-es2015-template-literals@^6.6.5, babel-plugin-transform-es2015-template-literals@^6.8.0: +babel-plugin-transform-es2015-template-literals@^6.5.0, babel-plugin-transform-es2015-template-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" dependencies: @@ -756,13 +756,13 @@ babel-plugin-transform-es2015-unicode-regex@6.x: babel-runtime "^6.22.0" regexpu-core "^2.0.0" -babel-plugin-transform-es3-member-expression-literals@^6.5.0, babel-plugin-transform-es3-member-expression-literals@^6.8.0: +babel-plugin-transform-es3-member-expression-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es3-member-expression-literals/-/babel-plugin-transform-es3-member-expression-literals-6.22.0.tgz#733d3444f3ecc41bef8ed1a6a4e09657b8969ebb" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es3-property-literals@^6.5.0, babel-plugin-transform-es3-property-literals@^6.8.0: +babel-plugin-transform-es3-property-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es3-property-literals/-/babel-plugin-transform-es3-property-literals-6.22.0.tgz#b2078d5842e22abf40f73e8cde9cd3711abd5758" dependencies: @@ -783,7 +783,7 @@ babel-plugin-transform-export-extensions@^6.22.0: babel-plugin-syntax-export-extensions "^6.8.0" babel-runtime "^6.22.0" -babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.22.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.7.0, babel-plugin-transform-flow-strip-types@^6.8.0: +babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.22.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf" dependencies: @@ -796,7 +796,7 @@ babel-plugin-transform-object-assign@^6.5.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.6.5, babel-plugin-transform-object-rest-spread@^6.8.0: +babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06" dependencies: @@ -837,7 +837,7 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-polyfill@^6.20.0, babel-polyfill@^6.23.0: +babel-polyfill@^6.23.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" dependencies: @@ -869,36 +869,7 @@ babel-preset-expo@^3.0.0: babel-plugin-transform-export-extensions "^6.22.0" babel-preset-react-native "^2.1.0" -babel-preset-fbjs@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-1.0.0.tgz#c972e5c9b301d4ec9e7971f4aec3e14ac017a8b0" - dependencies: - babel-plugin-check-es2015-constants "^6.7.2" - babel-plugin-syntax-flow "^6.5.0" - babel-plugin-syntax-object-rest-spread "^6.5.0" - babel-plugin-syntax-trailing-function-commas "^6.5.0" - babel-plugin-transform-class-properties "^6.6.0" - babel-plugin-transform-es2015-arrow-functions "^6.5.2" - babel-plugin-transform-es2015-block-scoped-functions "^6.6.5" - babel-plugin-transform-es2015-block-scoping "^6.7.1" - babel-plugin-transform-es2015-classes "^6.6.5" - babel-plugin-transform-es2015-computed-properties "^6.6.5" - babel-plugin-transform-es2015-destructuring "^6.6.5" - babel-plugin-transform-es2015-for-of "^6.6.0" - babel-plugin-transform-es2015-literals "^6.5.0" - babel-plugin-transform-es2015-modules-commonjs "^6.7.0" - babel-plugin-transform-es2015-object-super "^6.6.5" - babel-plugin-transform-es2015-parameters "^6.7.0" - babel-plugin-transform-es2015-shorthand-properties "^6.5.0" - babel-plugin-transform-es2015-spread "^6.6.5" - babel-plugin-transform-es2015-template-literals "^6.6.5" - babel-plugin-transform-es3-member-expression-literals "^6.5.0" - babel-plugin-transform-es3-property-literals "^6.5.0" - babel-plugin-transform-flow-strip-types "^6.7.0" - babel-plugin-transform-object-rest-spread "^6.6.5" - object-assign "^4.0.1" - -babel-preset-fbjs@^2.1.4: +babel-preset-fbjs@^2.1.2, babel-preset-fbjs@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-2.1.4.tgz#22f358e6654073acf61e47a052a777d7bccf03af" dependencies: @@ -1035,7 +1006,7 @@ babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26 lodash "^4.17.4" to-fast-properties "^1.0.3" -babylon@^6.17.0, babylon@^6.18.0: +babylon@^6.18.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" @@ -1178,12 +1149,6 @@ bser@1.0.2: dependencies: node-int64 "^0.4.0" -bser@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.3.tgz#d63da19ee17330a0e260d2a34422b21a89520317" - dependencies: - node-int64 "^0.4.0" - bser@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" @@ -1522,7 +1487,7 @@ core-js@^1.0.0: version "1.2.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" -core-js@^2.2.2, core-js@^2.4.0, core-js@^2.5.0: +core-js@^2.2.2, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0: version "2.5.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" @@ -1542,13 +1507,6 @@ create-react-class@^15.5.2: loose-envify "^1.3.1" object-assign "^4.1.1" -cross-spawn@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-3.0.1.tgz#1256037ecb9f0c5f79e3d6ef135e30770184b982" - dependencies: - lru-cache "^4.0.1" - which "^1.2.9" - cross-spawn@^5.0.1, cross-spawn@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -1779,7 +1737,7 @@ envinfo@^3.0.0: os-name "^2.0.1" which "^1.2.14" -"errno@>=0.1.1 <0.2.0-0", errno@^0.1.4: +errno@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" dependencies: @@ -1904,24 +1862,24 @@ expect@^21.0.0: jest-message-util "^21.0.0" jest-regex-util "^21.0.0" -expo@^21.0.1: - version "21.0.1" - resolved "https://registry.yarnpkg.com/expo/-/expo-21.0.1.tgz#c0e9da91041cf974a9157db6a4d9e8ac95755bc7" +expo@^22.0.0: + version "22.0.0" + resolved "https://registry.yarnpkg.com/expo/-/expo-22.0.0.tgz#a83fbccd2ab0aa9b6398475c6b36e8bae9f39f25" dependencies: "@expo/vector-icons" "^5.0.0" babel-preset-expo "^3.0.0" fbemitter "^2.1.1" lodash.map "^4.6.0" lodash.zipobject "^4.1.3" - lottie-react-native "2.2.0" + lottie-react-native "2.2.7" md5-file "^3.1.1" pretty-format "^20.0.3" prop-types "^15.5.10" qs "^6.5.0" react-native-branch "2.0.0-beta.3" - react-native-gesture-handler "1.0.0-alpha.22" - react-native-maps "0.15.3" - react-native-svg "5.3.0" + react-native-gesture-handler "1.0.0-alpha.28" + react-native-maps "0.17.0" + react-native-svg "5.4.2" uuid-js "^0.7.5" websql "https://github.com/expo/node-websql/archive/18.0.0.tar.gz" @@ -2027,32 +1985,20 @@ fbemitter@^2.1.1: dependencies: fbjs "^0.8.4" -fbjs-scripts@^0.7.0: - version "0.7.1" - resolved "https://registry.yarnpkg.com/fbjs-scripts/-/fbjs-scripts-0.7.1.tgz#4f115e218e243e3addbf0eddaac1e3c62f703fac" +fbjs-scripts@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/fbjs-scripts/-/fbjs-scripts-0.8.1.tgz#c1c6efbecb7f008478468976b783880c2f669765" dependencies: babel-core "^6.7.2" - babel-preset-fbjs "^1.0.0" - core-js "^1.0.0" - cross-spawn "^3.0.1" + babel-preset-fbjs "^2.1.2" + core-js "^2.4.1" + cross-spawn "^5.1.0" gulp-util "^3.0.4" object-assign "^4.0.1" semver "^5.1.0" through2 "^2.0.0" -fbjs@0.8.12: - version "0.8.12" - resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.12.tgz#10b5d92f76d45575fd63a217d4ea02bea2f8ed04" - dependencies: - core-js "^1.0.0" - isomorphic-fetch "^2.1.1" - loose-envify "^1.0.0" - object-assign "^4.1.0" - promise "^7.1.1" - setimmediate "^1.0.5" - ua-parser-js "^0.7.9" - -fbjs@^0.8.4, fbjs@^0.8.9: +fbjs@0.8.14, fbjs@^0.8.4, fbjs@^0.8.9: version "0.8.14" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.14.tgz#d1dbe2be254c35a91e09f31f9cd50a40b2a0ed1c" dependencies: @@ -3013,22 +2959,14 @@ jest-diff@^21.0.0: jest-get-type "^21.0.0" pretty-format "^21.0.0" -jest-docblock@20.1.0-chi.1: - version "20.1.0-chi.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-chi.1.tgz#06981ab0e59498a2492333b0c5502a82e4603207" - -jest-docblock@20.1.0-delta.4: - version "20.1.0-delta.4" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-delta.4.tgz#360d4f5fb702730c4136c4e71e5706188a694682" +jest-docblock@20.1.0-echo.1: + version "20.1.0-echo.1" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-echo.1.tgz#be02f43ee019f97e6b83267c746ac7b40d290fe8" jest-docblock@^20.0.3: version "20.0.3" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712" -jest-docblock@^20.1.0-chi.1: - version "20.1.0-echo.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-echo.1.tgz#be02f43ee019f97e6b83267c746ac7b40d290fe8" - jest-docblock@^21.0.0: version "21.0.0" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.0.0.tgz#7dd57568543aec98910f749540afc15fab53a27f" @@ -3063,36 +3001,26 @@ jest-environment-node@^21.0.0: jest-mock "^21.0.0" jest-util "^21.0.0" -jest-expo@^21.0.0: - version "21.0.2" - resolved "https://registry.yarnpkg.com/jest-expo/-/jest-expo-21.0.2.tgz#87c60deda29a9c67d5c59f24e7104aff6ce0aaee" +jest-expo@^22.0.0: + version "22.0.1" + resolved "https://registry.yarnpkg.com/jest-expo/-/jest-expo-22.0.1.tgz#029d73ad6f21a365fe55fff0c64d6cdb0046df68" dependencies: babel-jest "^20.0.3" jest "^20.0.4" - react-test-renderer "16.0.0-alpha.12" + json5 "^0.5.1" + react-test-renderer "16.0.0-beta.5" jest-get-type@^21.0.0: version "21.0.0" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.0.0.tgz#ed8667533c0a24a4feebbf492661f23abac3620b" -jest-haste-map@20.1.0-chi.1: - version "20.1.0-chi.1" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-chi.1.tgz#db5f5f31362c76e242b40ea9a3ccfa364719cee3" +jest-haste-map@20.1.0-echo.1: + version "20.1.0-echo.1" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-echo.1.tgz#6dfd0c97bb51a68a35dd98326e04f994157dce81" dependencies: fb-watchman "^2.0.0" graceful-fs "^4.1.11" - jest-docblock "^20.1.0-chi.1" - micromatch "^2.3.11" - sane "^2.0.0" - worker-farm "^1.3.1" - -jest-haste-map@20.1.0-delta.4: - version "20.1.0-delta.4" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-delta.4.tgz#12e32b297a6dd49705cacde938029fc158834006" - dependencies: - fb-watchman "^2.0.0" - graceful-fs "^4.1.11" - jest-docblock "20.1.0-delta.4" + jest-docblock "20.1.0-echo.1" micromatch "^2.3.11" sane "^2.0.0" worker-farm "^1.3.1" @@ -3717,16 +3645,16 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1: dependencies: js-tokens "^3.0.0" -lottie-ios@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/lottie-ios/-/lottie-ios-2.0.5.tgz#3da0871e981f5621c633296eab0d9cf2340c0bcd" +lottie-ios@^2.1.3: + version "2.1.3" + resolved "https://registry.yarnpkg.com/lottie-ios/-/lottie-ios-2.1.3.tgz#57b2328511a26606dc6de7a74bbdbf77f92c6aa0" -lottie-react-native@2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/lottie-react-native/-/lottie-react-native-2.2.0.tgz#18196806ef6546cd3e01b24fc5a5974f02e4f017" +lottie-react-native@2.2.7: + version "2.2.7" + resolved "https://registry.yarnpkg.com/lottie-react-native/-/lottie-react-native-2.2.7.tgz#d89cf6e0a093693d5fed2999a986cbcb1a090955" dependencies: invariant "^2.2.2" - lottie-ios "^2.0.5" + lottie-ios "^2.1.3" prop-types "^15.5.10" react-native-safe-module "^1.1.0" @@ -3816,9 +3744,9 @@ methods@^1.1.1, methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" -metro-bundler@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/metro-bundler/-/metro-bundler-0.11.0.tgz#ba5d2ae34943da28a37c2098047ad265c16fddf4" +metro-bundler@^0.13.0: + version "0.13.0" + resolved "https://registry.yarnpkg.com/metro-bundler/-/metro-bundler-0.13.0.tgz#a1510eaecfc3db8ef46d2a936a3cc18f651e26f7" dependencies: absolute-path "^0.0.0" async "^2.4.0" @@ -3829,17 +3757,17 @@ metro-bundler@^0.11.0: babel-preset-fbjs "^2.1.4" babel-preset-react-native "^2.0.0" babel-register "^6.24.1" - babylon "^6.17.0" + babylon "^6.18.0" chalk "^1.1.1" concat-stream "^1.6.0" core-js "^2.2.2" debug "^2.2.0" denodeify "^1.2.1" - fbjs "0.8.12" + fbjs "0.8.14" graceful-fs "^4.1.3" image-size "^0.6.0" - jest-docblock "20.1.0-chi.1" - jest-haste-map "20.1.0-chi.1" + jest-docblock "20.1.0-echo.1" + jest-haste-map "20.1.0-echo.1" json-stable-stringify "^1.0.1" json5 "^0.4.0" left-pad "^1.1.3" @@ -4643,15 +4571,15 @@ react-native-drawer-layout@1.3.2: dependencies: react-native-dismiss-keyboard "1.0.0" -react-native-gesture-handler@1.0.0-alpha.22: - version "1.0.0-alpha.22" - resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.22.tgz#96e5ae08b26a9e99d115f6e16f63d7487ef995fc" +react-native-gesture-handler@1.0.0-alpha.28: + version "1.0.0-alpha.28" + resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.28.tgz#198c776b7b7d299f9b03017f666a9829f996e30d" dependencies: prop-types "^15.5.10" -react-native-maps@0.15.3: - version "0.15.3" - resolved "https://registry.yarnpkg.com/react-native-maps/-/react-native-maps-0.15.3.tgz#5d9e0a8e30ecc51dc755b7a3b9d6b6ed5e2dd08c" +react-native-maps@0.17.0: + version "0.17.0" + resolved "https://registry.yarnpkg.com/react-native-maps/-/react-native-maps-0.17.0.tgz#d10fa94a049432c46b6ee03fe9db84c83da65c8b" react-native-safe-module@^1.1.0: version "1.2.0" @@ -4678,18 +4606,18 @@ react-native-scripts@^1.3.1: rimraf "^2.6.1" xdl "44.0.0" -react-native-svg@5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-5.3.0.tgz#0d2ca98bee6726d627c2ca31617ac9c5f7d42daf" +react-native-svg@5.4.2: + version "5.4.2" + resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-5.4.2.tgz#a01b4d88cda4b8ef4b2bc1adf05e11ec93a77b79" dependencies: color "^0.11.1" lodash "^4.16.6" -react-native-tab-view@^0.0.69: - version "0.0.69" - resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.69.tgz#f52d4354a98a382f10eb5fcf61db5216c91dc7e7" +react-native-tab-view@^0.0.70: + version "0.0.70" + resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.70.tgz#1dd2ded32acd0cb6bfef38d26e53675db733b37b" dependencies: - prop-types "^15.5.8" + prop-types "^15.5.10" react-native-vector-icons@4.1.1: version "4.1.1" @@ -4699,59 +4627,38 @@ react-native-vector-icons@4.1.1: prop-types "^15.5.8" yargs "^6.3.0" -react-native@~0.48.4: - version "0.48.4" - resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.48.4.tgz#f305e9fef069a5b3f6a7250ddd50f603cf30ab2d" +react-native@^0.49.3: + version "0.49.5" + resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.49.5.tgz#89f0fe93a8da4db2670c4bd0d81131a2ff617f27" dependencies: absolute-path "^0.0.0" art "^0.10.0" - async "^2.4.0" babel-core "^6.24.1" - babel-generator "^6.24.1" - babel-plugin-external-helpers "^6.18.0" babel-plugin-syntax-trailing-function-commas "^6.20.0" babel-plugin-transform-async-to-generator "6.16.0" babel-plugin-transform-class-properties "^6.18.0" babel-plugin-transform-flow-strip-types "^6.21.0" babel-plugin-transform-object-rest-spread "^6.20.2" - babel-polyfill "^6.20.0" - babel-preset-es2015-node "^6.1.1" - babel-preset-fbjs "^2.1.4" - babel-preset-react-native "^2.0.0" babel-register "^6.24.1" babel-runtime "^6.23.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - babylon "^6.17.0" base64-js "^1.1.2" - bser "^1.0.2" chalk "^1.1.1" commander "^2.9.0" - concat-stream "^1.6.0" connect "^2.8.3" - core-js "^2.2.2" create-react-class "^15.5.2" debug "^2.2.0" denodeify "^1.2.1" envinfo "^3.0.0" - errno ">=0.1.1 <0.2.0-0" event-target-shim "^1.0.5" - fbjs "0.8.12" - fbjs-scripts "^0.7.0" - form-data "^2.1.1" + fbjs "0.8.14" + fbjs-scripts "^0.8.1" fs-extra "^1.0.0" glob "^7.1.1" graceful-fs "^4.1.3" inquirer "^3.0.6" - jest-haste-map "20.1.0-delta.4" - json-stable-stringify "^1.0.1" - json5 "^0.4.0" - left-pad "^1.1.3" lodash "^4.16.6" - merge-stream "^1.0.1" - metro-bundler "^0.11.0" + metro-bundler "^0.13.0" mime "^1.3.4" - mime-types "2.1.11" minimist "^1.2.0" mkdirp "^0.5.1" node-fetch "^1.3.3" @@ -4765,30 +4672,19 @@ react-native@~0.48.4: react-clone-referenced-element "^1.0.1" react-devtools-core "^2.5.0" react-timer-mixin "^0.13.2" - react-transform-hmr "^1.0.4" - rebound "^0.0.13" regenerator-runtime "^0.9.5" - request "^2.79.0" rimraf "^2.5.4" - sane "~1.4.1" semver "^5.0.3" shell-quote "1.6.1" - source-map "^0.5.6" stacktrace-parser "^0.1.3" - temp "0.8.3" - throat "^4.1.0" whatwg-fetch "^1.0.0" - wordwrap "^1.0.0" - write-file-atomic "^1.2.0" ws "^1.1.0" xcode "^0.9.1" xmldoc "^0.4.0" - xpipe "^1.0.5" - xtend ">=4.0.0 <4.1.0-0" yargs "^6.4.0" "react-navigation@file:../..": - version "1.0.0-beta.13" + version "1.0.0-beta.15" dependencies: babel-plugin-transform-define "^1.3.0" clamp "^1.0.1" @@ -4796,7 +4692,7 @@ react-native@~0.48.4: path-to-regexp "^1.7.0" prop-types "^15.5.10" react-native-drawer-layout-polyfill "^1.3.2" - react-native-tab-view "^0.0.69" + react-native-tab-view "^0.0.70" react-proxy@^1.1.7: version "1.1.8" @@ -4823,6 +4719,13 @@ react-test-renderer@16.0.0-alpha.12: fbjs "^0.8.9" object-assign "^4.1.0" +react-test-renderer@16.0.0-beta.5: + version "16.0.0-beta.5" + resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.0.0-beta.5.tgz#6169e2ea96e8d21645662b369c23239974cd1f11" + dependencies: + fbjs "^0.8.9" + object-assign "^4.1.0" + react-timer-mixin@^0.13.2: version "0.13.3" resolved "https://registry.yarnpkg.com/react-timer-mixin/-/react-timer-mixin-0.13.3.tgz#0da8b9f807ec07dc3e854d082c737c65605b3d22" @@ -4834,11 +4737,10 @@ react-transform-hmr@^1.0.4: global "^4.3.0" react-proxy "^1.1.7" -react@16.0.0-alpha.12: - version "16.0.0-alpha.12" - resolved "https://registry.yarnpkg.com/react/-/react-16.0.0-alpha.12.tgz#8c59485281485df319b6f77682d8dd0621c08194" +react@16.0.0-beta.5: + version "16.0.0-beta.5" + resolved "https://registry.yarnpkg.com/react/-/react-16.0.0-beta.5.tgz#b4abba9bce7db72c30633db54a148614b6574e79" dependencies: - create-react-class "^15.5.2" fbjs "^0.8.9" loose-envify "^1.1.0" object-assign "^4.1.0" @@ -4887,10 +4789,6 @@ readable-stream@2, readable-stream@^2.0.1, readable-stream@^2.0.5, readable-stre string_decoder "~1.0.3" util-deprecate "~1.0.1" -rebound@^0.0.13: - version "0.0.13" - resolved "https://registry.yarnpkg.com/rebound/-/rebound-0.0.13.tgz#4a225254caf7da756797b19c5817bf7a7941fac1" - redux-logger@^2.7.4: version "2.10.2" resolved "https://registry.yarnpkg.com/redux-logger/-/redux-logger-2.10.2.tgz#3c5a5f0a6f32577c1deadf6655f257f82c6c3937" @@ -5127,17 +5025,6 @@ sane@^2.0.0: optionalDependencies: fsevents "^1.1.1" -sane@~1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/sane/-/sane-1.4.1.tgz#88f763d74040f5f0c256b6163db399bf110ac715" - dependencies: - exec-sh "^0.2.0" - fb-watchman "^1.8.0" - minimatch "^3.0.2" - minimist "^1.1.1" - walker "~1.0.5" - watch "~0.10.0" - sane@~1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/sane/-/sane-1.6.0.tgz#9610c452307a135d29c1fdfe2547034180c46775" @@ -5976,14 +5863,14 @@ wordwrap@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" -wordwrap@^1.0.0, wordwrap@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - wordwrap@~0.0.2: version "0.0.3" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" +wordwrap@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" + worker-farm@^1.3.1: version "1.5.0" resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.5.0.tgz#adfdf0cd40581465ed0a1f648f9735722afd5c8d" @@ -6132,7 +6019,7 @@ xregexp@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-2.0.0.tgz#52a63e56ca0b84a7f3a5f3d61872f126ad7a5943" -"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.1, xtend@~4.0.1: +xtend@^4.0.1, xtend@~4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" diff --git a/flow-typed/npm/babel-cli_vx.x.x.js b/flow-typed/npm/babel-cli_vx.x.x.js index 74760db..055792f 100644 --- a/flow-typed/npm/babel-cli_vx.x.x.js +++ b/flow-typed/npm/babel-cli_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ebb2dc802b3f17d89ea3e6e93c7abcab -// flow-typed version: <>/babel-cli_v^6.24.1/flow_v0.51.0 +// flow-typed signature: f5e1319e18fa49c25ac384effc5176c7 +// flow-typed version: <>/babel-cli_v^6.24.1/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-core_vx.x.x.js b/flow-typed/npm/babel-core_vx.x.x.js index 8475ddf..27a1e52 100644 --- a/flow-typed/npm/babel-core_vx.x.x.js +++ b/flow-typed/npm/babel-core_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 6e30dcfd3aebee9a63401dfe77e6ab4c -// flow-typed version: <>/babel-core_v^6.25.0/flow_v0.51.0 +// flow-typed signature: c1d5f9048bbd73cf0f4e05789a1d6f76 +// flow-typed version: <>/babel-core_v^6.25.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-eslint_vx.x.x.js b/flow-typed/npm/babel-eslint_vx.x.x.js index 5ae23ee..1950d08 100644 --- a/flow-typed/npm/babel-eslint_vx.x.x.js +++ b/flow-typed/npm/babel-eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3df381be6db1c72482a9a1ec476a886b -// flow-typed version: <>/babel-eslint_v^7.2.3/flow_v0.51.0 +// flow-typed signature: e28a9725d1c96626d439b7d01aa87d7a +// flow-typed version: <>/babel-eslint_v^7.2.3/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-jest_vx.x.x.js b/flow-typed/npm/babel-jest_vx.x.x.js index 77839e2..270e87a 100644 --- a/flow-typed/npm/babel-jest_vx.x.x.js +++ b/flow-typed/npm/babel-jest_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: e3972eedd4181bb1001af84de2212736 -// flow-typed version: <>/babel-jest_v^20.0.3/flow_v0.51.0 +// flow-typed signature: dfeaffdc035b358dd96c55496ae3871c +// flow-typed version: <>/babel-jest_v^20.0.3/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-transform-define_vx.x.x.js b/flow-typed/npm/babel-plugin-transform-define_vx.x.x.js index b2bbf06..d9b7293 100644 --- a/flow-typed/npm/babel-plugin-transform-define_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-transform-define_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 178f6fedd6484c412deb36d2fc51b480 -// flow-typed version: <>/babel-plugin-transform-define_v^1.3.0/flow_v0.51.0 +// flow-typed signature: a670b876b547d1b25ef0424c268358a4 +// flow-typed version: <>/babel-plugin-transform-define_v^1.3.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-es2015_vx.x.x.js b/flow-typed/npm/babel-preset-es2015_vx.x.x.js index 9439037..d563684 100644 --- a/flow-typed/npm/babel-preset-es2015_vx.x.x.js +++ b/flow-typed/npm/babel-preset-es2015_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: b565f8696c0ef8724cae3e0af43df89f -// flow-typed version: <>/babel-preset-es2015_v^6.24.1/flow_v0.51.0 +// flow-typed signature: 3d81e93128085d510230a17bcf740885 +// flow-typed version: <>/babel-preset-es2015_v^6.24.1/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-react-native-stage-0_vx.x.x.js b/flow-typed/npm/babel-preset-react-native-stage-0_vx.x.x.js index 53c7750..260ab63 100644 --- a/flow-typed/npm/babel-preset-react-native-stage-0_vx.x.x.js +++ b/flow-typed/npm/babel-preset-react-native-stage-0_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 75331221a2b438061f6290972bed3edb -// flow-typed version: <>/babel-preset-react-native-stage-0_v^1.0.1/flow_v0.51.0 +// flow-typed signature: 7242cc9c9c438ae2e520190a20aae5ce +// flow-typed version: <>/babel-preset-react-native-stage-0_v^1.0.1/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-react-native-syntax_vx.x.x.js b/flow-typed/npm/babel-preset-react-native-syntax_vx.x.x.js index 517a8e7..ce9ecf3 100644 --- a/flow-typed/npm/babel-preset-react-native-syntax_vx.x.x.js +++ b/flow-typed/npm/babel-preset-react-native-syntax_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 57c87eb1fb3b55786881f12b604fa66a -// flow-typed version: <>/babel-preset-react-native-syntax_v^1.0.0/flow_v0.51.0 +// flow-typed signature: 4dbaf73edfb0720940043696b0a58ed7 +// flow-typed version: <>/babel-preset-react-native-syntax_v^1.0.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-react-native_vx.x.x.js b/flow-typed/npm/babel-preset-react-native_vx.x.x.js index 23853e5..a1b2e06 100644 --- a/flow-typed/npm/babel-preset-react-native_vx.x.x.js +++ b/flow-typed/npm/babel-preset-react-native_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1ee1a81515728c2b3deee2529d4f5f46 -// flow-typed version: <>/babel-preset-react-native_v^2.1.0/flow_v0.51.0 +// flow-typed signature: 48213b3a96834e8c0012431509c578e1 +// flow-typed version: <>/babel-preset-react-native_v^2.1.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-react_vx.x.x.js b/flow-typed/npm/babel-preset-react_vx.x.x.js index 34dd9b6..76f3906 100644 --- a/flow-typed/npm/babel-preset-react_vx.x.x.js +++ b/flow-typed/npm/babel-preset-react_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: d4e60d73a0307350eb745d441f32a711 -// flow-typed version: <>/babel-preset-react_v^6.24.1/flow_v0.51.0 +// flow-typed signature: dcb3c3b6df7fc88f964d98ac91df65d0 +// flow-typed version: <>/babel-preset-react_v^6.24.1/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-stage-1_vx.x.x.js b/flow-typed/npm/babel-preset-stage-1_vx.x.x.js index bd99044..c489653 100644 --- a/flow-typed/npm/babel-preset-stage-1_vx.x.x.js +++ b/flow-typed/npm/babel-preset-stage-1_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 535d4d7f9913de1766467c8d1ad73061 -// flow-typed version: <>/babel-preset-stage-1_v^6.24.1/flow_v0.51.0 +// flow-typed signature: eabcd01f0cbef57bf53e1d6e8227223a +// flow-typed version: <>/babel-preset-stage-1_v^6.24.1/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/clamp_vx.x.x.js b/flow-typed/npm/clamp_vx.x.x.js index 88207f3..a851863 100644 --- a/flow-typed/npm/clamp_vx.x.x.js +++ b/flow-typed/npm/clamp_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 18f129114a0c79d2a0a6e3ac489248d9 -// flow-typed version: <>/clamp_v^1.0.1/flow_v0.51.0 +// flow-typed signature: 5d53c1dc058e8864450c1d7f101839c4 +// flow-typed version: <>/clamp_v^1.0.1/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/codecov_vx.x.x.js b/flow-typed/npm/codecov_vx.x.x.js index e4d4b06..4ac8eb3 100644 --- a/flow-typed/npm/codecov_vx.x.x.js +++ b/flow-typed/npm/codecov_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: d484c74248f66d84a575e69f09d5f2b7 -// flow-typed version: <>/codecov_v^2.2.0/flow_v0.51.0 +// flow-typed signature: 723fd5bb783f96ff5e5ffbe070204b69 +// flow-typed version: <>/codecov_v^2.2.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-config-prettier_vx.x.x.js b/flow-typed/npm/eslint-config-prettier_vx.x.x.js index 550c1ed..abd5d0e 100644 --- a/flow-typed/npm/eslint-config-prettier_vx.x.x.js +++ b/flow-typed/npm/eslint-config-prettier_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: b79def5c90aaafa63b6560804fdc80b5 -// flow-typed version: <>/eslint-config-prettier_v^2.3.0/flow_v0.51.0 +// flow-typed signature: 3fdf20db0f0f2b9358b75976f3cc4b73 +// flow-typed version: <>/eslint-config-prettier_v^2.3.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -38,6 +38,10 @@ declare module 'eslint-config-prettier/react' { declare module.exports: any; } +declare module 'eslint-config-prettier/standard' { + declare module.exports: any; +} + // Filename aliases declare module 'eslint-config-prettier/bin/cli.js' { declare module.exports: $Exports<'eslint-config-prettier/bin/cli'>; @@ -57,3 +61,6 @@ declare module 'eslint-config-prettier/index.js' { declare module 'eslint-config-prettier/react.js' { declare module.exports: $Exports<'eslint-config-prettier/react'>; } +declare module 'eslint-config-prettier/standard.js' { + declare module.exports: $Exports<'eslint-config-prettier/standard'>; +} diff --git a/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js b/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js index 1b407ff..3630c7c 100644 --- a/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 82f7f386a3b74932e476dba0641a83bf -// flow-typed version: <>/eslint-plugin-flowtype_v^2.35.0/flow_v0.51.0 +// flow-typed signature: ffb85fc45aaaa467e906526413920334 +// flow-typed version: <>/eslint-plugin-flowtype_v^2.35.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -50,6 +50,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys' { declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray' { + declare module.exports: any; +} + declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes' { declare module.exports: any; } @@ -58,6 +62,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation' declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions' { + declare module.exports: any; +} + declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes' { declare module.exports: any; } @@ -216,12 +224,18 @@ declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing.js' { declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noDupeKeys'>; } +declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noMutableArray'>; +} declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes'>; } declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation'>; } +declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noUnusedExpressions'>; +} declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noWeakTypes'>; } diff --git a/flow-typed/npm/eslint-plugin-import_vx.x.x.js b/flow-typed/npm/eslint-plugin-import_vx.x.x.js index 7a20281..10e4bc9 100644 --- a/flow-typed/npm/eslint-plugin-import_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-import_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 4ea0ace5576440cc99923f5efa67b4e3 -// flow-typed version: <>/eslint-plugin-import_v^2.7.0/flow_v0.51.0 +// flow-typed signature: 078bf90e28dc2b5eb0a99a3e67d45a2b +// flow-typed version: <>/eslint-plugin-import_v^2.7.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -78,6 +78,10 @@ declare module 'eslint-plugin-import/lib/rules/export' { declare module.exports: any; } +declare module 'eslint-plugin-import/lib/rules/exports-last' { + declare module.exports: any; +} + declare module 'eslint-plugin-import/lib/rules/extensions' { declare module.exports: any; } @@ -241,6 +245,9 @@ declare module 'eslint-plugin-import/lib/rules/default.js' { declare module 'eslint-plugin-import/lib/rules/export.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/export'>; } +declare module 'eslint-plugin-import/lib/rules/exports-last.js' { + declare module.exports: $Exports<'eslint-plugin-import/lib/rules/exports-last'>; +} declare module 'eslint-plugin-import/lib/rules/extensions.js' { declare module.exports: $Exports<'eslint-plugin-import/lib/rules/extensions'>; } diff --git a/flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js b/flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js index 2073e71..55fd997 100644 --- a/flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 9557f2195b95aea9e9642793c6b21c5a -// flow-typed version: <>/eslint-plugin-jsx-a11y_v^6.0.2/flow_v0.51.0 +// flow-typed signature: 6aa89ee7e52f12858095a7a2ae30aa8b +// flow-typed version: <>/eslint-plugin-jsx-a11y_v^6.0.2/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-plugin-prettier_vx.x.x.js b/flow-typed/npm/eslint-plugin-prettier_vx.x.x.js index fdb72dc..0375584 100644 --- a/flow-typed/npm/eslint-plugin-prettier_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-prettier_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 7b7630de521fce26208f7c16dbb0455b -// flow-typed version: <>/eslint-plugin-prettier_v^2.1.2/flow_v0.51.0 +// flow-typed signature: 17b81163291b37cac179f2554c576bce +// flow-typed version: <>/eslint-plugin-prettier_v^2.1.2/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-plugin-react_vx.x.x.js b/flow-typed/npm/eslint-plugin-react_vx.x.x.js index 337f4dc..6ccacd7 100644 --- a/flow-typed/npm/eslint-plugin-react_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-react_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ea6ca68500e4e9e0009cc35f69695016 -// flow-typed version: <>/eslint-plugin-react_v^7.1.0/flow_v0.51.0 +// flow-typed signature: 08153f43b62f7d0ea16d06b2d5778ded +// flow-typed version: <>/eslint-plugin-react_v^7.1.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -22,6 +22,10 @@ declare module 'eslint-plugin-react' { * require those files directly. Feel free to delete any files that aren't * needed. */ +declare module 'eslint-plugin-react/lib/rules/boolean-prop-naming' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/default-props-match-prop-types' { declare module.exports: any; } @@ -58,6 +62,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-closing-tag-location' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/jsx-curly-brace-presence' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing' { declare module.exports: any; } @@ -206,6 +214,10 @@ declare module 'eslint-plugin-react/lib/rules/no-string-refs' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/no-typos' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities' { declare module.exports: any; } @@ -218,6 +230,10 @@ declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/no-unused-state' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/no-will-update-set-state' { declare module.exports: any; } @@ -305,6 +321,9 @@ declare module 'eslint-plugin-react/index' { declare module 'eslint-plugin-react/index.js' { declare module.exports: $Exports<'eslint-plugin-react'>; } +declare module 'eslint-plugin-react/lib/rules/boolean-prop-naming.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/boolean-prop-naming'>; +} declare module 'eslint-plugin-react/lib/rules/default-props-match-prop-types.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/default-props-match-prop-types'>; } @@ -332,6 +351,9 @@ declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js' { declare module 'eslint-plugin-react/lib/rules/jsx-closing-tag-location.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-closing-tag-location'>; } +declare module 'eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-brace-presence'>; +} declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-spacing'>; } @@ -443,6 +465,9 @@ declare module 'eslint-plugin-react/lib/rules/no-set-state.js' { declare module 'eslint-plugin-react/lib/rules/no-string-refs.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-string-refs'>; } +declare module 'eslint-plugin-react/lib/rules/no-typos.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-typos'>; +} declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unescaped-entities'>; } @@ -452,6 +477,9 @@ declare module 'eslint-plugin-react/lib/rules/no-unknown-property.js' { declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unused-prop-types'>; } +declare module 'eslint-plugin-react/lib/rules/no-unused-state.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unused-state'>; +} declare module 'eslint-plugin-react/lib/rules/no-will-update-set-state.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-will-update-set-state'>; } diff --git a/flow-typed/npm/eslint_vx.x.x.js b/flow-typed/npm/eslint_vx.x.x.js index 127c501..927fd8c 100644 --- a/flow-typed/npm/eslint_vx.x.x.js +++ b/flow-typed/npm/eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 173e2e16c3bec8bd7d66b3dfa0c8924d -// flow-typed version: <>/eslint_v^4.2.0/flow_v0.51.0 +// flow-typed signature: af990aba8d35ceb65d038fd11a7de89a +// flow-typed version: <>/eslint_v^4.2.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -214,7 +214,7 @@ declare module 'eslint/lib/options' { declare module.exports: any; } -declare module 'eslint/lib/rule-context' { +declare module 'eslint/lib/report-translator' { declare module.exports: any; } @@ -358,6 +358,10 @@ declare module 'eslint/lib/rules/func-style' { declare module.exports: any; } +declare module 'eslint/lib/rules/function-paren-newline' { + declare module.exports: any; +} + declare module 'eslint/lib/rules/generator-star-spacing' { declare module.exports: any; } @@ -430,6 +434,10 @@ declare module 'eslint/lib/rules/lines-around-directive' { declare module.exports: any; } +declare module 'eslint/lib/rules/lines-between-class-members' { + declare module.exports: any; +} + declare module 'eslint/lib/rules/max-depth' { declare module.exports: any; } @@ -458,6 +466,10 @@ declare module 'eslint/lib/rules/max-statements' { declare module.exports: any; } +declare module 'eslint/lib/rules/multiline-comment-style' { + declare module.exports: any; +} + declare module 'eslint/lib/rules/multiline-ternary' { declare module.exports: any; } @@ -1234,10 +1246,6 @@ declare module 'eslint/lib/rules/yoda' { declare module.exports: any; } -declare module 'eslint/lib/testers/event-generator-tester' { - declare module.exports: any; -} - declare module 'eslint/lib/testers/rule-tester' { declare module.exports: any; } @@ -1302,6 +1310,10 @@ declare module 'eslint/lib/util/ajv' { declare module.exports: any; } +declare module 'eslint/lib/util/apply-disable-directives' { + declare module.exports: any; +} + declare module 'eslint/lib/util/fix-tracker' { declare module.exports: any; } @@ -1346,6 +1358,10 @@ declare module 'eslint/lib/util/rule-fixer' { declare module.exports: any; } +declare module 'eslint/lib/util/safe-emitter' { + declare module.exports: any; +} + declare module 'eslint/lib/util/source-code-fixer' { declare module.exports: any; } @@ -1511,8 +1527,8 @@ declare module 'eslint/lib/logging.js' { declare module 'eslint/lib/options.js' { declare module.exports: $Exports<'eslint/lib/options'>; } -declare module 'eslint/lib/rule-context.js' { - declare module.exports: $Exports<'eslint/lib/rule-context'>; +declare module 'eslint/lib/report-translator.js' { + declare module.exports: $Exports<'eslint/lib/report-translator'>; } declare module 'eslint/lib/rules.js' { declare module.exports: $Exports<'eslint/lib/rules'>; @@ -1619,6 +1635,9 @@ declare module 'eslint/lib/rules/func-names.js' { declare module 'eslint/lib/rules/func-style.js' { declare module.exports: $Exports<'eslint/lib/rules/func-style'>; } +declare module 'eslint/lib/rules/function-paren-newline.js' { + declare module.exports: $Exports<'eslint/lib/rules/function-paren-newline'>; +} declare module 'eslint/lib/rules/generator-star-spacing.js' { declare module.exports: $Exports<'eslint/lib/rules/generator-star-spacing'>; } @@ -1673,6 +1692,9 @@ declare module 'eslint/lib/rules/lines-around-comment.js' { declare module 'eslint/lib/rules/lines-around-directive.js' { declare module.exports: $Exports<'eslint/lib/rules/lines-around-directive'>; } +declare module 'eslint/lib/rules/lines-between-class-members.js' { + declare module.exports: $Exports<'eslint/lib/rules/lines-between-class-members'>; +} declare module 'eslint/lib/rules/max-depth.js' { declare module.exports: $Exports<'eslint/lib/rules/max-depth'>; } @@ -1694,6 +1716,9 @@ declare module 'eslint/lib/rules/max-statements-per-line.js' { declare module 'eslint/lib/rules/max-statements.js' { declare module.exports: $Exports<'eslint/lib/rules/max-statements'>; } +declare module 'eslint/lib/rules/multiline-comment-style.js' { + declare module.exports: $Exports<'eslint/lib/rules/multiline-comment-style'>; +} declare module 'eslint/lib/rules/multiline-ternary.js' { declare module.exports: $Exports<'eslint/lib/rules/multiline-ternary'>; } @@ -2276,9 +2301,6 @@ declare module 'eslint/lib/rules/yield-star-spacing.js' { declare module 'eslint/lib/rules/yoda.js' { declare module.exports: $Exports<'eslint/lib/rules/yoda'>; } -declare module 'eslint/lib/testers/event-generator-tester.js' { - declare module.exports: $Exports<'eslint/lib/testers/event-generator-tester'>; -} declare module 'eslint/lib/testers/rule-tester.js' { declare module.exports: $Exports<'eslint/lib/testers/rule-tester'>; } @@ -2327,6 +2349,9 @@ declare module 'eslint/lib/token-store/utils.js' { declare module 'eslint/lib/util/ajv.js' { declare module.exports: $Exports<'eslint/lib/util/ajv'>; } +declare module 'eslint/lib/util/apply-disable-directives.js' { + declare module.exports: $Exports<'eslint/lib/util/apply-disable-directives'>; +} declare module 'eslint/lib/util/fix-tracker.js' { declare module.exports: $Exports<'eslint/lib/util/fix-tracker'>; } @@ -2360,6 +2385,9 @@ declare module 'eslint/lib/util/patterns/letters.js' { declare module 'eslint/lib/util/rule-fixer.js' { declare module.exports: $Exports<'eslint/lib/util/rule-fixer'>; } +declare module 'eslint/lib/util/safe-emitter.js' { + declare module.exports: $Exports<'eslint/lib/util/safe-emitter'>; +} declare module 'eslint/lib/util/source-code-fixer.js' { declare module.exports: $Exports<'eslint/lib/util/source-code-fixer'>; } diff --git a/flow-typed/npm/hoist-non-react-statics_vx.x.x.js b/flow-typed/npm/hoist-non-react-statics_vx.x.x.js index 9bc1f54..f5e2442 100644 --- a/flow-typed/npm/hoist-non-react-statics_vx.x.x.js +++ b/flow-typed/npm/hoist-non-react-statics_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 2420f6e61267a4a2cc309c97710f2b13 -// flow-typed version: <>/hoist-non-react-statics_v^2.2.0/flow_v0.51.0 +// flow-typed signature: ca1871262f8bc63c9a045e96cec914e8 +// flow-typed version: <>/hoist-non-react-statics_v^2.2.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/husky_vx.x.x.js b/flow-typed/npm/husky_vx.x.x.js index b30d6aa..cf2000b 100644 --- a/flow-typed/npm/husky_vx.x.x.js +++ b/flow-typed/npm/husky_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 4fdb4ded90c07a2f76c9021de4d800b4 -// flow-typed version: <>/husky_v^0.14.3/flow_v0.51.0 +// flow-typed signature: 930164f24ba609d4a0838e95218c138a +// flow-typed version: <>/husky_v^0.14.3/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/lint-staged_vx.x.x.js b/flow-typed/npm/lint-staged_vx.x.x.js index 33609dc..2b6d476 100644 --- a/flow-typed/npm/lint-staged_vx.x.x.js +++ b/flow-typed/npm/lint-staged_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: f2a5691cc957c85ee168949d07ea8aee -// flow-typed version: <>/lint-staged_v^4.2.1/flow_v0.51.0 +// flow-typed signature: 84a9a1cd711dae71521c0f49f8414eb9 +// flow-typed version: <>/lint-staged_v^4.2.1/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/path-to-regexp_vx.x.x.js b/flow-typed/npm/path-to-regexp_vx.x.x.js index 3f71a63..52a1878 100644 --- a/flow-typed/npm/path-to-regexp_vx.x.x.js +++ b/flow-typed/npm/path-to-regexp_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 19d6c23aa4afe0e737c2b58b9a43076d -// flow-typed version: <>/path-to-regexp_v^1.7.0/flow_v0.51.0 +// flow-typed signature: 01d476f3be5ebe6f8e91e00282cf8bec +// flow-typed version: <>/path-to-regexp_v^1.7.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/prettier-eslint_vx.x.x.js b/flow-typed/npm/prettier-eslint_vx.x.x.js index e20dd92..6c47f5a 100644 --- a/flow-typed/npm/prettier-eslint_vx.x.x.js +++ b/flow-typed/npm/prettier-eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: b522b764e6e679e38f1a5d3048a967a9 -// flow-typed version: <>/prettier-eslint_v^6.4.2/flow_v0.51.0 +// flow-typed signature: b7f36edc7066ed49af8665f610d99eaa +// flow-typed version: <>/prettier-eslint_v^6.4.2/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/prettier_vx.x.x.js b/flow-typed/npm/prettier_vx.x.x.js index f56e5a3..65cee1f 100644 --- a/flow-typed/npm/prettier_vx.x.x.js +++ b/flow-typed/npm/prettier_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 059378722069c524e383caa65a0e6772 -// flow-typed version: <>/prettier_v^1.5.3/flow_v0.51.0 +// flow-typed signature: 38fc6a38fb3db6326f4376e1a0a9b663 +// flow-typed version: <>/prettier_v^1.5.3/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -38,10 +38,6 @@ declare module 'prettier/parser-graphql' { declare module.exports: any; } -declare module 'prettier/parser-json' { - declare module.exports: any; -} - declare module 'prettier/parser-parse5' { declare module.exports: any; } @@ -73,9 +69,6 @@ declare module 'prettier/parser-flow.js' { declare module 'prettier/parser-graphql.js' { declare module.exports: $Exports<'prettier/parser-graphql'>; } -declare module 'prettier/parser-json.js' { - declare module.exports: $Exports<'prettier/parser-json'>; -} declare module 'prettier/parser-parse5.js' { declare module.exports: $Exports<'prettier/parser-parse5'>; } diff --git a/flow-typed/npm/react-native-drawer-layout-polyfill_vx.x.x.js b/flow-typed/npm/react-native-drawer-layout-polyfill_vx.x.x.js index 8cce16b..33c2490 100644 --- a/flow-typed/npm/react-native-drawer-layout-polyfill_vx.x.x.js +++ b/flow-typed/npm/react-native-drawer-layout-polyfill_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: f77896c6d35da366703c12c9cb94c482 -// flow-typed version: <>/react-native-drawer-layout-polyfill_v^1.3.2/flow_v0.51.0 +// flow-typed signature: 955a754c9cf0044960be869a6720689d +// flow-typed version: <>/react-native-drawer-layout-polyfill_v^1.3.2/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/react-native-tab-view_vx.x.x.js b/flow-typed/npm/react-native-tab-view_vx.x.x.js index ece6fff..9712268 100644 --- a/flow-typed/npm/react-native-tab-view_vx.x.x.js +++ b/flow-typed/npm/react-native-tab-view_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 86fb6e16c48818a43325691bf8be9516 -// flow-typed version: <>/react-native-tab-view_v^0.0.69/flow_v0.51.0 +// flow-typed signature: 9fca0611af059dd567467143c5d57f57 +// flow-typed version: <>/react-native-tab-view_v^0.0.70/flow_v0.53.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/react-native-vector-icons_vx.x.x.js b/flow-typed/npm/react-native-vector-icons_vx.x.x.js index 2a850ed..dc7932f 100644 --- a/flow-typed/npm/react-native-vector-icons_vx.x.x.js +++ b/flow-typed/npm/react-native-vector-icons_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 788d246453dc8d5854d8afdd311e8b8e -// flow-typed version: <>/react-native-vector-icons_v^4.2.0/flow_v0.51.0 +// flow-typed signature: d610eea51b98a43ddc07b31057f40497 +// flow-typed version: <>/react-native-vector-icons_v^4.2.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -22,6 +22,102 @@ declare module 'react-native-vector-icons' { * require those files directly. Feel free to delete any files that aren't * needed. */ +declare module 'react-native-vector-icons/bin/generate-icon' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/bin/generate-material-icons' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/Entypo' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/EvilIcons' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/Feather' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/FontAwesome' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/Foundation' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/index' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/Ionicons' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/lib/create-icon-set-from-fontello' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/lib/create-icon-set-from-icomoon' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/lib/create-icon-set' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/lib/generate-icon-set-from-css' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/lib/icon-button' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/lib/react-native' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/lib/react-native.osx' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/lib/tab-bar-item-ios' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/lib/toolbar-android' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/MaterialCommunityIcons' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/MaterialIcons' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/Octicons' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/RNIMigration' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/SimpleLineIcons' { + declare module.exports: any; +} + +declare module 'react-native-vector-icons/dist/Zocial' { + declare module.exports: any; +} + declare module 'react-native-vector-icons/Entypo' { declare module.exports: any; } @@ -30,6 +126,10 @@ declare module 'react-native-vector-icons/EvilIcons' { declare module.exports: any; } +declare module 'react-native-vector-icons/Feather' { + declare module.exports: any; +} + declare module 'react-native-vector-icons/FontAwesome' { declare module.exports: any; } @@ -38,14 +138,6 @@ declare module 'react-native-vector-icons/Foundation' { declare module.exports: any; } -declare module 'react-native-vector-icons/generate-icon' { - declare module.exports: any; -} - -declare module 'react-native-vector-icons/generate-material-icons' { - declare module.exports: any; -} - declare module 'react-native-vector-icons/Ionicons' { declare module.exports: any; } @@ -111,24 +203,93 @@ declare module 'react-native-vector-icons/Zocial' { } // Filename aliases +declare module 'react-native-vector-icons/bin/generate-icon.js' { + declare module.exports: $Exports<'react-native-vector-icons/bin/generate-icon'>; +} +declare module 'react-native-vector-icons/bin/generate-material-icons.js' { + declare module.exports: $Exports<'react-native-vector-icons/bin/generate-material-icons'>; +} +declare module 'react-native-vector-icons/dist/Entypo.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/Entypo'>; +} +declare module 'react-native-vector-icons/dist/EvilIcons.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/EvilIcons'>; +} +declare module 'react-native-vector-icons/dist/Feather.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/Feather'>; +} +declare module 'react-native-vector-icons/dist/FontAwesome.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/FontAwesome'>; +} +declare module 'react-native-vector-icons/dist/Foundation.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/Foundation'>; +} +declare module 'react-native-vector-icons/dist/index.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/index'>; +} +declare module 'react-native-vector-icons/dist/Ionicons.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/Ionicons'>; +} +declare module 'react-native-vector-icons/dist/lib/create-icon-set-from-fontello.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/lib/create-icon-set-from-fontello'>; +} +declare module 'react-native-vector-icons/dist/lib/create-icon-set-from-icomoon.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/lib/create-icon-set-from-icomoon'>; +} +declare module 'react-native-vector-icons/dist/lib/create-icon-set.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/lib/create-icon-set'>; +} +declare module 'react-native-vector-icons/dist/lib/generate-icon-set-from-css.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/lib/generate-icon-set-from-css'>; +} +declare module 'react-native-vector-icons/dist/lib/icon-button.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/lib/icon-button'>; +} +declare module 'react-native-vector-icons/dist/lib/react-native.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/lib/react-native'>; +} +declare module 'react-native-vector-icons/dist/lib/react-native.osx.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/lib/react-native.osx'>; +} +declare module 'react-native-vector-icons/dist/lib/tab-bar-item-ios.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/lib/tab-bar-item-ios'>; +} +declare module 'react-native-vector-icons/dist/lib/toolbar-android.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/lib/toolbar-android'>; +} +declare module 'react-native-vector-icons/dist/MaterialCommunityIcons.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/MaterialCommunityIcons'>; +} +declare module 'react-native-vector-icons/dist/MaterialIcons.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/MaterialIcons'>; +} +declare module 'react-native-vector-icons/dist/Octicons.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/Octicons'>; +} +declare module 'react-native-vector-icons/dist/RNIMigration.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/RNIMigration'>; +} +declare module 'react-native-vector-icons/dist/SimpleLineIcons.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/SimpleLineIcons'>; +} +declare module 'react-native-vector-icons/dist/Zocial.js' { + declare module.exports: $Exports<'react-native-vector-icons/dist/Zocial'>; +} declare module 'react-native-vector-icons/Entypo.js' { declare module.exports: $Exports<'react-native-vector-icons/Entypo'>; } declare module 'react-native-vector-icons/EvilIcons.js' { declare module.exports: $Exports<'react-native-vector-icons/EvilIcons'>; } +declare module 'react-native-vector-icons/Feather.js' { + declare module.exports: $Exports<'react-native-vector-icons/Feather'>; +} declare module 'react-native-vector-icons/FontAwesome.js' { declare module.exports: $Exports<'react-native-vector-icons/FontAwesome'>; } declare module 'react-native-vector-icons/Foundation.js' { declare module.exports: $Exports<'react-native-vector-icons/Foundation'>; } -declare module 'react-native-vector-icons/generate-icon.js' { - declare module.exports: $Exports<'react-native-vector-icons/generate-icon'>; -} -declare module 'react-native-vector-icons/generate-material-icons.js' { - declare module.exports: $Exports<'react-native-vector-icons/generate-material-icons'>; -} declare module 'react-native-vector-icons/index' { declare module.exports: $Exports<'react-native-vector-icons'>; } diff --git a/flow-typed/npm/react-native_vx.x.x.js b/flow-typed/npm/react-native_vx.x.x.js index ca89ca9..1844bfa 100644 --- a/flow-typed/npm/react-native_vx.x.x.js +++ b/flow-typed/npm/react-native_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 73d52653d8777e3d7f5e48e7be6ade40 -// flow-typed version: <>/react-native_v^0.48.3/flow_v0.51.0 +// flow-typed signature: d7b1ac027339315e21d704dd29398b58 +// flow-typed version: <>/react-native_v^0.49.3/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -54,10 +54,6 @@ declare module 'react-native/flow/prop-types' { declare module.exports: any; } -declare module 'react-native/flow/react' { - declare module.exports: any; -} - declare module 'react-native/flow/Set' { declare module.exports: any; } @@ -158,6 +154,10 @@ declare module 'react-native/Libraries/Animated/src/Animated' { declare module.exports: any; } +declare module 'react-native/Libraries/Animated/src/AnimatedEvent' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Animated/src/AnimatedImplementation' { declare module.exports: any; } @@ -166,19 +166,91 @@ declare module 'react-native/Libraries/Animated/src/AnimatedWeb' { declare module.exports: any; } +declare module 'react-native/Libraries/Animated/src/animations/Animation' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/animations/DecayAnimation' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/animations/SpringAnimation' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/animations/TimingAnimation' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Animated/src/bezier' { declare module.exports: any; } +declare module 'react-native/Libraries/Animated/src/createAnimatedComponent' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Animated/src/Easing' { declare module.exports: any; } -declare module 'react-native/Libraries/Animated/src/Interpolation' { +declare module 'react-native/Libraries/Animated/src/NativeAnimatedHelper' { declare module.exports: any; } -declare module 'react-native/Libraries/Animated/src/NativeAnimatedHelper' { +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedAddition' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedDiffClamp' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedDivision' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedInterpolation' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedModulo' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedMultiplication' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedNode' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedProps' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedStyle' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedTracking' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedTransform' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedValue' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedValueXY' { + declare module.exports: any; +} + +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedWithChildren' { declare module.exports: any; } @@ -298,6 +370,10 @@ declare module 'react-native/Libraries/Components/Button' { declare module.exports: any; } +declare module 'react-native/Libraries/Components/CheckBox/CheckBox' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Components/Clipboard/Clipboard' { declare module.exports: any; } @@ -650,6 +726,10 @@ declare module 'react-native/Libraries/Core/InitializeCore' { declare module.exports: any; } +declare module 'react-native/Libraries/Core/ReactNativeVersion' { + declare module.exports: any; +} + declare module 'react-native/Libraries/Core/Timers/JSTimers' { declare module.exports: any; } @@ -1126,6 +1206,10 @@ declare module 'react-native/Libraries/ReactNative/queryLayoutByID' { declare module.exports: any; } +declare module 'react-native/Libraries/ReactNative/ReactNativeFeatureFlags' { + declare module.exports: any; +} + declare module 'react-native/Libraries/ReactNative/renderApplication' { declare module.exports: any; } @@ -1194,10 +1278,6 @@ declare module 'react-native/Libraries/Renderer/shims/ReactNativeComponentTree' declare module.exports: any; } -declare module 'react-native/Libraries/Renderer/shims/ReactNativeFeatureFlags' { - declare module.exports: any; -} - declare module 'react-native/Libraries/Renderer/shims/ReactNativePropRegistry' { declare module.exports: any; } @@ -2406,6 +2486,10 @@ declare module 'react-native/local-cli/server/util/webSocketProxy' { declare module.exports: any; } +declare module 'react-native/local-cli/templates/HelloNavigation/App' { + declare module.exports: any; +} + declare module 'react-native/local-cli/templates/HelloNavigation/components/KeyboardSpacer' { declare module.exports: any; } @@ -2414,14 +2498,6 @@ declare module 'react-native/local-cli/templates/HelloNavigation/components/List declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloNavigation/index.android' { - declare module.exports: any; -} - -declare module 'react-native/local-cli/templates/HelloNavigation/index.ios' { - declare module.exports: any; -} - declare module 'react-native/local-cli/templates/HelloNavigation/lib/Backend' { declare module.exports: any; } @@ -2438,10 +2514,6 @@ declare module 'react-native/local-cli/templates/HelloNavigation/views/HomeScree declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloNavigation/views/MainNavigator' { - declare module.exports: any; -} - declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeScreen' { declare module.exports: any; } @@ -2454,19 +2526,15 @@ declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/W declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloWorld/__tests__/index.android' { +declare module 'react-native/local-cli/templates/HelloWorld/__tests__/App' { declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloWorld/__tests__/index.ios' { +declare module 'react-native/local-cli/templates/HelloWorld/App' { declare module.exports: any; } -declare module 'react-native/local-cli/templates/HelloWorld/index.android' { - declare module.exports: any; -} - -declare module 'react-native/local-cli/templates/HelloWorld/index.ios' { +declare module 'react-native/local-cli/templates/HelloWorld/index' { declare module.exports: any; } @@ -2474,10 +2542,18 @@ declare module 'react-native/local-cli/upgrade/upgrade' { declare module.exports: any; } +declare module 'react-native/local-cli/util/__mocks__/fs' { + declare module.exports: any; +} + declare module 'react-native/local-cli/util/__mocks__/log' { declare module.exports: any; } +declare module 'react-native/local-cli/util/__tests__/findSymlinkedModules-test' { + declare module.exports: any; +} + declare module 'react-native/local-cli/util/assertRequiredOptions' { declare module.exports: any; } @@ -2490,6 +2566,14 @@ declare module 'react-native/local-cli/util/copyAndReplace' { declare module.exports: any; } +declare module 'react-native/local-cli/util/findReactNativeScripts' { + declare module.exports: any; +} + +declare module 'react-native/local-cli/util/findSymlinkedModules' { + declare module.exports: any; +} + declare module 'react-native/local-cli/util/findSymlinksPaths' { declare module.exports: any; } @@ -2667,9 +2751,6 @@ declare module 'react-native/flow/Promise.js' { declare module 'react-native/flow/prop-types.js' { declare module.exports: $Exports<'react-native/flow/prop-types'>; } -declare module 'react-native/flow/react.js' { - declare module.exports: $Exports<'react-native/flow/react'>; -} declare module 'react-native/flow/Set.js' { declare module.exports: $Exports<'react-native/flow/Set'>; } @@ -2745,24 +2826,81 @@ declare module 'react-native/Libraries/Animated/src/__tests__/Interpolation-test declare module 'react-native/Libraries/Animated/src/Animated.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/Animated'>; } +declare module 'react-native/Libraries/Animated/src/AnimatedEvent.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/AnimatedEvent'>; +} declare module 'react-native/Libraries/Animated/src/AnimatedImplementation.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/AnimatedImplementation'>; } declare module 'react-native/Libraries/Animated/src/AnimatedWeb.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/AnimatedWeb'>; } +declare module 'react-native/Libraries/Animated/src/animations/Animation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/animations/Animation'>; +} +declare module 'react-native/Libraries/Animated/src/animations/DecayAnimation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/animations/DecayAnimation'>; +} +declare module 'react-native/Libraries/Animated/src/animations/SpringAnimation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/animations/SpringAnimation'>; +} +declare module 'react-native/Libraries/Animated/src/animations/TimingAnimation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/animations/TimingAnimation'>; +} declare module 'react-native/Libraries/Animated/src/bezier.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/bezier'>; } +declare module 'react-native/Libraries/Animated/src/createAnimatedComponent.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/createAnimatedComponent'>; +} declare module 'react-native/Libraries/Animated/src/Easing.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/Easing'>; } -declare module 'react-native/Libraries/Animated/src/Interpolation.js' { - declare module.exports: $Exports<'react-native/Libraries/Animated/src/Interpolation'>; -} declare module 'react-native/Libraries/Animated/src/NativeAnimatedHelper.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/NativeAnimatedHelper'>; } +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedAddition.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedAddition'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedDiffClamp.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedDiffClamp'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedDivision.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedDivision'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedInterpolation.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedInterpolation'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedModulo.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedModulo'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedMultiplication.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedMultiplication'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedNode.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedNode'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedProps.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedProps'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedStyle.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedStyle'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedTracking.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedTracking'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedTransform.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedTransform'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedValue.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedValue'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedValueXY.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedValueXY'>; +} +declare module 'react-native/Libraries/Animated/src/nodes/AnimatedWithChildren.js' { + declare module.exports: $Exports<'react-native/Libraries/Animated/src/nodes/AnimatedWithChildren'>; +} declare module 'react-native/Libraries/Animated/src/polyfills/flattenStyle.js' { declare module.exports: $Exports<'react-native/Libraries/Animated/src/polyfills/flattenStyle'>; } @@ -2850,6 +2988,9 @@ declare module 'react-native/Libraries/Components/AppleTV/TVViewPropTypes.js' { declare module 'react-native/Libraries/Components/Button.js' { declare module.exports: $Exports<'react-native/Libraries/Components/Button'>; } +declare module 'react-native/Libraries/Components/CheckBox/CheckBox.js' { + declare module.exports: $Exports<'react-native/Libraries/Components/CheckBox/CheckBox'>; +} declare module 'react-native/Libraries/Components/Clipboard/Clipboard.js' { declare module.exports: $Exports<'react-native/Libraries/Components/Clipboard/Clipboard'>; } @@ -3114,6 +3255,9 @@ declare module 'react-native/Libraries/Core/ExceptionsManager.js' { declare module 'react-native/Libraries/Core/InitializeCore.js' { declare module.exports: $Exports<'react-native/Libraries/Core/InitializeCore'>; } +declare module 'react-native/Libraries/Core/ReactNativeVersion.js' { + declare module.exports: $Exports<'react-native/Libraries/Core/ReactNativeVersion'>; +} declare module 'react-native/Libraries/Core/Timers/JSTimers.js' { declare module.exports: $Exports<'react-native/Libraries/Core/Timers/JSTimers'>; } @@ -3471,6 +3615,9 @@ declare module 'react-native/Libraries/ReactNative/I18nManager.js' { declare module 'react-native/Libraries/ReactNative/queryLayoutByID.js' { declare module.exports: $Exports<'react-native/Libraries/ReactNative/queryLayoutByID'>; } +declare module 'react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js' { + declare module.exports: $Exports<'react-native/Libraries/ReactNative/ReactNativeFeatureFlags'>; +} declare module 'react-native/Libraries/ReactNative/renderApplication.js' { declare module.exports: $Exports<'react-native/Libraries/ReactNative/renderApplication'>; } @@ -3522,9 +3669,6 @@ declare module 'react-native/Libraries/Renderer/shims/ReactNative.js' { declare module 'react-native/Libraries/Renderer/shims/ReactNativeComponentTree.js' { declare module.exports: $Exports<'react-native/Libraries/Renderer/shims/ReactNativeComponentTree'>; } -declare module 'react-native/Libraries/Renderer/shims/ReactNativeFeatureFlags.js' { - declare module.exports: $Exports<'react-native/Libraries/Renderer/shims/ReactNativeFeatureFlags'>; -} declare module 'react-native/Libraries/Renderer/shims/ReactNativePropRegistry.js' { declare module.exports: $Exports<'react-native/Libraries/Renderer/shims/ReactNativePropRegistry'>; } @@ -4431,18 +4575,15 @@ declare module 'react-native/local-cli/server/util/messageSocket.js' { declare module 'react-native/local-cli/server/util/webSocketProxy.js' { declare module.exports: $Exports<'react-native/local-cli/server/util/webSocketProxy'>; } +declare module 'react-native/local-cli/templates/HelloNavigation/App.js' { + declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/App'>; +} declare module 'react-native/local-cli/templates/HelloNavigation/components/KeyboardSpacer.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/components/KeyboardSpacer'>; } declare module 'react-native/local-cli/templates/HelloNavigation/components/ListItem.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/components/ListItem'>; } -declare module 'react-native/local-cli/templates/HelloNavigation/index.android.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/index.android'>; -} -declare module 'react-native/local-cli/templates/HelloNavigation/index.ios.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/index.ios'>; -} declare module 'react-native/local-cli/templates/HelloNavigation/lib/Backend.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/lib/Backend'>; } @@ -4455,9 +4596,6 @@ declare module 'react-native/local-cli/templates/HelloNavigation/views/chat/Chat declare module 'react-native/local-cli/templates/HelloNavigation/views/HomeScreenTabNavigator.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/views/HomeScreenTabNavigator'>; } -declare module 'react-native/local-cli/templates/HelloNavigation/views/MainNavigator.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/views/MainNavigator'>; -} declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeScreen.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeScreen'>; } @@ -4467,24 +4605,27 @@ declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/W declare module 'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeText.ios.js' { declare module.exports: $Exports<'react-native/local-cli/templates/HelloNavigation/views/welcome/WelcomeText.ios'>; } -declare module 'react-native/local-cli/templates/HelloWorld/__tests__/index.android.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/__tests__/index.android'>; +declare module 'react-native/local-cli/templates/HelloWorld/__tests__/App.js' { + declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/__tests__/App'>; } -declare module 'react-native/local-cli/templates/HelloWorld/__tests__/index.ios.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/__tests__/index.ios'>; +declare module 'react-native/local-cli/templates/HelloWorld/App.js' { + declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/App'>; } -declare module 'react-native/local-cli/templates/HelloWorld/index.android.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/index.android'>; -} -declare module 'react-native/local-cli/templates/HelloWorld/index.ios.js' { - declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/index.ios'>; +declare module 'react-native/local-cli/templates/HelloWorld/index.js' { + declare module.exports: $Exports<'react-native/local-cli/templates/HelloWorld/index'>; } declare module 'react-native/local-cli/upgrade/upgrade.js' { declare module.exports: $Exports<'react-native/local-cli/upgrade/upgrade'>; } +declare module 'react-native/local-cli/util/__mocks__/fs.js' { + declare module.exports: $Exports<'react-native/local-cli/util/__mocks__/fs'>; +} declare module 'react-native/local-cli/util/__mocks__/log.js' { declare module.exports: $Exports<'react-native/local-cli/util/__mocks__/log'>; } +declare module 'react-native/local-cli/util/__tests__/findSymlinkedModules-test.js' { + declare module.exports: $Exports<'react-native/local-cli/util/__tests__/findSymlinkedModules-test'>; +} declare module 'react-native/local-cli/util/assertRequiredOptions.js' { declare module.exports: $Exports<'react-native/local-cli/util/assertRequiredOptions'>; } @@ -4494,6 +4635,12 @@ declare module 'react-native/local-cli/util/Config.js' { declare module 'react-native/local-cli/util/copyAndReplace.js' { declare module.exports: $Exports<'react-native/local-cli/util/copyAndReplace'>; } +declare module 'react-native/local-cli/util/findReactNativeScripts.js' { + declare module.exports: $Exports<'react-native/local-cli/util/findReactNativeScripts'>; +} +declare module 'react-native/local-cli/util/findSymlinkedModules.js' { + declare module.exports: $Exports<'react-native/local-cli/util/findSymlinkedModules'>; +} declare module 'react-native/local-cli/util/findSymlinksPaths.js' { declare module.exports: $Exports<'react-native/local-cli/util/findSymlinksPaths'>; } diff --git a/flow-typed/npm/react-test-renderer_vx.x.x.js b/flow-typed/npm/react-test-renderer_vx.x.x.js index e3415dc..ca72ca4 100644 --- a/flow-typed/npm/react-test-renderer_vx.x.x.js +++ b/flow-typed/npm/react-test-renderer_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 179f4d0fcf39761607226728b09ff2b5 -// flow-typed version: <>/react-test-renderer_v^15.6.1/flow_v0.51.0 +// flow-typed signature: 6a8159902f461faefab515aa6164fbe4 +// flow-typed version: <>/react-test-renderer_v^16.0.0/flow_v0.53.0 /** * This is an autogenerated libdef stub for: @@ -22,999 +22,11 @@ declare module 'react-test-renderer' { * require those files directly. Feel free to delete any files that aren't * needed. */ -declare module 'react-test-renderer/lib/accumulate' { +declare module 'react-test-renderer/cjs/react-test-renderer-shallow.development' { declare module.exports: any; } -declare module 'react-test-renderer/lib/accumulateInto' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/adler32' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/CallbackQueue' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/canDefineProperty' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/checkReactTypeSpec' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/deprecated' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/EventConstants' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/EventPluginHub' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/EventPluginRegistry' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/EventPluginUtils' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/EventPropagators' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/flattenChildren' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/forEachAccumulated' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/getHostComponentFromComposite' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/getIteratorFn' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/instantiateReactComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/isTextInputElement' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/KeyEscapeUtils' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/lowPriorityWarning' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/PluginModuleType' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/PooledClass' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactChildFiber' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactChildReconciler' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactComponentEnvironment' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactCompositeComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactCoroutine' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactDebugTool' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactDefaultBatchingStrategy' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactElementSymbol' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactEmptyComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactErrorUtils' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactEventEmitterMixin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactFeatureFlags' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactFiber' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactFiberBeginWork' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactFiberCommitWork' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactFiberCompleteWork' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactFiberReconciler' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactFiberRoot' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactFiberScheduler' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactFiberUpdateQueue' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactHostComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactHostOperationHistoryHook' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactInstanceMap' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactInstanceType' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactInstrumentation' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactInvalidSetStateWarningHook' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactMultiChild' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactMultiChildUpdateTypes' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactNodeTypes' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactOwner' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactPerf' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactPriorityLevel' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/reactProdInvariant' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactPropTypeLocationNames' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactPropTypeLocations' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactPropTypesSecret' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactReconciler' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactRef' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactReifiedYield' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactShallowRenderer' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactSimpleEmptyComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactSyntheticEventType' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactTestEmptyComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactTestMount' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactTestReconcileTransaction' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactTestRenderer' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactTestTextComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactTypeOfWork' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactTypes' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactUpdateQueue' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactUpdates' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ReactVersion' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ResponderEventPlugin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ResponderSyntheticEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/ResponderTouchHistoryStore' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/accumulate' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/accumulateInto' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/adler32' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ARIADOMPropertyConfig' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/AutoFocusUtils' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/BeforeInputEventPlugin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/CallbackQueue' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/canDefineProperty' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ChangeEventPlugin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/checkReactTypeSpec' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/createMicrosoftUnsafeLocalFunction' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/CSSProperty' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/CSSPropertyOperations' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/Danger' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/dangerousStyleValue' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/DefaultEventPluginOrder' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/deprecated' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/DOMChildrenOperations' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/DOMLazyTree' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/DOMNamespaces' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/DOMProperty' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/DOMPropertyOperations' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/EnterLeaveEventPlugin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/escapeTextContentForBrowser' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/EventConstants' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/EventPluginHub' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/EventPluginRegistry' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/EventPluginUtils' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/EventPropagators' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/FallbackCompositionState' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/findDOMNode' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/flattenChildren' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/forEachAccumulated' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/getEventCharCode' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/getEventKey' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/getEventModifierState' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/getEventTarget' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/getHostComponentFromComposite' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/getIteratorFn' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/getNodeForCharacterOffset' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/getTextContentAccessor' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/getVendorPrefixedEventName' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/HTMLDOMPropertyConfig' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/inputValueTracking' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/instantiateReactComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/isEventSupported' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/isTextInputElement' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/KeyEscapeUtils' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/LinkedValueUtils' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/lowPriorityWarning' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/PluginModuleType' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/PooledClass' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/quoteAttributeValueForBrowser' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactBrowserEventEmitter' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactChildFiber' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactChildReconciler' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactComponentBrowserEnvironment' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactComponentEnvironment' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactCompositeComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactCoroutine' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDebugTool' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDefaultBatchingStrategy' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDefaultInjection' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOM' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMComponentFlags' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMComponentTree' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMContainerInfo' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMEmptyComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMFeatureFlags' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMFiber' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMIDOperations' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMInput' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMInvalidARIAHook' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMNullInputValuePropHook' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMOption' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMSelect' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMSelection' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMServer' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMTextarea' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMTextComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMTreeTraversal' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactDOMUnknownPropertyHook' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactElementSymbol' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactEmptyComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactErrorUtils' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactEventEmitterMixin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactEventListener' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactFeatureFlags' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactFiber' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactFiberBeginWork' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactFiberCommitWork' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactFiberCompleteWork' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactFiberReconciler' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactFiberRoot' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactFiberScheduler' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactFiberUpdateQueue' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactHostComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactHostOperationHistoryHook' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactInjection' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactInputSelection' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactInstanceMap' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactInstanceType' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactInstrumentation' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactInvalidSetStateWarningHook' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactMarkupChecksum' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactMount' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactMultiChild' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactMultiChildUpdateTypes' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactNodeTypes' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactOwner' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactPerf' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactPriorityLevel' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/reactProdInvariant' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactPropTypeLocationNames' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactPropTypeLocations' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactPropTypesSecret' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactReconciler' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactReconcileTransaction' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactRef' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactReifiedYield' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactServerBatchingStrategy' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactServerRendering' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactServerRenderingTransaction' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactServerUpdateQueue' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactShallowRenderer' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactSimpleEmptyComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactSyntheticEventType' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactTestEmptyComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactTestMount' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactTestReconcileTransaction' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactTestRenderer' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactTestTextComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactTypeOfWork' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactTypes' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactUpdateQueue' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactUpdates' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ReactVersion' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/renderSubtreeIntoContainer' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ResponderEventPlugin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ResponderSyntheticEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ResponderTouchHistoryStore' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SelectEventPlugin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/setInnerHTML' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/setTextContent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/shouldUpdateReactComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SimpleEventPlugin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SVGDOMPropertyConfig' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticAnimationEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticClipboardEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticCompositionEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticDragEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticFocusEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticInputEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticKeyboardEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticMouseEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticTouchEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticTransitionEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticUIEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/SyntheticWheelEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/TapEventPlugin' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/TouchHistoryMath' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/Transaction' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/traverseAllChildren' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/validateDOMNesting' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shallow/ViewportMetrics' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/shouldUpdateReactComponent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/SyntheticEvent' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/TouchHistoryMath' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/Transaction' { - declare module.exports: any; -} - -declare module 'react-test-renderer/lib/traverseAllChildren' { +declare module 'react-test-renderer/cjs/react-test-renderer.development' { declare module.exports: any; } @@ -1022,760 +34,26 @@ declare module 'react-test-renderer/shallow' { declare module.exports: any; } +declare module 'react-test-renderer/stack' { + declare module.exports: any; +} + // Filename aliases +declare module 'react-test-renderer/cjs/react-test-renderer-shallow.development.js' { + declare module.exports: $Exports<'react-test-renderer/cjs/react-test-renderer-shallow.development'>; +} +declare module 'react-test-renderer/cjs/react-test-renderer.development.js' { + declare module.exports: $Exports<'react-test-renderer/cjs/react-test-renderer.development'>; +} declare module 'react-test-renderer/index' { declare module.exports: $Exports<'react-test-renderer'>; } declare module 'react-test-renderer/index.js' { declare module.exports: $Exports<'react-test-renderer'>; } -declare module 'react-test-renderer/lib/accumulate.js' { - declare module.exports: $Exports<'react-test-renderer/lib/accumulate'>; -} -declare module 'react-test-renderer/lib/accumulateInto.js' { - declare module.exports: $Exports<'react-test-renderer/lib/accumulateInto'>; -} -declare module 'react-test-renderer/lib/adler32.js' { - declare module.exports: $Exports<'react-test-renderer/lib/adler32'>; -} -declare module 'react-test-renderer/lib/CallbackQueue.js' { - declare module.exports: $Exports<'react-test-renderer/lib/CallbackQueue'>; -} -declare module 'react-test-renderer/lib/canDefineProperty.js' { - declare module.exports: $Exports<'react-test-renderer/lib/canDefineProperty'>; -} -declare module 'react-test-renderer/lib/checkReactTypeSpec.js' { - declare module.exports: $Exports<'react-test-renderer/lib/checkReactTypeSpec'>; -} -declare module 'react-test-renderer/lib/deprecated.js' { - declare module.exports: $Exports<'react-test-renderer/lib/deprecated'>; -} -declare module 'react-test-renderer/lib/EventConstants.js' { - declare module.exports: $Exports<'react-test-renderer/lib/EventConstants'>; -} -declare module 'react-test-renderer/lib/EventPluginHub.js' { - declare module.exports: $Exports<'react-test-renderer/lib/EventPluginHub'>; -} -declare module 'react-test-renderer/lib/EventPluginRegistry.js' { - declare module.exports: $Exports<'react-test-renderer/lib/EventPluginRegistry'>; -} -declare module 'react-test-renderer/lib/EventPluginUtils.js' { - declare module.exports: $Exports<'react-test-renderer/lib/EventPluginUtils'>; -} -declare module 'react-test-renderer/lib/EventPropagators.js' { - declare module.exports: $Exports<'react-test-renderer/lib/EventPropagators'>; -} -declare module 'react-test-renderer/lib/flattenChildren.js' { - declare module.exports: $Exports<'react-test-renderer/lib/flattenChildren'>; -} -declare module 'react-test-renderer/lib/forEachAccumulated.js' { - declare module.exports: $Exports<'react-test-renderer/lib/forEachAccumulated'>; -} -declare module 'react-test-renderer/lib/getHostComponentFromComposite.js' { - declare module.exports: $Exports<'react-test-renderer/lib/getHostComponentFromComposite'>; -} -declare module 'react-test-renderer/lib/getIteratorFn.js' { - declare module.exports: $Exports<'react-test-renderer/lib/getIteratorFn'>; -} -declare module 'react-test-renderer/lib/instantiateReactComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/instantiateReactComponent'>; -} -declare module 'react-test-renderer/lib/isTextInputElement.js' { - declare module.exports: $Exports<'react-test-renderer/lib/isTextInputElement'>; -} -declare module 'react-test-renderer/lib/KeyEscapeUtils.js' { - declare module.exports: $Exports<'react-test-renderer/lib/KeyEscapeUtils'>; -} -declare module 'react-test-renderer/lib/lowPriorityWarning.js' { - declare module.exports: $Exports<'react-test-renderer/lib/lowPriorityWarning'>; -} -declare module 'react-test-renderer/lib/PluginModuleType.js' { - declare module.exports: $Exports<'react-test-renderer/lib/PluginModuleType'>; -} -declare module 'react-test-renderer/lib/PooledClass.js' { - declare module.exports: $Exports<'react-test-renderer/lib/PooledClass'>; -} -declare module 'react-test-renderer/lib/ReactChildFiber.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactChildFiber'>; -} -declare module 'react-test-renderer/lib/ReactChildReconciler.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactChildReconciler'>; -} -declare module 'react-test-renderer/lib/ReactComponentEnvironment.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactComponentEnvironment'>; -} -declare module 'react-test-renderer/lib/ReactCompositeComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactCompositeComponent'>; -} -declare module 'react-test-renderer/lib/ReactCoroutine.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactCoroutine'>; -} -declare module 'react-test-renderer/lib/ReactDebugTool.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactDebugTool'>; -} -declare module 'react-test-renderer/lib/ReactDefaultBatchingStrategy.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactDefaultBatchingStrategy'>; -} -declare module 'react-test-renderer/lib/ReactElementSymbol.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactElementSymbol'>; -} -declare module 'react-test-renderer/lib/ReactEmptyComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactEmptyComponent'>; -} -declare module 'react-test-renderer/lib/ReactErrorUtils.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactErrorUtils'>; -} -declare module 'react-test-renderer/lib/ReactEventEmitterMixin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactEventEmitterMixin'>; -} -declare module 'react-test-renderer/lib/ReactFeatureFlags.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactFeatureFlags'>; -} -declare module 'react-test-renderer/lib/ReactFiber.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactFiber'>; -} -declare module 'react-test-renderer/lib/ReactFiberBeginWork.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberBeginWork'>; -} -declare module 'react-test-renderer/lib/ReactFiberCommitWork.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberCommitWork'>; -} -declare module 'react-test-renderer/lib/ReactFiberCompleteWork.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberCompleteWork'>; -} -declare module 'react-test-renderer/lib/ReactFiberReconciler.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberReconciler'>; -} -declare module 'react-test-renderer/lib/ReactFiberRoot.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberRoot'>; -} -declare module 'react-test-renderer/lib/ReactFiberScheduler.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberScheduler'>; -} -declare module 'react-test-renderer/lib/ReactFiberUpdateQueue.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactFiberUpdateQueue'>; -} -declare module 'react-test-renderer/lib/ReactHostComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactHostComponent'>; -} -declare module 'react-test-renderer/lib/ReactHostOperationHistoryHook.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactHostOperationHistoryHook'>; -} -declare module 'react-test-renderer/lib/ReactInstanceMap.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactInstanceMap'>; -} -declare module 'react-test-renderer/lib/ReactInstanceType.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactInstanceType'>; -} -declare module 'react-test-renderer/lib/ReactInstrumentation.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactInstrumentation'>; -} -declare module 'react-test-renderer/lib/ReactInvalidSetStateWarningHook.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactInvalidSetStateWarningHook'>; -} -declare module 'react-test-renderer/lib/ReactMultiChild.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactMultiChild'>; -} -declare module 'react-test-renderer/lib/ReactMultiChildUpdateTypes.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactMultiChildUpdateTypes'>; -} -declare module 'react-test-renderer/lib/ReactNodeTypes.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactNodeTypes'>; -} -declare module 'react-test-renderer/lib/ReactOwner.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactOwner'>; -} -declare module 'react-test-renderer/lib/ReactPerf.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactPerf'>; -} -declare module 'react-test-renderer/lib/ReactPriorityLevel.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactPriorityLevel'>; -} -declare module 'react-test-renderer/lib/reactProdInvariant.js' { - declare module.exports: $Exports<'react-test-renderer/lib/reactProdInvariant'>; -} -declare module 'react-test-renderer/lib/ReactPropTypeLocationNames.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactPropTypeLocationNames'>; -} -declare module 'react-test-renderer/lib/ReactPropTypeLocations.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactPropTypeLocations'>; -} -declare module 'react-test-renderer/lib/ReactPropTypesSecret.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactPropTypesSecret'>; -} -declare module 'react-test-renderer/lib/ReactReconciler.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactReconciler'>; -} -declare module 'react-test-renderer/lib/ReactRef.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactRef'>; -} -declare module 'react-test-renderer/lib/ReactReifiedYield.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactReifiedYield'>; -} -declare module 'react-test-renderer/lib/ReactShallowRenderer.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactShallowRenderer'>; -} -declare module 'react-test-renderer/lib/ReactSimpleEmptyComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactSimpleEmptyComponent'>; -} -declare module 'react-test-renderer/lib/ReactSyntheticEventType.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactSyntheticEventType'>; -} -declare module 'react-test-renderer/lib/ReactTestEmptyComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactTestEmptyComponent'>; -} -declare module 'react-test-renderer/lib/ReactTestMount.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactTestMount'>; -} -declare module 'react-test-renderer/lib/ReactTestReconcileTransaction.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactTestReconcileTransaction'>; -} -declare module 'react-test-renderer/lib/ReactTestRenderer.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactTestRenderer'>; -} -declare module 'react-test-renderer/lib/ReactTestTextComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactTestTextComponent'>; -} -declare module 'react-test-renderer/lib/ReactTypeOfWork.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactTypeOfWork'>; -} -declare module 'react-test-renderer/lib/ReactTypes.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactTypes'>; -} -declare module 'react-test-renderer/lib/ReactUpdateQueue.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactUpdateQueue'>; -} -declare module 'react-test-renderer/lib/ReactUpdates.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactUpdates'>; -} -declare module 'react-test-renderer/lib/ReactVersion.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ReactVersion'>; -} -declare module 'react-test-renderer/lib/ResponderEventPlugin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ResponderEventPlugin'>; -} -declare module 'react-test-renderer/lib/ResponderSyntheticEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ResponderSyntheticEvent'>; -} -declare module 'react-test-renderer/lib/ResponderTouchHistoryStore.js' { - declare module.exports: $Exports<'react-test-renderer/lib/ResponderTouchHistoryStore'>; -} -declare module 'react-test-renderer/lib/shallow/accumulate.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/accumulate'>; -} -declare module 'react-test-renderer/lib/shallow/accumulateInto.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/accumulateInto'>; -} -declare module 'react-test-renderer/lib/shallow/adler32.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/adler32'>; -} -declare module 'react-test-renderer/lib/shallow/ARIADOMPropertyConfig.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ARIADOMPropertyConfig'>; -} -declare module 'react-test-renderer/lib/shallow/AutoFocusUtils.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/AutoFocusUtils'>; -} -declare module 'react-test-renderer/lib/shallow/BeforeInputEventPlugin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/BeforeInputEventPlugin'>; -} -declare module 'react-test-renderer/lib/shallow/CallbackQueue.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/CallbackQueue'>; -} -declare module 'react-test-renderer/lib/shallow/canDefineProperty.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/canDefineProperty'>; -} -declare module 'react-test-renderer/lib/shallow/ChangeEventPlugin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ChangeEventPlugin'>; -} -declare module 'react-test-renderer/lib/shallow/checkReactTypeSpec.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/checkReactTypeSpec'>; -} -declare module 'react-test-renderer/lib/shallow/createMicrosoftUnsafeLocalFunction.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/createMicrosoftUnsafeLocalFunction'>; -} -declare module 'react-test-renderer/lib/shallow/CSSProperty.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/CSSProperty'>; -} -declare module 'react-test-renderer/lib/shallow/CSSPropertyOperations.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/CSSPropertyOperations'>; -} -declare module 'react-test-renderer/lib/shallow/Danger.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/Danger'>; -} -declare module 'react-test-renderer/lib/shallow/dangerousStyleValue.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/dangerousStyleValue'>; -} -declare module 'react-test-renderer/lib/shallow/DefaultEventPluginOrder.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/DefaultEventPluginOrder'>; -} -declare module 'react-test-renderer/lib/shallow/deprecated.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/deprecated'>; -} -declare module 'react-test-renderer/lib/shallow/DOMChildrenOperations.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/DOMChildrenOperations'>; -} -declare module 'react-test-renderer/lib/shallow/DOMLazyTree.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/DOMLazyTree'>; -} -declare module 'react-test-renderer/lib/shallow/DOMNamespaces.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/DOMNamespaces'>; -} -declare module 'react-test-renderer/lib/shallow/DOMProperty.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/DOMProperty'>; -} -declare module 'react-test-renderer/lib/shallow/DOMPropertyOperations.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/DOMPropertyOperations'>; -} -declare module 'react-test-renderer/lib/shallow/EnterLeaveEventPlugin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/EnterLeaveEventPlugin'>; -} -declare module 'react-test-renderer/lib/shallow/escapeTextContentForBrowser.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/escapeTextContentForBrowser'>; -} -declare module 'react-test-renderer/lib/shallow/EventConstants.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/EventConstants'>; -} -declare module 'react-test-renderer/lib/shallow/EventPluginHub.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/EventPluginHub'>; -} -declare module 'react-test-renderer/lib/shallow/EventPluginRegistry.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/EventPluginRegistry'>; -} -declare module 'react-test-renderer/lib/shallow/EventPluginUtils.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/EventPluginUtils'>; -} -declare module 'react-test-renderer/lib/shallow/EventPropagators.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/EventPropagators'>; -} -declare module 'react-test-renderer/lib/shallow/FallbackCompositionState.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/FallbackCompositionState'>; -} -declare module 'react-test-renderer/lib/shallow/findDOMNode.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/findDOMNode'>; -} -declare module 'react-test-renderer/lib/shallow/flattenChildren.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/flattenChildren'>; -} -declare module 'react-test-renderer/lib/shallow/forEachAccumulated.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/forEachAccumulated'>; -} -declare module 'react-test-renderer/lib/shallow/getEventCharCode.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/getEventCharCode'>; -} -declare module 'react-test-renderer/lib/shallow/getEventKey.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/getEventKey'>; -} -declare module 'react-test-renderer/lib/shallow/getEventModifierState.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/getEventModifierState'>; -} -declare module 'react-test-renderer/lib/shallow/getEventTarget.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/getEventTarget'>; -} -declare module 'react-test-renderer/lib/shallow/getHostComponentFromComposite.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/getHostComponentFromComposite'>; -} -declare module 'react-test-renderer/lib/shallow/getIteratorFn.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/getIteratorFn'>; -} -declare module 'react-test-renderer/lib/shallow/getNodeForCharacterOffset.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/getNodeForCharacterOffset'>; -} -declare module 'react-test-renderer/lib/shallow/getTextContentAccessor.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/getTextContentAccessor'>; -} -declare module 'react-test-renderer/lib/shallow/getVendorPrefixedEventName.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/getVendorPrefixedEventName'>; -} -declare module 'react-test-renderer/lib/shallow/HTMLDOMPropertyConfig.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/HTMLDOMPropertyConfig'>; -} -declare module 'react-test-renderer/lib/shallow/inputValueTracking.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/inputValueTracking'>; -} -declare module 'react-test-renderer/lib/shallow/instantiateReactComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/instantiateReactComponent'>; -} -declare module 'react-test-renderer/lib/shallow/isEventSupported.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/isEventSupported'>; -} -declare module 'react-test-renderer/lib/shallow/isTextInputElement.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/isTextInputElement'>; -} -declare module 'react-test-renderer/lib/shallow/KeyEscapeUtils.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/KeyEscapeUtils'>; -} -declare module 'react-test-renderer/lib/shallow/LinkedValueUtils.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/LinkedValueUtils'>; -} -declare module 'react-test-renderer/lib/shallow/lowPriorityWarning.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/lowPriorityWarning'>; -} -declare module 'react-test-renderer/lib/shallow/PluginModuleType.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/PluginModuleType'>; -} -declare module 'react-test-renderer/lib/shallow/PooledClass.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/PooledClass'>; -} -declare module 'react-test-renderer/lib/shallow/quoteAttributeValueForBrowser.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/quoteAttributeValueForBrowser'>; -} -declare module 'react-test-renderer/lib/shallow/ReactBrowserEventEmitter.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactBrowserEventEmitter'>; -} -declare module 'react-test-renderer/lib/shallow/ReactChildFiber.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactChildFiber'>; -} -declare module 'react-test-renderer/lib/shallow/ReactChildReconciler.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactChildReconciler'>; -} -declare module 'react-test-renderer/lib/shallow/ReactComponentBrowserEnvironment.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactComponentBrowserEnvironment'>; -} -declare module 'react-test-renderer/lib/shallow/ReactComponentEnvironment.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactComponentEnvironment'>; -} -declare module 'react-test-renderer/lib/shallow/ReactCompositeComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactCompositeComponent'>; -} -declare module 'react-test-renderer/lib/shallow/ReactCoroutine.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactCoroutine'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDebugTool.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDebugTool'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDefaultBatchingStrategy.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDefaultBatchingStrategy'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDefaultInjection.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDefaultInjection'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOM.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOM'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMComponent'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMComponentFlags.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMComponentFlags'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMComponentTree.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMComponentTree'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMContainerInfo.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMContainerInfo'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMEmptyComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMEmptyComponent'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMFeatureFlags.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMFeatureFlags'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMFiber.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMFiber'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMIDOperations.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMIDOperations'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMInput.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMInput'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMInvalidARIAHook.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMInvalidARIAHook'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMNullInputValuePropHook.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMNullInputValuePropHook'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMOption.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMOption'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMSelect.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMSelect'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMSelection.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMSelection'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMServer.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMServer'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMTextarea.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMTextarea'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMTextComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMTextComponent'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMTreeTraversal.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMTreeTraversal'>; -} -declare module 'react-test-renderer/lib/shallow/ReactDOMUnknownPropertyHook.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactDOMUnknownPropertyHook'>; -} -declare module 'react-test-renderer/lib/shallow/ReactElementSymbol.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactElementSymbol'>; -} -declare module 'react-test-renderer/lib/shallow/ReactEmptyComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactEmptyComponent'>; -} -declare module 'react-test-renderer/lib/shallow/ReactErrorUtils.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactErrorUtils'>; -} -declare module 'react-test-renderer/lib/shallow/ReactEventEmitterMixin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactEventEmitterMixin'>; -} -declare module 'react-test-renderer/lib/shallow/ReactEventListener.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactEventListener'>; -} -declare module 'react-test-renderer/lib/shallow/ReactFeatureFlags.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactFeatureFlags'>; -} -declare module 'react-test-renderer/lib/shallow/ReactFiber.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactFiber'>; -} -declare module 'react-test-renderer/lib/shallow/ReactFiberBeginWork.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactFiberBeginWork'>; -} -declare module 'react-test-renderer/lib/shallow/ReactFiberCommitWork.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactFiberCommitWork'>; -} -declare module 'react-test-renderer/lib/shallow/ReactFiberCompleteWork.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactFiberCompleteWork'>; -} -declare module 'react-test-renderer/lib/shallow/ReactFiberReconciler.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactFiberReconciler'>; -} -declare module 'react-test-renderer/lib/shallow/ReactFiberRoot.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactFiberRoot'>; -} -declare module 'react-test-renderer/lib/shallow/ReactFiberScheduler.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactFiberScheduler'>; -} -declare module 'react-test-renderer/lib/shallow/ReactFiberUpdateQueue.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactFiberUpdateQueue'>; -} -declare module 'react-test-renderer/lib/shallow/ReactHostComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactHostComponent'>; -} -declare module 'react-test-renderer/lib/shallow/ReactHostOperationHistoryHook.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactHostOperationHistoryHook'>; -} -declare module 'react-test-renderer/lib/shallow/ReactInjection.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactInjection'>; -} -declare module 'react-test-renderer/lib/shallow/ReactInputSelection.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactInputSelection'>; -} -declare module 'react-test-renderer/lib/shallow/ReactInstanceMap.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactInstanceMap'>; -} -declare module 'react-test-renderer/lib/shallow/ReactInstanceType.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactInstanceType'>; -} -declare module 'react-test-renderer/lib/shallow/ReactInstrumentation.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactInstrumentation'>; -} -declare module 'react-test-renderer/lib/shallow/ReactInvalidSetStateWarningHook.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactInvalidSetStateWarningHook'>; -} -declare module 'react-test-renderer/lib/shallow/ReactMarkupChecksum.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactMarkupChecksum'>; -} -declare module 'react-test-renderer/lib/shallow/ReactMount.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactMount'>; -} -declare module 'react-test-renderer/lib/shallow/ReactMultiChild.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactMultiChild'>; -} -declare module 'react-test-renderer/lib/shallow/ReactMultiChildUpdateTypes.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactMultiChildUpdateTypes'>; -} -declare module 'react-test-renderer/lib/shallow/ReactNodeTypes.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactNodeTypes'>; -} -declare module 'react-test-renderer/lib/shallow/ReactOwner.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactOwner'>; -} -declare module 'react-test-renderer/lib/shallow/ReactPerf.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactPerf'>; -} -declare module 'react-test-renderer/lib/shallow/ReactPriorityLevel.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactPriorityLevel'>; -} -declare module 'react-test-renderer/lib/shallow/reactProdInvariant.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/reactProdInvariant'>; -} -declare module 'react-test-renderer/lib/shallow/ReactPropTypeLocationNames.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactPropTypeLocationNames'>; -} -declare module 'react-test-renderer/lib/shallow/ReactPropTypeLocations.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactPropTypeLocations'>; -} -declare module 'react-test-renderer/lib/shallow/ReactPropTypesSecret.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactPropTypesSecret'>; -} -declare module 'react-test-renderer/lib/shallow/ReactReconciler.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactReconciler'>; -} -declare module 'react-test-renderer/lib/shallow/ReactReconcileTransaction.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactReconcileTransaction'>; -} -declare module 'react-test-renderer/lib/shallow/ReactRef.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactRef'>; -} -declare module 'react-test-renderer/lib/shallow/ReactReifiedYield.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactReifiedYield'>; -} -declare module 'react-test-renderer/lib/shallow/ReactServerBatchingStrategy.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactServerBatchingStrategy'>; -} -declare module 'react-test-renderer/lib/shallow/ReactServerRendering.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactServerRendering'>; -} -declare module 'react-test-renderer/lib/shallow/ReactServerRenderingTransaction.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactServerRenderingTransaction'>; -} -declare module 'react-test-renderer/lib/shallow/ReactServerUpdateQueue.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactServerUpdateQueue'>; -} -declare module 'react-test-renderer/lib/shallow/ReactShallowRenderer.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactShallowRenderer'>; -} -declare module 'react-test-renderer/lib/shallow/ReactSimpleEmptyComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactSimpleEmptyComponent'>; -} -declare module 'react-test-renderer/lib/shallow/ReactSyntheticEventType.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactSyntheticEventType'>; -} -declare module 'react-test-renderer/lib/shallow/ReactTestEmptyComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactTestEmptyComponent'>; -} -declare module 'react-test-renderer/lib/shallow/ReactTestMount.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactTestMount'>; -} -declare module 'react-test-renderer/lib/shallow/ReactTestReconcileTransaction.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactTestReconcileTransaction'>; -} -declare module 'react-test-renderer/lib/shallow/ReactTestRenderer.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactTestRenderer'>; -} -declare module 'react-test-renderer/lib/shallow/ReactTestTextComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactTestTextComponent'>; -} -declare module 'react-test-renderer/lib/shallow/ReactTypeOfWork.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactTypeOfWork'>; -} -declare module 'react-test-renderer/lib/shallow/ReactTypes.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactTypes'>; -} -declare module 'react-test-renderer/lib/shallow/ReactUpdateQueue.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactUpdateQueue'>; -} -declare module 'react-test-renderer/lib/shallow/ReactUpdates.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactUpdates'>; -} -declare module 'react-test-renderer/lib/shallow/ReactVersion.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ReactVersion'>; -} -declare module 'react-test-renderer/lib/shallow/renderSubtreeIntoContainer.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/renderSubtreeIntoContainer'>; -} -declare module 'react-test-renderer/lib/shallow/ResponderEventPlugin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ResponderEventPlugin'>; -} -declare module 'react-test-renderer/lib/shallow/ResponderSyntheticEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ResponderSyntheticEvent'>; -} -declare module 'react-test-renderer/lib/shallow/ResponderTouchHistoryStore.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ResponderTouchHistoryStore'>; -} -declare module 'react-test-renderer/lib/shallow/SelectEventPlugin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SelectEventPlugin'>; -} -declare module 'react-test-renderer/lib/shallow/setInnerHTML.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/setInnerHTML'>; -} -declare module 'react-test-renderer/lib/shallow/setTextContent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/setTextContent'>; -} -declare module 'react-test-renderer/lib/shallow/shouldUpdateReactComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/shouldUpdateReactComponent'>; -} -declare module 'react-test-renderer/lib/shallow/SimpleEventPlugin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SimpleEventPlugin'>; -} -declare module 'react-test-renderer/lib/shallow/SVGDOMPropertyConfig.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SVGDOMPropertyConfig'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticAnimationEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticAnimationEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticClipboardEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticClipboardEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticCompositionEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticCompositionEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticDragEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticDragEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticFocusEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticFocusEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticInputEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticInputEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticKeyboardEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticKeyboardEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticMouseEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticMouseEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticTouchEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticTouchEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticTransitionEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticTransitionEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticUIEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticUIEvent'>; -} -declare module 'react-test-renderer/lib/shallow/SyntheticWheelEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/SyntheticWheelEvent'>; -} -declare module 'react-test-renderer/lib/shallow/TapEventPlugin.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/TapEventPlugin'>; -} -declare module 'react-test-renderer/lib/shallow/TouchHistoryMath.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/TouchHistoryMath'>; -} -declare module 'react-test-renderer/lib/shallow/Transaction.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/Transaction'>; -} -declare module 'react-test-renderer/lib/shallow/traverseAllChildren.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/traverseAllChildren'>; -} -declare module 'react-test-renderer/lib/shallow/validateDOMNesting.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/validateDOMNesting'>; -} -declare module 'react-test-renderer/lib/shallow/ViewportMetrics.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shallow/ViewportMetrics'>; -} -declare module 'react-test-renderer/lib/shouldUpdateReactComponent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/shouldUpdateReactComponent'>; -} -declare module 'react-test-renderer/lib/SyntheticEvent.js' { - declare module.exports: $Exports<'react-test-renderer/lib/SyntheticEvent'>; -} -declare module 'react-test-renderer/lib/TouchHistoryMath.js' { - declare module.exports: $Exports<'react-test-renderer/lib/TouchHistoryMath'>; -} -declare module 'react-test-renderer/lib/Transaction.js' { - declare module.exports: $Exports<'react-test-renderer/lib/Transaction'>; -} -declare module 'react-test-renderer/lib/traverseAllChildren.js' { - declare module.exports: $Exports<'react-test-renderer/lib/traverseAllChildren'>; -} declare module 'react-test-renderer/shallow.js' { declare module.exports: $Exports<'react-test-renderer/shallow'>; } +declare module 'react-test-renderer/stack.js' { + declare module.exports: $Exports<'react-test-renderer/stack'>; +} diff --git a/package.json b/package.json index 755851e..332c973 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "path-to-regexp": "^1.7.0", "prop-types": "^15.5.10", "react-native-drawer-layout-polyfill": "^1.3.2", - "react-native-tab-view": "^0.0.69" + "react-native-tab-view": "^0.0.70" }, "devDependencies": { "babel-cli": "^6.24.1", @@ -74,14 +74,14 @@ "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-prettier": "^2.1.2", "eslint-plugin-react": "^7.1.0", - "flow-bin": "^0.51.0", + "flow-bin": "0.53.0", "husky": "^0.14.3", "jest": "^20.0.4", "lint-staged": "^4.2.1", "prettier": "^1.5.3", "prettier-eslint": "^6.4.2", - "react": "16.0.0-alpha.12", - "react-native": "^0.48.4", + "react": "16.0.0-beta.5", + "react-native": "^0.49.3", "react-native-vector-icons": "^4.2.0", "react-test-renderer": "^16.0.0" }, diff --git a/src/NavigationActions.js b/src/NavigationActions.js index 320b587..bb33610 100644 --- a/src/NavigationActions.js +++ b/src/NavigationActions.js @@ -2,7 +2,18 @@ * @flow */ -import type { NavigationAction } from './TypeDefinition'; +import type { + NavigationAction, + PossiblyDeprecatedNavigationAction, + DeprecatedNavigationNavigateAction, + NavigationInitAction, + NavigationNavigateAction, + NavigationBackAction, + NavigationSetParamsAction, + NavigationResetAction, + NavigationUriAction, + NavigationParams, +} from './TypeDefinition'; const BACK = 'Navigation/BACK'; const INIT = 'Navigation/INIT'; @@ -11,49 +22,118 @@ const RESET = 'Navigation/RESET'; const SET_PARAMS = 'Navigation/SET_PARAMS'; const URI = 'Navigation/URI'; -const createAction = (type: string) => (payload: Object = {}) => ({ - type, - ...payload, +const back = (payload: { key?: ?string } = {}): NavigationBackAction => ({ + type: BACK, + key: payload.key, +}); +const init = ( + payload: { params?: NavigationParams } = {} +): NavigationInitAction => { + const action: NavigationInitAction = { + type: INIT, + }; + if (payload.params) { + action.params = payload.params; + } + return action; +}; +const navigate = (payload: { + routeName: string, + params?: ?NavigationParams, + action?: ?NavigationNavigateAction, +}): NavigationNavigateAction => { + const action: NavigationNavigateAction = { + type: NAVIGATE, + routeName: payload.routeName, + }; + if (payload.params) { + action.params = payload.params; + } + if (payload.action) { + action.action = payload.action; + } + return action; +}; +const reset = (payload: { + index: number, + key?: ?string, + actions: Array, +}): NavigationResetAction => ({ + type: RESET, + index: payload.index, + key: payload.key, + actions: payload.actions, +}); +const setParams = (payload: { + key: string, + params: NavigationParams, +}): NavigationSetParamsAction => ({ + type: SET_PARAMS, + key: payload.key, + params: payload.params, +}); +const uri = (payload: { uri: string }): NavigationUriAction => ({ + type: URI, + uri: payload.uri, }); -const back = createAction(BACK); -const init = createAction(INIT); -const navigate = createAction(NAVIGATE); -const reset = createAction(RESET); -const setParams = createAction(SET_PARAMS); -const uri = createAction(URI); - -const deprecatedActionMap = { - Back: BACK, - Init: INIT, - Navigate: NAVIGATE, - Reset: RESET, - SetParams: SET_PARAMS, - Uri: URI, +const mapDeprecatedNavigateAction = ( + action: NavigationNavigateAction | DeprecatedNavigationNavigateAction +): NavigationNavigateAction => { + if (action.type === 'Navigate') { + const payload: Object = { + routeName: action.routeName, + params: action.params, + }; + if (action.action) { + payload.action = mapDeprecatedNavigateAction(action.action); + } + return navigate(payload); + } + return action; }; -const mapDeprecatedActionAndWarn = (action: Object) => { - const mappedType = deprecatedActionMap[action.type]; - if (!mappedType) { - return action; +const mapDeprecatedAction = ( + action: PossiblyDeprecatedNavigationAction +): NavigationAction => { + if (action.type === 'Back') { + return back(action); + } else if (action.type === 'Init') { + return init(action); + } else if (action.type === 'Navigate') { + return mapDeprecatedNavigateAction(action); + } else if (action.type === 'Reset') { + return reset({ + index: action.index, + key: action.key, + actions: action.actions.map(mapDeprecatedNavigateAction), + }); + } else if (action.type === 'SetParams') { + return setParams(action); } + return action; +}; - console.warn( - [ - `The action type '${action.type}' has been renamed to '${mappedType}'.`, - `'${action.type}' will continue to work while in beta but will be removed`, - 'in the first major release. Moving forward, you should use the', - 'action constants and action creators exported by this library in', - "the 'actions' object.", - 'See https://github.com/react-community/react-navigation/pull/120 for', - 'more details.', - ].join(' ') - ); - - return { - ...action, - type: deprecatedActionMap[action.type], - }; +const mapDeprecatedActionAndWarn = ( + action: PossiblyDeprecatedNavigationAction +): NavigationAction => { + const newAction = mapDeprecatedAction(action); + if (newAction !== action) { + const oldType = action.type; + const newType = newAction.type; + console.warn( + [ + `The action type '${oldType}' has been renamed to '${newType}'.`, + `'${oldType}' will continue to work while in beta but will be removed`, + 'in the first major release. Moving forward, you should use the', + 'action constants and action creators exported by this library in', + "the 'actions' object.", + 'See https://github.com/react-community/react-navigation/pull/120 for', + 'more details.', + ].join(' ') + ); + } + return newAction; }; export default { diff --git a/src/TypeDefinition.js b/src/TypeDefinition.js index fc829b9..fae6494 100644 --- a/src/TypeDefinition.js +++ b/src/TypeDefinition.js @@ -1,6 +1,6 @@ /* @flow */ -import React from 'react'; +import * as React from 'react'; import type { TabScene } from './views/TabView/TabView'; @@ -27,46 +27,87 @@ export type NavigationParams = { [key: string]: mixed, }; -export type NavigationNavigateAction = { +export type NavigationNavigateAction = {| type: 'Navigation/NAVIGATE', routeName: string, params?: NavigationParams, // The action to run inside the sub-router action?: NavigationNavigateAction, -}; +|}; -export type NavigationBackAction = { +export type DeprecatedNavigationNavigateAction = {| + type: 'Navigate', + routeName: string, + params?: NavigationParams, + + // The action to run inside the sub-router + action?: NavigationNavigateAction | DeprecatedNavigationNavigateAction, +|}; + +export type NavigationBackAction = {| type: 'Navigation/BACK', key?: ?string, -}; +|}; -export type NavigationSetParamsAction = { +export type DeprecatedNavigationBackAction = {| + type: 'Back', + key?: ?string, +|}; + +export type NavigationSetParamsAction = {| type: 'Navigation/SET_PARAMS', // The key of the route where the params should be set key: string, // The new params to merge into the existing route params - params?: NavigationParams, -}; + params: NavigationParams, +|}; -export type NavigationInitAction = { +export type DeprecatedNavigationSetParamsAction = {| + type: 'SetParams', + + // The key of the route where the params should be set + key: string, + + // The new params to merge into the existing route params + params: NavigationParams, +|}; + +export type NavigationInitAction = {| type: 'Navigation/INIT', params?: NavigationParams, -}; +|}; -export type NavigationResetAction = { +export type DeprecatedNavigationInitAction = {| + type: 'Init', + params?: NavigationParams, +|}; + +export type NavigationResetAction = {| type: 'Navigation/RESET', index: number, key?: ?string, actions: Array, -}; +|}; -export type NavigationUriAction = { +export type DeprecatedNavigationResetAction = {| + type: 'Reset', + index: number, + key?: ?string, + actions: Array, +|}; + +export type NavigationUriAction = {| type: 'Navigation/URI', uri: string, -}; +|}; + +export type DeprecatedNavigationUriAction = {| + type: 'Uri', + uri: string, +|}; export type NavigationStackAction = | NavigationInitAction @@ -75,16 +116,39 @@ export type NavigationStackAction = | NavigationSetParamsAction | NavigationResetAction; +export type DeprecatedNavigationStackAction = + | DeprecatedNavigationInitAction + | DeprecatedNavigationNavigateAction + | DeprecatedNavigationBackAction + | DeprecatedNavigationSetParamsAction + | DeprecatedNavigationResetAction; + export type NavigationTabAction = | NavigationInitAction | NavigationNavigateAction - | NavigationBackAction; + | NavigationBackAction + | NavigationSetParamsAction; + +export type DeprecatedNavigationTabAction = + | DeprecatedNavigationInitAction + | DeprecatedNavigationNavigateAction + | DeprecatedNavigationBackAction + | DeprecatedNavigationSetParamsAction; export type NavigationAction = | NavigationInitAction | NavigationStackAction | NavigationTabAction; +export type DeprecatedNavigationAction = + | DeprecatedNavigationInitAction + | DeprecatedNavigationStackAction + | DeprecatedNavigationTabAction; + +export type PossiblyDeprecatedNavigationAction = + | NavigationAction + | DeprecatedNavigationAction; + /** * NavigationState is a tree of routes for a single navigator, where each child * route may either be a NavigationScreenRoute or a NavigationRouterRoute. @@ -136,16 +200,26 @@ export type NavigationStateRoute = { routes: Array, }; +export type DrawerNavigationState = { + ...$Exact, + index: number, + routes: [], +}; + /** * Router */ -export type NavigationScreenOptionsGetter = ( - navigation: NavigationScreenProp, +export type NavigationScreenOptionsGetter = ( + navigation: NavigationScreenProp, screenProps?: {} ) => Options; -export type NavigationRouter = { +export type NavigationRouter< + State: NavigationState, + Action: NavigationAction, + Options: {} +> = { /** * The reducer that outputs the new navigation state for a given action, with * an optional previous state. When the action is considered handled but the @@ -181,21 +255,21 @@ export type NavigationRouter = { * * {routeName: 'Foo', key: '123'} */ - getScreenOptions: NavigationScreenOptionsGetter, + getScreenOptions: NavigationScreenOptionsGetter, }; export type NavigationScreenDetails = { options: T, state: NavigationRoute, - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, }; -export type NavigationScreenOptions = { +export type NavigationScreenOptions = {| title?: string, -}; +|}; export type NavigationScreenConfigProps = { - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, screenProps: {}, }; @@ -203,22 +277,27 @@ export type NavigationScreenConfig = | Options | (({ ...$Exact, - navigationOptions: NavigationScreenProp< - NavigationRoute, - NavigationAction - >, + navigationOptions: Options, }) => Options); export type NavigationComponent = - | NavigationScreenComponent<*, *> - | NavigationNavigator<*, *, *, *>; + | NavigationScreenComponent + | NavigationNavigator; -export type NavigationScreenComponent = ReactClass & { +export type NavigationScreenComponent< + Route: NavigationRoute, + Options: {} +> = React.ComponentType> & { + router?: void, navigationOptions?: NavigationScreenConfig, }; -export type NavigationNavigator = ReactClass & { - router?: NavigationRouter, +export type NavigationNavigator< + State: NavigationState, + Action: NavigationAction, + Options: {} +> = React.ComponentType> & { + router: NavigationRouter, navigationOptions?: NavigationScreenConfig, }; @@ -261,37 +340,35 @@ export type HeaderProps = { getScreenDetails: NavigationScene => NavigationScreenDetails< NavigationStackScreenOptions >, - style: ViewStyleProp, - isLandscape?: boolean, }; /** * Stack Navigator */ -export type NavigationStackScreenOptions = { +export type NavigationStackScreenOptions = {| ...$Exact, - header?: ?(React.Element<*> | (HeaderProps => React.Element<*>)), - headerTitle?: string | React.Element<*>, + header?: ?(React.Node | (HeaderProps => React.Node)), + headerTitle?: string | React.Node, headerTitleStyle?: AnimatedTextStyleProp, headerTitleAllowFontScaling?: boolean, headerTintColor?: string, - headerLeft?: React.Element<*>, + headerLeft?: React.Node, headerBackTitle?: string, headerTruncatedBackTitle?: string, headerBackTitleStyle?: TextStyleProp, headerPressColorAndroid?: string, - headerRight?: React.Element<*>, + headerRight?: React.Node, headerStyle?: ViewStyleProp, gesturesEnabled?: boolean, gestureResponseDistance?: { vertical?: number, horizontal?: number }, -}; +|}; export type NavigationStackRouterConfig = { initialRouteName?: string, initialRouteParams?: NavigationParams, paths?: NavigationPathsConfig, - navigationOptions?: NavigationScreenConfig, + navigationOptions?: NavigationScreenConfig<*>, }; export type NavigationStackViewConfig = { @@ -315,78 +392,72 @@ export type StackNavigatorConfig = { export type NavigationTabRouterConfig = { initialRouteName?: string, paths?: NavigationPathsConfig, - navigationOptions?: NavigationScreenConfig, + navigationOptions?: NavigationScreenConfig<*>, order?: Array, // todo: type these as the real route names rather than 'string' // Does the back button cause the router to switch to the initial tab backBehavior?: 'none' | 'initialRoute', // defaults `initialRoute` }; -export type NavigationTabScreenOptions = { +export type NavigationTabScreenOptions = {| ...$Exact, tabBarIcon?: - | React.Element<*> - | ((options: { tintColor: ?string, focused: boolean }) => ?React.Element< - * - >), + | React.Node + | ((options: { tintColor: ?string, focused: boolean }) => ?React.Node), tabBarLabel?: | string - | React.Element<*> - | ((options: { tintColor: ?string, focused: boolean }) => ?React.Element< - * - >), + | React.Node + | ((options: { tintColor: ?string, focused: boolean }) => ?React.Node), tabBarVisible?: boolean, tabBarTestIDProps?: { testID?: string, accessibilityLabel?: string }, tabBarOnPress?: ( scene: TabScene, jumpToIndex: (index: number) => void ) => void, -}; +|}; /** * Drawer */ -export type NavigationDrawerScreenOptions = { +export type NavigationDrawerScreenOptions = {| ...$Exact, drawerIcon?: - | React.Element<*> - | ((options: { tintColor: ?string, focused: boolean }) => ?React.Element< - * - >), + | React.Node + | ((options: { tintColor: ?string, focused: boolean }) => ?React.Node), drawerLabel?: - | React.Element<*> - | ((options: { tintColor: ?string, focused: boolean }) => ?React.Element< - * - >), + | React.Node + | ((options: { tintColor: ?string, focused: boolean }) => ?React.Node), drawerLockMode?: 'unlocked' | 'locked-closed' | 'locked-open', -}; +|}; /** * Navigator Prop */ -export type NavigationDispatch = (action: A) => boolean; +export type NavigationDispatch = ( + action: PossiblyDeprecatedNavigationAction +) => boolean; -export type NavigationProp = { - state: S, - dispatch: NavigationDispatch, +export type NavigationProp = { + +state: S, + dispatch: NavigationDispatch, }; -export type NavigationScreenProp = { - state: S, - dispatch: NavigationDispatch, +export type NavigationScreenProp = { + +state: S, + dispatch: NavigationDispatch, goBack: (routeKey?: ?string) => boolean, navigate: ( routeName: string, params?: NavigationParams, - action?: NavigationAction + action?: NavigationNavigateAction ) => boolean, setParams: (newParams: NavigationParams) => boolean, }; -export type NavigationNavigatorProps = { - navigation?: NavigationProp, +export type NavigationNavigatorProps = { + navigation: NavigationScreenProp, screenProps?: *, navigationOptions?: O, }; @@ -418,7 +489,7 @@ export type NavigationTransitionProps = { layout: NavigationLayout, // The destination navigation state of the transition - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, // The progressive index of the transitioner's navigation state. position: Animated.Value, @@ -477,7 +548,7 @@ export type NavigationAnimationSetter = ( lastState: NavigationState ) => void; -export type NavigationSceneRenderer = () => ?React.Element<*>; +export type NavigationSceneRenderer = () => React.Node; export type NavigationStyleInterpolator = ( props: NavigationSceneRendererProps diff --git a/src/__tests__/NavigationActions-test.js b/src/__tests__/NavigationActions-test.js index 7a98fb3..de3bc88 100644 --- a/src/__tests__/NavigationActions-test.js +++ b/src/__tests__/NavigationActions-test.js @@ -3,59 +3,89 @@ import NavigationActions from '../NavigationActions'; describe('actions', () => { - const data = { foo: 'bar' }; + const params = { foo: 'bar' }; + const navigateAction = NavigationActions.navigate({ routeName: 'another' }); it('exports back action and type', () => { expect(NavigationActions.back()).toEqual({ type: NavigationActions.BACK }); - expect(NavigationActions.back(data)).toEqual({ + expect(NavigationActions.back({ key: 'test' })).toEqual({ type: NavigationActions.BACK, - ...data, + key: 'test', }); }); it('exports init action and type', () => { expect(NavigationActions.init()).toEqual({ type: NavigationActions.INIT }); - expect(NavigationActions.init(data)).toEqual({ + expect(NavigationActions.init({ params })).toEqual({ type: NavigationActions.INIT, - ...data, + params, }); }); it('exports navigate action and type', () => { - expect(NavigationActions.navigate()).toEqual({ + expect(NavigationActions.navigate({ routeName: 'test' })).toEqual({ type: NavigationActions.NAVIGATE, + routeName: 'test', }); - expect(NavigationActions.navigate(data)).toEqual({ + expect( + NavigationActions.navigate({ + routeName: 'test', + params, + action: navigateAction, + }) + ).toEqual({ type: NavigationActions.NAVIGATE, - ...data, + routeName: 'test', + params, + action: { + type: NavigationActions.NAVIGATE, + routeName: 'another', + }, }); }); it('exports reset action and type', () => { - expect(NavigationActions.reset()).toEqual({ + expect(NavigationActions.reset({ index: 0, actions: [] })).toEqual({ type: NavigationActions.RESET, + index: 0, + actions: [], }); - expect(NavigationActions.reset(data)).toEqual({ + expect( + NavigationActions.reset({ + index: 0, + key: 'test', + actions: [navigateAction], + }) + ).toEqual({ type: NavigationActions.RESET, - ...data, + index: 0, + key: 'test', + actions: [ + { + type: NavigationActions.NAVIGATE, + routeName: 'another', + }, + ], }); }); it('exports setParams action and type', () => { - expect(NavigationActions.setParams()).toEqual({ + expect( + NavigationActions.setParams({ + key: 'test', + params, + }) + ).toEqual({ type: NavigationActions.SET_PARAMS, - }); - expect(NavigationActions.setParams(data)).toEqual({ - type: NavigationActions.SET_PARAMS, - ...data, + key: 'test', + params, }); }); it('exports uri action and type', () => { - expect(NavigationActions.uri()).toEqual({ type: NavigationActions.URI }); - expect(NavigationActions.uri(data)).toEqual({ + expect(NavigationActions.uri({ uri: 'http://google.com' })).toEqual({ type: NavigationActions.URI, - ...data, + uri: 'http://google.com', }); }); }); diff --git a/src/addNavigationHelpers.js b/src/addNavigationHelpers.js index 23058ee..aa74fc3 100644 --- a/src/addNavigationHelpers.js +++ b/src/addNavigationHelpers.js @@ -5,45 +5,53 @@ */ import type { - NavigationAction, NavigationProp, NavigationParams, + NavigationScreenProp, + NavigationNavigateAction, } from './TypeDefinition'; import NavigationActions from './NavigationActions'; +import invariant from './utils/invariant'; -export default function(navigation: NavigationProp) { +export default function( + navigation: NavigationProp +): NavigationScreenProp { return { ...navigation, - goBack: (key?: ?string): boolean => - navigation.dispatch( - NavigationActions.back({ - key: key === undefined ? navigation.state.key : key, - }) - ), + goBack: (key?: ?string): boolean => { + let actualizedKey: ?string = key; + if (key === undefined && navigation.state.key) { + invariant( + typeof navigation.state.key === 'string', + 'key should be a string' + ); + actualizedKey = navigation.state.key; + } + return navigation.dispatch( + NavigationActions.back({ key: actualizedKey }) + ); + }, navigate: ( routeName: string, params?: NavigationParams, - action?: NavigationAction + action?: NavigationNavigateAction ): boolean => navigation.dispatch( - NavigationActions.navigate({ - routeName, - params, - action, - }) + NavigationActions.navigate({ routeName, params, action }) ), /** * For updating current route params. For example the nav bar title and * buttons are based on the route params. * This means `setParams` can be used to update nav bar for example. */ - setParams: (params: NavigationParams): boolean => - navigation.dispatch( - NavigationActions.setParams({ - params, - key: navigation.state.key, - }) - ), + setParams: (params: NavigationParams): boolean => { + invariant( + navigation.state.key && typeof navigation.state.key === 'string', + 'setParams cannot be called by root navigator' + ); + const key = navigation.state.key; + return navigation.dispatch(NavigationActions.setParams({ params, key })); + }, }; } diff --git a/src/createNavigationContainer.js b/src/createNavigationContainer.js index a98a733..820688e 100644 --- a/src/createNavigationContainer.js +++ b/src/createNavigationContainer.js @@ -4,27 +4,29 @@ import React from 'react'; import { BackHandler, Linking } from './PlatformHelpers'; import NavigationActions from './NavigationActions'; import addNavigationHelpers from './addNavigationHelpers'; +import invariant from './utils/invariant'; import type { - NavigationRoute, NavigationAction, NavigationState, NavigationScreenProp, - NavigationNavigatorProps, NavigationNavigator, + PossiblyDeprecatedNavigationAction, + NavigationInitAction, } from './TypeDefinition'; -type NavigationContainerProps = { +type Props = { uriPrefix?: string | RegExp, onNavigationStateChange?: ( NavigationState, NavigationState, NavigationAction ) => void, + navigation?: NavigationScreenProp, + screenProps?: *, + navigationOptions?: O, }; -type Props = NavigationContainerProps & NavigationNavigatorProps; - type State = { nav: ?NavigationState, }; @@ -35,20 +37,17 @@ type State = { * This allows to use e.g. the StackNavigator and TabNavigator as root-level * components. */ -export default function createNavigationContainer( - Component: NavigationNavigator<*, S, *, O> +export default function createNavigationContainer( + Component: NavigationNavigator ) { - class NavigationContainer extends React.Component, State> { - state: State; - props: Props; - + class NavigationContainer extends React.Component, State> { subs: ?{ remove: () => void, } = null; static router = Component.router; - constructor(props: Props) { + constructor(props: Props) { super(props); this._validateProps(props); @@ -64,7 +63,7 @@ export default function createNavigationContainer( return !this.props.navigation; } - _validateProps(props: Props) { + _validateProps(props: Props) { if (this._isStateful()) { return; } @@ -167,34 +166,42 @@ export default function createNavigationContainer( this.subs && this.subs.remove(); } - dispatch = (action: NavigationAction) => { - const { state } = this; + dispatch = (inputAction: PossiblyDeprecatedNavigationAction) => { + // $FlowFixMe remove after we deprecate the old actions + const action: A = NavigationActions.mapDeprecatedActionAndWarn( + inputAction + ); if (!this._isStateful()) { return false; } - const nav = Component.router.getStateForAction(action, state.nav); - if (nav && nav !== state.nav) { + const oldNav = this.state.nav; + invariant(oldNav, 'should be set in constructor if stateful'); + const nav = Component.router.getStateForAction(action, oldNav); + if (nav && nav !== oldNav) { this.setState({ nav }, () => - this._onNavigationStateChange(state.nav, nav, action) + this._onNavigationStateChange(oldNav, nav, action) ); return true; } return false; }; - _navigation: ?NavigationScreenProp; + _navigation: ?NavigationScreenProp; render() { let navigation = this.props.navigation; if (this._isStateful()) { - if (!this._navigation || this._navigation.state !== this.state.nav) { + const nav = this.state.nav; + invariant(nav, 'should be set in constructor if stateful'); + if (!this._navigation || this._navigation.state !== nav) { this._navigation = addNavigationHelpers({ dispatch: this.dispatch, - state: this.state.nav, + state: nav, }); } navigation = this._navigation; } + invariant(navigation, 'failed to get navigation'); return ; } } diff --git a/src/navigators/DrawerNavigator.js b/src/navigators/DrawerNavigator.js index 012c5ec..42efc57 100644 --- a/src/navigators/DrawerNavigator.js +++ b/src/navigators/DrawerNavigator.js @@ -64,6 +64,8 @@ const DrawerNavigator = ( routeConfigs, config, NavigatorTypes.DRAWER + // Flow doesn't realize DrawerScreen already has childNavigationProps + // from withCachedChildNavigation for some reason. $FlowFixMe )((props: *) => ), }, DrawerOpen: { diff --git a/src/navigators/TabNavigator.js b/src/navigators/TabNavigator.js index 5b07bcc..3f276d8 100644 --- a/src/navigators/TabNavigator.js +++ b/src/navigators/TabNavigator.js @@ -49,6 +49,8 @@ const TabNavigator = ( config, NavigatorTypes.TABS )((props: *) => ( + // Flow doesn't realize TabView already has childNavigationProps from + // withCachedChildNavigation for some reason. $FlowFixMe @@ -230,7 +229,6 @@ exports[`StackNavigator renders successfully 1`] = ` Object { "flex": 1, }, - undefined, ] } > diff --git a/src/navigators/createNavigator.js b/src/navigators/createNavigator.js index f05288f..781d77b 100644 --- a/src/navigators/createNavigator.js +++ b/src/navigators/createNavigator.js @@ -1,31 +1,43 @@ /* @flow */ -import React from 'react'; +import * as React from 'react'; import type { NavigationRouter, NavigationNavigator, NavigationNavigatorProps, NavigationRouteConfigMap, + NavigationAction, + NavigationState, + NavigationScreenProp, } from '../TypeDefinition'; import type { NavigatorType } from './NavigatorTypes'; +type InjectedProps = { + router: NavigationRouter, +}; + /** * Creates a navigator based on a router and a view that renders the screens. */ -export default function createNavigator( - router: NavigationRouter, +export default function createNavigator< + S: NavigationState, + A: *, + NavigatorConfig, + O: * +>( + router: NavigationRouter, routeConfigs?: NavigationRouteConfigMap, navigatorConfig?: NavigatorConfig, navigatorType?: NavigatorType ) { return ( - NavigationView: ReactClass - ): NavigationNavigator => { - class Navigator extends React.Component { - props: NavigationNavigatorProps; - + NavigationView: React.ComponentType< + InjectedProps & NavigationNavigatorProps + > + ): NavigationNavigator => { + class Navigator extends React.Component> { static router = router; static routeConfigs = routeConfigs; diff --git a/src/routers/StackRouter.js b/src/routers/StackRouter.js index 4ff7ed6..fa73dfd 100644 --- a/src/routers/StackRouter.js +++ b/src/routers/StackRouter.js @@ -10,7 +10,6 @@ import validateRouteConfigMap from './validateRouteConfigMap'; import getScreenConfigDeprecated from './getScreenConfigDeprecated'; import type { - NavigationAction, NavigationComponent, NavigationNavigateAction, NavigationRouter, @@ -21,6 +20,8 @@ import type { NavigationStackAction, NavigationStackRouterConfig, NavigationStackScreenOptions, + NavigationRoute, + NavigationStateRoute, } from '../TypeDefinition'; const uniqueBaseId = `id-${Date.now()}`; @@ -32,7 +33,11 @@ function _getUuid() { export default ( routeConfigs: NavigationRouteConfigMap, stackConfig: NavigationStackRouterConfig = {} -): NavigationRouter<*, *, NavigationStackScreenOptions> => { +): NavigationRouter< + NavigationState, + NavigationStackAction, + NavigationStackScreenOptions +> => { // Fail fast on invalid route definitions validateRouteConfigMap(routeConfigs); @@ -90,11 +95,9 @@ export default ( }, getStateForAction( - passedAction: NavigationStackAction, + action: NavigationStackAction, state: ?NavigationState - ) { - const action = NavigationActions.mapDeprecatedActionAndWarn(passedAction); - + ): ?NavigationState { // Set up the initial state if needed if (!state) { let route = {}; @@ -124,10 +127,10 @@ export default ( const params = (route.params || action.params || initialRouteParams) && { - ...(route.params || {}), - ...(action.params || {}), - ...(initialRouteParams || {}), - }; + ...(route.params || {}), + ...(action.params || {}), + ...(initialRouteParams || {}), + }; route = { ...route, routeName: initialRouteName, @@ -222,9 +225,9 @@ export default ( } if (action.type === NavigationActions.SET_PARAMS) { + const key = action.key; const lastRoute = state.routes.find( - /* $FlowFixMe */ - (route: *) => route.key === action.key + (route: NavigationRoute) => route.key === key ); if (lastRoute) { const params = { @@ -272,11 +275,11 @@ export default ( } if (action.type === NavigationActions.BACK) { + const key = action.key; let backRouteIndex = null; - if (action.key) { + if (key) { const backRoute = state.routes.find( - /* $FlowFixMe */ - (route: *) => route.key === action.key + (route: NavigationRoute) => route.key === key ); /* $FlowFixMe */ backRouteIndex = state.routes.indexOf(backRoute); @@ -306,9 +309,11 @@ export default ( let path = subPath; let params = route.params; if (screen && screen.router) { + // $FlowFixMe there's no way type the specific shape of the nav state + const stateRoute: NavigationStateRoute = route; // If it has a router it's a navigator. // If it doesn't have router it's an ordinary React component. - const child = screen.router.getPathAndParamsForState(route); + const child = screen.router.getPathAndParamsForState(stateRoute); path = subPath ? `${subPath}/${child.path}` : child.path; params = child.params ? { ...params, ...child.params } : params; } @@ -318,7 +323,7 @@ export default ( }; }, - getActionForPathAndParams(pathToResolve: string): ?NavigationAction { + getActionForPathAndParams(pathToResolve: string): ?NavigationStackAction { // If the path is empty (null or empty string) // just return the initial route action if (!pathToResolve) { diff --git a/src/routers/TabRouter.js b/src/routers/TabRouter.js index c366460..52d3efa 100644 --- a/src/routers/TabRouter.js +++ b/src/routers/TabRouter.js @@ -9,9 +9,7 @@ import validateRouteConfigMap from './validateRouteConfigMap'; import getScreenConfigDeprecated from './getScreenConfigDeprecated'; import type { - NavigationAction, NavigationComponent, - NavigationScreenComponent, NavigationState, NavigationRouteConfigMap, NavigationParams, @@ -19,13 +17,14 @@ import type { NavigationRoute, NavigationNavigateAction, NavigationTabRouterConfig, - NavigationTabScreenOptions, + NavigationTabAction, + NavigationStateRoute, } from '../TypeDefinition'; export default ( routeConfigs: NavigationRouteConfigMap, config: NavigationTabRouterConfig = {} -): NavigationRouter<*, *, *> => { +): NavigationRouter => { // Fail fast on invalid route definitions validateRouteConfigMap(routeConfigs); @@ -53,12 +52,9 @@ export default ( } return { getStateForAction( - action: NavigationAction | { action: NavigationAction }, + action: NavigationTabAction, inputState?: ?NavigationState ): ?NavigationState { - // eslint-disable-next-line no-param-reassign - action = NavigationActions.mapDeprecatedActionAndWarn(action); - // Establish a default state let state = inputState; if (!state) { @@ -180,9 +176,9 @@ export default ( } } if (action.type === NavigationActions.SET_PARAMS) { + const key = action.key; const lastRoute = state.routes.find( - /* $FlowFixMe */ - (route: *) => route.key === action.key + (route: NavigationRoute) => route.key === key ); if (lastRoute) { const params = { @@ -253,9 +249,7 @@ export default ( return state; }, - getComponentForState( - state: NavigationState - ): NavigationScreenComponent<*, NavigationTabScreenOptions> { + getComponentForState(state: NavigationState): NavigationComponent { const routeName = order[state.index]; invariant( routeName, @@ -281,9 +275,11 @@ export default ( let path = subPath; let params = route.params; if (screen && screen.router) { + // $FlowFixMe there's no way type the specific shape of the nav state + const stateRoute: NavigationStateRoute = route; // If it has a router it's a navigator. // If it doesn't have router it's an ordinary React component. - const child = screen.router.getPathAndParamsForState(route); + const child = screen.router.getPathAndParamsForState(stateRoute); path = subPath ? `${subPath}/${child.path}` : child.path; params = child.params ? { ...params, ...child.params } : params; } @@ -298,7 +294,10 @@ export default ( * * This will return null if there is no action matched */ - getActionForPathAndParams(path: string, params: ?NavigationParams) { + getActionForPathAndParams( + path: string, + params: ?NavigationParams + ): ?NavigationTabAction { return ( order .map((tabId: string) => { diff --git a/src/routers/__tests__/Routers-test.js b/src/routers/__tests__/Routers-test.js index e339846..d37a9f5 100644 --- a/src/routers/__tests__/Routers-test.js +++ b/src/routers/__tests__/Routers-test.js @@ -1,7 +1,7 @@ /* @flow */ /* eslint react/no-multi-comp:0 */ -import React from 'react'; +import * as React from 'react'; import StackRouter from '../StackRouter'; import TabRouter from '../TabRouter'; @@ -19,18 +19,18 @@ Object.keys(ROUTERS).forEach((routerName: string) => { describe(`General router features - ${routerName}`, () => { test('title is configurable using navigationOptions and getScreenOptions', () => { - class FooView extends React.Component { + class FooView extends React.Component { render() { return
; } } - class BarView extends React.Component { + class BarView extends React.Component { render() { return
; } static navigationOptions = { title: 'BarTitle' }; } - class BazView extends React.Component { + class BazView extends React.Component { render() { return
; } diff --git a/src/routers/__tests__/StackRouter-test.js b/src/routers/__tests__/StackRouter-test.js index 985f4ff..351bcd9 100644 --- a/src/routers/__tests__/StackRouter-test.js +++ b/src/routers/__tests__/StackRouter-test.js @@ -1,7 +1,7 @@ /* @flow */ /* eslint no-shadow:0, react/no-multi-comp:0, react/display-name:0 */ -import React from 'react'; +import * as React from 'react'; import StackRouter from '../StackRouter'; import TabRouter from '../TabRouter'; @@ -37,7 +37,7 @@ AuthNavigator.router = StackRouter({ const BarScreen = () =>
; -class FooNavigator extends React.Component { +class FooNavigator extends React.Component { static router = StackRouter({ bar: { path: 'b/:barThing', @@ -137,12 +137,12 @@ describe('StackRouter', () => { test('Gets the screen for given route', () => { const FooScreen = () =>
; - const BarScreen = class extends React.Component { + const BarScreen = class extends React.Component { render() { return
; } }; - const BazScreen = class extends React.Component { + const BazScreen = class extends React.Component { render() { return
; } @@ -166,12 +166,12 @@ describe('StackRouter', () => { test('Handles getScreen in getComponent', () => { const FooScreen = () =>
; - const BarScreen = class extends React.Component { + const BarScreen = class extends React.Component { render() { return
; } }; - const BazScreen = class extends React.Component { + const BazScreen = class extends React.Component { render() { return
; } @@ -878,20 +878,19 @@ describe('StackRouter', () => { screen: () =>
, }, }); - /* $FlowFixMe: these are for deprecated action names */ - const state = router.getStateForAction({ type: 'Init' }); - /* $FlowFixMe: these are for deprecated action names */ - const state2 = router.getStateForAction( - { - type: 'Reset', - actions: [ - { type: 'Navigate', routeName: 'Foo', params: { bar: '42' } }, - { type: 'Navigate', routeName: 'Bar' }, - ], - index: 1, - }, - state - ); + const initAction = NavigationActions.mapDeprecatedActionAndWarn({ + type: 'Init', + }); + const state = router.getStateForAction(initAction); + const resetAction = NavigationActions.mapDeprecatedActionAndWarn({ + type: 'Reset', + actions: [ + { type: 'Navigate', routeName: 'Foo', params: { bar: '42' } }, + { type: 'Navigate', routeName: 'Bar' }, + ], + index: 1, + }); + const state2 = router.getStateForAction(resetAction, state); expect(state2 && state2.index).toEqual(1); expect(state2 && state2.routes[0].params).toEqual({ bar: '42' }); expect(state2 && state2.routes[0].routeName).toEqual('Foo'); diff --git a/src/routers/__tests__/TabRouter-test.js b/src/routers/__tests__/TabRouter-test.js index cccb389..f3c8714 100644 --- a/src/routers/__tests__/TabRouter-test.js +++ b/src/routers/__tests__/TabRouter-test.js @@ -554,13 +554,17 @@ describe('TabRouter', () => { { Foo: BareLeafRouteConfig, Bar: BareLeafRouteConfig }, { initialRouteName: 'Bar' } ); + const initAction = NavigationActions.mapDeprecatedActionAndWarn({ + type: 'Init', + }); /* $FlowFixMe: these are for deprecated action names */ - const state = router.getStateForAction({ type: 'Init' }); + const state = router.getStateForAction(initAction); + const navigateAction = NavigationActions.mapDeprecatedActionAndWarn({ + type: 'Navigate', + routeName: 'Bar', + }); /* $FlowFixMe: these are for deprecated action names */ - const state2 = router.getStateForAction( - { type: 'Navigate', routeName: 'Bar' }, - state - ); + const state2 = router.getStateForAction(navigateAction, state); expect(state2).toEqual(null); expect(console.warn).toBeCalledWith( expect.stringContaining( diff --git a/src/routers/__tests__/createConfigGetter-test.js b/src/routers/__tests__/createConfigGetter-test.js index 3db2134..f756f47 100644 --- a/src/routers/__tests__/createConfigGetter-test.js +++ b/src/routers/__tests__/createConfigGetter-test.js @@ -11,7 +11,7 @@ import type { test('should get config for screen', () => { /* eslint-disable react/no-multi-comp */ - class HomeScreen extends Component { + class HomeScreen extends Component { static navigationOptions = ({ navigation }: *) => ({ title: `Welcome ${navigation.state.params ? navigation.state.params.user @@ -24,7 +24,7 @@ test('should get config for screen', () => { } } - class SettingsScreen extends Component { + class SettingsScreen extends Component { static navigationOptions = { title: 'Settings!!!', gesturesEnabled: false, @@ -35,7 +35,7 @@ test('should get config for screen', () => { } } - class NotificationScreen extends Component { + class NotificationScreen extends Component { static navigationOptions = ({ navigation }: *) => ({ title: '42', gesturesEnabled: navigation.state.params @@ -49,8 +49,7 @@ test('should get config for screen', () => { } const getScreenOptions: NavigationScreenOptionsGetter< - NavigationStackScreenOptions, - * + NavigationStackScreenOptions > = createConfigGetter({ Home: { screen: HomeScreen }, Settings: { screen: SettingsScreen }, diff --git a/src/routers/createConfigGetter.js b/src/routers/createConfigGetter.js index 587d849..c68be5d 100644 --- a/src/routers/createConfigGetter.js +++ b/src/routers/createConfigGetter.js @@ -10,7 +10,6 @@ import validateScreenOptions from './validateScreenOptions'; import type { NavigationScreenProp, - NavigationAction, NavigationRoute, NavigationStateRoute, NavigationRouteConfigMap, @@ -44,14 +43,9 @@ function applyConfig( export default ( routeConfigs: NavigationRouteConfigMap, navigatorScreenConfig?: NavigationScreenConfig<*> -) => ( - navigation: NavigationScreenProp, - screenProps: * -) => { +) => (navigation: NavigationScreenProp, screenProps: *) => { const { state, dispatch } = navigation; const route = state; - // $FlowFixMe - const { routes, index } = (route: NavigationStateRoute); invariant( route.routeName && typeof route.routeName === 'string', @@ -62,7 +56,10 @@ export default ( let outputConfig = {}; - if (Component.router) { + const router = Component.router; + if (router) { + // $FlowFixMe + const { routes, index } = (route: NavigationStateRoute); if (!route || !routes || index == null) { throw new Error( `Expect nav state to have routes and index, ${JSON.stringify(route)}` @@ -73,10 +70,7 @@ export default ( state: childRoute, dispatch, }); - outputConfig = Component.router.getScreenOptions( - childNavigation, - screenProps - ); + outputConfig = router.getScreenOptions(childNavigation, screenProps); } const routeConfig = routeConfigs[route.routeName]; diff --git a/src/routers/getScreenForRouteName.js b/src/routers/getScreenForRouteName.js index 385c903..6a787d7 100644 --- a/src/routers/getScreenForRouteName.js +++ b/src/routers/getScreenForRouteName.js @@ -11,7 +11,7 @@ import type { * Simple helper that gets a single screen (React component or navigator) * out of the navigator config. */ -export default function getScreenForRouteName( // eslint-disable-line consistent-return +export default function getScreenForRouteName( routeConfigs: NavigationRouteConfigMap, routeName: string ): NavigationComponent { diff --git a/src/views/CardStack/Card.js b/src/views/CardStack/Card.js index 2ccce9b..139bd38 100644 --- a/src/views/CardStack/Card.js +++ b/src/views/CardStack/Card.js @@ -1,6 +1,6 @@ /* @flow */ -import React from 'react'; +import * as React from 'react'; import { Animated, StyleSheet } from 'react-native'; @@ -10,8 +10,8 @@ import type { NavigationSceneRendererProps } from '../../TypeDefinition'; type Props = { ...$Exact, - children: React.Children<*>, - onComponentRef: (ref: React.Element<*>) => void, + children: React.ChildrenArray<*>, + onComponentRef: React.Ref, pointerEvents: string, style: any, }; @@ -19,9 +19,7 @@ type Props = { /** * Component that renders the scene as card for the . */ -class Card extends React.Component { - props: Props; - +class Card extends React.Component { render() { const { children, pointerEvents, style } = this.props; return ( diff --git a/src/views/CardStack/CardStack.js b/src/views/CardStack/CardStack.js index e287fd0..fad6e6c 100644 --- a/src/views/CardStack/CardStack.js +++ b/src/views/CardStack/CardStack.js @@ -1,6 +1,6 @@ /* @flow */ -import React, { Component } from 'react'; +import * as React from 'react'; import clamp from 'clamp'; import { @@ -20,7 +20,6 @@ import addNavigationHelpers from '../../addNavigationHelpers'; import SceneView from '../SceneView'; import type { - NavigationAction, NavigationLayout, NavigationScreenProp, NavigationScene, @@ -31,6 +30,9 @@ import type { HeaderMode, ViewStyleProp, TransitionConfig, + NavigationStackAction, + NavigationRoute, + NavigationComponent, } from '../../TypeDefinition'; import TransitionConfigs from './TransitionConfigs'; @@ -40,18 +42,16 @@ const emptyFunction = () => {}; type Props = { screenProps?: {}, headerMode: HeaderMode, - headerComponent?: ReactClass<*>, + headerComponent?: React.ComponentType<*>, mode: 'card' | 'modal', - navigation: NavigationScreenProp, router: NavigationRouter< NavigationState, - NavigationAction, + NavigationStackAction, NavigationStackScreenOptions >, cardStyle?: ViewStyleProp, onTransitionStart?: () => void, onTransitionEnd?: () => void, - style?: any, // TODO: Remove /** * Optional custom animation when transitioning between screens. */ @@ -59,7 +59,7 @@ type Props = { // NavigationTransitionProps: layout: NavigationLayout, - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, position: Animated.Value, progress: Animated.Value, scenes: Array, @@ -101,7 +101,7 @@ const animatedSubscribeValue = (animatedValue: Animated.Value) => { } }; -class CardStack extends Component { +class CardStack extends React.Component { /** * Used to identify the starting point of the position when the gesture starts, such that it can * be updated according to its relative position. This means that a card can effectively be @@ -126,8 +126,6 @@ class CardStack extends Component { [key: string]: ?NavigationScreenDetails, } = {}; - props: Props; - componentWillReceiveProps(props: Props) { if (props.screenProps !== this.props.screenProps) { this._screenDetails = {}; @@ -146,8 +144,10 @@ class CardStack extends Component { const { screenProps, navigation, router } = this.props; let screenDetails = this._screenDetails[scene.key]; if (!screenDetails || screenDetails.state !== scene.route) { - const screenNavigation = addNavigationHelpers({ - ...navigation, + const screenNavigation: NavigationScreenProp< + NavigationRoute + > = addNavigationHelpers({ + dispatch: navigation.dispatch, state: scene.route, }); screenDetails = { @@ -160,10 +160,7 @@ class CardStack extends Component { return screenDetails; }; - _renderHeader( - scene: NavigationScene, - headerMode: HeaderMode - ): ?React.Element<*> { + _renderHeader(scene: NavigationScene, headerMode: HeaderMode): ?React.Node { const { header } = this._getScreenDetails(scene).options; if (typeof header !== 'undefined' && typeof header !== 'function') { @@ -231,7 +228,7 @@ class CardStack extends Component { }); } - render(): React.Element<*> { + render(): React.Node { let floatingHeader = null; const headerMode = this._getHeaderMode(); if (headerMode === 'float') { @@ -389,9 +386,9 @@ class CardStack extends Component { } _renderInnerScene( - SceneComponent: ReactClass<*>, + SceneComponent: NavigationComponent, scene: NavigationScene - ): React.Element { + ): React.Node { const { navigation } = this._getScreenDetails(scene); const { screenProps } = this.props; const headerMode = this._getHeaderMode(); @@ -430,7 +427,7 @@ class CardStack extends Component { ); }; - _renderCard = (scene: NavigationScene): React.Element<*> => { + _renderCard = (scene: NavigationScene): React.Node => { const { screenInterpolator } = this._getTransitionConfig(); const style = screenInterpolator && screenInterpolator({ ...this.props, scene }); diff --git a/src/views/CardStack/CardStackTransitioner.js b/src/views/CardStack/CardStackTransitioner.js index c731558..430214a 100644 --- a/src/views/CardStack/CardStackTransitioner.js +++ b/src/views/CardStack/CardStackTransitioner.js @@ -1,6 +1,6 @@ /* @flow */ -import React, { Component } from 'react'; +import * as React from 'react'; import { NativeModules } from 'react-native'; import CardStack from './CardStack'; @@ -9,7 +9,6 @@ import Transitioner from '../Transitioner'; import TransitionConfigs from './TransitionConfigs'; import type { - NavigationAction, NavigationSceneRenderer, NavigationScreenProp, NavigationStackScreenOptions, @@ -19,6 +18,7 @@ import type { HeaderMode, ViewStyleProp, TransitionConfig, + NavigationStackAction, } from '../../TypeDefinition'; const NativeAnimatedModule = @@ -28,30 +28,25 @@ type Props = { screenProps?: {}, headerMode: HeaderMode, mode: 'card' | 'modal', - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, router: NavigationRouter< NavigationState, - NavigationAction, + NavigationStackAction, NavigationStackScreenOptions >, cardStyle?: ViewStyleProp, onTransitionStart?: () => void, onTransitionEnd?: () => void, - style: ViewStyleProp, /** * Optional custom animation when transitioning between screens. */ transitionConfig?: () => TransitionConfig, }; -type DefaultProps = { - mode: 'card' | 'modal', -}; - -class CardStackTransitioner extends Component { +class CardStackTransitioner extends React.Component { _render: NavigationSceneRenderer; - static defaultProps: DefaultProps = { + static defaultProps = { mode: 'card', }; @@ -61,7 +56,6 @@ class CardStackTransitioner extends Component { configureTransition={this._configureTransition} navigation={this.props.navigation} render={this._render} - style={this.props.style} onTransitionStart={this.props.onTransitionStart} onTransitionEnd={this.props.onTransitionEnd} /> @@ -72,7 +66,7 @@ class CardStackTransitioner extends Component { // props for the new screen transitionProps: NavigationTransitionProps, // props for the old screen - prevTransitionProps: NavigationTransitionProps + prevTransitionProps: ?NavigationTransitionProps ) => { const isModal = this.props.mode === 'modal'; // Copy the object so we can assign useNativeDriver below @@ -96,7 +90,7 @@ class CardStackTransitioner extends Component { return transitionSpec; }; - _render = (props: NavigationTransitionProps): React.Element<*> => { + _render = (props: NavigationTransitionProps): React.Node => { const { screenProps, headerMode, @@ -104,7 +98,6 @@ class CardStackTransitioner extends Component { router, cardStyle, transitionConfig, - style, } = this.props; return ( { router={router} cardStyle={cardStyle} transitionConfig={transitionConfig} - style={style} {...props} /> ); diff --git a/src/views/CardStack/PointerEventsContainer.js b/src/views/CardStack/PointerEventsContainer.js index 516f399..5aee4a4 100644 --- a/src/views/CardStack/PointerEventsContainer.js +++ b/src/views/CardStack/PointerEventsContainer.js @@ -1,6 +1,6 @@ /* @flow */ -import React from 'react'; +import * as React from 'react'; import invariant from '../../utils/invariant'; @@ -17,16 +17,16 @@ const MIN_POSITION_OFFSET = 0.01; * `pointerEvents` property for a component whenever navigation position * changes. */ -export default function create(Component: ReactClass<*>): ReactClass<*> { - class Container extends React.Component { +export default function create( + Component: React.ComponentType<*> +): React.ComponentType<*> { + class Container extends React.Component { _component: any; _onComponentRef: (view: any) => void; _onPositionChange: (data: { value: number }) => void; _pointerEvents: string; _positionListener: ?AnimatedValueSubscription; - props: Props; - constructor(props: Props, context: any) { super(props, context); this._pointerEvents = this._computePointerEvents(); diff --git a/src/views/CardStack/TransitionConfigs.js b/src/views/CardStack/TransitionConfigs.js index 3ec243d..8017f43 100644 --- a/src/views/CardStack/TransitionConfigs.js +++ b/src/views/CardStack/TransitionConfigs.js @@ -60,7 +60,7 @@ function defaultTransitionConfig( // props for the new screen transitionProps: NavigationTransitionProps, // props for the old screen - prevTransitionProps: NavigationTransitionProps, + prevTransitionProps: ?NavigationTransitionProps, // whether we're animating in/out a modal screen isModal: boolean ): TransitionConfig { @@ -86,13 +86,13 @@ function defaultTransitionConfig( function getTransitionConfig( transitionConfigurer?: ( transitionProps: NavigationTransitionProps, - prevTransitionProps: NavigationTransitionProps, + prevTransitionProps: ?NavigationTransitionProps, isModal: boolean ) => TransitionConfig, // props for the new screen transitionProps: NavigationTransitionProps, // props for the old screen - prevTransitionProps: NavigationTransitionProps, + prevTransitionProps: ?NavigationTransitionProps, isModal: boolean ): TransitionConfig { const defaultConfig = defaultTransitionConfig( diff --git a/src/views/Drawer/DrawerNavigatorItems.js b/src/views/Drawer/DrawerNavigatorItems.js index 349387f..4742eae 100644 --- a/src/views/Drawer/DrawerNavigatorItems.js +++ b/src/views/Drawer/DrawerNavigatorItems.js @@ -1,6 +1,6 @@ /* @flow */ -import React from 'react'; +import * as React from 'react'; import { View, Text, Platform, StyleSheet } from 'react-native'; import TouchableItem from '../TouchableItem'; @@ -8,7 +8,6 @@ import TouchableItem from '../TouchableItem'; import type { NavigationScreenProp, NavigationState, - NavigationAction, NavigationRoute, ViewStyleProp, TextStyleProp, @@ -16,15 +15,15 @@ import type { import type { DrawerScene, DrawerItem } from './DrawerView.js'; type Props = { - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, items: Array, activeItemKey?: string, activeTintColor?: string, activeBackgroundColor?: string, inactiveTintColor?: string, inactiveBackgroundColor?: string, - getLabel: (scene: DrawerScene) => ?(React.Element<*> | string), - renderIcon: (scene: DrawerScene) => ?React.Element<*>, + getLabel: (scene: DrawerScene) => ?(React.Node | string), + renderIcon: (scene: DrawerScene) => ?React.Node, onItemPress: (info: DrawerItem) => void, itemsContainerStyle?: ViewStyleProp, itemStyle?: ViewStyleProp, diff --git a/src/views/Drawer/DrawerScreen.js b/src/views/Drawer/DrawerScreen.js index e84d702..69b36b9 100644 --- a/src/views/Drawer/DrawerScreen.js +++ b/src/views/Drawer/DrawerScreen.js @@ -1,6 +1,6 @@ /* @flow */ -import React, { PureComponent } from 'react'; +import * as React from 'react'; import SceneView from '../SceneView'; import withCachedChildNavigation from '../../withCachedChildNavigation'; @@ -9,30 +9,28 @@ import type { NavigationScreenProp, NavigationState, NavigationRoute, - NavigationAction, NavigationRouter, NavigationDrawerScreenOptions, + NavigationTabAction, } from '../../TypeDefinition'; type Props = { screenProps?: {}, router: NavigationRouter< NavigationState, - NavigationAction, + NavigationTabAction, NavigationDrawerScreenOptions >, - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, childNavigationProps: { - [key: string]: NavigationScreenProp, + [key: string]: NavigationScreenProp, }, }; /** * Component that renders the child screen of the drawer. */ -class DrawerScreen extends PureComponent { - props: Props; - +class DrawerScreen extends React.PureComponent { render() { const { router, diff --git a/src/views/Drawer/DrawerSidebar.js b/src/views/Drawer/DrawerSidebar.js index f12d0f5..a2d3d89 100644 --- a/src/views/Drawer/DrawerSidebar.js +++ b/src/views/Drawer/DrawerSidebar.js @@ -1,35 +1,36 @@ /* @flow */ -import React, { PureComponent } from 'react'; +import * as React from 'react'; import { StyleSheet, View } from 'react-native'; import withCachedChildNavigation from '../../withCachedChildNavigation'; import NavigationActions from '../../NavigationActions'; +import invariant from '../../utils/invariant'; import type { NavigationScreenProp, NavigationRoute, - NavigationAction, NavigationRouter, NavigationDrawerScreenOptions, NavigationState, NavigationStateRoute, ViewStyleProp, + NavigationTabAction, } from '../../TypeDefinition'; import type { DrawerScene, DrawerItem } from './DrawerView'; -type Navigation = NavigationScreenProp; - type Props = { router: NavigationRouter< NavigationState, - NavigationAction, + NavigationTabAction, NavigationDrawerScreenOptions >, - navigation: Navigation, - childNavigationProps: { [key: string]: Navigation }, - contentComponent: ReactClass<*>, + navigation: NavigationScreenProp, + childNavigationProps: { + [key: string]: NavigationScreenProp, + }, + contentComponent: ?React.ComponentType<*>, contentOptions?: {}, screenProps?: {}, style?: ViewStyleProp, @@ -38,13 +39,17 @@ type Props = { /** * Component that renders the sidebar screen of the drawer. */ -class DrawerSidebar extends PureComponent { +class DrawerSidebar extends React.PureComponent { props: Props; _getScreenOptions = (routeKey: string) => { const DrawerScreen = this.props.router.getComponentForRouteName( 'DrawerClose' ); + invariant( + DrawerScreen.router, + 'NavigationComponent with routeName DrawerClose should be a Navigator' + ); const { [routeKey]: childNavigation } = this.props.childNavigationProps; return DrawerScreen.router.getScreenOptions( childNavigation.state.index !== undefined // if the child screen is a StackRouter then always show the screen options of its first screen (see #1914) @@ -99,7 +104,11 @@ class DrawerSidebar extends PureComponent { render() { const ContentComponent = this.props.contentComponent; + if (!ContentComponent) { + return null; + } const { state } = this.props.navigation; + invariant(typeof state.index === 'number', 'should be set'); return ( , + contentComponent?: React.ComponentType<*>, contentOptions?: {}, style?: ViewStyleProp, useNativeAnimations?: boolean, - drawerBackgroundColor?: String, + drawerBackgroundColor?: string, + screenProps?: {}, }; -type Props = DrawerViewConfig & { - screenProps?: {}, +export type DrawerViewPropsExceptRouter = DrawerViewConfig & { + navigation: NavigationScreenProp, +}; + +export type DrawerViewProps = DrawerViewPropsExceptRouter & { router: NavigationRouter< NavigationState, - NavigationAction, + NavigationTabAction, NavigationDrawerScreenOptions >, - navigation: NavigationScreenProp, }; /** * Component that renders the drawer. */ -export default class DrawerView extends PureComponent { - props: Props; - +export default class DrawerView extends React.PureComponent< + DrawerViewProps +> { componentWillMount() { this._updateScreenNavigation(this.props.navigation); } - componentWillReceiveProps(nextProps: Props) { + componentWillReceiveProps(nextProps: DrawerViewProps) { if ( this.props.navigation.state.index !== nextProps.navigation.state.index ) { @@ -79,7 +83,7 @@ export default class DrawerView extends PureComponent { this._updateScreenNavigation(nextProps.navigation); } - _screenNavigationProp: NavigationScreenProp; + _screenNavigationProp: NavigationScreenProp; _handleDrawerOpen = () => { const { navigation } = this.props; @@ -98,9 +102,10 @@ export default class DrawerView extends PureComponent { }; _updateScreenNavigation = ( - navigation: NavigationScreenProp + navigation: NavigationScreenProp ) => { - const navigationState = navigation.state.routes.find( + // $FlowFixMe there's no way type the specific shape of the nav state + const navigationState: NavigationStateRoute = navigation.state.routes.find( (route: *) => route.routeName === 'DrawerClose' ); if ( @@ -110,14 +115,12 @@ export default class DrawerView extends PureComponent { return; } this._screenNavigationProp = addNavigationHelpers({ - ...navigation, + dispatch: navigation.dispatch, state: navigationState, }); }; - _getNavigationState = ( - navigation: NavigationScreenProp - ) => { + _getNavigationState = (navigation: NavigationScreenProp) => { const navigationState = navigation.state.routes.find( (route: *) => route.routeName === 'DrawerClose' ); diff --git a/src/views/Header/Header.js b/src/views/Header/Header.js index f39fe8a..8ebc205 100644 --- a/src/views/Header/Header.js +++ b/src/views/Header/Header.js @@ -2,9 +2,15 @@ 'no babel-plugin-flow-react-proptypes'; -import React from 'react'; +import * as React from 'react'; -import { Animated, Platform, StyleSheet, View } from 'react-native'; +import { + Animated, + Platform, + StyleSheet, + View, + ViewPropTypes, +} from 'react-native'; import HeaderTitle from './HeaderTitle'; import HeaderBackButton from './HeaderBackButton'; @@ -22,13 +28,14 @@ type SceneProps = { scene: NavigationScene, position: Animated.Value, progress: Animated.Value, + style?: ViewPropTypes.style, }; -type SubViewRenderer = (props: SceneProps) => ?React.Element; +type SubViewRenderer = (props: SceneProps) => ?React.Node; type SubViewName = 'left' | 'title' | 'right'; -type HeaderState = { +type State = { widths: { [key: string]: number, }, @@ -38,7 +45,8 @@ const APPBAR_HEIGHT = Platform.OS === 'ios' ? 44 : 56; const STATUSBAR_HEIGHT = Platform.OS === 'ios' ? 20 : 0; const TITLE_OFFSET = Platform.OS === 'ios' ? 70 : 56; -class Header extends React.PureComponent { +type Props = HeaderProps & { isLandscape: boolean }; +class Header extends React.PureComponent { static HEIGHT = APPBAR_HEIGHT + STATUSBAR_HEIGHT; state = { @@ -82,7 +90,7 @@ class Header extends React.PureComponent { this.props.navigation.goBack(null); }; - _renderTitleComponent = (props: SceneProps): ?React.Element<*> => { + _renderTitleComponent = (props: SceneProps): ?React.Node => { const details = this.props.getScreenDetails(props.scene); const headerTitle = details.options.headerTitle; if (headerTitle && typeof headerTitle !== 'string') { @@ -119,7 +127,7 @@ class Header extends React.PureComponent { ); }; - _renderLeftComponent = (props: SceneProps): ?React.Element<*> => { + _renderLeftComponent = (props: SceneProps): ?React.Node => { const options = this.props.getScreenDetails(props.scene).options; if (typeof options.headerLeft !== 'undefined') { return options.headerLeft; @@ -147,13 +155,13 @@ class Header extends React.PureComponent { ); }; - _renderRightComponent = (props: SceneProps): ?React.Element<*> => { + _renderRightComponent = (props: SceneProps): ?React.Node => { const details = this.props.getScreenDetails(props.scene); const { headerRight } = details.options; return headerRight || null; }; - _renderLeft(props: SceneProps): ?React.Element<*> { + _renderLeft(props: SceneProps): ?React.Node { return this._renderSubView( props, 'left', @@ -162,7 +170,7 @@ class Header extends React.PureComponent { ); } - _renderTitle(props: SceneProps, options: *): ?React.Element<*> { + _renderTitle(props: SceneProps, options: *): ?React.Node { const style = {}; if (Platform.OS === 'android') { @@ -189,7 +197,7 @@ class Header extends React.PureComponent { ); } - _renderRight(props: SceneProps): ?React.Element<*> { + _renderRight(props: SceneProps): ?React.Node { return this._renderSubView( props, 'right', @@ -203,7 +211,7 @@ class Header extends React.PureComponent { name: SubViewName, renderer: SubViewRenderer, styleInterpolator: NavigationStyleInterpolator - ): ?React.Element<*> { + ): ?React.Node { const { scene } = props; const { index, isStale, key } = scene; @@ -243,7 +251,7 @@ class Header extends React.PureComponent { ); } - _renderHeader(props: SceneProps): React.Element<*> { + _renderHeader(props: SceneProps): React.Node { const left = this._renderLeft(props); const right = this._renderRight(props); const title = this._renderTitle(props, { @@ -290,7 +298,6 @@ class Header extends React.PureComponent { position, screenProps, progress, - style, isLandscape, ...rest } = this.props; @@ -305,7 +312,6 @@ class Header extends React.PureComponent { height: APPBAR_HEIGHT + landscapeAwareStatusBarHeight, }, headerStyle, - style, ]; return ( diff --git a/src/views/Header/HeaderBackButton.js b/src/views/Header/HeaderBackButton.js index 406a729..070f23d 100644 --- a/src/views/Header/HeaderBackButton.js +++ b/src/views/Header/HeaderBackButton.js @@ -1,6 +1,6 @@ /* @flow */ -import React from 'react'; +import * as React from 'react'; import { I18nManager, Image, @@ -24,17 +24,11 @@ type Props = { width?: ?number, }; -type DefaultProps = { - pressColorAndroid: string, - tintColor: ?string, - truncatedTitle: ?string, -}; - type State = { initialTextWidth?: number, }; -class HeaderBackButton extends React.PureComponent { +class HeaderBackButton extends React.PureComponent { static defaultProps = { pressColorAndroid: 'rgba(0, 0, 0, .32)', tintColor: Platform.select({ diff --git a/src/views/Header/HeaderTitle.js b/src/views/Header/HeaderTitle.js index 4cda158..f55e5f5 100644 --- a/src/views/Header/HeaderTitle.js +++ b/src/views/Header/HeaderTitle.js @@ -1,6 +1,6 @@ /* @flow */ -import React from 'react'; +import * as React from 'react'; import { Text, View, Platform, StyleSheet, Animated } from 'react-native'; @@ -10,7 +10,7 @@ type AnimatedTextStyleProp = $PropertyType< >; type Props = { - children: React$Element<*>, + children: React.ChildrenArray<*>, selectionColor?: string | number, style?: AnimatedTextStyleProp, }; diff --git a/src/views/SceneView.js b/src/views/SceneView.js index 5ccd834..5f5a271 100644 --- a/src/views/SceneView.js +++ b/src/views/SceneView.js @@ -1,28 +1,25 @@ /* @flow */ -import React, { PureComponent } from 'react'; +import * as React from 'react'; import propTypes from 'prop-types'; import type { NavigationScreenProp, + NavigationComponent, NavigationRoute, - NavigationAction, - NavigationNavigatorProps, } from '../TypeDefinition'; -type Props = { +type Props = { screenProps?: {}, - navigation: NavigationScreenProp, - component: ReactClass>, + navigation: NavigationScreenProp<*>, + component: NavigationComponent, }; -export default class SceneView extends PureComponent, void> { +export default class SceneView extends React.PureComponent { static childContextTypes = { navigation: propTypes.object.isRequired, }; - props: Props; - getChildContext() { return { navigation: this.props.navigation, diff --git a/src/views/TabView/TabBarBottom.js b/src/views/TabView/TabBarBottom.js index 8a3e329..54c0df4 100644 --- a/src/views/TabView/TabBarBottom.js +++ b/src/views/TabView/TabBarBottom.js @@ -1,6 +1,6 @@ /* @flow */ -import React, { PureComponent } from 'react'; +import * as React from 'react'; import { Animated, TouchableWithoutFeedback, @@ -12,7 +12,6 @@ import TabBarIcon from './TabBarIcon'; import withOrientation from '../withOrientation'; import type { - NavigationAction, NavigationRoute, NavigationState, NavigationScreenProp, @@ -22,16 +21,6 @@ import type { import type { TabScene } from './TabView'; -type DefaultProps = { - activeTintColor: string, - activeBackgroundColor: string, - inactiveTintColor: string, - inactiveBackgroundColor: string, - showLabel: boolean, - showIcon: boolean, - allowFontScaling: boolean, -}; - type Props = { activeTintColor: string, activeBackgroundColor: string, @@ -41,28 +30,28 @@ type Props = { showIcon: boolean, allowFontScaling: boolean, position: Animated.Value, - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, jumpToIndex: (index: number) => void, - getLabel: (scene: TabScene) => ?(React.Element<*> | string), + getLabel: (scene: TabScene) => ?(React.Node | string), getOnPress: ( scene: TabScene ) => (scene: TabScene, jumpToIndex: (index: number) => void) => void, getTestIDProps: (scene: TabScene) => (scene: TabScene) => any, - renderIcon: (scene: TabScene) => React.Element<*>, + renderIcon: (scene: TabScene) => React.Node, style?: ViewStyleProp, labelStyle?: TextStyleProp, tabStyle?: ViewStyleProp, showIcon?: boolean, - isLandscape?: boolean, + isLandscape: boolean, }; const majorVersion = parseInt(Platform.Version, 10); const isIos = Platform.OS === 'ios'; const useHorizontalTabs = majorVersion >= 11 && isIos; -class TabBarBottom extends PureComponent { +class TabBarBottom extends React.PureComponent { // See https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/UIKitUICatalog/UITabBar.html - static defaultProps: DefaultProps = { + static defaultProps = { activeTintColor: '#3478f6', // Default active tint color in iOS 10 activeBackgroundColor: 'transparent', inactiveTintColor: '#929292', // Default inactive tint color in iOS 10 diff --git a/src/views/TabView/TabBarIcon.js b/src/views/TabView/TabBarIcon.js index 6dadf1c..f1bdd92 100644 --- a/src/views/TabView/TabBarIcon.js +++ b/src/views/TabView/TabBarIcon.js @@ -1,10 +1,9 @@ /* @flow */ -import React, { PureComponent } from 'react'; +import * as React from 'react'; import { Animated, View, StyleSheet } from 'react-native'; import type { - NavigationAction, NavigationState, NavigationScreenProp, ViewStyleProp, @@ -17,14 +16,12 @@ type Props = { inactiveTintColor: string, scene: TabScene, position: Animated.Value, - navigation: NavigationScreenProp, - renderIcon: (scene: TabScene) => React.Element<*>, + navigation: NavigationScreenProp, + renderIcon: (scene: TabScene) => React.Node, style?: ViewStyleProp, }; -export default class TabBarIcon extends PureComponent { - props: Props; - +export default class TabBarIcon extends React.PureComponent { render() { const { position, diff --git a/src/views/TabView/TabBarTop.js b/src/views/TabView/TabBarTop.js index c200aa9..34ebf3e 100644 --- a/src/views/TabView/TabBarTop.js +++ b/src/views/TabView/TabBarTop.js @@ -1,12 +1,11 @@ /* @flow */ -import React, { PureComponent } from 'react'; +import * as React from 'react'; import { Animated, StyleSheet } from 'react-native'; import { TabBar } from 'react-native-tab-view'; import TabBarIcon from './TabBarIcon'; import type { - NavigationAction, NavigationScreenProp, NavigationState, ViewStyleProp, @@ -15,15 +14,6 @@ import type { import type { TabScene } from './TabView'; -type DefaultProps = { - activeTintColor: string, - inactiveTintColor: string, - showIcon: boolean, - showLabel: boolean, - upperCaseLabel: boolean, - allowFontScaling: boolean, -}; - type Props = { activeTintColor: string, inactiveTintColor: string, @@ -32,23 +22,19 @@ type Props = { upperCaseLabel: boolean, allowFontScaling: boolean, position: Animated.Value, - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, jumpToIndex: (index: number) => void, - getLabel: (scene: TabScene) => ?(React.Element<*> | string), + getLabel: (scene: TabScene) => ?(React.Node | string), getOnPress: ( scene: TabScene ) => (scene: TabScene, jumpToIndex: (index: number) => void) => void, - renderIcon: (scene: TabScene) => React.Element<*>, + renderIcon: (scene: TabScene) => React.Node, labelStyle?: TextStyleProp, iconStyle?: ViewStyleProp, }; -export default class TabBarTop extends PureComponent< - DefaultProps, - Props, - void -> { - static defaultProps: DefaultProps = { +export default class TabBarTop extends React.PureComponent { + static defaultProps = { activeTintColor: '#fff', inactiveTintColor: '#fff', showIcon: false, @@ -57,8 +43,6 @@ export default class TabBarTop extends PureComponent< allowFontScaling: true, }; - props: Props; - _renderLabel = (scene: TabScene) => { const { position, diff --git a/src/views/TabView/TabView.js b/src/views/TabView/TabView.js index bc92bf0..4b212f0 100644 --- a/src/views/TabView/TabView.js +++ b/src/views/TabView/TabView.js @@ -1,6 +1,6 @@ /* @flow */ -import React, { PureComponent } from 'react'; +import * as React from 'react'; import { View, StyleSheet, Platform } from 'react-native'; import { TabViewAnimated, TabViewPagerPan } from 'react-native-tab-view'; import type { Layout } from 'react-native-tab-view/src/TabViewTypeDefinitions'; @@ -10,14 +10,14 @@ import withCachedChildNavigation from '../../withCachedChildNavigation'; import type { NavigationScreenProp, NavigationRoute, - NavigationAction, NavigationState, NavigationRouter, NavigationTabScreenOptions, + NavigationStackAction, } from '../../TypeDefinition'; export type TabViewConfig = { - tabBarComponent?: ReactClass<*>, + tabBarComponent?: React.ComponentType<*>, tabBarPosition?: 'top' | 'bottom', tabBarOptions?: {}, swipeEnabled?: boolean, @@ -34,27 +34,27 @@ export type TabScene = { }; type Props = { - tabBarComponent?: ReactClass<*>, + tabBarComponent?: React.ComponentType<*>, tabBarPosition?: 'top' | 'bottom', tabBarOptions?: {}, swipeEnabled?: boolean, animationEnabled?: boolean, lazy?: boolean, - initialLayout?: Layout, + initialLayout: Layout, screenProps?: {}, - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, router: NavigationRouter< NavigationState, - NavigationAction, + NavigationStackAction, NavigationTabScreenOptions >, childNavigationProps: { - [key: string]: NavigationScreenProp, + [key: string]: NavigationScreenProp, }, }; -class TabView extends PureComponent<$Shape, Props, void> { +class TabView extends React.PureComponent { static defaultProps = { // fix for https://github.com/react-native-community/react-native-tab-view/issues/312 initialLayout: Platform.select({ @@ -62,8 +62,6 @@ class TabView extends PureComponent<$Shape, Props, void> { }), }; - props: Props; - _handlePageChanged = (index: number) => { const { navigation } = this.props; navigation.navigate(navigation.state.routes[index].routeName); diff --git a/src/views/TouchableItem.js b/src/views/TouchableItem.js index a4dca35..2e38edf 100644 --- a/src/views/TouchableItem.js +++ b/src/views/TouchableItem.js @@ -9,7 +9,7 @@ * On iOS you can pass the props of TouchableOpacity, on Android pass the props * of TouchableNativeFeedback. */ -import React, { Component, Children } from 'react'; +import * as React from 'react'; import { Platform, TouchableNativeFeedback, @@ -21,24 +21,16 @@ import type { ViewStyleProp } from '../TypeDefinition'; const ANDROID_VERSION_LOLLIPOP = 21; type Props = { - onPress: () => void, + onPress?: () => void, delayPressIn?: number, borderless?: boolean, pressColor?: string, activeOpacity?: number, - children?: React.Element<*>, + children?: React.ChildrenArray<*>, style?: ViewStyleProp, }; -type DefaultProps = { - pressColor: string, -}; - -export default class TouchableItem extends Component< - DefaultProps, - Props, - void -> { +export default class TouchableItem extends React.Component { static defaultProps = { borderless: false, pressColor: 'rgba(0, 0, 0, .32)', @@ -68,7 +60,7 @@ export default class TouchableItem extends Component< )} > - {Children.only(this.props.children)} + {React.Children.only(this.props.children)} ); diff --git a/src/views/Transitioner.js b/src/views/Transitioner.js index bfe42f6..2c09153 100644 --- a/src/views/Transitioner.js +++ b/src/views/Transitioner.js @@ -1,6 +1,6 @@ /* @flow */ -import React from 'react'; +import * as React from 'react'; import { Animated, Easing, StyleSheet, View } from 'react-native'; @@ -12,7 +12,6 @@ import type { NavigationLayout, NavigationScene, NavigationState, - NavigationAction, NavigationScreenProp, NavigationTransitionProps, NavigationTransitionSpec, @@ -23,14 +22,13 @@ type Props = { transitionProps: NavigationTransitionProps, prevTransitionProps: ?NavigationTransitionProps ) => NavigationTransitionSpec, - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, onTransitionEnd?: (...args: Array) => void, onTransitionStart?: (...args: Array) => void, render: ( transitionProps: NavigationTransitionProps, prevTransitionProps: ?NavigationTransitionProps - ) => any, - style?: any, + ) => React.Node, }; type State = { @@ -47,7 +45,7 @@ const DefaultTransitionSpec = ({ timing: Animated.timing, }: NavigationTransitionSpec); -class Transitioner extends React.Component<*, Props, State> { +class Transitioner extends React.Component { _onLayout: (event: any) => void; _onTransitionEnd: () => void; _prevTransitionProps: ?NavigationTransitionProps; @@ -60,9 +58,6 @@ class Transitioner extends React.Component<*, Props, State> { indexHasChanged: boolean, }; - props: Props; - state: State; - constructor(props: Props, context: any) { super(props, context); @@ -189,7 +184,7 @@ class Transitioner extends React.Component<*, Props, State> { render() { return ( - + {this.props.render(this._transitionProps, this._prevTransitionProps)} ); diff --git a/src/views/__tests__/__snapshots__/TabView-test.js.snap b/src/views/__tests__/__snapshots__/TabView-test.js.snap index 3ae03f5..ab4c827 100644 --- a/src/views/__tests__/__snapshots__/TabView-test.js.snap +++ b/src/views/__tests__/__snapshots__/TabView-test.js.snap @@ -209,6 +209,7 @@ exports[`TabBarBottom renders successfully 1`] = ` , + navigation: NavigationScreenProp, }; type InjectedProps = { - navigation: NavigationScreenProp, + navigation: NavigationScreenProp, }; -export default function withNavigation( - Component: ReactClass +export default function withNavigation( + Component: React.ComponentType ) { const componentWithNavigation = (props: T, { navigation }: Context) => ( ); - componentWithNavigation.displayName = `withNavigation(${Component.displayName || - Component.name})`; + // $FlowFixMe StatelessFunctionalComponent missing displayName Flow < 0.54.0 + const displayName: string = Component.displayName || Component.name; + componentWithNavigation.displayName = `withNavigation(${displayName})`; componentWithNavigation.contextTypes = { navigation: propTypes.object.isRequired, diff --git a/src/views/withOrientation.js b/src/views/withOrientation.js index 9a7d81a..d1f4c1a 100644 --- a/src/views/withOrientation.js +++ b/src/views/withOrientation.js @@ -1,6 +1,6 @@ // @flow -import React from 'react'; +import * as React from 'react'; import { Dimensions } from 'react-native'; import hoistNonReactStatic from 'hoist-non-react-statics'; @@ -22,10 +22,10 @@ export const isOrientationLandscape = ({ height, }: WindowDimensions): boolean => width > height; -export default function(WrappedComponent: ReactClass) { - class withOrientation extends React.Component { - state: State; - +export default function( + WrappedComponent: React.ComponentType +) { + class withOrientation extends React.Component { constructor() { super(); diff --git a/src/withCachedChildNavigation.js b/src/withCachedChildNavigation.js index c978789..da69b72 100644 --- a/src/withCachedChildNavigation.js +++ b/src/withCachedChildNavigation.js @@ -1,28 +1,34 @@ /* @flow */ -import React, { PureComponent } from 'react'; +import * as React from 'react'; import addNavigationHelpers from './addNavigationHelpers'; -import type { NavigationScreenProp, NavigationAction } from './TypeDefinition'; +import type { + NavigationScreenProp, + NavigationState, + NavigationRoute, +} from './TypeDefinition'; -type InjectedProps = { +type InputProps = { + +navigation: NavigationScreenProp, +}; +type OutputProps = { childNavigationProps: { - [key: string]: N, + +[key: string]: NavigationScreenProp, }, }; /** * HOC which caches the child navigation items. */ -export default function withCachedChildNavigation( - Comp: ReactClass> -): ReactClass { - return class extends PureComponent { - static displayName = `withCachedChildNavigation(${Comp.displayName || - Comp.name})`; - - props: T; +export default function withCachedChildNavigation( + Comp: React.ComponentType +): React.ComponentType { + // $FlowFixMe StatelessFunctionalComponent missing displayName Flow < 0.54.0 + const displayName: string = Comp.displayName || Comp.name; + return class extends React.PureComponent { + static displayName = `withCachedChildNavigation(${displayName})`; componentWillMount() { this._updateNavigationProps(this.props.navigation); @@ -33,11 +39,11 @@ export default function withCachedChildNavigation( } _childNavigationProps: { - [key: string]: NavigationScreenProp, + [key: string]: NavigationScreenProp, }; _updateNavigationProps = ( - navigation: NavigationScreenProp + navigation: NavigationScreenProp ) => { // Update props for each child route if (!this._childNavigationProps) { @@ -49,7 +55,7 @@ export default function withCachedChildNavigation( return; } this._childNavigationProps[route.key] = addNavigationHelpers({ - ...navigation, + dispatch: navigation.dispatch, state: route, }); }); diff --git a/website/src/App.js b/website/src/App.js index 33bdec8..e2f3a22 100644 --- a/website/src/App.js +++ b/website/src/App.js @@ -15,7 +15,11 @@ import { createNavigator, } from 'react-navigation'; -import type { NavigationScreenComponent } from 'react-navigation/src/TypeDefinition'; +import type { + NavigationScreenComponent, + NavigationScreenProp, + NavigationRoute, +} from 'react-navigation/src/TypeDefinition'; type ScreenOptions = { linkName: string, @@ -44,11 +48,11 @@ type DocPageConfig = { const createDocPage = ( config: DocPageConfig -): (() => NavigationScreenComponent<*, ScreenOptions>) => { - const Page: NavigationScreenComponent<*, ScreenOptions> = ({ +): NavigationScreenComponent<*, *> => { + const Page = ({ navigation, }: { - navigation: any, + navigation: NavigationScreenProp, }) => ; Page.navigationOptions = { doc: config.doc, diff --git a/website/src/PhoneGraphic.js b/website/src/PhoneGraphic.js index f1c3eba..6ba7c23 100644 --- a/website/src/PhoneGraphic.js +++ b/website/src/PhoneGraphic.js @@ -2,10 +2,11 @@ * @flow */ -import React, { Component } from 'react'; +import * as React from 'react'; -export default class PhoneGraphic extends Component { - props: { sources: { android: string, iphone: string } }; +type Props = { sources: { android: string, iphone: string } }; +type State = { activeExample: string }; +export default class PhoneGraphic extends React.Component { state = { activeExample: this.props.alt ? 'android' : 'iphone' }; render() { const { activeExample } = this.state; diff --git a/yarn.lock b/yarn.lock index 9cc9405..84f5c29 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3,12 +3,12 @@ abab@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.3.tgz#b81de5f7274ec4e756d797cd834f303642724e5d" + version "1.0.4" + resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.4.tgz#5faad9c2c07f60dd76770f71cf025b62a63cfd4e" abbrev@1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f" + version "1.1.1" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" absolute-path@^0.0.0: version "0.0.0" @@ -52,20 +52,20 @@ acorn@^5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.1.2.tgz#911cb53e036807cf0fa778dc5d370fbd864246d7" -ajv-keywords@^1.0.0: - version "1.5.1" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c" +ajv-keywords@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.0.tgz#a296e17f7bfae7c1ce4f7e0de53d29cb32162df0" -ajv@^4.7.0, ajv@^4.9.1: +ajv@^4.9.1: version "4.11.8" resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" dependencies: co "^4.6.0" json-stable-stringify "^1.0.1" -ajv@^5.1.0, ajv@^5.2.0: - version "5.2.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.2.tgz#47c68d69e86f5d953103b0074a9430dc63da5e39" +ajv@^5.1.0, ajv@^5.2.0, ajv@^5.2.3: + version "5.2.4" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.4.tgz#3daf9a8b67221299fdae8d82d117ed8e6c80244b" dependencies: co "^4.6.0" fast-deep-equal "^1.0.0" @@ -104,7 +104,7 @@ ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" -ansi-styles@^3.0.0, ansi-styles@^3.1.0: +ansi-styles@^3.0.0, ansi-styles@^3.1.0, ansi-styles@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88" dependencies: @@ -492,7 +492,7 @@ babel-messages@^6.23.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-check-es2015-constants@^6.22.0, babel-plugin-check-es2015-constants@^6.5.0, babel-plugin-check-es2015-constants@^6.7.2, babel-plugin-check-es2015-constants@^6.8.0: +babel-plugin-check-es2015-constants@^6.22.0, babel-plugin-check-es2015-constants@^6.5.0, babel-plugin-check-es2015-constants@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" dependencies: @@ -570,7 +570,7 @@ babel-plugin-syntax-jsx@^6.18.0, babel-plugin-syntax-jsx@^6.3.13, babel-plugin-s version "6.18.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" -babel-plugin-syntax-object-rest-spread@^6.13.0, babel-plugin-syntax-object-rest-spread@^6.5.0, babel-plugin-syntax-object-rest-spread@^6.8.0: +babel-plugin-syntax-object-rest-spread@^6.13.0, babel-plugin-syntax-object-rest-spread@^6.8.0: version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" @@ -610,7 +610,7 @@ babel-plugin-transform-class-constructor-call@^6.24.1, babel-plugin-transform-cl babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-class-properties@^6.18.0, babel-plugin-transform-class-properties@^6.24.1, babel-plugin-transform-class-properties@^6.5.0, babel-plugin-transform-class-properties@^6.6.0, babel-plugin-transform-class-properties@^6.8.0: +babel-plugin-transform-class-properties@^6.18.0, babel-plugin-transform-class-properties@^6.24.1, babel-plugin-transform-class-properties@^6.5.0, babel-plugin-transform-class-properties@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac" dependencies: @@ -651,19 +651,19 @@ babel-plugin-transform-do-expressions@^6.5.0: babel-plugin-syntax-do-expressions "^6.8.0" babel-runtime "^6.22.0" -babel-plugin-transform-es2015-arrow-functions@^6.22.0, babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.5.2, babel-plugin-transform-es2015-arrow-functions@^6.8.0: +babel-plugin-transform-es2015-arrow-functions@^6.22.0, babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-block-scoped-functions@^6.22.0, babel-plugin-transform-es2015-block-scoped-functions@^6.6.5, babel-plugin-transform-es2015-block-scoped-functions@^6.8.0: +babel-plugin-transform-es2015-block-scoped-functions@^6.22.0, babel-plugin-transform-es2015-block-scoped-functions@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-block-scoping@^6.24.1, babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es2015-block-scoping@^6.7.1, babel-plugin-transform-es2015-block-scoping@^6.8.0: +babel-plugin-transform-es2015-block-scoping@^6.24.1, babel-plugin-transform-es2015-block-scoping@^6.5.0, babel-plugin-transform-es2015-block-scoping@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f" dependencies: @@ -673,7 +673,7 @@ babel-plugin-transform-es2015-block-scoping@^6.24.1, babel-plugin-transform-es20 babel-types "^6.26.0" lodash "^4.17.4" -babel-plugin-transform-es2015-classes@^6.24.1, babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-classes@^6.6.5, babel-plugin-transform-es2015-classes@^6.8.0: +babel-plugin-transform-es2015-classes@^6.24.1, babel-plugin-transform-es2015-classes@^6.5.0, babel-plugin-transform-es2015-classes@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db" dependencies: @@ -687,14 +687,14 @@ babel-plugin-transform-es2015-classes@^6.24.1, babel-plugin-transform-es2015-cla babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-plugin-transform-es2015-computed-properties@^6.24.1, babel-plugin-transform-es2015-computed-properties@^6.5.0, babel-plugin-transform-es2015-computed-properties@^6.6.5, babel-plugin-transform-es2015-computed-properties@^6.8.0: +babel-plugin-transform-es2015-computed-properties@^6.24.1, babel-plugin-transform-es2015-computed-properties@^6.5.0, babel-plugin-transform-es2015-computed-properties@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3" dependencies: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-destructuring@6.x, babel-plugin-transform-es2015-destructuring@^6.22.0, babel-plugin-transform-es2015-destructuring@^6.5.0, babel-plugin-transform-es2015-destructuring@^6.6.5, babel-plugin-transform-es2015-destructuring@^6.8.0: +babel-plugin-transform-es2015-destructuring@6.x, babel-plugin-transform-es2015-destructuring@^6.22.0, babel-plugin-transform-es2015-destructuring@^6.5.0, babel-plugin-transform-es2015-destructuring@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" dependencies: @@ -707,7 +707,7 @@ babel-plugin-transform-es2015-duplicate-keys@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-for-of@^6.22.0, babel-plugin-transform-es2015-for-of@^6.5.0, babel-plugin-transform-es2015-for-of@^6.6.0, babel-plugin-transform-es2015-for-of@^6.8.0: +babel-plugin-transform-es2015-for-of@^6.22.0, babel-plugin-transform-es2015-for-of@^6.5.0, babel-plugin-transform-es2015-for-of@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" dependencies: @@ -735,7 +735,7 @@ babel-plugin-transform-es2015-modules-amd@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es2015-modules-commonjs@^6.24.1, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.7.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0: +babel-plugin-transform-es2015-modules-commonjs@6.x, babel-plugin-transform-es2015-modules-commonjs@^6.24.1, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz#0d8394029b7dc6abe1a97ef181e00758dd2e5d8a" dependencies: @@ -760,14 +760,14 @@ babel-plugin-transform-es2015-modules-umd@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-object-super@^6.24.1, babel-plugin-transform-es2015-object-super@^6.6.5, babel-plugin-transform-es2015-object-super@^6.8.0: +babel-plugin-transform-es2015-object-super@^6.24.1, babel-plugin-transform-es2015-object-super@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d" dependencies: babel-helper-replace-supers "^6.24.1" babel-runtime "^6.22.0" -babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-parameters@^6.24.1, babel-plugin-transform-es2015-parameters@^6.5.0, babel-plugin-transform-es2015-parameters@^6.7.0, babel-plugin-transform-es2015-parameters@^6.8.0: +babel-plugin-transform-es2015-parameters@6.x, babel-plugin-transform-es2015-parameters@^6.24.1, babel-plugin-transform-es2015-parameters@^6.5.0, babel-plugin-transform-es2015-parameters@^6.8.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" dependencies: @@ -785,7 +785,7 @@ babel-plugin-transform-es2015-shorthand-properties@6.x, babel-plugin-transform-e babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-spread@6.x, babel-plugin-transform-es2015-spread@^6.22.0, babel-plugin-transform-es2015-spread@^6.5.0, babel-plugin-transform-es2015-spread@^6.6.5, babel-plugin-transform-es2015-spread@^6.8.0: +babel-plugin-transform-es2015-spread@6.x, babel-plugin-transform-es2015-spread@^6.22.0, babel-plugin-transform-es2015-spread@^6.5.0, babel-plugin-transform-es2015-spread@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" dependencies: @@ -799,7 +799,7 @@ babel-plugin-transform-es2015-sticky-regex@6.x, babel-plugin-transform-es2015-st babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-template-literals@^6.22.0, babel-plugin-transform-es2015-template-literals@^6.5.0, babel-plugin-transform-es2015-template-literals@^6.6.5, babel-plugin-transform-es2015-template-literals@^6.8.0: +babel-plugin-transform-es2015-template-literals@^6.22.0, babel-plugin-transform-es2015-template-literals@^6.5.0, babel-plugin-transform-es2015-template-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" dependencies: @@ -819,13 +819,13 @@ babel-plugin-transform-es2015-unicode-regex@6.x, babel-plugin-transform-es2015-u babel-runtime "^6.22.0" regexpu-core "^2.0.0" -babel-plugin-transform-es3-member-expression-literals@^6.5.0, babel-plugin-transform-es3-member-expression-literals@^6.8.0: +babel-plugin-transform-es3-member-expression-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es3-member-expression-literals/-/babel-plugin-transform-es3-member-expression-literals-6.22.0.tgz#733d3444f3ecc41bef8ed1a6a4e09657b8969ebb" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es3-property-literals@^6.5.0, babel-plugin-transform-es3-property-literals@^6.8.0: +babel-plugin-transform-es3-property-literals@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es3-property-literals/-/babel-plugin-transform-es3-property-literals-6.22.0.tgz#b2078d5842e22abf40f73e8cde9cd3711abd5758" dependencies: @@ -846,7 +846,7 @@ babel-plugin-transform-export-extensions@^6.22.0, babel-plugin-transform-export- babel-plugin-syntax-export-extensions "^6.8.0" babel-runtime "^6.22.0" -babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.22.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.7.0, babel-plugin-transform-flow-strip-types@^6.8.0: +babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.22.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.8.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf" dependencies: @@ -866,7 +866,7 @@ babel-plugin-transform-object-assign@^6.5.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.22.0, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.6.5, babel-plugin-transform-object-rest-spread@^6.8.0: +babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.22.0, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.8.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06" dependencies: @@ -914,7 +914,7 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-polyfill@^6.20.0, babel-polyfill@^6.26.0: +babel-polyfill@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" dependencies: @@ -965,36 +965,7 @@ babel-preset-es2015@^6.24.1: babel-plugin-transform-es2015-unicode-regex "^6.24.1" babel-plugin-transform-regenerator "^6.24.1" -babel-preset-fbjs@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-1.0.0.tgz#c972e5c9b301d4ec9e7971f4aec3e14ac017a8b0" - dependencies: - babel-plugin-check-es2015-constants "^6.7.2" - babel-plugin-syntax-flow "^6.5.0" - babel-plugin-syntax-object-rest-spread "^6.5.0" - babel-plugin-syntax-trailing-function-commas "^6.5.0" - babel-plugin-transform-class-properties "^6.6.0" - babel-plugin-transform-es2015-arrow-functions "^6.5.2" - babel-plugin-transform-es2015-block-scoped-functions "^6.6.5" - babel-plugin-transform-es2015-block-scoping "^6.7.1" - babel-plugin-transform-es2015-classes "^6.6.5" - babel-plugin-transform-es2015-computed-properties "^6.6.5" - babel-plugin-transform-es2015-destructuring "^6.6.5" - babel-plugin-transform-es2015-for-of "^6.6.0" - babel-plugin-transform-es2015-literals "^6.5.0" - babel-plugin-transform-es2015-modules-commonjs "^6.7.0" - babel-plugin-transform-es2015-object-super "^6.6.5" - babel-plugin-transform-es2015-parameters "^6.7.0" - babel-plugin-transform-es2015-shorthand-properties "^6.5.0" - babel-plugin-transform-es2015-spread "^6.6.5" - babel-plugin-transform-es2015-template-literals "^6.6.5" - babel-plugin-transform-es3-member-expression-literals "^6.5.0" - babel-plugin-transform-es3-property-literals "^6.5.0" - babel-plugin-transform-flow-strip-types "^6.7.0" - babel-plugin-transform-object-rest-spread "^6.6.5" - object-assign "^4.0.1" - -babel-preset-fbjs@^2.1.4: +babel-preset-fbjs@^2.1.2, babel-preset-fbjs@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-2.1.4.tgz#22f358e6654073acf61e47a052a777d7bccf03af" dependencies: @@ -1353,12 +1324,6 @@ bser@1.0.2: dependencies: node-int64 "^0.4.0" -bser@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.3.tgz#d63da19ee17330a0e260d2a34422b21a89520317" - dependencies: - node-int64 "^0.4.0" - bser@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" @@ -1403,6 +1368,10 @@ camelcase@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" +caseless@~0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" + caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -1425,8 +1394,8 @@ chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: supports-color "^2.0.0" chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.1.0.tgz#ac5becf14fa21b99c6c92ca7a7d7cfd5b17e743e" + version "2.2.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.2.2.tgz#4403f5cf18f35c05f51fbdf152bf588f956cf7cb" dependencies: ansi-styles "^3.1.0" escape-string-regexp "^1.0.5" @@ -1519,11 +1488,11 @@ code-point-at@^1.0.0: resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" codecov@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/codecov/-/codecov-2.3.0.tgz#ad25a2c6e0442d13740d9d4ddbb9a3e2714330f4" + version "2.3.1" + resolved "https://registry.yarnpkg.com/codecov/-/codecov-2.3.1.tgz#7dda945cd58a1f6081025b5b03ee01a2ef20f86e" dependencies: argv "0.0.2" - request "2.81.0" + request "2.77.0" urlgrey "0.4.4" color-convert@^1.9.0: @@ -1553,10 +1522,10 @@ common-tags@^1.4.0: babel-runtime "^6.18.0" compressible@~2.0.5: - version "2.0.11" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.11.tgz#16718a75de283ed8e604041625a2064586797d8a" + version "2.0.12" + resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.12.tgz#c59a5c99db76767e9876500e271ef63b3493bd66" dependencies: - mime-db ">= 1.29.0 < 2" + mime-db ">= 1.30.0 < 2" compression@~1.5.2: version "1.5.2" @@ -1635,8 +1604,8 @@ contains-path@^0.1.0: resolved "https://registry.yarnpkg.com/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" content-type-parser@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.1.tgz#c3e56988c53c65127fb46d4032a3a900246fdc94" + version "1.0.2" + resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.2.tgz#caabe80623e63638b2502fd4c7f12ff4ce2352e7" content-type@~1.0.1: version "1.0.4" @@ -1665,7 +1634,7 @@ core-js@^1.0.0: version "1.2.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" -core-js@^2.2.2, core-js@^2.4.0, core-js@^2.5.0: +core-js@^2.2.2, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0: version "2.5.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" @@ -1691,20 +1660,13 @@ crc@3.3.0: resolved "https://registry.yarnpkg.com/crc/-/crc-3.3.0.tgz#fa622e1bc388bf257309082d6b65200ce67090ba" create-react-class@^15.5.2: - version "15.6.0" - resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.0.tgz#ab448497c26566e1e29413e883207d57cfe7bed4" + version "15.6.2" + resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.2.tgz#cf1ed15f12aad7f14ef5f2dfe05e6c42f91ef02a" dependencies: fbjs "^0.8.9" loose-envify "^1.3.1" object-assign "^4.1.1" -cross-spawn@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-3.0.1.tgz#1256037ecb9f0c5f79e3d6ef135e30770184b982" - dependencies: - lru-cache "^4.0.1" - which "^1.2.9" - cross-spawn@^5.0.1, cross-spawn@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -1763,22 +1725,22 @@ dashdash@^1.12.0: assert-plus "^1.0.0" date-fns@^1.27.2: - version "1.28.5" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.28.5.tgz#257cfc45d322df45ef5658665967ee841cd73faf" + version "1.29.0" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6" dateformat@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.0.0.tgz#2743e3abb5c3fc2462e527dca445e04e9f4dee17" + version "2.2.0" + resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.2.0.tgz#4065e2013cf9fb916ddfd82efb506ad4c6769062" -debug@2.6.8, debug@^2.2.0, debug@^2.6.3, debug@^2.6.8: - version "2.6.8" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" +debug@2.6.9, debug@^2.2.0, debug@^2.6.8: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" dependencies: ms "2.0.0" -debug@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.0.1.tgz#0564c612b521dc92d9f2988f0549e34f9c98db64" +debug@^3.0.1, debug@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" dependencies: ms "2.0.0" @@ -1792,10 +1754,6 @@ decamelize@^1.0.0, decamelize@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" -deep-equal@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" - deep-extend@~0.4.0: version "0.4.2" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" @@ -1817,10 +1775,6 @@ define-properties@^1.1.2: foreach "^2.0.5" object-keys "^1.0.8" -defined@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" - del@^2.0.2: version "2.2.2" resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" @@ -1864,8 +1818,8 @@ detect-indent@^4.0.0: repeating "^2.0.0" diff@^3.2.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.1.tgz#aa8567a6eed03c531fc89d3f711cd0e5259dec75" + version "3.4.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c" dlv@^1.1.0: version "1.1.0" @@ -1920,14 +1874,14 @@ encoding@^0.1.11: iconv-lite "~0.4.13" envinfo@^3.0.0: - version "3.4.1" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-3.4.1.tgz#8c80e9f2eec2cd4e2adb2c5d0127ce07a2aaa2ae" + version "3.4.2" + resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-3.4.2.tgz#f06648836155b81e1d7b4a1c3fca3f6b5f38789b" dependencies: minimist "^1.2.0" os-name "^2.0.1" which "^1.2.14" -"errno@>=0.1.1 <0.2.0-0", errno@^0.1.4: +errno@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" dependencies: @@ -1946,9 +1900,9 @@ errorhandler@~1.4.2: accepts "~1.3.0" escape-html "~1.0.3" -es-abstract@^1.5.0, es-abstract@^1.7.0: - version "1.8.2" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.8.2.tgz#25103263dc4decbda60e0c737ca32313518027ee" +es-abstract@^1.7.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.9.0.tgz#690829a07cae36b222e7fd9b75c0d0573eb25227" dependencies: es-to-primitive "^1.1.1" function-bind "^1.1.1" @@ -1988,8 +1942,8 @@ escodegen@^1.6.1: source-map "~0.5.6" eslint-config-prettier@^2.3.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.5.0.tgz#9ecb9296bae4e2e59a3ce361a96c9f825fe67b75" + version "2.6.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.6.0.tgz#f21db0ebb438ad678fb98946097c4bb198befccc" dependencies: get-stdin "^5.0.1" @@ -2008,14 +1962,14 @@ eslint-module-utils@^2.1.1: pkg-dir "^1.0.0" eslint-plugin-flowtype@^2.35.0: - version "2.35.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.35.1.tgz#9ad98181b467a3645fbd2a8d430393cc17a4ea63" + version "2.39.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.39.1.tgz#b5624622a0388bcd969f4351131232dcb9649cd5" dependencies: lodash "^4.15.0" eslint-plugin-import@^2.7.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.7.0.tgz#21de33380b9efb55f5ef6d2e210ec0e07e7fa69f" + version "2.8.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.8.0.tgz#fa1b6ef31fcb3c501c09859c1b86f1fc5b986894" dependencies: builtin-modules "^1.1.1" contains-path "^0.1.0" @@ -2048,8 +2002,8 @@ eslint-plugin-prettier@^2.1.2: jest-docblock "^21.0.0" eslint-plugin-react@^7.1.0: - version "7.3.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.3.0.tgz#ca9368da36f733fbdc05718ae4e91f778f38e344" + version "7.4.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.4.0.tgz#300a95861b9729c087d362dd64abcc351a74364a" dependencies: doctrine "^2.0.0" has "^1.0.1" @@ -2064,8 +2018,8 @@ eslint-scope@^3.7.1: estraverse "^4.1.1" eslint@^4.2.0, eslint@^4.5.0: - version "4.7.1" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.7.1.tgz#849804136953ebe366782f9f8611e2cbd1b54681" + version "4.9.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.9.0.tgz#76879d274068261b191fe0f2f56c74c2f4208e8b" dependencies: ajv "^5.2.0" babel-code-frame "^6.22.0" @@ -2262,22 +2216,22 @@ fb-watchman@^2.0.0: dependencies: bser "^2.0.0" -fbjs-scripts@^0.7.0: - version "0.7.1" - resolved "https://registry.yarnpkg.com/fbjs-scripts/-/fbjs-scripts-0.7.1.tgz#4f115e218e243e3addbf0eddaac1e3c62f703fac" +fbjs-scripts@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/fbjs-scripts/-/fbjs-scripts-0.8.1.tgz#c1c6efbecb7f008478468976b783880c2f669765" dependencies: babel-core "^6.7.2" - babel-preset-fbjs "^1.0.0" - core-js "^1.0.0" - cross-spawn "^3.0.1" + babel-preset-fbjs "^2.1.2" + core-js "^2.4.1" + cross-spawn "^5.1.0" gulp-util "^3.0.4" object-assign "^4.0.1" semver "^5.1.0" through2 "^2.0.0" -fbjs@0.8.12: - version "0.8.12" - resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.12.tgz#10b5d92f76d45575fd63a217d4ea02bea2f8ed04" +fbjs@0.8.14: + version "0.8.14" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.14.tgz#d1dbe2be254c35a91e09f31f9cd50a40b2a0ed1c" dependencies: core-js "^1.0.0" isomorphic-fetch "^2.1.1" @@ -2287,7 +2241,7 @@ fbjs@0.8.12: setimmediate "^1.0.5" ua-parser-js "^0.7.9" -fbjs@^0.8.16: +fbjs@^0.8.16, fbjs@^0.8.9: version "0.8.16" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db" dependencies: @@ -2299,18 +2253,6 @@ fbjs@^0.8.16: setimmediate "^1.0.5" ua-parser-js "^0.7.9" -fbjs@^0.8.9: - version "0.8.15" - resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.15.tgz#4f0695fdfcc16c37c0b07facec8cb4c4091685b9" - dependencies: - core-js "^1.0.0" - isomorphic-fetch "^2.1.1" - loose-envify "^1.0.0" - object-assign "^4.1.0" - promise "^7.1.1" - setimmediate "^1.0.5" - ua-parser-js "^0.7.9" - figures@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" @@ -2375,23 +2317,17 @@ find-up@^2.0.0, find-up@^2.1.0: locate-path "^2.0.0" flat-cache@^1.2.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.2.2.tgz#fa86714e72c21db88601761ecf2f555d1abc6b96" + version "1.3.0" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481" dependencies: circular-json "^0.3.1" del "^2.0.2" graceful-fs "^4.1.2" write "^0.2.1" -flow-bin@^0.51.0: - version "0.51.1" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.51.1.tgz#7929c6f0a94e765429fcb2ee6e468278faa9c732" - -for-each@~0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.2.tgz#2c40450b9348e97f281322593ba96704b9abd4d4" - dependencies: - is-function "~1.0.0" +flow-bin@0.53.0: + version "0.53.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.53.0.tgz#f7830e609ca02b12db4127114213cccc7c0771b9" for-in@^1.0.1: version "1.0.2" @@ -2411,17 +2347,17 @@ forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" -form-data@^2.1.1, form-data@~2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.1.tgz#6fb94fbd71885306d73d15cc497fe4cc4ecd44bf" +form-data@~2.1.1: + version "2.1.4" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" dependencies: asynckit "^0.4.0" combined-stream "^1.0.5" mime-types "^2.1.12" -form-data@~2.1.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" +form-data@~2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.1.tgz#6fb94fbd71885306d73d15cc497fe4cc4ecd44bf" dependencies: asynckit "^0.4.0" combined-stream "^1.0.5" @@ -2471,7 +2407,7 @@ fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: mkdirp ">=0.5 0" rimraf "2" -function-bind@^1.0.2, function-bind@^1.1.1, function-bind@~1.1.0: +function-bind@^1.0.2, function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -2502,13 +2438,23 @@ gauge@~2.7.3: strip-ansi "^3.0.1" wide-align "^1.1.0" +generate-function@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.0.0.tgz#6858fe7c0969b7d4e9093337647ac79f60dfbe74" + +generate-object-property@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/generate-object-property/-/generate-object-property-1.2.0.tgz#9c0e1c40308ce804f4783618b937fa88f99d50d0" + dependencies: + is-property "^1.0.0" + get-caller-file@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" -get-own-enumerable-property-symbols@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-1.0.1.tgz#f1d4e3ad1402e039898e56d1e9b9aa924c26e484" +get-own-enumerable-property-symbols@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-2.0.1.tgz#5c4ad87f2834c4b9b4e84549dc1e0650fb38c24b" get-stdin@^5.0.1: version "5.0.1" @@ -2537,7 +2483,7 @@ glob-parent@^2.0.0: dependencies: is-glob "^2.0.0" -glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@~7.1.2: +glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2: version "7.1.2" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" dependencies: @@ -2614,8 +2560,8 @@ gulplog@^1.0.0: glogg "^1.0.0" handlebars@^4.0.3: - version "4.0.10" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f" + version "4.0.11" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.11.tgz#630a35dfe0294bc281edae6ffc5d329fc7982dcc" dependencies: async "^1.4.0" optimist "^0.6.1" @@ -2631,6 +2577,15 @@ har-schema@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" +har-validator@~2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" + dependencies: + chalk "^1.1.1" + commander "^2.9.0" + is-my-json-valid "^2.12.4" + pinkie-promise "^2.0.0" + har-validator@~4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" @@ -2669,13 +2624,13 @@ has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" -has@^1.0.1, has@~1.0.1: +has@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" dependencies: function-bind "^1.0.2" -hawk@~3.1.3: +hawk@3.1.3, hawk@~3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" dependencies: @@ -2717,8 +2672,8 @@ hosted-git-info@^2.1.4: resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c" html-encoding-sniffer@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.1.tgz#79bf7a785ea495fe66165e734153f363ff5437da" + version "1.0.2" + resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8" dependencies: whatwg-encoding "^1.0.1" @@ -2766,8 +2721,8 @@ iconv-lite@^0.4.17, iconv-lite@~0.4.13: resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" ignore@^3.3.3: - version "3.3.5" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.5.tgz#c4e715455f6073a8d7e5dae72d2fc9d71663dba6" + version "3.3.6" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.6.tgz#b6f3196b38ed92f0c86e52f6f79b7fc4c8266c8d" image-size@^0.6.0: version "0.6.1" @@ -2903,10 +2858,6 @@ is-fullwidth-code-point@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" -is-function@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.1.tgz#12cfb98b65b57dd3d193a3121f5f6e2f437602b5" - is-glob@^2.0.0, is-glob@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" @@ -2919,6 +2870,15 @@ is-glob@^4.0.0: dependencies: is-extglob "^2.1.1" +is-my-json-valid@^2.12.4: + version "2.16.1" + resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.16.1.tgz#5a846777e2c2620d1e69104e5d3a03b1f6088f11" + dependencies: + generate-function "^2.0.0" + generate-object-property "^1.1.0" + jsonpointer "^4.0.0" + xtend "^4.0.0" + is-number@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" @@ -2963,6 +2923,10 @@ is-promise@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" +is-property@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" + is-regex@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" @@ -3025,17 +2989,17 @@ isstream@~0.1.2: resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" istanbul-api@^1.1.1: - version "1.1.14" - resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.1.14.tgz#25bc5701f7c680c0ffff913de46e3619a3a6e680" + version "1.2.1" + resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.2.1.tgz#0c60a0515eb11c7d65c6b50bba2c6e999acd8620" dependencies: async "^2.1.4" fileset "^2.0.2" istanbul-lib-coverage "^1.1.1" - istanbul-lib-hook "^1.0.7" - istanbul-lib-instrument "^1.8.0" - istanbul-lib-report "^1.1.1" - istanbul-lib-source-maps "^1.2.1" - istanbul-reports "^1.1.2" + istanbul-lib-hook "^1.1.0" + istanbul-lib-instrument "^1.9.1" + istanbul-lib-report "^1.1.2" + istanbul-lib-source-maps "^1.2.2" + istanbul-reports "^1.1.3" js-yaml "^3.7.0" mkdirp "^0.5.1" once "^1.4.0" @@ -3044,15 +3008,15 @@ istanbul-lib-coverage@^1.0.1, istanbul-lib-coverage@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.1.tgz#73bfb998885299415c93d38a3e9adf784a77a9da" -istanbul-lib-hook@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.0.7.tgz#dd6607f03076578fe7d6f2a630cf143b49bacddc" +istanbul-lib-hook@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.1.0.tgz#8538d970372cb3716d53e55523dd54b557a8d89b" dependencies: append-transform "^0.4.0" -istanbul-lib-instrument@^1.4.2, istanbul-lib-instrument@^1.7.5, istanbul-lib-instrument@^1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.8.0.tgz#66f6c9421cc9ec4704f76f2db084ba9078a2b532" +istanbul-lib-instrument@^1.4.2, istanbul-lib-instrument@^1.7.5, istanbul-lib-instrument@^1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.9.1.tgz#250b30b3531e5d3251299fdd64b0b2c9db6b558e" dependencies: babel-generator "^6.18.0" babel-template "^6.16.0" @@ -3062,28 +3026,28 @@ istanbul-lib-instrument@^1.4.2, istanbul-lib-instrument@^1.7.5, istanbul-lib-ins istanbul-lib-coverage "^1.1.1" semver "^5.3.0" -istanbul-lib-report@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz#f0e55f56655ffa34222080b7a0cd4760e1405fc9" +istanbul-lib-report@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.2.tgz#922be27c13b9511b979bd1587359f69798c1d425" dependencies: istanbul-lib-coverage "^1.1.1" mkdirp "^0.5.1" path-parse "^1.0.5" supports-color "^3.1.2" -istanbul-lib-source-maps@^1.1.0, istanbul-lib-source-maps@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.1.tgz#a6fe1acba8ce08eebc638e572e294d267008aa0c" +istanbul-lib-source-maps@^1.1.0, istanbul-lib-source-maps@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.2.tgz#750578602435f28a0c04ee6d7d9e0f2960e62c1c" dependencies: - debug "^2.6.3" + debug "^3.1.0" istanbul-lib-coverage "^1.1.1" mkdirp "^0.5.1" rimraf "^2.6.1" source-map "^0.5.3" -istanbul-reports@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.1.2.tgz#0fb2e3f6aa9922bd3ce45d05d8ab4d5e8e07bd4f" +istanbul-reports@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.1.3.tgz#3b9e1e8defb6d18b1d425da8e8b32c5a163f2d10" dependencies: handlebars "^4.0.3" @@ -3150,25 +3114,17 @@ jest-diff@^20.0.3: jest-matcher-utils "^20.0.3" pretty-format "^20.0.3" -jest-docblock@20.1.0-chi.1: - version "20.1.0-chi.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-chi.1.tgz#06981ab0e59498a2492333b0c5502a82e4603207" - -jest-docblock@20.1.0-delta.4: - version "20.1.0-delta.4" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-delta.4.tgz#360d4f5fb702730c4136c4e71e5706188a694682" +jest-docblock@20.1.0-echo.1: + version "20.1.0-echo.1" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-echo.1.tgz#be02f43ee019f97e6b83267c746ac7b40d290fe8" jest-docblock@^20.0.3: version "20.0.3" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712" -jest-docblock@^20.1.0-chi.1: - version "20.1.0-echo.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.1.0-echo.1.tgz#be02f43ee019f97e6b83267c746ac7b40d290fe8" - jest-docblock@^21.0.0: - version "21.1.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.1.0.tgz#43154be2441fb91403e36bb35cb791a5017cea81" + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414" jest-environment-jsdom@^20.0.3: version "20.0.3" @@ -3185,24 +3141,17 @@ jest-environment-node@^20.0.3: jest-mock "^20.0.3" jest-util "^20.0.3" -jest-haste-map@20.1.0-chi.1: - version "20.1.0-chi.1" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-chi.1.tgz#db5f5f31362c76e242b40ea9a3ccfa364719cee3" - dependencies: - fb-watchman "^2.0.0" - graceful-fs "^4.1.11" - jest-docblock "^20.1.0-chi.1" - micromatch "^2.3.11" - sane "^2.0.0" - worker-farm "^1.3.1" +jest-get-type@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.2.0.tgz#f6376ab9db4b60d81e39f30749c6c466f40d4a23" -jest-haste-map@20.1.0-delta.4: - version "20.1.0-delta.4" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-delta.4.tgz#12e32b297a6dd49705cacde938029fc158834006" +jest-haste-map@20.1.0-echo.1: + version "20.1.0-echo.1" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.1.0-echo.1.tgz#6dfd0c97bb51a68a35dd98326e04f994157dce81" dependencies: fb-watchman "^2.0.0" graceful-fs "^4.1.11" - jest-docblock "20.1.0-delta.4" + jest-docblock "20.1.0-echo.1" micromatch "^2.3.11" sane "^2.0.0" worker-farm "^1.3.1" @@ -3330,6 +3279,15 @@ jest-validate@^20.0.3: leven "^2.1.0" pretty-format "^20.0.3" +jest-validate@^21.1.0: + version "21.2.1" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-21.2.1.tgz#cc0cbca653cd54937ba4f2a111796774530dd3c7" + dependencies: + chalk "^2.0.1" + jest-get-type "^21.2.0" + leven "^2.1.0" + pretty-format "^21.2.1" + jest@^20.0.4: version "20.0.4" resolved "https://registry.yarnpkg.com/jest/-/jest-20.0.4.tgz#3dd260c2989d6dad678b1e9cc4d91944f6d602ac" @@ -3423,6 +3381,10 @@ jsonify@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" +jsonpointer@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9" + jsprim@^1.2.2: version "1.4.1" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" @@ -3486,15 +3448,16 @@ levn@^0.3.0, levn@~0.3.0: type-check "~0.3.2" lint-staged@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-4.2.1.tgz#5c79818c500d9b24248dccad4ac9609c01951522" + version "4.3.0" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-4.3.0.tgz#ed0779ad9a42c0dc62bb3244e522870b41125879" dependencies: app-root-path "^2.0.0" chalk "^2.1.0" + commander "^2.11.0" cosmiconfig "^1.1.0" execa "^0.8.0" is-glob "^4.0.0" - jest-validate "^20.0.3" + jest-validate "^21.1.0" listr "^0.12.0" lodash "^4.17.4" log-symbols "^2.0.0" @@ -3695,8 +3658,8 @@ log-symbols@^1.0.2: chalk "^1.0.0" log-symbols@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.0.0.tgz#595e63be4d5c8cbf294a9e09e0d5629f5913fc0c" + version "2.1.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.1.0.tgz#f35fa60e278832b538dc4dddcbb478a45d3e3be6" dependencies: chalk "^2.0.1" @@ -3715,8 +3678,8 @@ loglevel-colored-level-prefix@^1.0.0: loglevel "^1.4.1" loglevel@^1.4.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.5.0.tgz#3863984a2c326b986fbb965f378758a6dc8a4324" + version "1.5.1" + resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.5.1.tgz#189078c94ab9053ee215a0acdbf24244ea0f6502" longest@^1.0.1: version "1.0.1" @@ -3766,21 +3729,21 @@ merge@^1.1.3: resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.0.tgz#7531e39d4949c281a66b8c5a6e0265e8b05894da" method-override@~2.3.5: - version "2.3.9" - resolved "https://registry.yarnpkg.com/method-override/-/method-override-2.3.9.tgz#bd151f2ce34cf01a76ca400ab95c012b102d8f71" + version "2.3.10" + resolved "https://registry.yarnpkg.com/method-override/-/method-override-2.3.10.tgz#e3daf8d5dee10dd2dce7d4ae88d62bbee77476b4" dependencies: - debug "2.6.8" + debug "2.6.9" methods "~1.1.2" - parseurl "~1.3.1" - vary "~1.1.1" + parseurl "~1.3.2" + vary "~1.1.2" methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" -metro-bundler@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/metro-bundler/-/metro-bundler-0.11.0.tgz#ba5d2ae34943da28a37c2098047ad265c16fddf4" +metro-bundler@^0.13.0: + version "0.13.0" + resolved "https://registry.yarnpkg.com/metro-bundler/-/metro-bundler-0.13.0.tgz#a1510eaecfc3db8ef46d2a936a3cc18f651e26f7" dependencies: absolute-path "^0.0.0" async "^2.4.0" @@ -3791,17 +3754,17 @@ metro-bundler@^0.11.0: babel-preset-fbjs "^2.1.4" babel-preset-react-native "^2.0.0" babel-register "^6.24.1" - babylon "^6.17.0" + babylon "^6.18.0" chalk "^1.1.1" concat-stream "^1.6.0" core-js "^2.2.2" debug "^2.2.0" denodeify "^1.2.1" - fbjs "0.8.12" + fbjs "0.8.14" graceful-fs "^4.1.3" image-size "^0.6.0" - jest-docblock "20.1.0-chi.1" - jest-haste-map "20.1.0-chi.1" + jest-docblock "20.1.0-echo.1" + jest-haste-map "20.1.0-echo.1" json-stable-stringify "^1.0.1" json5 "^0.4.0" left-pad "^1.1.3" @@ -3836,7 +3799,7 @@ micromatch@^2.1.5, micromatch@^2.3.11: parse-glob "^3.0.4" regex-cache "^0.4.2" -"mime-db@>= 1.29.0 < 2", mime-db@~1.30.0: +"mime-db@>= 1.30.0 < 2", mime-db@~1.30.0: version "1.30.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" @@ -3861,8 +3824,8 @@ mime@1.3.4: resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53" mime@^1.3.4: - version "1.4.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.0.tgz#69e9e0db51d44f2a3b56e48b7817d7d137f1a343" + version "1.4.1" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" mimic-fn@^1.0.0: version "1.1.0" @@ -3884,7 +3847,7 @@ minimist@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" -minimist@^1.1.0, minimist@^1.1.1, minimist@^1.2.0, minimist@~1.2.0: +minimist@^1.1.0, minimist@^1.1.1, minimist@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" @@ -3974,20 +3937,24 @@ node-notifier@^5.0.2: which "^1.2.12" node-pre-gyp@^0.6.36: - version "0.6.37" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.37.tgz#3c872b236b2e266e4140578fe1ee88f693323a05" + version "0.6.38" + resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.38.tgz#e92a20f83416415bb4086f6d1fb78b3da73d113d" dependencies: + hawk "3.1.3" mkdirp "^0.5.1" nopt "^4.0.1" npmlog "^4.0.2" rc "^1.1.7" - request "^2.81.0" + request "2.81.0" rimraf "^2.6.1" semver "^5.3.0" - tape "^4.6.3" tar "^2.2.1" tar-pack "^3.4.0" +node-uuid@~1.4.7: + version "1.4.8" + resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.8.tgz#b040eb0923968afabf8d32fb1f17f1167fdab907" + nopt@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" @@ -4056,8 +4023,8 @@ number-is-nan@^1.0.0: resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" "nwmatcher@>= 1.3.9 < 2.0.0": - version "1.4.1" - resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.1.tgz#7ae9b07b0ea804db7e25f05cb5fe4097d4e4949f" + version "1.4.3" + resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.3.tgz#64348e3b3d80f035b40ac11563d278f8b72db89c" oauth-sign@~0.8.1, oauth-sign@~0.8.2: version "0.8.2" @@ -4071,10 +4038,6 @@ object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" -object-inspect@~1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.3.0.tgz#5b1eb8e6742e2ee83342a637034d844928ba2f6d" - object-keys@^1.0.8: version "1.0.11" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" @@ -4230,7 +4193,7 @@ parse5@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94" -parseurl@~1.3.0, parseurl@~1.3.1: +parseurl@~1.3.0, parseurl@~1.3.1, parseurl@~1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" @@ -4360,8 +4323,8 @@ prettier-eslint@^6.4.2: require-relative "^0.8.7" prettier@^1.5.3, prettier@^1.6.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.7.0.tgz#47481588f41f7c90f63938feb202ac82554e7150" + version "1.7.4" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.7.4.tgz#5e8624ae9363c80f95ec644584ecdf55d74f93fa" pretty-format@^20.0.3: version "20.0.3" @@ -4370,13 +4333,20 @@ pretty-format@^20.0.3: ansi-regex "^2.1.1" ansi-styles "^3.0.0" +pretty-format@^21.2.1: + version "21.2.1" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-21.2.1.tgz#ae5407f3cf21066cd011aa1ba5fce7b6a2eddb36" + dependencies: + ansi-regex "^3.0.0" + ansi-styles "^3.2.0" + pretty-format@^4.2.1: version "4.3.1" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-4.3.1.tgz#530be5c42b3c05b36414a7a2a4337aa80acd0e8d" private@^0.1.6, private@^0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/private/-/private-0.1.7.tgz#68ce5e8a1ef0a23bb570cc28537b5332aba63ef1" + version "0.1.8" + resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" process-nextick-args@~1.0.6: version "1.0.7" @@ -4397,11 +4367,12 @@ promise@^7.1.1: asap "~2.0.3" prop-types@^15.5.10, prop-types@^15.5.6, prop-types@^15.5.8: - version "15.5.10" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154" + version "15.6.0" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.0.tgz#ceaf083022fc46b4a35f69e13ef75aed0d639856" dependencies: - fbjs "^0.8.9" + fbjs "^0.8.16" loose-envify "^1.3.1" + object-assign "^4.1.1" prr@~0.0.0: version "0.0.0" @@ -4419,6 +4390,10 @@ qs@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/qs/-/qs-4.0.0.tgz#c31d9b74ec27df75e543a86c78728ed8d4623607" +qs@~6.3.0: + version "6.3.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.2.tgz#e75bd5f6e268122a2a0e0bda630b2550c166502c" + qs@~6.4.0: version "6.4.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" @@ -4451,8 +4426,8 @@ raw-body@~2.1.2: unpipe "1.0.0" rc@^1.1.7: - version "1.2.1" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95" + version "1.2.2" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.2.tgz#d8ce9cb57e8d64d9c7badd9876c7c34cbe3c7077" dependencies: deep-extend "~0.4.0" ini "~1.3.0" @@ -4468,8 +4443,8 @@ react-deep-force-update@^1.0.0: resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-1.1.1.tgz#bcd31478027b64b3339f108921ab520b4313dc2c" react-devtools-core@^2.5.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-2.5.1.tgz#81ef30e0ac35c670d96b436d1f7510eaebe6c08b" + version "2.5.2" + resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-2.5.2.tgz#f97bec5afae5d9318d16778065e0c214c4d5714c" dependencies: shell-quote "^1.6.1" ws "^2.0.3" @@ -4490,73 +4465,52 @@ react-native-drawer-layout@1.3.2: dependencies: react-native-dismiss-keyboard "1.0.0" -react-native-tab-view@^0.0.69: - version "0.0.69" - resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.69.tgz#f52d4354a98a382f10eb5fcf61db5216c91dc7e7" +react-native-tab-view@^0.0.70: + version "0.0.70" + resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-0.0.70.tgz#1dd2ded32acd0cb6bfef38d26e53675db733b37b" dependencies: - prop-types "^15.5.8" + prop-types "^15.5.10" react-native-vector-icons@^4.2.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/react-native-vector-icons/-/react-native-vector-icons-4.4.0.tgz#cdfc1cd86ab495b2a4926bcec8f08c155475cbf1" + version "4.4.2" + resolved "https://registry.yarnpkg.com/react-native-vector-icons/-/react-native-vector-icons-4.4.2.tgz#090f42ee0396c4cc4eae0ddaa518028ba8df40c7" dependencies: lodash "^4.0.0" prop-types "^15.5.10" yargs "^8.0.2" -react-native@^0.48.4: - version "0.48.4" - resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.48.4.tgz#f305e9fef069a5b3f6a7250ddd50f603cf30ab2d" +react-native@^0.49.3: + version "0.49.3" + resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.49.3.tgz#0ca459ee49f9c59e8326b2ced9e34c59333a2f26" dependencies: absolute-path "^0.0.0" art "^0.10.0" - async "^2.4.0" babel-core "^6.24.1" - babel-generator "^6.24.1" - babel-plugin-external-helpers "^6.18.0" babel-plugin-syntax-trailing-function-commas "^6.20.0" babel-plugin-transform-async-to-generator "6.16.0" babel-plugin-transform-class-properties "^6.18.0" babel-plugin-transform-flow-strip-types "^6.21.0" babel-plugin-transform-object-rest-spread "^6.20.2" - babel-polyfill "^6.20.0" - babel-preset-es2015-node "^6.1.1" - babel-preset-fbjs "^2.1.4" - babel-preset-react-native "^2.0.0" babel-register "^6.24.1" babel-runtime "^6.23.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - babylon "^6.17.0" base64-js "^1.1.2" - bser "^1.0.2" chalk "^1.1.1" commander "^2.9.0" - concat-stream "^1.6.0" connect "^2.8.3" - core-js "^2.2.2" create-react-class "^15.5.2" debug "^2.2.0" denodeify "^1.2.1" envinfo "^3.0.0" - errno ">=0.1.1 <0.2.0-0" event-target-shim "^1.0.5" - fbjs "0.8.12" - fbjs-scripts "^0.7.0" - form-data "^2.1.1" + fbjs "0.8.14" + fbjs-scripts "^0.8.1" fs-extra "^1.0.0" glob "^7.1.1" graceful-fs "^4.1.3" inquirer "^3.0.6" - jest-haste-map "20.1.0-delta.4" - json-stable-stringify "^1.0.1" - json5 "^0.4.0" - left-pad "^1.1.3" lodash "^4.16.6" - merge-stream "^1.0.1" - metro-bundler "^0.11.0" + metro-bundler "^0.13.0" mime "^1.3.4" - mime-types "2.1.11" minimist "^1.2.0" mkdirp "^0.5.1" node-fetch "^1.3.3" @@ -4570,26 +4524,15 @@ react-native@^0.48.4: react-clone-referenced-element "^1.0.1" react-devtools-core "^2.5.0" react-timer-mixin "^0.13.2" - react-transform-hmr "^1.0.4" - rebound "^0.0.13" regenerator-runtime "^0.9.5" - request "^2.79.0" rimraf "^2.5.4" - sane "~1.4.1" semver "^5.0.3" shell-quote "1.6.1" - source-map "^0.5.6" stacktrace-parser "^0.1.3" - temp "0.8.3" - throat "^4.1.0" whatwg-fetch "^1.0.0" - wordwrap "^1.0.0" - write-file-atomic "^1.2.0" ws "^1.1.0" xcode "^0.9.1" xmldoc "^0.4.0" - xpipe "^1.0.5" - xtend ">=4.0.0 <4.1.0-0" yargs "^6.4.0" react-proxy@^1.1.7: @@ -4617,11 +4560,10 @@ react-transform-hmr@^1.0.4: global "^4.3.0" react-proxy "^1.1.7" -react@16.0.0-alpha.12: - version "16.0.0-alpha.12" - resolved "https://registry.yarnpkg.com/react/-/react-16.0.0-alpha.12.tgz#8c59485281485df319b6f77682d8dd0621c08194" +react@16.0.0-beta.5: + version "16.0.0-beta.5" + resolved "https://registry.yarnpkg.com/react/-/react-16.0.0-beta.5.tgz#b4abba9bce7db72c30633db54a148614b6574e79" dependencies: - create-react-class "^15.5.2" fbjs "^0.8.9" loose-envify "^1.1.0" object-assign "^4.1.0" @@ -4687,10 +4629,6 @@ readdirp@^2.0.0: readable-stream "^2.0.2" set-immediate-shim "^1.0.1" -rebound@^0.0.13: - version "0.0.13" - resolved "https://registry.yarnpkg.com/rebound/-/rebound-0.0.13.tgz#4a225254caf7da756797b19c5817bf7a7941fac1" - regenerate@^1.2.1: version "1.3.3" resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f" @@ -4761,6 +4699,31 @@ replace-ext@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924" +request@2.77.0: + version "2.77.0" + resolved "https://registry.yarnpkg.com/request/-/request-2.77.0.tgz#2b00d82030ededcc97089ffa5d8810a9c2aa314b" + dependencies: + aws-sign2 "~0.6.0" + aws4 "^1.2.1" + caseless "~0.11.0" + combined-stream "~1.0.5" + extend "~3.0.0" + forever-agent "~0.6.1" + form-data "~2.1.1" + har-validator "~2.0.6" + hawk "~3.1.3" + http-signature "~1.1.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.7" + node-uuid "~1.4.7" + oauth-sign "~0.8.1" + qs "~6.3.0" + stringstream "~0.0.4" + tough-cookie "~2.3.0" + tunnel-agent "~0.4.1" + request@2.81.0: version "2.81.0" resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" @@ -4788,9 +4751,9 @@ request@2.81.0: tunnel-agent "^0.6.0" uuid "^3.0.0" -request@^2.79.0, request@^2.81.0: - version "2.82.0" - resolved "https://registry.yarnpkg.com/request/-/request-2.82.0.tgz#2ba8a92cd7ac45660ea2b10a53ae67cd247516ea" +request@^2.79.0: + version "2.83.0" + resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356" dependencies: aws-sign2 "~0.7.0" aws4 "^1.6.0" @@ -4811,7 +4774,7 @@ request@^2.79.0, request@^2.81.0: qs "~6.5.1" safe-buffer "^5.1.1" stringstream "~0.0.5" - tough-cookie "~2.3.2" + tough-cookie "~2.3.3" tunnel-agent "^0.6.0" uuid "^3.1.0" @@ -4846,7 +4809,7 @@ resolve@1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" -resolve@^1.2.0, resolve@^1.3.2, resolve@~1.4.0: +resolve@^1.2.0, resolve@^1.3.2: version "1.4.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86" dependencies: @@ -4873,12 +4836,6 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -resumer@~0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/resumer/-/resumer-0.0.0.tgz#f1e8f461e4064ba39e82af3cdc2a8c893d076759" - dependencies: - through "~2.3.4" - right-align@^0.1.1: version "0.1.3" resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" @@ -4916,8 +4873,8 @@ rx-lite@*, rx-lite@^4.0.8: resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" rxjs@^5.0.0-beta.11: - version "5.4.3" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.4.3.tgz#0758cddee6033d68e0fd53676f0f3596ce3d483f" + version "5.5.0" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.0.tgz#26d8f3866eb700e247e0728a147c3d628993d812" dependencies: symbol-observable "^1.0.1" @@ -4930,8 +4887,8 @@ safe-buffer@~5.0.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" sane@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/sane/-/sane-2.0.0.tgz#99cb79f21f4a53a69d4d0cd957c2db04024b8eb2" + version "2.2.0" + resolved "https://registry.yarnpkg.com/sane/-/sane-2.2.0.tgz#d6d2e2fcab00e3d283c93b912b7c3a20846f1d56" dependencies: anymatch "^1.3.0" exec-sh "^0.2.0" @@ -4939,21 +4896,10 @@ sane@^2.0.0: minimatch "^3.0.2" minimist "^1.1.1" walker "~1.0.5" - watch "~0.10.0" + watch "~0.18.0" optionalDependencies: fsevents "^1.1.1" -sane@~1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/sane/-/sane-1.4.1.tgz#88f763d74040f5f0c256b6163db399bf110ac715" - dependencies: - exec-sh "^0.2.0" - fb-watchman "^1.8.0" - minimatch "^3.0.2" - minimist "^1.1.1" - walker "~1.0.5" - watch "~0.10.0" - sane@~1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/sane/-/sane-1.6.0.tgz#9610c452307a135d29c1fdfe2547034180c46775" @@ -5079,6 +5025,12 @@ slice-ansi@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" +slice-ansi@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" + dependencies: + is-fullwidth-code-point "^2.0.0" + slide@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" @@ -5156,8 +5108,8 @@ staged-git-files@0.0.4: resolved "https://registry.yarnpkg.com/staged-git-files/-/staged-git-files-0.0.4.tgz#d797e1b551ca7a639dec0237dc6eb4bb9be17d35" statuses@1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e" + version "1.4.0" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" statuses@~1.2.1: version "1.2.1" @@ -5191,21 +5143,13 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -string-width@^2.0.0, string-width@^2.1.0: +string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" dependencies: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string.prototype.trim@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.5.0" - function-bind "^1.0.2" - string_decoder@~0.10.x: version "0.10.31" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" @@ -5217,10 +5161,10 @@ string_decoder@~1.0.3: safe-buffer "~5.1.0" stringify-object@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/stringify-object/-/stringify-object-3.2.0.tgz#94370a135e41bc048358813bf99481f1315c6aa6" + version "3.2.1" + resolved "https://registry.yarnpkg.com/stringify-object/-/stringify-object-3.2.1.tgz#2720c2eff940854c819f6ee252aaeb581f30624d" dependencies: - get-own-enumerable-property-symbols "^1.0.1" + get-own-enumerable-property-symbols "^2.0.1" is-obj "^1.0.1" is-regexp "^1.0.0" @@ -5273,8 +5217,8 @@ supports-color@^3.1.2: has-flag "^1.0.0" supports-color@^4.0.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.4.0.tgz#883f7ddabc165142b2a61427f3352ded195d1a3e" + version "4.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" dependencies: has-flag "^2.0.0" @@ -5287,33 +5231,15 @@ symbol-tree@^3.2.1: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" table@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/table/-/table-4.0.1.tgz#a8116c133fac2c61f4a420ab6cdf5c4d61f0e435" + version "4.0.2" + resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36" dependencies: - ajv "^4.7.0" - ajv-keywords "^1.0.0" - chalk "^1.1.1" - lodash "^4.0.0" - slice-ansi "0.0.4" - string-width "^2.0.0" - -tape@^4.6.3: - version "4.8.0" - resolved "https://registry.yarnpkg.com/tape/-/tape-4.8.0.tgz#f6a9fec41cc50a1de50fa33603ab580991f6068e" - dependencies: - deep-equal "~1.0.1" - defined "~1.0.0" - for-each "~0.3.2" - function-bind "~1.1.0" - glob "~7.1.2" - has "~1.0.1" - inherits "~2.0.3" - minimist "~1.2.0" - object-inspect "~1.3.0" - resolve "~1.4.0" - resumer "~0.0.0" - string.prototype.trim "~1.1.2" - through "~2.3.8" + ajv "^5.2.3" + ajv-keywords "^2.1.0" + chalk "^2.1.0" + lodash "^4.17.4" + slice-ansi "1.0.0" + string-width "^2.1.1" tar-pack@^3.4.0: version "3.4.0" @@ -5372,7 +5298,7 @@ through2@^2.0.0: readable-stream "^2.1.5" xtend "~4.0.1" -through@^2.3.6, through@~2.3.4, through@~2.3.8: +through@^2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" @@ -5394,9 +5320,9 @@ to-fast-properties@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" -tough-cookie@^2.3.2, tough-cookie@~2.3.0, tough-cookie@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" +tough-cookie@^2.3.2, tough-cookie@~2.3.0, tough-cookie@~2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561" dependencies: punycode "^1.4.1" @@ -5426,6 +5352,10 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" +tunnel-agent@~0.4.1: + version "0.4.3" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" + tweetnacl@^0.14.3, tweetnacl@~0.14.0: version "0.14.5" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" @@ -5448,8 +5378,8 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" ua-parser-js@^0.7.9: - version "0.7.14" - resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.14.tgz#110d53fa4c3f326c121292bbeac904d2e03387ca" + version "0.7.17" + resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.17.tgz#e9ec5f9498b9ec910e7ae3ac626a805c4d09ecac" uglify-js@2.7.5: version "2.7.5" @@ -5542,9 +5472,9 @@ vary@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/vary/-/vary-1.0.1.tgz#99e4981566a286118dfb2b817357df7993376d10" -vary@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.1.tgz#67535ebb694c1d52257457984665323f587e8d37" +vary@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" verror@1.10.0: version "1.10.0" @@ -5576,6 +5506,13 @@ watch@~0.10.0: version "0.10.0" resolved "https://registry.yarnpkg.com/watch/-/watch-0.10.0.tgz#77798b2da0f9910d595f1ace5b0c2258521f21dc" +watch@~0.18.0: + version "0.18.0" + resolved "https://registry.yarnpkg.com/watch/-/watch-0.18.0.tgz#28095476c6df7c90c963138990c0a5423eb4b986" + dependencies: + exec-sh "^0.2.0" + minimist "^1.2.0" + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" @@ -5585,8 +5522,8 @@ webidl-conversions@^4.0.0: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" whatwg-encoding@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.1.tgz#3c6c451a198ee7aec55b1ec61d0920c67801a5f4" + version "1.0.2" + resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.2.tgz#bd68ad169c3cf55080562257714bf012e668a165" dependencies: iconv-lite "0.4.13" @@ -5639,14 +5576,14 @@ wordwrap@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" -wordwrap@^1.0.0, wordwrap@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - wordwrap@~0.0.2: version "0.0.3" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" +wordwrap@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" + worker-farm@^1.3.1: version "1.5.0" resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.5.0.tgz#adfdf0cd40581465ed0a1f648f9735722afd5c8d" @@ -5729,7 +5666,7 @@ xpipe@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/xpipe/-/xpipe-1.0.5.tgz#8dd8bf45fc3f7f55f0e054b878f43a62614dafdf" -"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.1, xtend@~4.0.1: +xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"