diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-02-21 10:45:11 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-02-21 10:45:11 +0100 |
| commit | de737c54c413f96c35b4e9bc6280fc7d26e4fa83 (patch) | |
| tree | 0cf470c59b4c7c8a6327e64610f68f5facd78d6d | |
| parent | ae9c255b3ecdec341090c932db6cb261147a7382 (diff) | |
| parent | 1214138633bcca19a1b96622400f3fbcf4044bd9 (diff) | |
| download | mullvadvpn-de737c54c413f96c35b4e9bc6280fc7d26e4fa83.tar.xz mullvadvpn-de737c54c413f96c35b4e9bc6280fc7d26e4fa83.zip | |
Merge branch 'update-flow'
83 files changed, 2889 insertions, 3723 deletions
diff --git a/.flowconfig b/.flowconfig index 00535a4f84..e5488a4bd3 100644 --- a/.flowconfig +++ b/.flowconfig @@ -47,4 +47,3 @@ flow-libs/ emoji=true suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe munge_underscores=true -unsafe.enable_getters_and_setters=true diff --git a/.travis.yml b/.travis.yml index 5bbb37edfb..34de747b1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,19 +11,6 @@ matrix: install: - yarn install - - # FIXME: Flow throws error for optional dependencies - # missing from node_modules on unsupported platforms - # see: https://github.com/facebook/flow/issues/4171 - - OPTIONAL_DEPS=('nseventmonitor' 'windows-security'); - for MODULE in ${OPTIONAL_DEPS[@]}; do - FILE="node_modules/$MODULE/index.js"; - if [ ! -f $FILE ]; then - echo "Installing a stub for $MODULE.."; - mkdir -p `dirname $FILE`; - echo "module.exports = {};" > $FILE; - fi - done before_script: - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start script: diff --git a/app/components/Accordion.js b/app/components/Accordion.js index 456a95fe05..cdc6a69515 100644 --- a/app/components/Accordion.js +++ b/app/components/Accordion.js @@ -1,25 +1,23 @@ // @flow - -import React, { Component } from 'react'; +import * as React from 'react'; export type AccordionProps = { height?: number | string, transitionStyle?: string, - children?: Array<React.Element<*>> | React.Element<*> // see https://github.com/facebook/flow/issues/1964 + children?: React.Node }; -export type AccordionState = { +type AccordionState = { computedHeight: ?number | ?string, }; -export default class Accordion extends Component { - props: AccordionProps; - static defaultProps: $Shape<AccordionProps> = { +export default class Accordion extends React.Component<AccordionProps, AccordionState> { + static defaultProps = { height: 'auto', transitionStyle: 'height 0.25s ease-in-out' }; - state: AccordionState = { + state = { computedHeight: null, }; @@ -93,7 +91,7 @@ export default class Accordion extends Component { // Sets initial height and delays transition until next runloop // to make sure CSS transitions properly kick in. // This method resolves immediately if the height is already set. - _warmupTransition() { + _warmupTransition(): Promise<void> { const contentElement = this._contentElement; if(!contentElement) { throw new Error('contentElement cannot be null'); diff --git a/app/components/AccountInput.js b/app/components/AccountInput.js index 4ff99e13fd..21967d856a 100644 --- a/app/components/AccountInput.js +++ b/app/components/AccountInput.js @@ -1,5 +1,5 @@ // @flow -import React, { Component } from 'react'; +import * as React from 'react'; import { formatAccount } from '../lib/formatters'; // @TODO: move it into types.js @@ -20,23 +20,21 @@ export type AccountInputProps = { onChange: ?((newValue: string) => void); }; -export type AccountInputState = { +type AccountInputState = { value: string; selectionRange: SelectionRange; }; -export type SelectionRange = [number, number]; +type SelectionRange = [number, number]; -export default class AccountInput extends Component { - props: AccountInputProps; - - static defaultProps: AccountInputProps = { +export default class AccountInput extends React.Component<AccountInputProps, AccountInputState> { + static defaultProps = { value: '', onEnter: null, onChange: null }; - state: AccountInputState = { + state = { value: '', selectionRange: [0, 0] }; @@ -297,7 +295,7 @@ export default class AccountInput extends Component { } } - onRef = (ref: HTMLInputElement) => { + onRef = (ref: ?HTMLInputElement) => { this._ref = ref; if(!ref) { return; } diff --git a/app/components/AdvancedSettings.js b/app/components/AdvancedSettings.js index 602b9898e9..14e4879706 100644 --- a/app/components/AdvancedSettings.js +++ b/app/components/AdvancedSettings.js @@ -1,6 +1,6 @@ // @flow -import React from 'react'; +import * as React from 'react'; import { Component, Text, View } from 'reactxp'; import { Button } from './styled'; import { Layout, Container } from './Layout'; diff --git a/app/components/Connect.js b/app/components/Connect.js index 1c1a4bac1e..3408e40b8d 100644 --- a/app/components/Connect.js +++ b/app/components/Connect.js @@ -1,7 +1,7 @@ // @flow import moment from 'moment'; -import React, { Component } from 'react'; +import * as React from 'react'; import { Layout, Container, Header } from './Layout'; import { BackendError } from '../lib/backend'; import Map from './Map'; @@ -29,14 +29,13 @@ type ConnectState = { mapOffset: [number, number], }; -export default class Connect extends Component { - props: ConnectProps; - state: ConnectState = { +export default class Connect extends React.Component<ConnectProps, ConnectState> { + state = { showCopyIPMessage: false, mapOffset: [0, 0], }; - _copyTimer: ?number; + _copyTimer: ?TimeoutID; shouldComponentUpdate(nextProps: ConnectProps, nextState: ConnectState) { const { connection: prevConnection, ...otherPrevProps } = this.props; @@ -130,7 +129,7 @@ export default class Connect extends Component { } } - _updateMapOffset = (spinnerNode: HTMLElement) => { + _updateMapOffset = (spinnerNode: ?HTMLElement) => { if(spinnerNode) { // calculate the vertical offset from the center of the map // to shift the center of the map upwards to align the centers diff --git a/app/components/CustomScrollbars.js b/app/components/CustomScrollbars.js index 69381f60cd..97c78f4ab9 100644 --- a/app/components/CustomScrollbars.js +++ b/app/components/CustomScrollbars.js @@ -1,5 +1,6 @@ // @flow -import React, { Component } from 'react'; + +import * as React from 'react'; type ScrollbarUpdateContext = { size: boolean, @@ -8,13 +9,18 @@ type ScrollbarUpdateContext = { const AUTOHIDE_TIMEOUT = 1000; -export default class CustomScrollbars extends Component { - props: { - autoHide: boolean, - thumbInset: { x: number, y: number }, - children: ?React.Element<*>, - }; +type Props = { + autoHide: boolean, + thumbInset: { x: number, y: number }, + children?: React.Node, +}; + +type State = { + canScroll: boolean, + showScrollIndicators: boolean, +}; +export default class CustomScrollbars extends React.Component<Props, State> { static defaultProps = { autoHide: true, thumbInset: { x: 2, y: 2 }, @@ -27,7 +33,7 @@ export default class CustomScrollbars extends Component { _scrollableElement: ?HTMLElement; _thumbElement: ?HTMLElement; - _autoHideTimer: ?number; + _autoHideTimer: ?TimeoutID; componentDidMount() { this._updateScrollbarsHelper({ diff --git a/app/components/Layout.js b/app/components/Layout.js index 5c0e1f5bcb..51b135e8f5 100644 --- a/app/components/Layout.js +++ b/app/components/Layout.js @@ -1,14 +1,13 @@ // @flow -import React, { Component } from 'react'; +import * as React from 'react'; import HeaderBar from './HeaderBar'; import type { HeaderBarProps } from './HeaderBar'; -export class Header extends Component { - props: HeaderBarProps; +export class Header extends React.Component<HeaderBarProps> { static defaultProps = HeaderBar.defaultProps; - render(): React.Element<*> { + render() { return ( <div className="layout__header"> <HeaderBar { ...this.props } /> @@ -17,12 +16,13 @@ export class Header extends Component { } } -export class Container extends Component { - props: { - children: React.Element<*> - } - render(): React.Element<*> { +type ContainerProps = { + children?: React.Element<*> +}; + +export class Container extends React.Component<ContainerProps> { + render() { return ( <div className="layout__container"> { this.props.children } @@ -31,12 +31,12 @@ export class Container extends Component { } } -export class Layout extends Component { - props: { - children: Array<React.Element<*>> | React.Element<*> - } +type LayoutProps = { + children?: React.Node +}; - render(): React.Element<*> { +export class Layout extends React.Component<LayoutProps> { + render() { return ( <div className="layout"> { this.props.children } diff --git a/app/components/Login.js b/app/components/Login.js index c133954eed..3231fc7710 100644 --- a/app/components/Login.js +++ b/app/components/Login.js @@ -1,5 +1,5 @@ // @flow -import React, { Component } from 'react'; +import * as React from 'react'; import { Layout, Container, Header } from './Layout'; import AccountInput from './AccountInput'; import { formatAccount } from '../lib/formatters'; @@ -20,8 +20,13 @@ export type LoginPropTypes = { onRemoveAccountTokenFromHistory: (accountToken: AccountToken) => void, }; -export default class Login extends Component { - props: LoginPropTypes; +type State = { + notifyOnFirstChangeAfterFailure: boolean, + isActive: boolean, + dropdownHeight: number +}; + +export default class Login extends React.Component<LoginPropTypes, State> { state = { notifyOnFirstChangeAfterFailure: false, isActive: false, @@ -293,13 +298,13 @@ export default class Login extends Component { } } -class AccountDropdown extends Component { - props: { - items: Array<AccountToken>, - onSelect: ((value: AccountToken) => void), - onRemove: ((value: AccountToken) => void) - }; +type AccountDropdownProps = { + items: Array<AccountToken>, + onSelect: (value: AccountToken) => void, + onRemove: (value: AccountToken) => void, +}; +class AccountDropdown extends React.Component<AccountDropdownProps> { render() { const uniqueItems = [...new Set(this.props.items)]; return ( @@ -316,14 +321,14 @@ class AccountDropdown extends Component { } } -class AccountDropdownItem extends Component { - props: { - label: string, - value: AccountToken, - onRemove: (value: AccountToken) => void, - onSelect: (value: AccountToken) => void - }; +type AccountDropdownItemProps = { + label: string, + value: AccountToken, + onRemove: (value: AccountToken) => void, + onSelect: (value: AccountToken) => void, +}; +class AccountDropdownItem extends React.Component<AccountDropdownItemProps> { render() { return ( <div className="login-form__account-dropdown__item"> diff --git a/app/components/Map.js b/app/components/Map.js index d416b77961..3865e8975a 100644 --- a/app/components/Map.js +++ b/app/components/Map.js @@ -1,6 +1,6 @@ // @flow -import React from 'react'; +import * as React from 'react'; import { Component, View } from 'reactxp'; import SvgMap from './SvgMap'; @@ -21,11 +21,8 @@ type MapState = { } }; -export default class Map extends Component { - - props: MapProps; - - state: MapState = { +export default class Map extends Component<MapProps, MapState> { + state = { bounds: { width: 0, height: 0, @@ -84,6 +81,8 @@ export default class Map extends Component { case 'high': return 1; case 'medium': return 20; case 'low': return 40; + default: + throw new Error(`Invalid enumeration type: ${variant}`); } } @@ -93,6 +92,8 @@ export default class Map extends Component { return './assets/images/location-marker-secure.svg'; case 'unsecure': return './assets/images/location-marker-unsecure.svg'; + default: + throw new Error(`Invalid enumeration type: ${style}`); } } diff --git a/app/components/PlatformWindow.js b/app/components/PlatformWindow.js index 8b8e2c462f..b727cdd7b1 100644 --- a/app/components/PlatformWindow.js +++ b/app/components/PlatformWindow.js @@ -1,11 +1,12 @@ // @flow -import React, { Component } from 'react'; +import * as React from 'react'; -export default class PlatformWindow extends Component { - props: { - children: Array<React.Element<*>> | React.Element<*> - } - render(): React.Element<*> { +type Props = { + children?: React.Node +}; + +export default class PlatformWindow extends React.Component<Props> { + render() { const chromeClass = ['window-chrome', 'window-chrome--' + process.platform]; return ( <div className={ chromeClass.join(' ') }> diff --git a/app/components/SelectLocation.js b/app/components/SelectLocation.js index 12cde94211..946a275146 100644 --- a/app/components/SelectLocation.js +++ b/app/components/SelectLocation.js @@ -1,5 +1,5 @@ // @flow -import React, { Component } from 'react'; +import * as React from 'react'; import { Layout, Container, Header } from './Layout'; import CustomScrollbars from './CustomScrollbars'; @@ -17,12 +17,15 @@ export type SelectLocationProps = { onSelect: (location: RelayLocation) => void; }; -export default class SelectLocation extends Component { - props: SelectLocationProps; +type State = { + expanded: Array<string> +}; + +export default class SelectLocation extends React.Component<SelectLocationProps, State> { _selectedCell: ?HTMLElement; state = { - expanded: ([]: Array<string>), + expanded: [], }; constructor(props: SelectLocationProps, context?: any) { diff --git a/app/components/Settings.js b/app/components/Settings.js index cae2503127..642887cd9b 100644 --- a/app/components/Settings.js +++ b/app/components/Settings.js @@ -1,6 +1,6 @@ // @flow import moment from 'moment'; -import React from 'react'; +import * as React from 'react'; import { Component, Text, View } from 'reactxp'; import { Button, CellButton, RedButton, Label, SubText} from './styled'; import { Layout, Container } from './Layout'; @@ -24,10 +24,7 @@ export type SettingsProps = { onExternalLink: (type: string) => void, }; -export default class Settings extends Component { - - props: SettingsProps; - +export default class Settings extends Component<SettingsProps> { render() { return ( <Layout> diff --git a/app/components/Support.js b/app/components/Support.js index 80116bcc1b..ee1db73d96 100644 --- a/app/components/Support.js +++ b/app/components/Support.js @@ -1,5 +1,5 @@ // @flow -import React from 'react'; +import * as React from 'react'; import { Component, Text, View, TextInput } from 'reactxp'; import { Button, BlueButton, GreenButton, Label } from './styled'; import { Layout, Container } from './Layout'; @@ -14,12 +14,13 @@ export type SupportReport = { savedReport: ?string, }; -export type SupportState = { +type SupportState = { email: string, message: string, savedReport: ?string, sendState: 'INITIAL' | 'CONFIRM_NO_EMAIL' | 'LOADING' | 'SUCCESS' | 'FAILED', }; + export type SupportProps = { account: AccountReduxState, onClose: () => void; @@ -28,14 +29,13 @@ export type SupportProps = { onSend: (email: string, message: string, savedReport: string) => void; }; -export default class Support extends Component { - props: SupportProps; - state: SupportState = { +export default class Support extends Component<SupportProps, SupportState> { + state = { email: '', message: '', savedReport: null, sendState: 'INITIAL', - } + }; validate() { return this.state.message.trim().length > 0; @@ -57,7 +57,7 @@ export default class Support extends Component { }); } - _getLog() { + _getLog(): Promise<string> { const toRedact = []; if (this.props.account.accountToken) { toRedact.push(this.props.account.accountToken.toString()); diff --git a/app/components/SvgMap.js b/app/components/SvgMap.js index 2803f0c4ef..48288f9a8a 100644 --- a/app/components/SvgMap.js +++ b/app/components/SvgMap.js @@ -1,6 +1,6 @@ // @flow -import React, { Component } from 'react'; +import * as React from 'react'; import { ComposableMap, ZoomableGroup, Geographies, Geography, Markers, Marker } from 'react-simple-maps'; import { geoTimes } from 'd3-geo-projection'; @@ -44,9 +44,8 @@ type SvgMapState = { const MOVE_SPEED = 2000; // @TODO: Calculate zoom level based on (center + span) (aka MKCoordinateSpan) -export default class SvgMap extends Component { - props: SvgMapProps; - state: SvgMapState = { +export default class SvgMap extends React.Component<SvgMapProps, SvgMapState> { + state = { zoomCenter: [0, 0], zoomLevel: 1, visibleCities: [], diff --git a/app/components/Switch.js b/app/components/Switch.js index b3f2f58a58..9032065e9a 100644 --- a/app/components/Switch.js +++ b/app/components/Switch.js @@ -1,30 +1,36 @@ // @flow -import React, { Component } from 'react'; +import * as React from 'react'; const CLICK_TIMEOUT = 1000; const MOVE_THRESHOLD = 10; export type SwitchProps = { + className?: string; isOn: boolean; onChange: ?((isOn: boolean) => void); }; -export default class Switch extends Component { - props: SwitchProps; +type State = { + ignoreChange: boolean, + initialPos: {x: number, y: number}, + startTime: ?number, +}; + +export default class Switch extends React.Component<SwitchProps, State> { static defaultProps: SwitchProps = { isOn: false, onChange: null - } - - isCapturingMouseEvents = false; - ref: ?HTMLInputElement; - onRef = (e: HTMLInputElement) => this.ref = e; + }; state = { ignoreChange: false, initialPos: {x: 0, y: 0}, startTime: (null: ?number) - } + }; + + isCapturingMouseEvents = false; + ref: ?HTMLInputElement; + onRef = (e: ?HTMLInputElement) => this.ref = e; handleMouseDown = (e: MouseEvent) => { const { clientX: x, clientY: y } = e; @@ -124,9 +130,9 @@ export default class Switch extends Component { } } - render(): React.Element<*> { + render() { const { isOn, onChange, ...otherProps } = this.props; // eslint-disable-line no-unused-vars - let className = ('switch' + ' ' + (otherProps.className || '')).trim(); + const className = ('switch ' + (otherProps.className || '')).trim(); return ( <input { ...otherProps } type="checkbox" diff --git a/app/components/styled/AppButton.js b/app/components/styled/AppButton.js index f868d33ce0..fdb6d35dfa 100644 --- a/app/components/styled/AppButton.js +++ b/app/components/styled/AppButton.js @@ -1,5 +1,5 @@ // @flow -import React from 'react'; +import * as React from 'react'; import { Text, Component } from 'reactxp'; import { Button } from './Button'; import { colors } from '../../config'; @@ -76,7 +76,7 @@ export class Label extends Text {} class BaseButton extends Component { props: { - children: Array<React.Element<*>> | React.Element<*>, + children?: React.Node, disabled: boolean, }; diff --git a/app/components/styled/Button.js b/app/components/styled/Button.js index 59d2371480..2fef7361e2 100644 --- a/app/components/styled/Button.js +++ b/app/components/styled/Button.js @@ -7,7 +7,12 @@ const defaultStyle = ReactXP.Styles.createViewStyle({ cursor: 'default', }); -export function Button(props: *) { +type Props = { + style?: Object | Array<any>; + cursor?: string; +}; + +export function Button(props: Props) { const { style, cursor, ...rest } = props; const concreteStyle = ReactXP.Styles.combine([defaultStyle, style]); diff --git a/app/components/styled/CellButton.js b/app/components/styled/CellButton.js index fe3042709a..064c28ca2c 100644 --- a/app/components/styled/CellButton.js +++ b/app/components/styled/CellButton.js @@ -1,5 +1,6 @@ // @flow -import React from 'react'; + +import * as React from 'react'; import { Text, Component } from 'reactxp'; import { Button } from './Button'; import { colors } from '../../config'; @@ -66,7 +67,7 @@ export class Label extends Text {} export default class CellButton extends Component { props: { - children: Array<React.Element<*>> | React.Element<*>, + children?: React.Node, disabled: boolean, }; diff --git a/app/lib/backend.js b/app/lib/backend.js index b12ed54ca9..00c40fa05f 100644 --- a/app/lib/backend.js +++ b/app/lib/backend.js @@ -507,7 +507,7 @@ export class Backend { } } - _ensureAuthenticated() { + _ensureAuthenticated(): Promise<void> { const credentials = this._credentials; if(credentials) { if(!this._authenticationPromise) { diff --git a/app/lib/ipc-facade.js b/app/lib/ipc-facade.js index 244e6bcc4b..0a64a5cc68 100644 --- a/app/lib/ipc-facade.js +++ b/app/lib/ipc-facade.js @@ -4,6 +4,8 @@ import JsonRpcWs, { InvalidReply } from './jsonrpc-ws-ipc'; import { object, maybe, string, number, boolean, enumeration, arrayOf, oneOf } from 'validated/schema'; import { validate } from 'validated/object'; +import type { Node as SchemaNode } from 'validated/schema'; + export type AccountData = { expiry: string }; export type AccountToken = string; export type Ip = string; @@ -75,13 +77,14 @@ export type RelaySettingsUpdate = {| custom_tunnel_endpoint: RelaySettingsCustom |}; -const Constraint = (v) => oneOf(string, object({ - only: v, +const constraint = <T>(constraintValue: SchemaNode<T>) => oneOf(string, object({ + only: constraintValue, })); + const RelaySettingsSchema = oneOf( object({ normal: object({ - location: Constraint(oneOf( + location: constraint(oneOf( object({ city: arrayOf(string), }), @@ -89,10 +92,10 @@ const RelaySettingsSchema = oneOf( country: string }), )), - tunnel: Constraint(object({ + tunnel: constraint(object({ openvpn: object({ - port: Constraint(number), - protocol: Constraint(enumeration('udp', 'tcp')), + port: constraint(number), + protocol: constraint(enumeration('udp', 'tcp')), }), })), }) diff --git a/app/lib/jsonrpc-ws-ipc.js b/app/lib/jsonrpc-ws-ipc.js index 002a146606..ecf6309380 100644 --- a/app/lib/jsonrpc-ws-ipc.js +++ b/app/lib/jsonrpc-ws-ipc.js @@ -7,7 +7,7 @@ import { log } from '../lib/platform'; export type UnansweredRequest = { resolve: (mixed) => void, reject: (mixed) => void, - timerId: number, + timerId: TimeoutID, message: Object, } @@ -154,7 +154,7 @@ export default class Ipc { } } - _getWebSocket() { + _getWebSocket(): Promise<WebSocket> { return new Promise(resolve => { if (this._websocket && this._websocket.readyState === 1) { // Connected resolve(this._websocket); diff --git a/app/lib/rpc-file-security.js b/app/lib/rpc-file-security.js index da777d9b78..22dedb00be 100644 --- a/app/lib/rpc-file-security.js +++ b/app/lib/rpc-file-security.js @@ -24,6 +24,7 @@ function isOwnedAndOnlyWritableByRoot(path: string): boolean { } function isOwnedByLocalSystem(path: string): boolean { + // $FlowFixMe: this module is only available on Windows const winsec = require('windows-security'); const ownerSid = winsec.getFileOwnerSid(path, null); const isWellKnownSid = winsec.isWellKnownSid(ownerSid, winsec.WellKnownSid.LocalSystemSid); diff --git a/app/main.js b/app/main.js index b685a27bf9..2b056680c9 100644 --- a/app/main.js +++ b/app/main.js @@ -36,7 +36,7 @@ const appDelegate = { _window: (null: ?BrowserWindow), _tray: (null: ?Tray), _logFileLocation: '', - connectionFilePollInterval: (null: ?number), + connectionFilePollInterval: (null: ?IntervalID), setup: () => { // Override userData path, i.e on macOS: ~/Library/Application Support/MullvadVPN @@ -420,6 +420,7 @@ const appDelegate = { // setup NSEvent monitor to fix inconsistent window.blur // see https://github.com/electron/electron/issues/8689 + // $FlowFixMe: this module is only available on macOS const { NSEventMonitor, NSEventMask } = require('nseventmonitor'); const trayIconManager = new TrayIconManager(tray, 'unsecured'); const macEventMonitor = new NSEventMonitor(); diff --git a/app/redux/account/reducers.js b/app/redux/account/reducers.js index 95909e3d74..7585d7adc0 100644 --- a/app/redux/account/reducers.js +++ b/app/redux/account/reducers.js @@ -24,8 +24,6 @@ const initialState: AccountReduxState = { export default function(state: AccountReduxState = initialState, action: ReduxAction): AccountReduxState { switch (action.type) { - case 'LOGIN_CHANGE': - return { ...state, ...action.newData }; case 'START_LOGIN': return { ...state, ...{ status: 'logging in', diff --git a/app/redux/connection/reducers.js b/app/redux/connection/reducers.js index 7eb4c2aaf4..f21d8ca544 100644 --- a/app/redux/connection/reducers.js +++ b/app/redux/connection/reducers.js @@ -28,9 +28,6 @@ const initialState: ConnectionReduxState = { export default function(state: ConnectionReduxState = initialState, action: ReduxAction): ConnectionReduxState { switch (action.type) { - case 'CONNECTION_CHANGE': - return { ...state, ...action.newData }; - case 'NEW_LOCATION': return { ...state, ...action.newLocation }; diff --git a/app/routes.js b/app/routes.js index 1fc94b795b..f9917f17bf 100644 --- a/app/routes.js +++ b/app/routes.js @@ -1,6 +1,6 @@ // @flow -import React from 'react'; +import * as React from 'react'; import { Switch, Route, Redirect } from 'react-router'; import { CSSTransitionGroup } from 'react-transition-group'; import PlatformWindow from './components/PlatformWindow'; @@ -22,13 +22,13 @@ export type SharedRouteProps = { }; type CustomRouteProps = { - component: ReactClass<*> + component: React.ComponentType<*> }; export default function makeRoutes(getState: ReduxGetState, componentProps: SharedRouteProps): React.Element<*> { // Merge props and render component - const renderMergedProps = (ComponentClass: ReactClass<*>, ...rest: Array<Object>): React.Element<*> => { + const renderMergedProps = (ComponentClass: React.ComponentType<*>, ...rest: Array<Object>): React.Element<*> => { const finalProps = Object.assign({}, componentProps, ...rest); return ( <ComponentClass { ...finalProps } /> diff --git a/flow-typed/npm/babel-cli_vx.x.x.js b/flow-typed/npm/babel-cli_vx.x.x.js index 8b293ea6e4..04446d9806 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: 5a3c3e31b1e7cf4cf12402c919cb11f1 -// flow-typed version: <<STUB>>/babel-cli_v^6.22.2/flow_v0.50.0 +// flow-typed signature: dd0ce5df1d2a6e2cd3c7bf2aafab78a2 +// flow-typed version: <<STUB>>/babel-cli_v^6.22.2/flow_v0.65.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 73755e17a7..fc12b32db3 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: c4194d38cc4a42c90ff5de803ee1c218 -// flow-typed version: <<STUB>>/babel-core_v^6.25.0/flow_v0.50.0 +// flow-typed signature: fd0db84ee3150c993de316884280eb0c +// flow-typed version: <<STUB>>/babel-core_v^6.25.0/flow_v0.65.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 45b7d2b194..e424ca2ff6 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: a2b3010bde3ecfb23d36d6583fa12100 -// flow-typed version: <<STUB>>/babel-eslint_v^7.1.1/flow_v0.50.0 +// flow-typed signature: 383770dc36a1e17b84733051e79db13c +// flow-typed version: <<STUB>>/babel-eslint_v^8.2.1/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -22,59 +22,102 @@ declare module 'babel-eslint' { * require those files directly. Feel free to delete any files that aren't * needed. */ -declare module 'babel-eslint/babylon-to-espree/attachComments' { +declare module 'babel-eslint/lib/analyze-scope' { declare module.exports: any; } -declare module 'babel-eslint/babylon-to-espree/convertComments' { +declare module 'babel-eslint/lib/babylon-to-espree/attachComments' { declare module.exports: any; } -declare module 'babel-eslint/babylon-to-espree/convertTemplateType' { +declare module 'babel-eslint/lib/babylon-to-espree/convertComments' { declare module.exports: any; } -declare module 'babel-eslint/babylon-to-espree/index' { +declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType' { declare module.exports: any; } -declare module 'babel-eslint/babylon-to-espree/toAST' { +declare module 'babel-eslint/lib/babylon-to-espree/index' { declare module.exports: any; } -declare module 'babel-eslint/babylon-to-espree/toToken' { +declare module 'babel-eslint/lib/babylon-to-espree/toAST' { declare module.exports: any; } -declare module 'babel-eslint/babylon-to-espree/toTokens' { +declare module 'babel-eslint/lib/babylon-to-espree/toToken' { + declare module.exports: any; +} + +declare module 'babel-eslint/lib/babylon-to-espree/toTokens' { + declare module.exports: any; +} + +declare module 'babel-eslint/lib/index' { + declare module.exports: any; +} + +declare module 'babel-eslint/lib/parse-with-patch' { + declare module.exports: any; +} + +declare module 'babel-eslint/lib/parse-with-scope' { + declare module.exports: any; +} + +declare module 'babel-eslint/lib/parse' { + declare module.exports: any; +} + +declare module 'babel-eslint/lib/patch-eslint-scope' { + declare module.exports: any; +} + +declare module 'babel-eslint/lib/visitor-keys' { declare module.exports: any; } // Filename aliases -declare module 'babel-eslint/babylon-to-espree/attachComments.js' { - declare module.exports: $Exports<'babel-eslint/babylon-to-espree/attachComments'>; +declare module 'babel-eslint/lib/analyze-scope.js' { + declare module.exports: $Exports<'babel-eslint/lib/analyze-scope'>; +} +declare module 'babel-eslint/lib/babylon-to-espree/attachComments.js' { + declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/attachComments'>; +} +declare module 'babel-eslint/lib/babylon-to-espree/convertComments.js' { + declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/convertComments'>; +} +declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType.js' { + declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/convertTemplateType'>; +} +declare module 'babel-eslint/lib/babylon-to-espree/index.js' { + declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/index'>; +} +declare module 'babel-eslint/lib/babylon-to-espree/toAST.js' { + declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toAST'>; } -declare module 'babel-eslint/babylon-to-espree/convertComments.js' { - declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertComments'>; +declare module 'babel-eslint/lib/babylon-to-espree/toToken.js' { + declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toToken'>; } -declare module 'babel-eslint/babylon-to-espree/convertTemplateType.js' { - declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertTemplateType'>; +declare module 'babel-eslint/lib/babylon-to-espree/toTokens.js' { + declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toTokens'>; } -declare module 'babel-eslint/babylon-to-espree/index.js' { - declare module.exports: $Exports<'babel-eslint/babylon-to-espree/index'>; +declare module 'babel-eslint/lib/index.js' { + declare module.exports: $Exports<'babel-eslint/lib/index'>; } -declare module 'babel-eslint/babylon-to-espree/toAST.js' { - declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toAST'>; +declare module 'babel-eslint/lib/parse-with-patch.js' { + declare module.exports: $Exports<'babel-eslint/lib/parse-with-patch'>; } -declare module 'babel-eslint/babylon-to-espree/toToken.js' { - declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toToken'>; +declare module 'babel-eslint/lib/parse-with-scope.js' { + declare module.exports: $Exports<'babel-eslint/lib/parse-with-scope'>; } -declare module 'babel-eslint/babylon-to-espree/toTokens.js' { - declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toTokens'>; +declare module 'babel-eslint/lib/parse.js' { + declare module.exports: $Exports<'babel-eslint/lib/parse'>; } -declare module 'babel-eslint/index' { - declare module.exports: $Exports<'babel-eslint'>; +declare module 'babel-eslint/lib/patch-eslint-scope.js' { + declare module.exports: $Exports<'babel-eslint/lib/patch-eslint-scope'>; } -declare module 'babel-eslint/index.js' { - declare module.exports: $Exports<'babel-eslint'>; +declare module 'babel-eslint/lib/visitor-keys.js' { + declare module.exports: $Exports<'babel-eslint/lib/visitor-keys'>; } diff --git a/flow-typed/npm/babel-plugin-inline-react-svg_vx.x.x.js b/flow-typed/npm/babel-plugin-inline-react-svg_vx.x.x.js index 3a7fcf402e..0952747f20 100644 --- a/flow-typed/npm/babel-plugin-inline-react-svg_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-inline-react-svg_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 34e9261773aa45e43be1b9185b282863 -// flow-typed version: <<STUB>>/babel-plugin-inline-react-svg_v^0.4.0/flow_v0.50.0 +// flow-typed signature: ae50c22b5c78fa5e564e2c9ecb6eef96 +// flow-typed version: <<STUB>>/babel-plugin-inline-react-svg_v^0.5.2/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -34,6 +34,10 @@ declare module 'babel-plugin-inline-react-svg/lib/escapeBraces' { declare module.exports: any; } +declare module 'babel-plugin-inline-react-svg/lib/fileExistsWithCaseSync' { + declare module.exports: any; +} + declare module 'babel-plugin-inline-react-svg/lib/index' { declare module.exports: any; } @@ -46,6 +50,18 @@ declare module 'babel-plugin-inline-react-svg/lib/transformSvg' { declare module.exports: any; } +declare module 'babel-plugin-inline-react-svg/test/fixtures/test-case-sensitive' { + declare module.exports: any; +} + +declare module 'babel-plugin-inline-react-svg/test/fixtures/test-no-react' { + declare module.exports: any; +} + +declare module 'babel-plugin-inline-react-svg/test/fixtures/test-no-svg-or-react' { + declare module.exports: any; +} + declare module 'babel-plugin-inline-react-svg/test/fixtures/test' { declare module.exports: any; } @@ -64,6 +80,9 @@ declare module 'babel-plugin-inline-react-svg/lib/cssToObj.js' { declare module 'babel-plugin-inline-react-svg/lib/escapeBraces.js' { declare module.exports: $Exports<'babel-plugin-inline-react-svg/lib/escapeBraces'>; } +declare module 'babel-plugin-inline-react-svg/lib/fileExistsWithCaseSync.js' { + declare module.exports: $Exports<'babel-plugin-inline-react-svg/lib/fileExistsWithCaseSync'>; +} declare module 'babel-plugin-inline-react-svg/lib/index.js' { declare module.exports: $Exports<'babel-plugin-inline-react-svg/lib/index'>; } @@ -73,6 +92,15 @@ declare module 'babel-plugin-inline-react-svg/lib/optimize.js' { declare module 'babel-plugin-inline-react-svg/lib/transformSvg.js' { declare module.exports: $Exports<'babel-plugin-inline-react-svg/lib/transformSvg'>; } +declare module 'babel-plugin-inline-react-svg/test/fixtures/test-case-sensitive.jsx' { + declare module.exports: $Exports<'babel-plugin-inline-react-svg/test/fixtures/test-case-sensitive'>; +} +declare module 'babel-plugin-inline-react-svg/test/fixtures/test-no-react.jsx' { + declare module.exports: $Exports<'babel-plugin-inline-react-svg/test/fixtures/test-no-react'>; +} +declare module 'babel-plugin-inline-react-svg/test/fixtures/test-no-svg-or-react.js' { + declare module.exports: $Exports<'babel-plugin-inline-react-svg/test/fixtures/test-no-svg-or-react'>; +} declare module 'babel-plugin-inline-react-svg/test/fixtures/test.jsx' { declare module.exports: $Exports<'babel-plugin-inline-react-svg/test/fixtures/test'>; } diff --git a/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js b/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js index df2cf595f3..40e1595e92 100644 --- a/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 6a44e743369d07b25738773da9d94515 -// flow-typed version: <<STUB>>/babel-plugin-transform-runtime_v^6.22.0/flow_v0.50.0 +// flow-typed signature: e9ff035f6ae87deab0f541d833b6b99a +// flow-typed version: <<STUB>>/babel-plugin-transform-runtime_v^6.22.0/flow_v0.65.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 0c35b9367b..baeaf10481 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: db1133bd2af08c17bf00ecd6ac7b0d09 -// flow-typed version: <<STUB>>/babel-preset-es2015_v^6.1.18/flow_v0.50.0 +// flow-typed signature: 941ee8ebe5608ae6a30ec9fd8462c9dd +// flow-typed version: <<STUB>>/babel-preset-es2015_v^6.1.18/flow_v0.65.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 0ad5aa551c..d0193c623c 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: 40f363d49e0f665b28f2804927c04a67 -// flow-typed version: <<STUB>>/babel-preset-react_v^6.22.0/flow_v0.50.0 +// flow-typed signature: 48218a5da6e670c6cf85fb11d824ed99 +// flow-typed version: <<STUB>>/babel-preset-react_v^6.22.0/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-stage-0_vx.x.x.js b/flow-typed/npm/babel-preset-stage-0_vx.x.x.js index e3c896ce4c..5b775b3820 100644 --- a/flow-typed/npm/babel-preset-stage-0_vx.x.x.js +++ b/flow-typed/npm/babel-preset-stage-0_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1829832a403587738fbbed1f793ae20f -// flow-typed version: <<STUB>>/babel-preset-stage-0_v^6.1.18/flow_v0.50.0 +// flow-typed signature: d9a0d8bf3ef53a4937d38ac12e25dab2 +// flow-typed version: <<STUB>>/babel-preset-stage-0_v^6.1.18/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-runtime_vx.x.x.js b/flow-typed/npm/babel-runtime_vx.x.x.js index 913326cedc..cafc6afbee 100644 --- a/flow-typed/npm/babel-runtime_vx.x.x.js +++ b/flow-typed/npm/babel-runtime_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 20396dfdb17cc1436f8193e2fb90beab -// flow-typed version: <<STUB>>/babel-runtime_v^6.22.0/flow_v0.50.0 +// flow-typed signature: 48615484c1559ce54c51870adb8063e4 +// flow-typed version: <<STUB>>/babel-runtime_v^6.22.0/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/browser-sync_vx.x.x.js b/flow-typed/npm/browser-sync_vx.x.x.js index 1cac1bcced..63086be4a5 100644 --- a/flow-typed/npm/browser-sync_vx.x.x.js +++ b/flow-typed/npm/browser-sync_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 8b66dfa8ab2abe5e7a6c763dc6debd27 -// flow-typed version: <<STUB>>/browser-sync_v^2.9.3/flow_v0.50.0 +// flow-typed signature: 5125eeaa9794610664fc6700590cfd23 +// flow-typed version: <<STUB>>/browser-sync_v^2.23.6/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -22,318 +22,431 @@ declare module 'browser-sync' { * require those files directly. Feel free to delete any files that aren't * needed. */ -declare module 'browser-sync/bin/browser-sync' { +declare module 'browser-sync/changelog' { declare module.exports: any; } -declare module 'browser-sync/lib/args' { +declare module 'browser-sync/client/dist/index' { declare module.exports: any; } -declare module 'browser-sync/lib/async-tasks' { +declare module 'browser-sync/client/dist/index.min' { declare module.exports: any; } -declare module 'browser-sync/lib/async' { +declare module 'browser-sync/dist/args' { declare module.exports: any; } -declare module 'browser-sync/lib/browser-sync' { +declare module 'browser-sync/dist/async-tasks' { declare module.exports: any; } -declare module 'browser-sync/lib/cli/cli-info' { +declare module 'browser-sync/dist/async' { declare module.exports: any; } -declare module 'browser-sync/lib/cli/cli-options' { +declare module 'browser-sync/dist/bin' { declare module.exports: any; } -declare module 'browser-sync/lib/cli/cli-template' { +declare module 'browser-sync/dist/browser-sync' { declare module.exports: any; } -declare module 'browser-sync/lib/cli/command.init' { +declare module 'browser-sync/dist/cli/cli-info' { declare module.exports: any; } -declare module 'browser-sync/lib/cli/command.recipe' { +declare module 'browser-sync/dist/cli/cli-options' { declare module.exports: any; } -declare module 'browser-sync/lib/cli/command.reload' { +declare module 'browser-sync/dist/cli/command.init' { declare module.exports: any; } -declare module 'browser-sync/lib/cli/command.start' { +declare module 'browser-sync/dist/cli/command.recipe' { declare module.exports: any; } -declare module 'browser-sync/lib/config' { +declare module 'browser-sync/dist/cli/command.reload' { declare module.exports: any; } -declare module 'browser-sync/lib/connect-utils' { +declare module 'browser-sync/dist/cli/command.start' { declare module.exports: any; } -declare module 'browser-sync/lib/default-config' { +declare module 'browser-sync/dist/cli/transforms/addCwdToWatchOptions' { declare module.exports: any; } -declare module 'browser-sync/lib/file-event-handler' { +declare module 'browser-sync/dist/cli/transforms/addDefaultIgnorePatterns' { declare module.exports: any; } -declare module 'browser-sync/lib/file-utils' { +declare module 'browser-sync/dist/cli/transforms/addToFilesOption' { declare module.exports: any; } -declare module 'browser-sync/lib/file-watcher' { +declare module 'browser-sync/dist/cli/transforms/appendServerDirectoryOption' { declare module.exports: any; } -declare module 'browser-sync/lib/hooks' { +declare module 'browser-sync/dist/cli/transforms/appendServerIndexOption' { declare module.exports: any; } -declare module 'browser-sync/lib/http-protocol' { +declare module 'browser-sync/dist/cli/transforms/copyCLIIgnoreToWatchOptions' { declare module.exports: any; } -declare module 'browser-sync/lib/internal-events' { +declare module 'browser-sync/dist/cli/transforms/handleExtensionsOption' { declare module.exports: any; } -declare module 'browser-sync/lib/logger' { +declare module 'browser-sync/dist/cli/transforms/handleFilesOption' { declare module.exports: any; } -declare module 'browser-sync/lib/options' { +declare module 'browser-sync/dist/cli/transforms/handleGhostModeOption' { declare module.exports: any; } -declare module 'browser-sync/lib/plugins' { +declare module 'browser-sync/dist/cli/transforms/handlePortsOption' { declare module.exports: any; } -declare module 'browser-sync/lib/public/exit' { +declare module 'browser-sync/dist/cli/transforms/handleProxyOption' { declare module.exports: any; } -declare module 'browser-sync/lib/public/init' { +declare module 'browser-sync/dist/cli/transforms/handleServerOption' { declare module.exports: any; } -declare module 'browser-sync/lib/public/notify' { +declare module 'browser-sync/dist/client' { declare module.exports: any; } -declare module 'browser-sync/lib/public/pause' { +declare module 'browser-sync/dist/config' { declare module.exports: any; } -declare module 'browser-sync/lib/public/public-utils' { +declare module 'browser-sync/dist/connect-utils' { declare module.exports: any; } -declare module 'browser-sync/lib/public/reload' { +declare module 'browser-sync/dist/default-config' { declare module.exports: any; } -declare module 'browser-sync/lib/public/resume' { +declare module 'browser-sync/dist/file-event-handler' { declare module.exports: any; } -declare module 'browser-sync/lib/public/socket.io.min.1.6.0' { +declare module 'browser-sync/dist/file-utils' { declare module.exports: any; } -declare module 'browser-sync/lib/public/stream' { +declare module 'browser-sync/dist/file-watcher' { declare module.exports: any; } -declare module 'browser-sync/lib/server/index' { +declare module 'browser-sync/dist/hooks' { declare module.exports: any; } -declare module 'browser-sync/lib/server/proxy-server' { +declare module 'browser-sync/dist/http-protocol' { declare module.exports: any; } -declare module 'browser-sync/lib/server/proxy-utils' { +declare module 'browser-sync/dist/index' { declare module.exports: any; } -declare module 'browser-sync/lib/server/snippet-server' { +declare module 'browser-sync/dist/internal-events' { declare module.exports: any; } -declare module 'browser-sync/lib/server/static-server' { +declare module 'browser-sync/dist/lodash.custom' { declare module.exports: any; } -declare module 'browser-sync/lib/server/utils' { +declare module 'browser-sync/dist/logger' { declare module.exports: any; } -declare module 'browser-sync/lib/snippet' { +declare module 'browser-sync/dist/options' { declare module.exports: any; } -declare module 'browser-sync/lib/sockets' { +declare module 'browser-sync/dist/plugins' { declare module.exports: any; } -declare module 'browser-sync/lib/tunnel' { +declare module 'browser-sync/dist/public/exit' { declare module.exports: any; } -declare module 'browser-sync/lib/utils' { +declare module 'browser-sync/dist/public/init' { declare module.exports: any; } -declare module 'browser-sync/lodash.custom' { +declare module 'browser-sync/dist/public/notify' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/public/pause' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/public/public-utils' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/public/reload' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/public/resume' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/public/stream' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/server/index' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/server/proxy-server' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/server/proxy-utils' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/server/snippet-server' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/server/static-server' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/server/utils' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/snippet' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/sockets' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/tunnel' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/types' { + declare module.exports: any; +} + +declare module 'browser-sync/dist/utils' { + declare module.exports: any; +} + +declare module 'browser-sync/templates/cli-template' { declare module.exports: any; } // Filename aliases -declare module 'browser-sync/bin/browser-sync.js' { - declare module.exports: $Exports<'browser-sync/bin/browser-sync'>; +declare module 'browser-sync/changelog.js' { + declare module.exports: $Exports<'browser-sync/changelog'>; +} +declare module 'browser-sync/client/dist/index.js' { + declare module.exports: $Exports<'browser-sync/client/dist/index'>; +} +declare module 'browser-sync/client/dist/index.min.js' { + declare module.exports: $Exports<'browser-sync/client/dist/index.min'>; +} +declare module 'browser-sync/dist/args.js' { + declare module.exports: $Exports<'browser-sync/dist/args'>; +} +declare module 'browser-sync/dist/async-tasks.js' { + declare module.exports: $Exports<'browser-sync/dist/async-tasks'>; +} +declare module 'browser-sync/dist/async.js' { + declare module.exports: $Exports<'browser-sync/dist/async'>; +} +declare module 'browser-sync/dist/bin.js' { + declare module.exports: $Exports<'browser-sync/dist/bin'>; +} +declare module 'browser-sync/dist/browser-sync.js' { + declare module.exports: $Exports<'browser-sync/dist/browser-sync'>; +} +declare module 'browser-sync/dist/cli/cli-info.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/cli-info'>; +} +declare module 'browser-sync/dist/cli/cli-options.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/cli-options'>; +} +declare module 'browser-sync/dist/cli/command.init.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/command.init'>; +} +declare module 'browser-sync/dist/cli/command.recipe.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/command.recipe'>; +} +declare module 'browser-sync/dist/cli/command.reload.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/command.reload'>; +} +declare module 'browser-sync/dist/cli/command.start.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/command.start'>; +} +declare module 'browser-sync/dist/cli/transforms/addCwdToWatchOptions.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/addCwdToWatchOptions'>; +} +declare module 'browser-sync/dist/cli/transforms/addDefaultIgnorePatterns.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/addDefaultIgnorePatterns'>; } -declare module 'browser-sync/index' { - declare module.exports: $Exports<'browser-sync'>; +declare module 'browser-sync/dist/cli/transforms/addToFilesOption.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/addToFilesOption'>; } -declare module 'browser-sync/index.js' { - declare module.exports: $Exports<'browser-sync'>; +declare module 'browser-sync/dist/cli/transforms/appendServerDirectoryOption.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/appendServerDirectoryOption'>; } -declare module 'browser-sync/lib/args.js' { - declare module.exports: $Exports<'browser-sync/lib/args'>; +declare module 'browser-sync/dist/cli/transforms/appendServerIndexOption.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/appendServerIndexOption'>; } -declare module 'browser-sync/lib/async-tasks.js' { - declare module.exports: $Exports<'browser-sync/lib/async-tasks'>; +declare module 'browser-sync/dist/cli/transforms/copyCLIIgnoreToWatchOptions.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/copyCLIIgnoreToWatchOptions'>; } -declare module 'browser-sync/lib/async.js' { - declare module.exports: $Exports<'browser-sync/lib/async'>; +declare module 'browser-sync/dist/cli/transforms/handleExtensionsOption.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/handleExtensionsOption'>; } -declare module 'browser-sync/lib/browser-sync.js' { - declare module.exports: $Exports<'browser-sync/lib/browser-sync'>; +declare module 'browser-sync/dist/cli/transforms/handleFilesOption.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/handleFilesOption'>; } -declare module 'browser-sync/lib/cli/cli-info.js' { - declare module.exports: $Exports<'browser-sync/lib/cli/cli-info'>; +declare module 'browser-sync/dist/cli/transforms/handleGhostModeOption.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/handleGhostModeOption'>; } -declare module 'browser-sync/lib/cli/cli-options.js' { - declare module.exports: $Exports<'browser-sync/lib/cli/cli-options'>; +declare module 'browser-sync/dist/cli/transforms/handlePortsOption.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/handlePortsOption'>; } -declare module 'browser-sync/lib/cli/cli-template.js' { - declare module.exports: $Exports<'browser-sync/lib/cli/cli-template'>; +declare module 'browser-sync/dist/cli/transforms/handleProxyOption.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/handleProxyOption'>; } -declare module 'browser-sync/lib/cli/command.init.js' { - declare module.exports: $Exports<'browser-sync/lib/cli/command.init'>; +declare module 'browser-sync/dist/cli/transforms/handleServerOption.js' { + declare module.exports: $Exports<'browser-sync/dist/cli/transforms/handleServerOption'>; } -declare module 'browser-sync/lib/cli/command.recipe.js' { - declare module.exports: $Exports<'browser-sync/lib/cli/command.recipe'>; +declare module 'browser-sync/dist/client.js' { + declare module.exports: $Exports<'browser-sync/dist/client'>; } -declare module 'browser-sync/lib/cli/command.reload.js' { - declare module.exports: $Exports<'browser-sync/lib/cli/command.reload'>; +declare module 'browser-sync/dist/config.js' { + declare module.exports: $Exports<'browser-sync/dist/config'>; } -declare module 'browser-sync/lib/cli/command.start.js' { - declare module.exports: $Exports<'browser-sync/lib/cli/command.start'>; +declare module 'browser-sync/dist/connect-utils.js' { + declare module.exports: $Exports<'browser-sync/dist/connect-utils'>; } -declare module 'browser-sync/lib/config.js' { - declare module.exports: $Exports<'browser-sync/lib/config'>; +declare module 'browser-sync/dist/default-config.js' { + declare module.exports: $Exports<'browser-sync/dist/default-config'>; } -declare module 'browser-sync/lib/connect-utils.js' { - declare module.exports: $Exports<'browser-sync/lib/connect-utils'>; +declare module 'browser-sync/dist/file-event-handler.js' { + declare module.exports: $Exports<'browser-sync/dist/file-event-handler'>; } -declare module 'browser-sync/lib/default-config.js' { - declare module.exports: $Exports<'browser-sync/lib/default-config'>; +declare module 'browser-sync/dist/file-utils.js' { + declare module.exports: $Exports<'browser-sync/dist/file-utils'>; } -declare module 'browser-sync/lib/file-event-handler.js' { - declare module.exports: $Exports<'browser-sync/lib/file-event-handler'>; +declare module 'browser-sync/dist/file-watcher.js' { + declare module.exports: $Exports<'browser-sync/dist/file-watcher'>; } -declare module 'browser-sync/lib/file-utils.js' { - declare module.exports: $Exports<'browser-sync/lib/file-utils'>; +declare module 'browser-sync/dist/hooks.js' { + declare module.exports: $Exports<'browser-sync/dist/hooks'>; } -declare module 'browser-sync/lib/file-watcher.js' { - declare module.exports: $Exports<'browser-sync/lib/file-watcher'>; +declare module 'browser-sync/dist/http-protocol.js' { + declare module.exports: $Exports<'browser-sync/dist/http-protocol'>; } -declare module 'browser-sync/lib/hooks.js' { - declare module.exports: $Exports<'browser-sync/lib/hooks'>; +declare module 'browser-sync/dist/index.js' { + declare module.exports: $Exports<'browser-sync/dist/index'>; } -declare module 'browser-sync/lib/http-protocol.js' { - declare module.exports: $Exports<'browser-sync/lib/http-protocol'>; +declare module 'browser-sync/dist/internal-events.js' { + declare module.exports: $Exports<'browser-sync/dist/internal-events'>; } -declare module 'browser-sync/lib/internal-events.js' { - declare module.exports: $Exports<'browser-sync/lib/internal-events'>; +declare module 'browser-sync/dist/lodash.custom.js' { + declare module.exports: $Exports<'browser-sync/dist/lodash.custom'>; } -declare module 'browser-sync/lib/logger.js' { - declare module.exports: $Exports<'browser-sync/lib/logger'>; +declare module 'browser-sync/dist/logger.js' { + declare module.exports: $Exports<'browser-sync/dist/logger'>; } -declare module 'browser-sync/lib/options.js' { - declare module.exports: $Exports<'browser-sync/lib/options'>; +declare module 'browser-sync/dist/options.js' { + declare module.exports: $Exports<'browser-sync/dist/options'>; } -declare module 'browser-sync/lib/plugins.js' { - declare module.exports: $Exports<'browser-sync/lib/plugins'>; +declare module 'browser-sync/dist/plugins.js' { + declare module.exports: $Exports<'browser-sync/dist/plugins'>; } -declare module 'browser-sync/lib/public/exit.js' { - declare module.exports: $Exports<'browser-sync/lib/public/exit'>; +declare module 'browser-sync/dist/public/exit.js' { + declare module.exports: $Exports<'browser-sync/dist/public/exit'>; } -declare module 'browser-sync/lib/public/init.js' { - declare module.exports: $Exports<'browser-sync/lib/public/init'>; +declare module 'browser-sync/dist/public/init.js' { + declare module.exports: $Exports<'browser-sync/dist/public/init'>; } -declare module 'browser-sync/lib/public/notify.js' { - declare module.exports: $Exports<'browser-sync/lib/public/notify'>; +declare module 'browser-sync/dist/public/notify.js' { + declare module.exports: $Exports<'browser-sync/dist/public/notify'>; } -declare module 'browser-sync/lib/public/pause.js' { - declare module.exports: $Exports<'browser-sync/lib/public/pause'>; +declare module 'browser-sync/dist/public/pause.js' { + declare module.exports: $Exports<'browser-sync/dist/public/pause'>; } -declare module 'browser-sync/lib/public/public-utils.js' { - declare module.exports: $Exports<'browser-sync/lib/public/public-utils'>; +declare module 'browser-sync/dist/public/public-utils.js' { + declare module.exports: $Exports<'browser-sync/dist/public/public-utils'>; } -declare module 'browser-sync/lib/public/reload.js' { - declare module.exports: $Exports<'browser-sync/lib/public/reload'>; +declare module 'browser-sync/dist/public/reload.js' { + declare module.exports: $Exports<'browser-sync/dist/public/reload'>; } -declare module 'browser-sync/lib/public/resume.js' { - declare module.exports: $Exports<'browser-sync/lib/public/resume'>; +declare module 'browser-sync/dist/public/resume.js' { + declare module.exports: $Exports<'browser-sync/dist/public/resume'>; } -declare module 'browser-sync/lib/public/socket.io.min.1.6.0.js' { - declare module.exports: $Exports<'browser-sync/lib/public/socket.io.min.1.6.0'>; +declare module 'browser-sync/dist/public/stream.js' { + declare module.exports: $Exports<'browser-sync/dist/public/stream'>; } -declare module 'browser-sync/lib/public/stream.js' { - declare module.exports: $Exports<'browser-sync/lib/public/stream'>; +declare module 'browser-sync/dist/server/index.js' { + declare module.exports: $Exports<'browser-sync/dist/server/index'>; } -declare module 'browser-sync/lib/server/index.js' { - declare module.exports: $Exports<'browser-sync/lib/server/index'>; +declare module 'browser-sync/dist/server/proxy-server.js' { + declare module.exports: $Exports<'browser-sync/dist/server/proxy-server'>; } -declare module 'browser-sync/lib/server/proxy-server.js' { - declare module.exports: $Exports<'browser-sync/lib/server/proxy-server'>; +declare module 'browser-sync/dist/server/proxy-utils.js' { + declare module.exports: $Exports<'browser-sync/dist/server/proxy-utils'>; } -declare module 'browser-sync/lib/server/proxy-utils.js' { - declare module.exports: $Exports<'browser-sync/lib/server/proxy-utils'>; +declare module 'browser-sync/dist/server/snippet-server.js' { + declare module.exports: $Exports<'browser-sync/dist/server/snippet-server'>; } -declare module 'browser-sync/lib/server/snippet-server.js' { - declare module.exports: $Exports<'browser-sync/lib/server/snippet-server'>; +declare module 'browser-sync/dist/server/static-server.js' { + declare module.exports: $Exports<'browser-sync/dist/server/static-server'>; } -declare module 'browser-sync/lib/server/static-server.js' { - declare module.exports: $Exports<'browser-sync/lib/server/static-server'>; +declare module 'browser-sync/dist/server/utils.js' { + declare module.exports: $Exports<'browser-sync/dist/server/utils'>; } -declare module 'browser-sync/lib/server/utils.js' { - declare module.exports: $Exports<'browser-sync/lib/server/utils'>; +declare module 'browser-sync/dist/snippet.js' { + declare module.exports: $Exports<'browser-sync/dist/snippet'>; } -declare module 'browser-sync/lib/snippet.js' { - declare module.exports: $Exports<'browser-sync/lib/snippet'>; +declare module 'browser-sync/dist/sockets.js' { + declare module.exports: $Exports<'browser-sync/dist/sockets'>; } -declare module 'browser-sync/lib/sockets.js' { - declare module.exports: $Exports<'browser-sync/lib/sockets'>; +declare module 'browser-sync/dist/tunnel.js' { + declare module.exports: $Exports<'browser-sync/dist/tunnel'>; } -declare module 'browser-sync/lib/tunnel.js' { - declare module.exports: $Exports<'browser-sync/lib/tunnel'>; +declare module 'browser-sync/dist/types.js' { + declare module.exports: $Exports<'browser-sync/dist/types'>; } -declare module 'browser-sync/lib/utils.js' { - declare module.exports: $Exports<'browser-sync/lib/utils'>; +declare module 'browser-sync/dist/utils.js' { + declare module.exports: $Exports<'browser-sync/dist/utils'>; } -declare module 'browser-sync/lodash.custom.js' { - declare module.exports: $Exports<'browser-sync/lodash.custom'>; +declare module 'browser-sync/templates/cli-template.js' { + declare module.exports: $Exports<'browser-sync/templates/cli-template'>; } diff --git a/flow-typed/npm/chai_v4.x.x.js b/flow-typed/npm/chai_v4.x.x.js index 3bd7e21bf2..1670ac1251 100644 --- a/flow-typed/npm/chai_v4.x.x.js +++ b/flow-typed/npm/chai_v4.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 88d2313c965c71ea202a84ce638ce5b1 -// flow-typed version: cfc9aef80e/chai_v4.x.x/flow_>=v0.15.0 +// flow-typed signature: 308b923163d321c5d8ef18be2a25e903 +// flow-typed version: 37b0393aaf/chai_v4.x.x/flow_>=v0.25.0 declare module "chai" { declare type ExpectChain<T> = { @@ -36,8 +36,12 @@ declare module "chai" { equals: (value: T) => ExpectChain<T>, above: (value: T & number) => ExpectChain<T>, + gt: (value: T & number) => ExpectChain<T>, + greaterThan: (value: T & number) => ExpectChain<T>, least: (value: T & number) => ExpectChain<T>, below: (value: T & number) => ExpectChain<T>, + lessThan: (value: T & number) => ExpectChain<T>, + lt: (value: T & number) => ExpectChain<T>, most: (value: T & number) => ExpectChain<T>, within: (start: T & number, finish: T & number) => ExpectChain<T>, @@ -272,7 +276,7 @@ declare module "chai" { delta: number, msg?: string ): void; - + // chai-immutable static sizeOf(val: mixed, length: number): void; } diff --git a/flow-typed/npm/chai_vx.x.x.js b/flow-typed/npm/chai_vx.x.x.js deleted file mode 100644 index 0c1c090f17..0000000000 --- a/flow-typed/npm/chai_vx.x.x.js +++ /dev/null @@ -1,255 +0,0 @@ -// flow-typed signature: bafe8dde0fe02d1e7067b10d4e4ae513 -// flow-typed version: <<STUB>>/chai_v^3.4.1/flow_v0.46.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'chai' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'chai' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'chai/chai' { - declare module.exports: any; -} - -declare module 'chai/karma.conf' { - declare module.exports: any; -} - -declare module 'chai/karma.sauce' { - declare module.exports: any; -} - -declare module 'chai/lib/chai' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/assertion' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/config' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/core/assertions' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/interface/assert' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/interface/expect' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/interface/should' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/addChainableMethod' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/addMethod' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/addProperty' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/expectTypes' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/flag' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/getActual' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/getEnumerableProperties' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/getMessage' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/getName' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/getPathInfo' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/getPathValue' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/getProperties' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/hasProperty' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/index' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/inspect' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/objDisplay' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/overwriteChainableMethod' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/overwriteMethod' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/overwriteProperty' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/test' { - declare module.exports: any; -} - -declare module 'chai/lib/chai/utils/transferFlags' { - declare module.exports: any; -} - -declare module 'chai/sauce.browsers' { - declare module.exports: any; -} - -// Filename aliases -declare module 'chai/chai.js' { - declare module.exports: $Exports<'chai/chai'>; -} -declare module 'chai/index' { - declare module.exports: $Exports<'chai'>; -} -declare module 'chai/index.js' { - declare module.exports: $Exports<'chai'>; -} -declare module 'chai/karma.conf.js' { - declare module.exports: $Exports<'chai/karma.conf'>; -} -declare module 'chai/karma.sauce.js' { - declare module.exports: $Exports<'chai/karma.sauce'>; -} -declare module 'chai/lib/chai.js' { - declare module.exports: $Exports<'chai/lib/chai'>; -} -declare module 'chai/lib/chai/assertion.js' { - declare module.exports: $Exports<'chai/lib/chai/assertion'>; -} -declare module 'chai/lib/chai/config.js' { - declare module.exports: $Exports<'chai/lib/chai/config'>; -} -declare module 'chai/lib/chai/core/assertions.js' { - declare module.exports: $Exports<'chai/lib/chai/core/assertions'>; -} -declare module 'chai/lib/chai/interface/assert.js' { - declare module.exports: $Exports<'chai/lib/chai/interface/assert'>; -} -declare module 'chai/lib/chai/interface/expect.js' { - declare module.exports: $Exports<'chai/lib/chai/interface/expect'>; -} -declare module 'chai/lib/chai/interface/should.js' { - declare module.exports: $Exports<'chai/lib/chai/interface/should'>; -} -declare module 'chai/lib/chai/utils/addChainableMethod.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/addChainableMethod'>; -} -declare module 'chai/lib/chai/utils/addMethod.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/addMethod'>; -} -declare module 'chai/lib/chai/utils/addProperty.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/addProperty'>; -} -declare module 'chai/lib/chai/utils/expectTypes.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/expectTypes'>; -} -declare module 'chai/lib/chai/utils/flag.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/flag'>; -} -declare module 'chai/lib/chai/utils/getActual.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/getActual'>; -} -declare module 'chai/lib/chai/utils/getEnumerableProperties.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/getEnumerableProperties'>; -} -declare module 'chai/lib/chai/utils/getMessage.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/getMessage'>; -} -declare module 'chai/lib/chai/utils/getName.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/getName'>; -} -declare module 'chai/lib/chai/utils/getPathInfo.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/getPathInfo'>; -} -declare module 'chai/lib/chai/utils/getPathValue.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/getPathValue'>; -} -declare module 'chai/lib/chai/utils/getProperties.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/getProperties'>; -} -declare module 'chai/lib/chai/utils/hasProperty.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/hasProperty'>; -} -declare module 'chai/lib/chai/utils/index.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/index'>; -} -declare module 'chai/lib/chai/utils/inspect.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/inspect'>; -} -declare module 'chai/lib/chai/utils/objDisplay.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/objDisplay'>; -} -declare module 'chai/lib/chai/utils/overwriteChainableMethod.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/overwriteChainableMethod'>; -} -declare module 'chai/lib/chai/utils/overwriteMethod.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/overwriteMethod'>; -} -declare module 'chai/lib/chai/utils/overwriteProperty.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/overwriteProperty'>; -} -declare module 'chai/lib/chai/utils/test.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/test'>; -} -declare module 'chai/lib/chai/utils/transferFlags.js' { - declare module.exports: $Exports<'chai/lib/chai/utils/transferFlags'>; -} -declare module 'chai/sauce.browsers.js' { - declare module.exports: $Exports<'chai/sauce.browsers'>; -} diff --git a/flow-typed/npm/cross-env_vx.x.x.js b/flow-typed/npm/cross-env_vx.x.x.js new file mode 100644 index 0000000000..7b9fbae06a --- /dev/null +++ b/flow-typed/npm/cross-env_vx.x.x.js @@ -0,0 +1,60 @@ +// flow-typed signature: 5cb71c1f062843f7939a61185f30edf3 +// flow-typed version: <<STUB>>/cross-env_v^5.1.3/flow_v0.65.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'cross-env' + * + * Fill this stub out by replacing all the `any` types. + * + * Once filled out, we encourage you to share your work with the + * community by sending a pull request to: + * https://github.com/flowtype/flow-typed + */ + +declare module 'cross-env' { + declare module.exports: any; +} + +/** + * We include stubs for each file inside this npm package in case you need to + * require those files directly. Feel free to delete any files that aren't + * needed. + */ +declare module 'cross-env/dist/bin/cross-env-shell' { + declare module.exports: any; +} + +declare module 'cross-env/dist/bin/cross-env' { + declare module.exports: any; +} + +declare module 'cross-env/dist/command' { + declare module.exports: any; +} + +declare module 'cross-env/dist/index' { + declare module.exports: any; +} + +declare module 'cross-env/dist/variable' { + declare module.exports: any; +} + +// Filename aliases +declare module 'cross-env/dist/bin/cross-env-shell.js' { + declare module.exports: $Exports<'cross-env/dist/bin/cross-env-shell'>; +} +declare module 'cross-env/dist/bin/cross-env.js' { + declare module.exports: $Exports<'cross-env/dist/bin/cross-env'>; +} +declare module 'cross-env/dist/command.js' { + declare module.exports: $Exports<'cross-env/dist/command'>; +} +declare module 'cross-env/dist/index.js' { + declare module.exports: $Exports<'cross-env/dist/index'>; +} +declare module 'cross-env/dist/variable.js' { + declare module.exports: $Exports<'cross-env/dist/variable'>; +} diff --git a/flow-typed/npm/d3-geo-projection_vx.x.x.js b/flow-typed/npm/d3-geo-projection_vx.x.x.js new file mode 100644 index 0000000000..b78690b7f2 --- /dev/null +++ b/flow-typed/npm/d3-geo-projection_vx.x.x.js @@ -0,0 +1,780 @@ +// flow-typed signature: 6b3e784f484f5c77b8b3397eafa767f0 +// flow-typed version: <<STUB>>/d3-geo-projection_v^2.3.2/flow_v0.65.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'd3-geo-projection' + * + * Fill this stub out by replacing all the `any` types. + * + * Once filled out, we encourage you to share your work with the + * community by sending a pull request to: + * https://github.com/flowtype/flow-typed + */ + +declare module 'd3-geo-projection' { + declare module.exports: any; +} + +/** + * We include stubs for each file inside this npm package in case you need to + * require those files directly. Feel free to delete any files that aren't + * needed. + */ +declare module 'd3-geo-projection/bin/read' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/bin/write' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/build/d3-geo-projection' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/build/d3-geo-projection.min' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/rollup.config' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/airy' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/aitoff' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/armadillo' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/august' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/baker' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/berghaus' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/bertin' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/boggs' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/bonne' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/bottomley' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/bromley' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/chamberlin' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/collignon' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/craig' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/craster' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/cylindricalEqualArea' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/cylindricalStereographic' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/eckert1' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/eckert2' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/eckert3' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/eckert4' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/eckert5' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/eckert6' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/eisenlohr' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/elliptic' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/fahey' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/foucaut' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/gilbert' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/gingery' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/ginzburg4' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/ginzburg5' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/ginzburg6' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/ginzburg8' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/ginzburg9' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/ginzburgPolyconic' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/gringorten' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/guyou' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/hammer' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/hammerRetroazimuthal' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/healpix' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/hill' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/homolosine' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/interrupted/boggs' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/interrupted/homolosine' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/interrupted/index' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/interrupted/mollweide' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/interrupted/mollweideHemispheres' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/interrupted/sinuMollweide' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/interrupted/sinusoidal' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/kavrayskiy7' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/lagrange' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/larrivee' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/laskowski' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/littrow' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/loximuthal' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/math' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/miller' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/modifiedStereographic' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/mollweide' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/mtFlatPolarParabolic' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/mtFlatPolarQuartic' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/mtFlatPolarSinusoidal' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/naturalEarth2' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/nellHammer' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/noop' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/parallel1' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/patterson' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/polyconic' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/polyhedral/butterfly' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/polyhedral/collignon' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/polyhedral/cube' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/polyhedral/index' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/polyhedral/matrix' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/polyhedral/octahedron' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/polyhedral/waterman' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/project/clockwise' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/project/contains' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/project/index' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/quantize' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/quincuncial/gringorten' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/quincuncial/index' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/quincuncial/peirce' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/rectangularPolyconic' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/robinson' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/satellite' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/sinuMollweide' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/sinusoidal' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/square' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/stitch' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/times' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/twoPoint' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/twoPointAzimuthal' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/twoPointEquidistant' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/vanDerGrinten' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/vanDerGrinten2' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/vanDerGrinten3' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/vanDerGrinten4' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/wagner4' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/wagner6' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/wagner7' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/wiechel' { + declare module.exports: any; +} + +declare module 'd3-geo-projection/src/winkel3' { + declare module.exports: any; +} + +// Filename aliases +declare module 'd3-geo-projection/bin/read.js' { + declare module.exports: $Exports<'d3-geo-projection/bin/read'>; +} +declare module 'd3-geo-projection/bin/write.js' { + declare module.exports: $Exports<'d3-geo-projection/bin/write'>; +} +declare module 'd3-geo-projection/build/d3-geo-projection.js' { + declare module.exports: $Exports<'d3-geo-projection/build/d3-geo-projection'>; +} +declare module 'd3-geo-projection/build/d3-geo-projection.min.js' { + declare module.exports: $Exports<'d3-geo-projection/build/d3-geo-projection.min'>; +} +declare module 'd3-geo-projection/index' { + declare module.exports: $Exports<'d3-geo-projection'>; +} +declare module 'd3-geo-projection/index.js' { + declare module.exports: $Exports<'d3-geo-projection'>; +} +declare module 'd3-geo-projection/rollup.config.js' { + declare module.exports: $Exports<'d3-geo-projection/rollup.config'>; +} +declare module 'd3-geo-projection/src/airy.js' { + declare module.exports: $Exports<'d3-geo-projection/src/airy'>; +} +declare module 'd3-geo-projection/src/aitoff.js' { + declare module.exports: $Exports<'d3-geo-projection/src/aitoff'>; +} +declare module 'd3-geo-projection/src/armadillo.js' { + declare module.exports: $Exports<'d3-geo-projection/src/armadillo'>; +} +declare module 'd3-geo-projection/src/august.js' { + declare module.exports: $Exports<'d3-geo-projection/src/august'>; +} +declare module 'd3-geo-projection/src/baker.js' { + declare module.exports: $Exports<'d3-geo-projection/src/baker'>; +} +declare module 'd3-geo-projection/src/berghaus.js' { + declare module.exports: $Exports<'d3-geo-projection/src/berghaus'>; +} +declare module 'd3-geo-projection/src/bertin.js' { + declare module.exports: $Exports<'d3-geo-projection/src/bertin'>; +} +declare module 'd3-geo-projection/src/boggs.js' { + declare module.exports: $Exports<'d3-geo-projection/src/boggs'>; +} +declare module 'd3-geo-projection/src/bonne.js' { + declare module.exports: $Exports<'d3-geo-projection/src/bonne'>; +} +declare module 'd3-geo-projection/src/bottomley.js' { + declare module.exports: $Exports<'d3-geo-projection/src/bottomley'>; +} +declare module 'd3-geo-projection/src/bromley.js' { + declare module.exports: $Exports<'d3-geo-projection/src/bromley'>; +} +declare module 'd3-geo-projection/src/chamberlin.js' { + declare module.exports: $Exports<'d3-geo-projection/src/chamberlin'>; +} +declare module 'd3-geo-projection/src/collignon.js' { + declare module.exports: $Exports<'d3-geo-projection/src/collignon'>; +} +declare module 'd3-geo-projection/src/craig.js' { + declare module.exports: $Exports<'d3-geo-projection/src/craig'>; +} +declare module 'd3-geo-projection/src/craster.js' { + declare module.exports: $Exports<'d3-geo-projection/src/craster'>; +} +declare module 'd3-geo-projection/src/cylindricalEqualArea.js' { + declare module.exports: $Exports<'d3-geo-projection/src/cylindricalEqualArea'>; +} +declare module 'd3-geo-projection/src/cylindricalStereographic.js' { + declare module.exports: $Exports<'d3-geo-projection/src/cylindricalStereographic'>; +} +declare module 'd3-geo-projection/src/eckert1.js' { + declare module.exports: $Exports<'d3-geo-projection/src/eckert1'>; +} +declare module 'd3-geo-projection/src/eckert2.js' { + declare module.exports: $Exports<'d3-geo-projection/src/eckert2'>; +} +declare module 'd3-geo-projection/src/eckert3.js' { + declare module.exports: $Exports<'d3-geo-projection/src/eckert3'>; +} +declare module 'd3-geo-projection/src/eckert4.js' { + declare module.exports: $Exports<'d3-geo-projection/src/eckert4'>; +} +declare module 'd3-geo-projection/src/eckert5.js' { + declare module.exports: $Exports<'d3-geo-projection/src/eckert5'>; +} +declare module 'd3-geo-projection/src/eckert6.js' { + declare module.exports: $Exports<'d3-geo-projection/src/eckert6'>; +} +declare module 'd3-geo-projection/src/eisenlohr.js' { + declare module.exports: $Exports<'d3-geo-projection/src/eisenlohr'>; +} +declare module 'd3-geo-projection/src/elliptic.js' { + declare module.exports: $Exports<'d3-geo-projection/src/elliptic'>; +} +declare module 'd3-geo-projection/src/fahey.js' { + declare module.exports: $Exports<'d3-geo-projection/src/fahey'>; +} +declare module 'd3-geo-projection/src/foucaut.js' { + declare module.exports: $Exports<'d3-geo-projection/src/foucaut'>; +} +declare module 'd3-geo-projection/src/gilbert.js' { + declare module.exports: $Exports<'d3-geo-projection/src/gilbert'>; +} +declare module 'd3-geo-projection/src/gingery.js' { + declare module.exports: $Exports<'d3-geo-projection/src/gingery'>; +} +declare module 'd3-geo-projection/src/ginzburg4.js' { + declare module.exports: $Exports<'d3-geo-projection/src/ginzburg4'>; +} +declare module 'd3-geo-projection/src/ginzburg5.js' { + declare module.exports: $Exports<'d3-geo-projection/src/ginzburg5'>; +} +declare module 'd3-geo-projection/src/ginzburg6.js' { + declare module.exports: $Exports<'d3-geo-projection/src/ginzburg6'>; +} +declare module 'd3-geo-projection/src/ginzburg8.js' { + declare module.exports: $Exports<'d3-geo-projection/src/ginzburg8'>; +} +declare module 'd3-geo-projection/src/ginzburg9.js' { + declare module.exports: $Exports<'d3-geo-projection/src/ginzburg9'>; +} +declare module 'd3-geo-projection/src/ginzburgPolyconic.js' { + declare module.exports: $Exports<'d3-geo-projection/src/ginzburgPolyconic'>; +} +declare module 'd3-geo-projection/src/gringorten.js' { + declare module.exports: $Exports<'d3-geo-projection/src/gringorten'>; +} +declare module 'd3-geo-projection/src/guyou.js' { + declare module.exports: $Exports<'d3-geo-projection/src/guyou'>; +} +declare module 'd3-geo-projection/src/hammer.js' { + declare module.exports: $Exports<'d3-geo-projection/src/hammer'>; +} +declare module 'd3-geo-projection/src/hammerRetroazimuthal.js' { + declare module.exports: $Exports<'d3-geo-projection/src/hammerRetroazimuthal'>; +} +declare module 'd3-geo-projection/src/healpix.js' { + declare module.exports: $Exports<'d3-geo-projection/src/healpix'>; +} +declare module 'd3-geo-projection/src/hill.js' { + declare module.exports: $Exports<'d3-geo-projection/src/hill'>; +} +declare module 'd3-geo-projection/src/homolosine.js' { + declare module.exports: $Exports<'d3-geo-projection/src/homolosine'>; +} +declare module 'd3-geo-projection/src/interrupted/boggs.js' { + declare module.exports: $Exports<'d3-geo-projection/src/interrupted/boggs'>; +} +declare module 'd3-geo-projection/src/interrupted/homolosine.js' { + declare module.exports: $Exports<'d3-geo-projection/src/interrupted/homolosine'>; +} +declare module 'd3-geo-projection/src/interrupted/index.js' { + declare module.exports: $Exports<'d3-geo-projection/src/interrupted/index'>; +} +declare module 'd3-geo-projection/src/interrupted/mollweide.js' { + declare module.exports: $Exports<'d3-geo-projection/src/interrupted/mollweide'>; +} +declare module 'd3-geo-projection/src/interrupted/mollweideHemispheres.js' { + declare module.exports: $Exports<'d3-geo-projection/src/interrupted/mollweideHemispheres'>; +} +declare module 'd3-geo-projection/src/interrupted/sinuMollweide.js' { + declare module.exports: $Exports<'d3-geo-projection/src/interrupted/sinuMollweide'>; +} +declare module 'd3-geo-projection/src/interrupted/sinusoidal.js' { + declare module.exports: $Exports<'d3-geo-projection/src/interrupted/sinusoidal'>; +} +declare module 'd3-geo-projection/src/kavrayskiy7.js' { + declare module.exports: $Exports<'d3-geo-projection/src/kavrayskiy7'>; +} +declare module 'd3-geo-projection/src/lagrange.js' { + declare module.exports: $Exports<'d3-geo-projection/src/lagrange'>; +} +declare module 'd3-geo-projection/src/larrivee.js' { + declare module.exports: $Exports<'d3-geo-projection/src/larrivee'>; +} +declare module 'd3-geo-projection/src/laskowski.js' { + declare module.exports: $Exports<'d3-geo-projection/src/laskowski'>; +} +declare module 'd3-geo-projection/src/littrow.js' { + declare module.exports: $Exports<'d3-geo-projection/src/littrow'>; +} +declare module 'd3-geo-projection/src/loximuthal.js' { + declare module.exports: $Exports<'d3-geo-projection/src/loximuthal'>; +} +declare module 'd3-geo-projection/src/math.js' { + declare module.exports: $Exports<'d3-geo-projection/src/math'>; +} +declare module 'd3-geo-projection/src/miller.js' { + declare module.exports: $Exports<'d3-geo-projection/src/miller'>; +} +declare module 'd3-geo-projection/src/modifiedStereographic.js' { + declare module.exports: $Exports<'d3-geo-projection/src/modifiedStereographic'>; +} +declare module 'd3-geo-projection/src/mollweide.js' { + declare module.exports: $Exports<'d3-geo-projection/src/mollweide'>; +} +declare module 'd3-geo-projection/src/mtFlatPolarParabolic.js' { + declare module.exports: $Exports<'d3-geo-projection/src/mtFlatPolarParabolic'>; +} +declare module 'd3-geo-projection/src/mtFlatPolarQuartic.js' { + declare module.exports: $Exports<'d3-geo-projection/src/mtFlatPolarQuartic'>; +} +declare module 'd3-geo-projection/src/mtFlatPolarSinusoidal.js' { + declare module.exports: $Exports<'d3-geo-projection/src/mtFlatPolarSinusoidal'>; +} +declare module 'd3-geo-projection/src/naturalEarth2.js' { + declare module.exports: $Exports<'d3-geo-projection/src/naturalEarth2'>; +} +declare module 'd3-geo-projection/src/nellHammer.js' { + declare module.exports: $Exports<'d3-geo-projection/src/nellHammer'>; +} +declare module 'd3-geo-projection/src/noop.js' { + declare module.exports: $Exports<'d3-geo-projection/src/noop'>; +} +declare module 'd3-geo-projection/src/parallel1.js' { + declare module.exports: $Exports<'d3-geo-projection/src/parallel1'>; +} +declare module 'd3-geo-projection/src/patterson.js' { + declare module.exports: $Exports<'d3-geo-projection/src/patterson'>; +} +declare module 'd3-geo-projection/src/polyconic.js' { + declare module.exports: $Exports<'d3-geo-projection/src/polyconic'>; +} +declare module 'd3-geo-projection/src/polyhedral/butterfly.js' { + declare module.exports: $Exports<'d3-geo-projection/src/polyhedral/butterfly'>; +} +declare module 'd3-geo-projection/src/polyhedral/collignon.js' { + declare module.exports: $Exports<'d3-geo-projection/src/polyhedral/collignon'>; +} +declare module 'd3-geo-projection/src/polyhedral/cube.js' { + declare module.exports: $Exports<'d3-geo-projection/src/polyhedral/cube'>; +} +declare module 'd3-geo-projection/src/polyhedral/index.js' { + declare module.exports: $Exports<'d3-geo-projection/src/polyhedral/index'>; +} +declare module 'd3-geo-projection/src/polyhedral/matrix.js' { + declare module.exports: $Exports<'d3-geo-projection/src/polyhedral/matrix'>; +} +declare module 'd3-geo-projection/src/polyhedral/octahedron.js' { + declare module.exports: $Exports<'d3-geo-projection/src/polyhedral/octahedron'>; +} +declare module 'd3-geo-projection/src/polyhedral/waterman.js' { + declare module.exports: $Exports<'d3-geo-projection/src/polyhedral/waterman'>; +} +declare module 'd3-geo-projection/src/project/clockwise.js' { + declare module.exports: $Exports<'d3-geo-projection/src/project/clockwise'>; +} +declare module 'd3-geo-projection/src/project/contains.js' { + declare module.exports: $Exports<'d3-geo-projection/src/project/contains'>; +} +declare module 'd3-geo-projection/src/project/index.js' { + declare module.exports: $Exports<'d3-geo-projection/src/project/index'>; +} +declare module 'd3-geo-projection/src/quantize.js' { + declare module.exports: $Exports<'d3-geo-projection/src/quantize'>; +} +declare module 'd3-geo-projection/src/quincuncial/gringorten.js' { + declare module.exports: $Exports<'d3-geo-projection/src/quincuncial/gringorten'>; +} +declare module 'd3-geo-projection/src/quincuncial/index.js' { + declare module.exports: $Exports<'d3-geo-projection/src/quincuncial/index'>; +} +declare module 'd3-geo-projection/src/quincuncial/peirce.js' { + declare module.exports: $Exports<'d3-geo-projection/src/quincuncial/peirce'>; +} +declare module 'd3-geo-projection/src/rectangularPolyconic.js' { + declare module.exports: $Exports<'d3-geo-projection/src/rectangularPolyconic'>; +} +declare module 'd3-geo-projection/src/robinson.js' { + declare module.exports: $Exports<'d3-geo-projection/src/robinson'>; +} +declare module 'd3-geo-projection/src/satellite.js' { + declare module.exports: $Exports<'d3-geo-projection/src/satellite'>; +} +declare module 'd3-geo-projection/src/sinuMollweide.js' { + declare module.exports: $Exports<'d3-geo-projection/src/sinuMollweide'>; +} +declare module 'd3-geo-projection/src/sinusoidal.js' { + declare module.exports: $Exports<'d3-geo-projection/src/sinusoidal'>; +} +declare module 'd3-geo-projection/src/square.js' { + declare module.exports: $Exports<'d3-geo-projection/src/square'>; +} +declare module 'd3-geo-projection/src/stitch.js' { + declare module.exports: $Exports<'d3-geo-projection/src/stitch'>; +} +declare module 'd3-geo-projection/src/times.js' { + declare module.exports: $Exports<'d3-geo-projection/src/times'>; +} +declare module 'd3-geo-projection/src/twoPoint.js' { + declare module.exports: $Exports<'d3-geo-projection/src/twoPoint'>; +} +declare module 'd3-geo-projection/src/twoPointAzimuthal.js' { + declare module.exports: $Exports<'d3-geo-projection/src/twoPointAzimuthal'>; +} +declare module 'd3-geo-projection/src/twoPointEquidistant.js' { + declare module.exports: $Exports<'d3-geo-projection/src/twoPointEquidistant'>; +} +declare module 'd3-geo-projection/src/vanDerGrinten.js' { + declare module.exports: $Exports<'d3-geo-projection/src/vanDerGrinten'>; +} +declare module 'd3-geo-projection/src/vanDerGrinten2.js' { + declare module.exports: $Exports<'d3-geo-projection/src/vanDerGrinten2'>; +} +declare module 'd3-geo-projection/src/vanDerGrinten3.js' { + declare module.exports: $Exports<'d3-geo-projection/src/vanDerGrinten3'>; +} +declare module 'd3-geo-projection/src/vanDerGrinten4.js' { + declare module.exports: $Exports<'d3-geo-projection/src/vanDerGrinten4'>; +} +declare module 'd3-geo-projection/src/wagner4.js' { + declare module.exports: $Exports<'d3-geo-projection/src/wagner4'>; +} +declare module 'd3-geo-projection/src/wagner6.js' { + declare module.exports: $Exports<'d3-geo-projection/src/wagner6'>; +} +declare module 'd3-geo-projection/src/wagner7.js' { + declare module.exports: $Exports<'d3-geo-projection/src/wagner7'>; +} +declare module 'd3-geo-projection/src/wiechel.js' { + declare module.exports: $Exports<'d3-geo-projection/src/wiechel'>; +} +declare module 'd3-geo-projection/src/winkel3.js' { + declare module.exports: $Exports<'d3-geo-projection/src/winkel3'>; +} diff --git a/flow-typed/npm/electron-builder_vx.x.x.js b/flow-typed/npm/electron-builder_vx.x.x.js index 76dbdaaa0e..c380e1d6a6 100644 --- a/flow-typed/npm/electron-builder_vx.x.x.js +++ b/flow-typed/npm/electron-builder_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 2079ced4236dfc698f83f42f9ad98ab8 -// flow-typed version: <<STUB>>/electron-builder_v^19.37.2/flow_v0.50.0 +// flow-typed signature: 20991a47ab360cda8bac78681b9fb27f +// flow-typed version: <<STUB>>/electron-builder_v^19.37.2/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -22,14 +22,6 @@ declare module 'electron-builder' { * require those files directly. Feel free to delete any files that aren't * needed. */ -declare module 'electron-builder/out/appInfo' { - declare module.exports: any; -} - -declare module 'electron-builder/out/asar' { - declare module.exports: any; -} - declare module 'electron-builder/out/builder' { declare module.exports: any; } @@ -50,30 +42,6 @@ declare module 'electron-builder/out/cli/start' { declare module.exports: any; } -declare module 'electron-builder/out/codeSign' { - declare module.exports: any; -} - -declare module 'electron-builder/out/configuration' { - declare module.exports: any; -} - -declare module 'electron-builder/out/core' { - declare module.exports: any; -} - -declare module 'electron-builder/out/errorMessages' { - declare module.exports: any; -} - -declare module 'electron-builder/out/fileMatcher' { - declare module.exports: any; -} - -declare module 'electron-builder/out/fileTransformer' { - declare module.exports: any; -} - declare module 'electron-builder/out/forge/forge-maker' { declare module.exports: any; } @@ -82,225 +50,7 @@ declare module 'electron-builder/out/index' { declare module.exports: any; } -declare module 'electron-builder/out/linuxPackager' { - declare module.exports: any; -} - -declare module 'electron-builder/out/macPackager' { - declare module.exports: any; -} - -declare module 'electron-builder/out/options/FileAssociation' { - declare module.exports: any; -} - -declare module 'electron-builder/out/options/linuxOptions' { - declare module.exports: any; -} - -declare module 'electron-builder/out/options/macOptions' { - declare module.exports: any; -} - -declare module 'electron-builder/out/options/metadata' { - declare module.exports: any; -} - -declare module 'electron-builder/out/options/PlatformSpecificBuildOptions' { - declare module.exports: any; -} - -declare module 'electron-builder/out/options/SnapOptions' { - declare module.exports: any; -} - -declare module 'electron-builder/out/options/SquirrelWindowsOptions' { - declare module.exports: any; -} - -declare module 'electron-builder/out/options/winOptions' { - declare module.exports: any; -} - -declare module 'electron-builder/out/packager' { - declare module.exports: any; -} - -declare module 'electron-builder/out/packager/dirPackager' { - declare module.exports: any; -} - -declare module 'electron-builder/out/packager/mac' { - declare module.exports: any; -} - -declare module 'electron-builder/out/packagerApi' { - declare module.exports: any; -} - -declare module 'electron-builder/out/parallels' { - declare module.exports: any; -} - -declare module 'electron-builder/out/platformPackager' { - declare module.exports: any; -} - -declare module 'electron-builder/out/presets/rectCra' { - declare module.exports: any; -} - -declare module 'electron-builder/out/publish/PublishManager' { - declare module.exports: any; -} - -declare module 'electron-builder/out/publish/updateUnfoBuilder' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/appImage' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/appx' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/archive' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/ArchiveTarget' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/dmg' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/fpm' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/LinuxTargetHelper' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/nsis/nsis' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/nsis/nsisLang' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/nsis/nsisLicense' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/nsis/nsisOptions' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/nsis/nsisScriptGenerator' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/nsis/nsisUtil' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/nsis/WebInstallerTarget' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/pkg' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/snap' { - declare module.exports: any; -} - -declare module 'electron-builder/out/targets/targetFactory' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/appFileCopier' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/AppFileCopierHelper' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/AppFileWalker' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/asarUtil' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/cacheManager' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/config' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/electronVersion' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/filter' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/flags' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/packageDependencies' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/packageMetadata' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/pathManager' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/repositoryInfo' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/timer' { - declare module.exports: any; -} - -declare module 'electron-builder/out/util/yarn' { - declare module.exports: any; -} - -declare module 'electron-builder/out/windowsCodeSign' { - declare module.exports: any; -} - -declare module 'electron-builder/out/winPackager' { - declare module.exports: any; -} - // Filename aliases -declare module 'electron-builder/out/appInfo.js' { - declare module.exports: $Exports<'electron-builder/out/appInfo'>; -} -declare module 'electron-builder/out/asar.js' { - declare module.exports: $Exports<'electron-builder/out/asar'>; -} declare module 'electron-builder/out/builder.js' { declare module.exports: $Exports<'electron-builder/out/builder'>; } @@ -316,186 +66,9 @@ declare module 'electron-builder/out/cli/install-app-deps.js' { declare module 'electron-builder/out/cli/start.js' { declare module.exports: $Exports<'electron-builder/out/cli/start'>; } -declare module 'electron-builder/out/codeSign.js' { - declare module.exports: $Exports<'electron-builder/out/codeSign'>; -} -declare module 'electron-builder/out/configuration.js' { - declare module.exports: $Exports<'electron-builder/out/configuration'>; -} -declare module 'electron-builder/out/core.js' { - declare module.exports: $Exports<'electron-builder/out/core'>; -} -declare module 'electron-builder/out/errorMessages.js' { - declare module.exports: $Exports<'electron-builder/out/errorMessages'>; -} -declare module 'electron-builder/out/fileMatcher.js' { - declare module.exports: $Exports<'electron-builder/out/fileMatcher'>; -} -declare module 'electron-builder/out/fileTransformer.js' { - declare module.exports: $Exports<'electron-builder/out/fileTransformer'>; -} declare module 'electron-builder/out/forge/forge-maker.js' { declare module.exports: $Exports<'electron-builder/out/forge/forge-maker'>; } declare module 'electron-builder/out/index.js' { declare module.exports: $Exports<'electron-builder/out/index'>; } -declare module 'electron-builder/out/linuxPackager.js' { - declare module.exports: $Exports<'electron-builder/out/linuxPackager'>; -} -declare module 'electron-builder/out/macPackager.js' { - declare module.exports: $Exports<'electron-builder/out/macPackager'>; -} -declare module 'electron-builder/out/options/FileAssociation.js' { - declare module.exports: $Exports<'electron-builder/out/options/FileAssociation'>; -} -declare module 'electron-builder/out/options/linuxOptions.js' { - declare module.exports: $Exports<'electron-builder/out/options/linuxOptions'>; -} -declare module 'electron-builder/out/options/macOptions.js' { - declare module.exports: $Exports<'electron-builder/out/options/macOptions'>; -} -declare module 'electron-builder/out/options/metadata.js' { - declare module.exports: $Exports<'electron-builder/out/options/metadata'>; -} -declare module 'electron-builder/out/options/PlatformSpecificBuildOptions.js' { - declare module.exports: $Exports<'electron-builder/out/options/PlatformSpecificBuildOptions'>; -} -declare module 'electron-builder/out/options/SnapOptions.js' { - declare module.exports: $Exports<'electron-builder/out/options/SnapOptions'>; -} -declare module 'electron-builder/out/options/SquirrelWindowsOptions.js' { - declare module.exports: $Exports<'electron-builder/out/options/SquirrelWindowsOptions'>; -} -declare module 'electron-builder/out/options/winOptions.js' { - declare module.exports: $Exports<'electron-builder/out/options/winOptions'>; -} -declare module 'electron-builder/out/packager.js' { - declare module.exports: $Exports<'electron-builder/out/packager'>; -} -declare module 'electron-builder/out/packager/dirPackager.js' { - declare module.exports: $Exports<'electron-builder/out/packager/dirPackager'>; -} -declare module 'electron-builder/out/packager/mac.js' { - declare module.exports: $Exports<'electron-builder/out/packager/mac'>; -} -declare module 'electron-builder/out/packagerApi.js' { - declare module.exports: $Exports<'electron-builder/out/packagerApi'>; -} -declare module 'electron-builder/out/parallels.js' { - declare module.exports: $Exports<'electron-builder/out/parallels'>; -} -declare module 'electron-builder/out/platformPackager.js' { - declare module.exports: $Exports<'electron-builder/out/platformPackager'>; -} -declare module 'electron-builder/out/presets/rectCra.js' { - declare module.exports: $Exports<'electron-builder/out/presets/rectCra'>; -} -declare module 'electron-builder/out/publish/PublishManager.js' { - declare module.exports: $Exports<'electron-builder/out/publish/PublishManager'>; -} -declare module 'electron-builder/out/publish/updateUnfoBuilder.js' { - declare module.exports: $Exports<'electron-builder/out/publish/updateUnfoBuilder'>; -} -declare module 'electron-builder/out/targets/appImage.js' { - declare module.exports: $Exports<'electron-builder/out/targets/appImage'>; -} -declare module 'electron-builder/out/targets/appx.js' { - declare module.exports: $Exports<'electron-builder/out/targets/appx'>; -} -declare module 'electron-builder/out/targets/archive.js' { - declare module.exports: $Exports<'electron-builder/out/targets/archive'>; -} -declare module 'electron-builder/out/targets/ArchiveTarget.js' { - declare module.exports: $Exports<'electron-builder/out/targets/ArchiveTarget'>; -} -declare module 'electron-builder/out/targets/dmg.js' { - declare module.exports: $Exports<'electron-builder/out/targets/dmg'>; -} -declare module 'electron-builder/out/targets/fpm.js' { - declare module.exports: $Exports<'electron-builder/out/targets/fpm'>; -} -declare module 'electron-builder/out/targets/LinuxTargetHelper.js' { - declare module.exports: $Exports<'electron-builder/out/targets/LinuxTargetHelper'>; -} -declare module 'electron-builder/out/targets/nsis/nsis.js' { - declare module.exports: $Exports<'electron-builder/out/targets/nsis/nsis'>; -} -declare module 'electron-builder/out/targets/nsis/nsisLang.js' { - declare module.exports: $Exports<'electron-builder/out/targets/nsis/nsisLang'>; -} -declare module 'electron-builder/out/targets/nsis/nsisLicense.js' { - declare module.exports: $Exports<'electron-builder/out/targets/nsis/nsisLicense'>; -} -declare module 'electron-builder/out/targets/nsis/nsisOptions.js' { - declare module.exports: $Exports<'electron-builder/out/targets/nsis/nsisOptions'>; -} -declare module 'electron-builder/out/targets/nsis/nsisScriptGenerator.js' { - declare module.exports: $Exports<'electron-builder/out/targets/nsis/nsisScriptGenerator'>; -} -declare module 'electron-builder/out/targets/nsis/nsisUtil.js' { - declare module.exports: $Exports<'electron-builder/out/targets/nsis/nsisUtil'>; -} -declare module 'electron-builder/out/targets/nsis/WebInstallerTarget.js' { - declare module.exports: $Exports<'electron-builder/out/targets/nsis/WebInstallerTarget'>; -} -declare module 'electron-builder/out/targets/pkg.js' { - declare module.exports: $Exports<'electron-builder/out/targets/pkg'>; -} -declare module 'electron-builder/out/targets/snap.js' { - declare module.exports: $Exports<'electron-builder/out/targets/snap'>; -} -declare module 'electron-builder/out/targets/targetFactory.js' { - declare module.exports: $Exports<'electron-builder/out/targets/targetFactory'>; -} -declare module 'electron-builder/out/util/appFileCopier.js' { - declare module.exports: $Exports<'electron-builder/out/util/appFileCopier'>; -} -declare module 'electron-builder/out/util/AppFileCopierHelper.js' { - declare module.exports: $Exports<'electron-builder/out/util/AppFileCopierHelper'>; -} -declare module 'electron-builder/out/util/AppFileWalker.js' { - declare module.exports: $Exports<'electron-builder/out/util/AppFileWalker'>; -} -declare module 'electron-builder/out/util/asarUtil.js' { - declare module.exports: $Exports<'electron-builder/out/util/asarUtil'>; -} -declare module 'electron-builder/out/util/cacheManager.js' { - declare module.exports: $Exports<'electron-builder/out/util/cacheManager'>; -} -declare module 'electron-builder/out/util/config.js' { - declare module.exports: $Exports<'electron-builder/out/util/config'>; -} -declare module 'electron-builder/out/util/electronVersion.js' { - declare module.exports: $Exports<'electron-builder/out/util/electronVersion'>; -} -declare module 'electron-builder/out/util/filter.js' { - declare module.exports: $Exports<'electron-builder/out/util/filter'>; -} -declare module 'electron-builder/out/util/flags.js' { - declare module.exports: $Exports<'electron-builder/out/util/flags'>; -} -declare module 'electron-builder/out/util/packageDependencies.js' { - declare module.exports: $Exports<'electron-builder/out/util/packageDependencies'>; -} -declare module 'electron-builder/out/util/packageMetadata.js' { - declare module.exports: $Exports<'electron-builder/out/util/packageMetadata'>; -} -declare module 'electron-builder/out/util/pathManager.js' { - declare module.exports: $Exports<'electron-builder/out/util/pathManager'>; -} -declare module 'electron-builder/out/util/repositoryInfo.js' { - declare module.exports: $Exports<'electron-builder/out/util/repositoryInfo'>; -} -declare module 'electron-builder/out/util/timer.js' { - declare module.exports: $Exports<'electron-builder/out/util/timer'>; -} -declare module 'electron-builder/out/util/yarn.js' { - declare module.exports: $Exports<'electron-builder/out/util/yarn'>; -} -declare module 'electron-builder/out/windowsCodeSign.js' { - declare module.exports: $Exports<'electron-builder/out/windowsCodeSign'>; -} -declare module 'electron-builder/out/winPackager.js' { - declare module.exports: $Exports<'electron-builder/out/winPackager'>; -} diff --git a/flow-typed/npm/electron-devtools-installer_vx.x.x.js b/flow-typed/npm/electron-devtools-installer_vx.x.x.js index be5ce3bb07..3d2d156dcd 100644 --- a/flow-typed/npm/electron-devtools-installer_vx.x.x.js +++ b/flow-typed/npm/electron-devtools-installer_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 9d1471d9e4ecb02f4e20b62fbaea9079 -// flow-typed version: <<STUB>>/electron-devtools-installer_v^2.2.1/flow_v0.50.0 +// flow-typed signature: 857046798c0dbf0387a4b55a90310f28 +// flow-typed version: <<STUB>>/electron-devtools-installer_v^2.2.1/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/electron-log_vx.x.x.js b/flow-typed/npm/electron-log_vx.x.x.js index db90351ab0..7fbf8d096c 100644 --- a/flow-typed/npm/electron-log_vx.x.x.js +++ b/flow-typed/npm/electron-log_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 54d46172de2c142cdf5a488783cea72a -// flow-typed version: <<STUB>>/electron-log_v^2.2.8/flow_v0.50.0 +// flow-typed signature: f571a118f4e9b5ff0a399ba83f218396 +// flow-typed version: <<STUB>>/electron-log_v^2.2.8/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -30,6 +30,10 @@ declare module 'electron-log/lib/log' { declare module.exports: any; } +declare module 'electron-log/lib/original-console' { + declare module.exports: any; +} + declare module 'electron-log/lib/transports/console' { declare module.exports: any; } @@ -75,6 +79,9 @@ declare module 'electron-log/lib/format.js' { declare module 'electron-log/lib/log.js' { declare module.exports: $Exports<'electron-log/lib/log'>; } +declare module 'electron-log/lib/original-console.js' { + declare module.exports: $Exports<'electron-log/lib/original-console'>; +} declare module 'electron-log/lib/transports/console.js' { declare module.exports: $Exports<'electron-log/lib/transports/console'>; } diff --git a/flow-typed/npm/electron-mocha_vx.x.x.js b/flow-typed/npm/electron-mocha_vx.x.x.js index 1357fab751..7984c5b5f4 100644 --- a/flow-typed/npm/electron-mocha_vx.x.x.js +++ b/flow-typed/npm/electron-mocha_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: d1a9170d4427e9f951afbbb82efbf505 -// flow-typed version: <<STUB>>/electron-mocha_v^3.3.0/flow_v0.50.0 +// flow-typed signature: 1d354e069534ab540aeaea94d51e0d0b +// flow-typed version: <<STUB>>/electron-mocha_v^5.0.0/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -26,6 +26,10 @@ declare module 'electron-mocha/args' { declare module.exports: any; } +declare module 'electron-mocha/cleanup' { + declare module.exports: any; +} + declare module 'electron-mocha/mocha' { declare module.exports: any; } @@ -42,6 +46,9 @@ declare module 'electron-mocha/renderer/run' { declare module 'electron-mocha/args.js' { declare module.exports: $Exports<'electron-mocha/args'>; } +declare module 'electron-mocha/cleanup.js' { + declare module.exports: $Exports<'electron-mocha/cleanup'>; +} declare module 'electron-mocha/index' { declare module.exports: $Exports<'electron-mocha'>; } diff --git a/flow-typed/npm/electron-sudo_vx.x.x.js b/flow-typed/npm/electron-sudo_vx.x.x.js index bf82e49dd9..e733638998 100644 --- a/flow-typed/npm/electron-sudo_vx.x.x.js +++ b/flow-typed/npm/electron-sudo_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: e366f5ea4ab29cb0be7180565656e024 -// flow-typed version: <<STUB>>/electron-sudo_vhttps://github.com/eriklarko/electron-sudo.git/flow_v0.50.0 +// flow-typed signature: b92711eaa00b7c030c9547ddda0f2509 +// flow-typed version: <<STUB>>/electron-sudo_vhttps://github.com/eriklarko/electron-sudo.git/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/electron_vx.x.x.js b/flow-typed/npm/electron_vx.x.x.js index c1323207c8..a07855fc1e 100644 --- a/flow-typed/npm/electron_vx.x.x.js +++ b/flow-typed/npm/electron_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 84db620031714b083a2cabaf37153be4 -// flow-typed version: <<STUB>>/electron_v^1.7.9/flow_v0.50.0 +// flow-typed signature: edb8df94523ffaf5d0e3c1a60630b85c +// flow-typed version: <<STUB>>/electron_v^1.8.2/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/enzyme-adapter-react-16_vx.x.x.js b/flow-typed/npm/enzyme-adapter-react-16_vx.x.x.js new file mode 100644 index 0000000000..d278dbf771 --- /dev/null +++ b/flow-typed/npm/enzyme-adapter-react-16_vx.x.x.js @@ -0,0 +1,53 @@ +// flow-typed signature: f4e476ac8387bf480066f8dea992171a +// flow-typed version: <<STUB>>/enzyme-adapter-react-16_v^1.1.0/flow_v0.65.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'enzyme-adapter-react-16' + * + * Fill this stub out by replacing all the `any` types. + * + * Once filled out, we encourage you to share your work with the + * community by sending a pull request to: + * https://github.com/flowtype/flow-typed + */ + +declare module 'enzyme-adapter-react-16' { + declare module.exports: any; +} + +/** + * We include stubs for each file inside this npm package in case you need to + * require those files directly. Feel free to delete any files that aren't + * needed. + */ +declare module 'enzyme-adapter-react-16/build/index' { + declare module.exports: any; +} + +declare module 'enzyme-adapter-react-16/build/ReactSixteenAdapter' { + declare module.exports: any; +} + +declare module 'enzyme-adapter-react-16/src/index' { + declare module.exports: any; +} + +declare module 'enzyme-adapter-react-16/src/ReactSixteenAdapter' { + declare module.exports: any; +} + +// Filename aliases +declare module 'enzyme-adapter-react-16/build/index.js' { + declare module.exports: $Exports<'enzyme-adapter-react-16/build/index'>; +} +declare module 'enzyme-adapter-react-16/build/ReactSixteenAdapter.js' { + declare module.exports: $Exports<'enzyme-adapter-react-16/build/ReactSixteenAdapter'>; +} +declare module 'enzyme-adapter-react-16/src/index.js' { + declare module.exports: $Exports<'enzyme-adapter-react-16/src/index'>; +} +declare module 'enzyme-adapter-react-16/src/ReactSixteenAdapter.js' { + declare module.exports: $Exports<'enzyme-adapter-react-16/src/ReactSixteenAdapter'>; +} diff --git a/flow-typed/npm/enzyme_v2.3.x.js b/flow-typed/npm/enzyme_v3.x.x.js index 52755d675b..abf43308ed 100644 --- a/flow-typed/npm/enzyme_v2.3.x.js +++ b/flow-typed/npm/enzyme_v3.x.x.js @@ -1,13 +1,15 @@ -// flow-typed signature: a1fceaefab821f37dbb2f68fae2a79eb -// flow-typed version: d7a8d069fa/enzyme_v2.3.x/flow_>=v0.28.x <=v0.52.x +// flow-typed signature: 7be2af8800fdadaea6ac0404d256bafc +// flow-typed version: 6ce6a0467c/enzyme_v3.x.x/flow_>=v0.53.x + +import * as React from "react"; declare module "enzyme" { declare type PredicateFunction<T: Wrapper> = ( wrapper: T, index: number ) => boolean; - declare type NodeOrNodes = React$Element<any> | Array<React$Element<any>>; - declare type EnzymeSelector = string | ReactClass<any> | Object; + declare type NodeOrNodes = React.Node | Array<React.Node>; + declare type EnzymeSelector = string | Class<React.Component<*, *>> | Object; // CheerioWrapper is a type alias for an actual cheerio instance // TODO: Reference correct type from cheerio's type declarations @@ -18,13 +20,15 @@ declare module "enzyme" { findWhere(predicate: PredicateFunction<this>): this, filter(selector: EnzymeSelector): this, filterWhere(predicate: PredicateFunction<this>): this, + hostNodes(): this, contains(nodeOrNodes: NodeOrNodes): boolean, - containsMatchingElement(node: React$Element<any>): boolean, + containsMatchingElement(node: React.Node): boolean, containsAllMatchingElements(nodes: NodeOrNodes): boolean, containsAnyMatchingElements(nodes: NodeOrNodes): boolean, dive(option?: { context?: Object }): this, exists(): boolean, - matchesElement(node: React$Element<any>): boolean, + isEmptyRender(): boolean, + matchesElement(node: React.Node): boolean, hasClass(className: string): boolean, is(selector: EnzymeSelector): boolean, isEmpty(): boolean, @@ -38,9 +42,7 @@ declare module "enzyme" { unmount(): this, text(): string, html(): string, - get(index: number): React$Element<any>, - getNode(): React$Element<any>, - getNodes(): Array<React$Element<any>>, + get(index: number): React.Node, getDOMNode(): HTMLElement | HTMLInputElement, at(index: number): this, first(): this, @@ -54,9 +56,9 @@ declare module "enzyme" { setState(state: {}, callback?: Function): this, setProps(props: {}): this, setContext(context: Object): this, - instance(): React$Component<*, *, *>, + instance(): React.Component<*, *>, update(): this, - debug(): string, + debug(options?: Object): string, type(): string | Function | null, name(): string, forEach(fn: (node: this, index: number) => mixed): this, @@ -76,32 +78,51 @@ declare module "enzyme" { length: number } - declare export class ReactWrapper extends Wrapper { + declare class ReactWrapper extends Wrapper { constructor(nodes: NodeOrNodes, root: any, options?: ?Object): ReactWrapper, mount(): this, ref(refName: string): this, detach(): void } - declare export class ShallowWrapper extends Wrapper { - equals(node: React$Element<any>): boolean, - shallow(options?: { context?: Object }): ShallowWrapper + declare class ShallowWrapper extends Wrapper { + constructor( + nodes: NodeOrNodes, + root: any, + options?: ?Object + ): ShallowWrapper, + equals(node: React.Node): boolean, + shallow(options?: { context?: Object }): ShallowWrapper, + getElement(): React.Node, + getElements(): Array<React.Node> } - declare export function shallow( - node: React$Element<any>, - options?: { context?: Object } + declare function shallow( + node: React.Node, + options?: { context?: Object, disableLifecycleMethods?: boolean } ): ShallowWrapper; - declare export function mount( - node: React$Element<any>, + declare function mount( + node: React.Node, options?: { context?: Object, attachTo?: HTMLElement, childContextTypes?: Object } ): ReactWrapper; - declare export function render( - node: React$Element<any>, + declare function render( + node: React.Node, options?: { context?: Object } ): CheerioWrapper; + + declare module.exports: { + configure(options: { + Adapter?: any, + disableLifecycleMethods?: boolean + }): void, + render: typeof render, + mount: typeof mount, + shallow: typeof shallow, + ShallowWrapper: typeof ShallowWrapper, + ReactWrapper: typeof ReactWrapper + }; } 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 6d1e881e01..5499d0f632 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: ecdd5da70635d6e6c23b1fb9553a1222 -// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.34.1/flow_v0.50.0 +// flow-typed signature: e34f285ea0b4e39984e3464731f64edf +// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.44.0/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -46,10 +46,26 @@ declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing' { declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation' { + declare module.exports: any; +} + declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys' { declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType' { + declare module.exports: any; +} + +declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments' { + 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 +74,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; } @@ -66,6 +86,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter' { declare module.exports: any; } +declare module 'eslint-plugin-flowtype/dist/rules/requireExactType' { + declare module.exports: any; +} + declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType' { declare module.exports: any; } @@ -213,21 +237,39 @@ declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle.js' { declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/genericSpacing'>; } +declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation'>; +} 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/noExistentialType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noExistentialType'>; +} +declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments'>; +} +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'>; } declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter'>; } +declare module 'eslint-plugin-flowtype/dist/rules/requireExactType.js' { + declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireExactType'>; +} declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType.js' { declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireParameterType'>; } 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 6017e20e19..7b3f391509 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: 767f889378dff2c199b1249f1439f539 -// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.4.0/flow_v0.50.0 +// flow-typed signature: 74a426ac1f063b42749c1d0ef2a88187 +// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.6.1/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -26,10 +26,18 @@ declare module 'eslint-plugin-react/lib/rules/boolean-prop-naming' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/button-has-type' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/default-props-match-prop-types' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/destructuring-assignment' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/display-name' { declare module.exports: any; } @@ -38,6 +46,10 @@ declare module 'eslint-plugin-react/lib/rules/forbid-component-props' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/forbid-dom-props' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/forbid-elements' { declare module.exports: any; } @@ -54,6 +66,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/jsx-child-element-spacing' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location' { declare module.exports: any; } @@ -126,10 +142,18 @@ declare module 'eslint-plugin-react/lib/rules/jsx-no-undef' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/jsx-sort-props' { declare module.exports: any; } @@ -154,6 +178,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/no-access-state-in-setstate' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/no-array-index-key' { declare module.exports: any; } @@ -214,6 +242,10 @@ declare module 'eslint-plugin-react/lib/rules/no-string-refs' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/rules/no-this-in-sfc' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/rules/no-typos' { declare module.exports: any; } @@ -290,10 +322,18 @@ declare module 'eslint-plugin-react/lib/util/annotations' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/util/ast' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/util/Components' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/util/docsUrl' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket' { declare module.exports: any; } @@ -306,6 +346,10 @@ declare module 'eslint-plugin-react/lib/util/pragma' { declare module.exports: any; } +declare module 'eslint-plugin-react/lib/util/props' { + declare module.exports: any; +} + declare module 'eslint-plugin-react/lib/util/variable' { declare module.exports: any; } @@ -324,15 +368,24 @@ declare module 'eslint-plugin-react/index.js' { 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/button-has-type.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/button-has-type'>; +} 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'>; } +declare module 'eslint-plugin-react/lib/rules/destructuring-assignment.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/destructuring-assignment'>; +} declare module 'eslint-plugin-react/lib/rules/display-name.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/display-name'>; } declare module 'eslint-plugin-react/lib/rules/forbid-component-props.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-component-props'>; } +declare module 'eslint-plugin-react/lib/rules/forbid-dom-props.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-dom-props'>; +} declare module 'eslint-plugin-react/lib/rules/forbid-elements.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-elements'>; } @@ -345,6 +398,9 @@ declare module 'eslint-plugin-react/lib/rules/forbid-prop-types.js' { declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-boolean-value'>; } +declare module 'eslint-plugin-react/lib/rules/jsx-child-element-spacing.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-child-element-spacing'>; +} declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-closing-bracket-location'>; } @@ -399,9 +455,15 @@ declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank.js' { declare module 'eslint-plugin-react/lib/rules/jsx-no-undef.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-undef'>; } +declare module 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-one-expression-per-line'>; +} declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-pascal-case'>; } +declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-sort-default-props'>; +} declare module 'eslint-plugin-react/lib/rules/jsx-sort-props.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-sort-props'>; } @@ -420,6 +482,9 @@ declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars.js' { declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-wrap-multilines'>; } +declare module 'eslint-plugin-react/lib/rules/no-access-state-in-setstate.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-access-state-in-setstate'>; +} declare module 'eslint-plugin-react/lib/rules/no-array-index-key.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-array-index-key'>; } @@ -465,6 +530,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-this-in-sfc.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-this-in-sfc'>; +} declare module 'eslint-plugin-react/lib/rules/no-typos.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-typos'>; } @@ -522,9 +590,15 @@ declare module 'eslint-plugin-react/lib/rules/void-dom-elements-no-children.js' declare module 'eslint-plugin-react/lib/util/annotations.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/util/annotations'>; } +declare module 'eslint-plugin-react/lib/util/ast.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/util/ast'>; +} declare module 'eslint-plugin-react/lib/util/Components.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/util/Components'>; } +declare module 'eslint-plugin-react/lib/util/docsUrl.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/util/docsUrl'>; +} declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket'>; } @@ -534,6 +608,9 @@ declare module 'eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js' { declare module 'eslint-plugin-react/lib/util/pragma.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/util/pragma'>; } +declare module 'eslint-plugin-react/lib/util/props.js' { + declare module.exports: $Exports<'eslint-plugin-react/lib/util/props'>; +} declare module 'eslint-plugin-react/lib/util/variable.js' { declare module.exports: $Exports<'eslint-plugin-react/lib/util/variable'>; } diff --git a/flow-typed/npm/eslint_vx.x.x.js b/flow-typed/npm/eslint_vx.x.x.js index 8758a4c452..bb5b50701d 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: b8a35e2fbacbb0231e07e03516abc677 -// flow-typed version: <<STUB>>/eslint_v^4.1.1/flow_v0.50.0 +// flow-typed signature: 1745a3e0ca04e60f0ac8ffa2460bdded +// flow-typed version: <<STUB>>/eslint_v^4.17.0/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -190,14 +190,6 @@ declare module 'eslint/lib/ignored-paths' { declare module.exports: any; } -declare module 'eslint/lib/internal-rules/internal-consistent-docs-description' { - declare module.exports: any; -} - -declare module 'eslint/lib/internal-rules/internal-no-invalid-meta' { - declare module.exports: any; -} - declare module 'eslint/lib/linter' { declare module.exports: any; } @@ -214,7 +206,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,10 +350,18 @@ 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; } +declare module 'eslint/lib/rules/getter-return' { + declare module.exports: any; +} + declare module 'eslint/lib/rules/global-require' { declare module.exports: any; } @@ -386,6 +386,10 @@ declare module 'eslint/lib/rules/id-match' { declare module.exports: any; } +declare module 'eslint/lib/rules/implicit-arrow-linebreak' { + declare module.exports: any; +} + declare module 'eslint/lib/rules/indent-legacy' { declare module.exports: any; } @@ -426,6 +430,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; } @@ -454,6 +462,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; } @@ -1230,10 +1242,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; } @@ -1294,6 +1302,14 @@ declare module 'eslint/lib/token-store/utils' { declare module.exports: any; } +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; } @@ -1310,6 +1326,10 @@ declare module 'eslint/lib/util/hash' { declare module.exports: any; } +declare module 'eslint/lib/util/interpolate' { + declare module.exports: any; +} + declare module 'eslint/lib/util/keywords' { declare module.exports: any; } @@ -1318,6 +1338,10 @@ declare module 'eslint/lib/util/module-resolver' { declare module.exports: any; } +declare module 'eslint/lib/util/naming' { + declare module.exports: any; +} + declare module 'eslint/lib/util/node-event-generator' { declare module.exports: any; } @@ -1338,6 +1362,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; } @@ -1485,12 +1513,6 @@ declare module 'eslint/lib/formatters/visualstudio.js' { declare module 'eslint/lib/ignored-paths.js' { declare module.exports: $Exports<'eslint/lib/ignored-paths'>; } -declare module 'eslint/lib/internal-rules/internal-consistent-docs-description.js' { - declare module.exports: $Exports<'eslint/lib/internal-rules/internal-consistent-docs-description'>; -} -declare module 'eslint/lib/internal-rules/internal-no-invalid-meta.js' { - declare module.exports: $Exports<'eslint/lib/internal-rules/internal-no-invalid-meta'>; -} declare module 'eslint/lib/linter.js' { declare module.exports: $Exports<'eslint/lib/linter'>; } @@ -1503,8 +1525,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'>; @@ -1611,9 +1633,15 @@ 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'>; } +declare module 'eslint/lib/rules/getter-return.js' { + declare module.exports: $Exports<'eslint/lib/rules/getter-return'>; +} declare module 'eslint/lib/rules/global-require.js' { declare module.exports: $Exports<'eslint/lib/rules/global-require'>; } @@ -1632,6 +1660,9 @@ declare module 'eslint/lib/rules/id-length.js' { declare module 'eslint/lib/rules/id-match.js' { declare module.exports: $Exports<'eslint/lib/rules/id-match'>; } +declare module 'eslint/lib/rules/implicit-arrow-linebreak.js' { + declare module.exports: $Exports<'eslint/lib/rules/implicit-arrow-linebreak'>; +} declare module 'eslint/lib/rules/indent-legacy.js' { declare module.exports: $Exports<'eslint/lib/rules/indent-legacy'>; } @@ -1662,6 +1693,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'>; } @@ -1683,6 +1717,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'>; } @@ -2265,9 +2302,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'>; } @@ -2313,6 +2347,12 @@ declare module 'eslint/lib/token-store/skip-cursor.js' { declare module 'eslint/lib/token-store/utils.js' { declare module.exports: $Exports<'eslint/lib/token-store/utils'>; } +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'>; } @@ -2325,12 +2365,18 @@ declare module 'eslint/lib/util/glob.js' { declare module 'eslint/lib/util/hash.js' { declare module.exports: $Exports<'eslint/lib/util/hash'>; } +declare module 'eslint/lib/util/interpolate.js' { + declare module.exports: $Exports<'eslint/lib/util/interpolate'>; +} declare module 'eslint/lib/util/keywords.js' { declare module.exports: $Exports<'eslint/lib/util/keywords'>; } declare module 'eslint/lib/util/module-resolver.js' { declare module.exports: $Exports<'eslint/lib/util/module-resolver'>; } +declare module 'eslint/lib/util/naming.js' { + declare module.exports: $Exports<'eslint/lib/util/naming'>; +} declare module 'eslint/lib/util/node-event-generator.js' { declare module.exports: $Exports<'eslint/lib/util/node-event-generator'>; } @@ -2346,6 +2392,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/flow-typed_vx.x.x.js b/flow-typed/npm/flow-typed_vx.x.x.js index 5d403b8192..89165d1d79 100644 --- a/flow-typed/npm/flow-typed_vx.x.x.js +++ b/flow-typed/npm/flow-typed_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 5cdf119bd950b01f8d3e3556bcac0c4c -// flow-typed version: <<STUB>>/flow-typed_v^2.1.5/flow_v0.50.0 +// flow-typed signature: 5c137aaa096b1644c8d0e8d02dfc014a +// flow-typed version: <<STUB>>/flow-typed_v^2.3.0/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/history_vx.x.x.js b/flow-typed/npm/history_vx.x.x.js index 687d8251de..626ce1b790 100644 --- a/flow-typed/npm/history_vx.x.x.js +++ b/flow-typed/npm/history_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 308a79eca31ed62194421199bf281a33 -// flow-typed version: <<STUB>>/history_v^4.6.1/flow_v0.50.0 +// flow-typed signature: 960f40c518ddab6e01f16a1dee553b0f +// flow-typed version: <<STUB>>/history_v^4.6.1/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/jsonrpc-lite_vx.x.x.js b/flow-typed/npm/jsonrpc-lite_vx.x.x.js index 598f9ff47f..8a607908e3 100644 --- a/flow-typed/npm/jsonrpc-lite_vx.x.x.js +++ b/flow-typed/npm/jsonrpc-lite_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: fd22c6bb723866165cbfe0285d588c3e -// flow-typed version: <<STUB>>/jsonrpc-lite_v^1.2.3/flow_v0.50.0 +// flow-typed signature: b42ed32deaeb534ac30f7d05cd6d70d1 +// flow-typed version: <<STUB>>/jsonrpc-lite_v^1.2.3/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/npm-run-all_vx.x.x.js b/flow-typed/npm/npm-run-all_vx.x.x.js index 9744cc70f4..971afd706f 100644 --- a/flow-typed/npm/npm-run-all_vx.x.x.js +++ b/flow-typed/npm/npm-run-all_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: f213d951b7061065b846ad92839a663c -// flow-typed version: <<STUB>>/npm-run-all_v^4.0.1/flow_v0.50.0 +// flow-typed signature: bad8fb0f2db09a9c7d0cab9df0f58f5d +// flow-typed version: <<STUB>>/npm-run-all_v^4.0.1/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rimraf_vx.x.x.js b/flow-typed/npm/rbush_vx.x.x.js index ef943721db..dd989dff9c 100644 --- a/flow-typed/npm/rimraf_vx.x.x.js +++ b/flow-typed/npm/rbush_vx.x.x.js @@ -1,10 +1,10 @@ -// flow-typed signature: f7bb6829a3dc5082a6d04c621f0e6fff -// flow-typed version: <<STUB>>/rimraf_v^2.5.4/flow_v0.46.0 +// flow-typed signature: 8c5711e060323e2f2cf80e73b1deb356 +// flow-typed version: <<STUB>>/rbush_v^2.0.2/flow_v0.65.0 /** * This is an autogenerated libdef stub for: * - * 'rimraf' + * 'rbush' * * Fill this stub out by replacing all the `any` types. * @@ -13,7 +13,7 @@ * https://github.com/flowtype/flow-typed */ -declare module 'rimraf' { +declare module 'rbush' { declare module.exports: any; } @@ -22,18 +22,24 @@ declare module 'rimraf' { * require those files directly. Feel free to delete any files that aren't * needed. */ -declare module 'rimraf/bin' { +declare module 'rbush/rbush' { declare module.exports: any; } -declare module 'rimraf/rimraf' { +declare module 'rbush/rbush.min' { declare module.exports: any; } // Filename aliases -declare module 'rimraf/bin.js' { - declare module.exports: $Exports<'rimraf/bin'>; +declare module 'rbush/index' { + declare module.exports: $Exports<'rbush'>; } -declare module 'rimraf/rimraf.js' { - declare module.exports: $Exports<'rimraf/rimraf'>; +declare module 'rbush/index.js' { + declare module.exports: $Exports<'rbush'>; +} +declare module 'rbush/rbush.js' { + declare module.exports: $Exports<'rbush/rbush'>; +} +declare module 'rbush/rbush.min.js' { + declare module.exports: $Exports<'rbush/rbush.min'>; } diff --git a/flow-typed/npm/react-addons-test-utils_v15.x.x.js b/flow-typed/npm/react-addons-test-utils_v15.x.x.js deleted file mode 100644 index b4d753d888..0000000000 --- a/flow-typed/npm/react-addons-test-utils_v15.x.x.js +++ /dev/null @@ -1,28 +0,0 @@ -// flow-typed signature: 323fcc1a3353d5f7a36c5f1edcd963ef -// flow-typed version: 41f45a7d8c/react-addons-test-utils_v15.x.x/flow_>=v0.23.x - -declare type ReactAddonTest$FunctionOrComponentClass = React$Component<any, any, any> | Function; -declare module 'react-addons-test-utils' { - declare var Simulate: { - [eventName: string]: (element: Element, eventData?: Object) => void; - }; - declare function renderIntoDocument(instance: React$Element<any>): React$Component<any, any, any>; - declare function mockComponent(componentClass: ReactAddonTest$FunctionOrComponentClass, mockTagName?: string): Object; - declare function isElement(element: React$Element<any>): boolean; - declare function isElementOfType(element: React$Element<any>, componentClass: ReactAddonTest$FunctionOrComponentClass): boolean; - declare function isDOMComponent(instance: React$Component<any, any, any>): boolean; - declare function isCompositeComponent(instance: React$Component<any, any, any>): boolean; - declare function isCompositeComponentWithType(instance: React$Component<any, any, any>, componentClass: ReactAddonTest$FunctionOrComponentClass): boolean; - declare function findAllInRenderedTree(tree: React$Component<any, any, any>, test: (child: React$Component<any, any, any>) => boolean): Array<React$Component<any, any, any>>; - declare function scryRenderedDOMComponentsWithClass(tree: React$Component<any, any, any>, className: string): Array<Element>; - declare function findRenderedDOMComponentWithClass(tree: React$Component<any, any, any>, className: string): ?Element; - declare function scryRenderedDOMComponentsWithTag(tree: React$Component<any, any, any>, tagName: string): Array<Element>; - declare function findRenderedDOMComponentWithTag(tree: React$Component<any, any, any>, tagName: string): ?Element; - declare function scryRenderedComponentsWithType(tree: React$Component<any, any, any>, componentClass: ReactAddonTest$FunctionOrComponentClass): Array<React$Component<any, any, any>>; - declare function findRenderedComponentWithType(tree: React$Component<any, any, any>, componentClass: ReactAddonTest$FunctionOrComponentClass): ?React$Component<any, any, any>; - declare class ReactShallowRender { - render(element: React$Element<any>): void; - getRenderOutput(): React$Element<any>; - } - declare function createRenderer(): ReactShallowRender; -} diff --git a/flow-typed/npm/react-native-windows_vx.x.x.js b/flow-typed/npm/react-native-windows_vx.x.x.js new file mode 100644 index 0000000000..79eb42c651 --- /dev/null +++ b/flow-typed/npm/react-native-windows_vx.x.x.js @@ -0,0 +1,641 @@ +// flow-typed signature: 872cac3d61af1f3626af950667ffb34e +// flow-typed version: <<STUB>>/react-native-windows_v^0.52.0-rc.0/flow_v0.65.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'react-native-windows' + * + * Fill this stub out by replacing all the `any` types. + * + * Once filled out, we encourage you to share your work with the + * community by sending a pull request to: + * https://github.com/flowtype/flow-typed + */ + +declare module 'react-native-windows' { + declare module.exports: any; +} + +/** + * We include stubs for each file inside this npm package in case you need to + * require those files directly. Feel free to delete any files that aren't + * needed. + */ +declare module 'react-native-windows/Libraries/Alert/Alert.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/AccessibilityInfo/AccessibilityInfo.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ActivityIndicator/ActivityIndicator.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/AppleTV/TVEventHandler.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/Button.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/CheckBox/CheckBox.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/DatePicker/DatePickerIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/DatePickerAndroid/DatePickerAndroid.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/FlipViewWindows/FlipViewWindows.android' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/FlipViewWindows/FlipViewWindows.ios' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/FlipViewWindows/FlipViewWindows.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/FocusableWindows/FocusableWindows.android' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/FocusableWindows/FocusableWindows.ios' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/FocusableWindows/FocusableWindows.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/MaskedViewIOS/MaskedViewIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/Navigation/NavigatorIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/PasswordBoxWindows/PasswordBoxWindows.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/Picker/Picker.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/Picker/PickerAndroid.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/Picker/PickerIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/Picker/PickerWindows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ProgressBarWindows/ProgressBarWindows.android' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ProgressBarWindows/ProgressBarWindows.ios' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ProgressBarWindows/ProgressBarWindows.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ProgressRingWindows/ProgressRingWindows.android' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ProgressRingWindows/ProgressRingWindows.ios' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ProgressRingWindows/ProgressRingWindows.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ProgressViewIOS/ProgressViewIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/SafeAreaView/SafeAreaView.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ScrollView/ScrollView.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/SplitViewWindows/SplitViewWindows.android' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/SplitViewWindows/SplitViewWindows.ios' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/SplitViewWindows/SplitViewWindows.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/StatusBar/StatusBar.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/StatusBar/StatusBarIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/TabBarIOS/TabBarIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/TabBarIOS/TabBarItemIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/TextInput/TextInput.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/TextInput/TextInputState.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/TimePickerAndroid/TimePickerAndroid.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ToastAndroid/ToastAndroid.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ToolbarAndroid/ToolbarAndroid.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/Touchable/TouchableNativeFeedback.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/View/ViewPropTypes.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/ViewPager/ViewPagerAndroid.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Components/WebView/WebView.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Core/ReactNativeVersion.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/CustomComponents/NavigationExperimental/NavigationHeaderBackButton.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/CustomComponents/Navigator/NavigatorBreadcrumbNavigationBarStyles.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/CustomComponents/Navigator/NavigatorNavigationBarStylesWindows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Experimental/SwipeableRow/SwipeableRow.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Image/Image.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Network/NetInfo.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Network/RCTNetworking.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/RCTTest/SnapshotViewIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/react-native-windows/react-native-windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Settings/Settings.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Text/Text.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Utilities/BackHandler.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Utilities/HMRLoadingView.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Utilities/Platform.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Vibration/Vibration.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/Vibration/VibrationIOS.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/Libraries/WebSocket/WebSocket.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/generate-windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/generate-wpf' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/generator-utils' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/generator-windows/index' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/generator-windows/templates/App.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/generator-wpf/index' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/generator-wpf/templates/App.windows' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/index' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWindows/runWindows' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWindows/utils/build' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWindows/utils/checkRequirements' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWindows/utils/deploy' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWindows/utils/msbuildtools' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWindows/utils/version' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWindows/utils/winappdeploytool' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWpf/runWpf' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWpf/utils/build' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWpf/utils/checkRequirements' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWpf/utils/deploy' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWpf/utils/msbuildtools' { + declare module.exports: any; +} + +declare module 'react-native-windows/local-cli/runWpf/utils/version' { + declare module.exports: any; +} + +// Filename aliases +declare module 'react-native-windows/Libraries/Alert/Alert.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Alert/Alert.windows'>; +} +declare module 'react-native-windows/Libraries/Components/AccessibilityInfo/AccessibilityInfo.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/AccessibilityInfo/AccessibilityInfo.windows'>; +} +declare module 'react-native-windows/Libraries/Components/ActivityIndicator/ActivityIndicator.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ActivityIndicator/ActivityIndicator.windows'>; +} +declare module 'react-native-windows/Libraries/Components/AppleTV/TVEventHandler.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/AppleTV/TVEventHandler.windows'>; +} +declare module 'react-native-windows/Libraries/Components/Button.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/Button.windows'>; +} +declare module 'react-native-windows/Libraries/Components/CheckBox/CheckBox.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/CheckBox/CheckBox.windows'>; +} +declare module 'react-native-windows/Libraries/Components/DatePicker/DatePickerIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/DatePicker/DatePickerIOS.windows'>; +} +declare module 'react-native-windows/Libraries/Components/DatePickerAndroid/DatePickerAndroid.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/DatePickerAndroid/DatePickerAndroid.windows'>; +} +declare module 'react-native-windows/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.windows'>; +} +declare module 'react-native-windows/Libraries/Components/FlipViewWindows/FlipViewWindows.android.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/FlipViewWindows/FlipViewWindows.android'>; +} +declare module 'react-native-windows/Libraries/Components/FlipViewWindows/FlipViewWindows.ios.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/FlipViewWindows/FlipViewWindows.ios'>; +} +declare module 'react-native-windows/Libraries/Components/FlipViewWindows/FlipViewWindows.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/FlipViewWindows/FlipViewWindows.windows'>; +} +declare module 'react-native-windows/Libraries/Components/FocusableWindows/FocusableWindows.android.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/FocusableWindows/FocusableWindows.android'>; +} +declare module 'react-native-windows/Libraries/Components/FocusableWindows/FocusableWindows.ios.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/FocusableWindows/FocusableWindows.ios'>; +} +declare module 'react-native-windows/Libraries/Components/FocusableWindows/FocusableWindows.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/FocusableWindows/FocusableWindows.windows'>; +} +declare module 'react-native-windows/Libraries/Components/MaskedViewIOS/MaskedViewIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/MaskedViewIOS/MaskedViewIOS.windows'>; +} +declare module 'react-native-windows/Libraries/Components/Navigation/NavigatorIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/Navigation/NavigatorIOS.windows'>; +} +declare module 'react-native-windows/Libraries/Components/PasswordBoxWindows/PasswordBoxWindows.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/PasswordBoxWindows/PasswordBoxWindows.windows'>; +} +declare module 'react-native-windows/Libraries/Components/Picker/Picker.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/Picker/Picker.windows'>; +} +declare module 'react-native-windows/Libraries/Components/Picker/PickerAndroid.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/Picker/PickerAndroid.windows'>; +} +declare module 'react-native-windows/Libraries/Components/Picker/PickerIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/Picker/PickerIOS.windows'>; +} +declare module 'react-native-windows/Libraries/Components/Picker/PickerWindows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/Picker/PickerWindows'>; +} +declare module 'react-native-windows/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.windows'>; +} +declare module 'react-native-windows/Libraries/Components/ProgressBarWindows/ProgressBarWindows.android.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ProgressBarWindows/ProgressBarWindows.android'>; +} +declare module 'react-native-windows/Libraries/Components/ProgressBarWindows/ProgressBarWindows.ios.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ProgressBarWindows/ProgressBarWindows.ios'>; +} +declare module 'react-native-windows/Libraries/Components/ProgressBarWindows/ProgressBarWindows.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ProgressBarWindows/ProgressBarWindows.windows'>; +} +declare module 'react-native-windows/Libraries/Components/ProgressRingWindows/ProgressRingWindows.android.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ProgressRingWindows/ProgressRingWindows.android'>; +} +declare module 'react-native-windows/Libraries/Components/ProgressRingWindows/ProgressRingWindows.ios.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ProgressRingWindows/ProgressRingWindows.ios'>; +} +declare module 'react-native-windows/Libraries/Components/ProgressRingWindows/ProgressRingWindows.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ProgressRingWindows/ProgressRingWindows.windows'>; +} +declare module 'react-native-windows/Libraries/Components/ProgressViewIOS/ProgressViewIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ProgressViewIOS/ProgressViewIOS.windows'>; +} +declare module 'react-native-windows/Libraries/Components/SafeAreaView/SafeAreaView.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/SafeAreaView/SafeAreaView.windows'>; +} +declare module 'react-native-windows/Libraries/Components/ScrollView/ScrollView.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ScrollView/ScrollView.windows'>; +} +declare module 'react-native-windows/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.windows'>; +} +declare module 'react-native-windows/Libraries/Components/SplitViewWindows/SplitViewWindows.android.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/SplitViewWindows/SplitViewWindows.android'>; +} +declare module 'react-native-windows/Libraries/Components/SplitViewWindows/SplitViewWindows.ios.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/SplitViewWindows/SplitViewWindows.ios'>; +} +declare module 'react-native-windows/Libraries/Components/SplitViewWindows/SplitViewWindows.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/SplitViewWindows/SplitViewWindows.windows'>; +} +declare module 'react-native-windows/Libraries/Components/StatusBar/StatusBar.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/StatusBar/StatusBar.windows'>; +} +declare module 'react-native-windows/Libraries/Components/StatusBar/StatusBarIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/StatusBar/StatusBarIOS.windows'>; +} +declare module 'react-native-windows/Libraries/Components/TabBarIOS/TabBarIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/TabBarIOS/TabBarIOS.windows'>; +} +declare module 'react-native-windows/Libraries/Components/TabBarIOS/TabBarItemIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/TabBarIOS/TabBarItemIOS.windows'>; +} +declare module 'react-native-windows/Libraries/Components/TextInput/TextInput.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/TextInput/TextInput.windows'>; +} +declare module 'react-native-windows/Libraries/Components/TextInput/TextInputState.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/TextInput/TextInputState.windows'>; +} +declare module 'react-native-windows/Libraries/Components/TimePickerAndroid/TimePickerAndroid.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/TimePickerAndroid/TimePickerAndroid.windows'>; +} +declare module 'react-native-windows/Libraries/Components/ToastAndroid/ToastAndroid.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ToastAndroid/ToastAndroid.windows'>; +} +declare module 'react-native-windows/Libraries/Components/ToolbarAndroid/ToolbarAndroid.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ToolbarAndroid/ToolbarAndroid.windows'>; +} +declare module 'react-native-windows/Libraries/Components/Touchable/TouchableNativeFeedback.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/Touchable/TouchableNativeFeedback.windows'>; +} +declare module 'react-native-windows/Libraries/Components/View/ViewPropTypes.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/View/ViewPropTypes.windows'>; +} +declare module 'react-native-windows/Libraries/Components/ViewPager/ViewPagerAndroid.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/ViewPager/ViewPagerAndroid.windows'>; +} +declare module 'react-native-windows/Libraries/Components/WebView/WebView.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Components/WebView/WebView.windows'>; +} +declare module 'react-native-windows/Libraries/Core/ReactNativeVersion.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Core/ReactNativeVersion.windows'>; +} +declare module 'react-native-windows/Libraries/CustomComponents/NavigationExperimental/NavigationHeaderBackButton.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/CustomComponents/NavigationExperimental/NavigationHeaderBackButton.windows'>; +} +declare module 'react-native-windows/Libraries/CustomComponents/Navigator/NavigatorBreadcrumbNavigationBarStyles.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/CustomComponents/Navigator/NavigatorBreadcrumbNavigationBarStyles.windows'>; +} +declare module 'react-native-windows/Libraries/CustomComponents/Navigator/NavigatorNavigationBarStylesWindows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/CustomComponents/Navigator/NavigatorNavigationBarStylesWindows'>; +} +declare module 'react-native-windows/Libraries/Experimental/SwipeableRow/SwipeableRow.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Experimental/SwipeableRow/SwipeableRow.windows'>; +} +declare module 'react-native-windows/Libraries/Image/Image.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Image/Image.windows'>; +} +declare module 'react-native-windows/Libraries/Network/NetInfo.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Network/NetInfo.windows'>; +} +declare module 'react-native-windows/Libraries/Network/RCTNetworking.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Network/RCTNetworking.windows'>; +} +declare module 'react-native-windows/Libraries/RCTTest/SnapshotViewIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/RCTTest/SnapshotViewIOS.windows'>; +} +declare module 'react-native-windows/Libraries/react-native-windows/react-native-windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/react-native-windows/react-native-windows'>; +} +declare module 'react-native-windows/Libraries/Settings/Settings.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Settings/Settings.windows'>; +} +declare module 'react-native-windows/Libraries/Text/Text.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Text/Text.windows'>; +} +declare module 'react-native-windows/Libraries/Utilities/BackHandler.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Utilities/BackHandler.windows'>; +} +declare module 'react-native-windows/Libraries/Utilities/HMRLoadingView.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Utilities/HMRLoadingView.windows'>; +} +declare module 'react-native-windows/Libraries/Utilities/Platform.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Utilities/Platform.windows'>; +} +declare module 'react-native-windows/Libraries/Vibration/Vibration.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Vibration/Vibration.windows'>; +} +declare module 'react-native-windows/Libraries/Vibration/VibrationIOS.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/Vibration/VibrationIOS.windows'>; +} +declare module 'react-native-windows/Libraries/WebSocket/WebSocket.windows.js' { + declare module.exports: $Exports<'react-native-windows/Libraries/WebSocket/WebSocket.windows'>; +} +declare module 'react-native-windows/local-cli/generate-windows.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/generate-windows'>; +} +declare module 'react-native-windows/local-cli/generate-wpf.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/generate-wpf'>; +} +declare module 'react-native-windows/local-cli/generator-utils.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/generator-utils'>; +} +declare module 'react-native-windows/local-cli/generator-windows/index.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/generator-windows/index'>; +} +declare module 'react-native-windows/local-cli/generator-windows/templates/App.windows.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/generator-windows/templates/App.windows'>; +} +declare module 'react-native-windows/local-cli/generator-wpf/index.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/generator-wpf/index'>; +} +declare module 'react-native-windows/local-cli/generator-wpf/templates/App.windows.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/generator-wpf/templates/App.windows'>; +} +declare module 'react-native-windows/local-cli/index.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/index'>; +} +declare module 'react-native-windows/local-cli/runWindows/runWindows.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWindows/runWindows'>; +} +declare module 'react-native-windows/local-cli/runWindows/utils/build.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWindows/utils/build'>; +} +declare module 'react-native-windows/local-cli/runWindows/utils/checkRequirements.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWindows/utils/checkRequirements'>; +} +declare module 'react-native-windows/local-cli/runWindows/utils/deploy.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWindows/utils/deploy'>; +} +declare module 'react-native-windows/local-cli/runWindows/utils/msbuildtools.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWindows/utils/msbuildtools'>; +} +declare module 'react-native-windows/local-cli/runWindows/utils/version.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWindows/utils/version'>; +} +declare module 'react-native-windows/local-cli/runWindows/utils/winappdeploytool.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWindows/utils/winappdeploytool'>; +} +declare module 'react-native-windows/local-cli/runWpf/runWpf.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWpf/runWpf'>; +} +declare module 'react-native-windows/local-cli/runWpf/utils/build.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWpf/utils/build'>; +} +declare module 'react-native-windows/local-cli/runWpf/utils/checkRequirements.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWpf/utils/checkRequirements'>; +} +declare module 'react-native-windows/local-cli/runWpf/utils/deploy.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWpf/utils/deploy'>; +} +declare module 'react-native-windows/local-cli/runWpf/utils/msbuildtools.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWpf/utils/msbuildtools'>; +} +declare module 'react-native-windows/local-cli/runWpf/utils/version.js' { + declare module.exports: $Exports<'react-native-windows/local-cli/runWpf/utils/version'>; +} diff --git a/flow-typed/npm/react-redux_v5.x.x.js b/flow-typed/npm/react-redux_v5.x.x.js index 3536e46aeb..e0c8bc04a1 100644 --- a/flow-typed/npm/react-redux_v5.x.x.js +++ b/flow-typed/npm/react-redux_v5.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: c0e8d9867aff7576bb7cf63fe60a6af3 -// flow-typed version: 83053e4020/react-redux_v5.x.x/flow_>=v0.30.x <=v0.52.x +// flow-typed signature: 59b0c4be0e1408f21e2446be96c79804 +// flow-typed version: 9092387fd2/react-redux_v5.x.x/flow_>=v0.54.x import type { Dispatch, Store } from "redux"; @@ -31,41 +31,51 @@ declare module "react-redux" { declare type Context = { store: Store<*, *> }; - declare type StatelessComponent<P> = ( - props: P, - context: Context - ) => ?React$Element<any>; + declare type ComponentWithDefaultProps<DP: {}, P: {}, CP: P> = Class< + React$Component<CP> + > & { defaultProps: DP }; - declare class ConnectedComponent<OP, P, Def, St> extends React$Component< - void, + declare class ConnectedComponentWithDefaultProps< OP, - void - > { - static WrappedComponent: Class<React$Component<Def, P, St>>, - getWrappedInstance(): React$Component<Def, P, St>, - static defaultProps: void, + DP, + CP + > extends React$Component<OP> { + static defaultProps: DP, // <= workaround for https://github.com/facebook/flow/issues/4644 + static WrappedComponent: Class<React$Component<CP>>, + getWrappedInstance(): React$Component<CP>, props: OP, state: void } - declare type ConnectedComponentClass<OP, P, Def, St> = Class< - ConnectedComponent<OP, P, Def, St> + declare class ConnectedComponent<OP, P> extends React$Component<OP> { + static WrappedComponent: Class<React$Component<P>>, + getWrappedInstance(): React$Component<P>, + props: OP, + state: void + } + + declare type ConnectedComponentWithDefaultPropsClass<OP, DP, CP> = Class< + ConnectedComponentWithDefaultProps<OP, DP, CP> >; - declare type Connector<OP, P> = { - ( - component: StatelessComponent<P> - ): ConnectedComponentClass<OP, P, void, void>, - <Def, St>( - component: Class<React$Component<Def, P, St>> - ): ConnectedComponentClass<OP, P, Def, St> - }; + declare type ConnectedComponentClass<OP, P> = Class< + ConnectedComponent<OP, P> + >; + + declare type Connector<OP, P> = (<DP: {}, CP: {}>( + component: ComponentWithDefaultProps<DP, P, CP> + ) => ConnectedComponentWithDefaultPropsClass<OP, DP, CP>) & + ((component: React$ComponentType<P>) => ConnectedComponentClass<OP, P>); + + declare class Provider<S, A> extends React$Component<{ + store: Store<S, A>, + children?: any + }> {} - declare class Provider<S, A> extends React$Component< - void, - { store: Store<S, A>, children?: any }, - void - > {} + declare function createProvider( + storeKey?: string, + subKey?: string + ): Provider<*, *>; declare type ConnectOptions = { pure?: boolean, diff --git a/flow-typed/npm/react-router-redux_vx.x.x.js b/flow-typed/npm/react-router-redux_vx.x.x.js index 2957dde669..842e2765b2 100644 --- a/flow-typed/npm/react-router-redux_vx.x.x.js +++ b/flow-typed/npm/react-router-redux_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 2cd01b26e6e3ac3a923529e4ea4e55a4 -// flow-typed version: <<STUB>>/react-router-redux_v5.0.0-alpha.6/flow_v0.50.0 +// flow-typed signature: 720b8be9458dbc9eac11fe3683b48445 +// flow-typed version: <<STUB>>/react-router-redux_v5.0.0-alpha.6/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/react-router_v4.x.x.js b/flow-typed/npm/react-router_v4.x.x.js index f73c8016e3..68505200d8 100644 --- a/flow-typed/npm/react-router_v4.x.x.js +++ b/flow-typed/npm/react-router_v4.x.x.js @@ -1,7 +1,7 @@ -// flow-typed signature: 88e8ce86d46701f2c1717cbba2890283 -// flow-typed version: 19506e57e6/react-router_v4.x.x/flow_>=v0.30.x <=v0.52.x +// flow-typed signature: 1e6728f0a649edac3689d6e2db7487a7 +// flow-typed version: 01716df816/react-router_v4.x.x/flow_>=v0.53.x -declare module 'react-router' { +declare module "react-router" { // NOTE: many of these are re-exported by react-router-dom and // react-router-native, so when making changes, please be sure to update those // as well. @@ -10,119 +10,116 @@ declare module 'react-router' { search: string, hash: string, state?: any, - key?: string, - } + key?: string + }; declare export type LocationShape = { pathname?: string, search?: string, hash?: string, - state?: any, - } + state?: any + }; - declare export type HistoryAction = 'PUSH' | 'REPLACE' | 'POP' + declare export type HistoryAction = "PUSH" | "REPLACE" | "POP"; declare export type RouterHistory = { length: number, location: Location, action: HistoryAction, - listen(callback: (location: Location, action: HistoryAction) => void): () => void, + listen( + callback: (location: Location, action: HistoryAction) => void + ): () => void, push(path: string | LocationShape, state?: any): void, replace(path: string | LocationShape, state?: any): void, go(n: number): void, goBack(): void, goForward(): void, - canGo?: (n: number) => bool, - block(callback: (location: Location, action: HistoryAction) => boolean): void, + canGo?: (n: number) => boolean, + block( + callback: (location: Location, action: HistoryAction) => boolean + ): void, // createMemoryHistory index?: number, - entries?: Array<Location>, - } + entries?: Array<Location> + }; declare export type Match = { params: { [key: string]: ?string }, isExact: boolean, path: string, - url: string, - } + url: string + }; - declare export type ContextRouter = { + declare export type ContextRouter = {| history: RouterHistory, location: Location, - match: Match, - } + match: Match + |}; - declare export type GetUserConfirmation = - (message: string, callback: (confirmed: boolean) => void) => void + declare export type GetUserConfirmation = ( + message: string, + callback: (confirmed: boolean) => void + ) => void; declare type StaticRouterContext = { - url?: string, - } + url?: string + }; - declare export class StaticRouter extends React$Component { - props: { - basename?: string, - location?: string | Location, - context: StaticRouterContext, - children?: React$Element<*>, - } - } + declare export class StaticRouter extends React$Component<{ + basename?: string, + location?: string | Location, + context: StaticRouterContext, + children?: React$Node + }> {} - declare export class MemoryRouter extends React$Component { - props: { - initialEntries?: Array<LocationShape | string>, - initialIndex?: number, - getUserConfirmation?: GetUserConfirmation, - keyLength?: number, - children?: React$Element<*>, - } - } + declare export class MemoryRouter extends React$Component<{ + initialEntries?: Array<LocationShape | string>, + initialIndex?: number, + getUserConfirmation?: GetUserConfirmation, + keyLength?: number, + children?: React$Node + }> {} - declare export class Router extends React$Component { - props: { - history: RouterHistory, - children?: React$Element<*>, - } - } + declare export class Router extends React$Component<{ + history: RouterHistory, + children?: React$Node + }> {} - declare export class Prompt extends React$Component { - props: { - message: string | (location: Location) => string | true, - when?: boolean, - } - } + declare export class Prompt extends React$Component<{ + message: string | ((location: Location) => string | true), + when?: boolean + }> {} - declare export class Redirect extends React$Component { - props: { - to: string | LocationShape, - push?: boolean, - } - } + declare export class Redirect extends React$Component<{ + to: string | LocationShape, + push?: boolean + }> {} - declare export class Route extends React$Component { - props: { - component?: ReactClass<*>, - render?: (router: ContextRouter) => React$Element<*>, - children?: (router: ContextRouter) => React$Element<*>, - path?: string, - exact?: bool, - strict?: bool, - } - } + declare export class Route extends React$Component<{ + component?: React$ComponentType<*>, + render?: (router: ContextRouter) => React$Node, + children?: React$ComponentType<ContextRouter> | React$Node, + path?: string, + exact?: boolean, + strict?: boolean + }> {} - declare export class Switch extends React$Component { - props: { - children?: Array<React$Element<*>>, - } - } + declare export class Switch extends React$Component<{ + children?: React$Node + }> {} - declare type FunctionComponent<P> = (props: P) => ?React$Element<any>; - declare type ClassComponent<D, P, S> = Class<React$Component<D, P, S>>; - declare export function withRouter<D, P, S>(Component: ClassComponent<D, P, S> | FunctionComponent<P>): ClassComponent<D, $Diff<P, ContextRouter>, S>; + declare export function withRouter<P>( + Component: React$ComponentType<{| ...ContextRouter, ...P |}> + ): React$ComponentType<P>; declare type MatchPathOptions = { + path?: string, exact?: boolean, strict?: boolean, - } - declare export function matchPath(pathname: string, path: string, options?: MatchPathOptions): null | Match + sensitive?: boolean + }; + declare export function matchPath( + pathname: string, + options?: MatchPathOptions | string + ): null | Match; } diff --git a/flow-typed/npm/react-router_vx.x.x.js b/flow-typed/npm/react-router_vx.x.x.js deleted file mode 100644 index 8598b1cdb6..0000000000 --- a/flow-typed/npm/react-router_vx.x.x.js +++ /dev/null @@ -1,501 +0,0 @@ -// flow-typed signature: faad4d2c4743ac30e07eab9c30da7d57 -// flow-typed version: <<STUB>>/react-router_v^3.0.2/flow_v0.46.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'react-router' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'react-router' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'react-router/es/applyRouterMiddleware' { - declare module.exports: any; -} - -declare module 'react-router/es/AsyncUtils' { - declare module.exports: any; -} - -declare module 'react-router/es/browserHistory' { - declare module.exports: any; -} - -declare module 'react-router/es/computeChangedRoutes' { - declare module.exports: any; -} - -declare module 'react-router/es/ContextUtils' { - declare module.exports: any; -} - -declare module 'react-router/es/createMemoryHistory' { - declare module.exports: any; -} - -declare module 'react-router/es/createRouterHistory' { - declare module.exports: any; -} - -declare module 'react-router/es/createTransitionManager' { - declare module.exports: any; -} - -declare module 'react-router/es/getComponents' { - declare module.exports: any; -} - -declare module 'react-router/es/getRouteParams' { - declare module.exports: any; -} - -declare module 'react-router/es/hashHistory' { - declare module.exports: any; -} - -declare module 'react-router/es/index' { - declare module.exports: any; -} - -declare module 'react-router/es/IndexLink' { - declare module.exports: any; -} - -declare module 'react-router/es/IndexRedirect' { - declare module.exports: any; -} - -declare module 'react-router/es/IndexRoute' { - declare module.exports: any; -} - -declare module 'react-router/es/InternalPropTypes' { - declare module.exports: any; -} - -declare module 'react-router/es/isActive' { - declare module.exports: any; -} - -declare module 'react-router/es/Link' { - declare module.exports: any; -} - -declare module 'react-router/es/match' { - declare module.exports: any; -} - -declare module 'react-router/es/matchRoutes' { - declare module.exports: any; -} - -declare module 'react-router/es/PatternUtils' { - declare module.exports: any; -} - -declare module 'react-router/es/PromiseUtils' { - declare module.exports: any; -} - -declare module 'react-router/es/PropTypes' { - declare module.exports: any; -} - -declare module 'react-router/es/Redirect' { - declare module.exports: any; -} - -declare module 'react-router/es/Route' { - declare module.exports: any; -} - -declare module 'react-router/es/Router' { - declare module.exports: any; -} - -declare module 'react-router/es/RouterContext' { - declare module.exports: any; -} - -declare module 'react-router/es/RouterUtils' { - declare module.exports: any; -} - -declare module 'react-router/es/routerWarning' { - declare module.exports: any; -} - -declare module 'react-router/es/RouteUtils' { - declare module.exports: any; -} - -declare module 'react-router/es/TransitionUtils' { - declare module.exports: any; -} - -declare module 'react-router/es/useRouterHistory' { - declare module.exports: any; -} - -declare module 'react-router/es/withRouter' { - declare module.exports: any; -} - -declare module 'react-router/lib/applyRouterMiddleware' { - declare module.exports: any; -} - -declare module 'react-router/lib/AsyncUtils' { - declare module.exports: any; -} - -declare module 'react-router/lib/browserHistory' { - declare module.exports: any; -} - -declare module 'react-router/lib/computeChangedRoutes' { - declare module.exports: any; -} - -declare module 'react-router/lib/ContextUtils' { - declare module.exports: any; -} - -declare module 'react-router/lib/createMemoryHistory' { - declare module.exports: any; -} - -declare module 'react-router/lib/createRouterHistory' { - declare module.exports: any; -} - -declare module 'react-router/lib/createTransitionManager' { - declare module.exports: any; -} - -declare module 'react-router/lib/getComponents' { - declare module.exports: any; -} - -declare module 'react-router/lib/getRouteParams' { - declare module.exports: any; -} - -declare module 'react-router/lib/hashHistory' { - declare module.exports: any; -} - -declare module 'react-router/lib/index' { - declare module.exports: any; -} - -declare module 'react-router/lib/IndexLink' { - declare module.exports: any; -} - -declare module 'react-router/lib/IndexRedirect' { - declare module.exports: any; -} - -declare module 'react-router/lib/IndexRoute' { - declare module.exports: any; -} - -declare module 'react-router/lib/InternalPropTypes' { - declare module.exports: any; -} - -declare module 'react-router/lib/isActive' { - declare module.exports: any; -} - -declare module 'react-router/lib/Link' { - declare module.exports: any; -} - -declare module 'react-router/lib/match' { - declare module.exports: any; -} - -declare module 'react-router/lib/matchRoutes' { - declare module.exports: any; -} - -declare module 'react-router/lib/PatternUtils' { - declare module.exports: any; -} - -declare module 'react-router/lib/PromiseUtils' { - declare module.exports: any; -} - -declare module 'react-router/lib/PropTypes' { - declare module.exports: any; -} - -declare module 'react-router/lib/Redirect' { - declare module.exports: any; -} - -declare module 'react-router/lib/Route' { - declare module.exports: any; -} - -declare module 'react-router/lib/Router' { - declare module.exports: any; -} - -declare module 'react-router/lib/RouterContext' { - declare module.exports: any; -} - -declare module 'react-router/lib/RouterUtils' { - declare module.exports: any; -} - -declare module 'react-router/lib/routerWarning' { - declare module.exports: any; -} - -declare module 'react-router/lib/RouteUtils' { - declare module.exports: any; -} - -declare module 'react-router/lib/TransitionUtils' { - declare module.exports: any; -} - -declare module 'react-router/lib/useRouterHistory' { - declare module.exports: any; -} - -declare module 'react-router/lib/withRouter' { - declare module.exports: any; -} - -declare module 'react-router/umd/ReactRouter' { - declare module.exports: any; -} - -declare module 'react-router/umd/ReactRouter.min' { - declare module.exports: any; -} - -// Filename aliases -declare module 'react-router/es/applyRouterMiddleware.js' { - declare module.exports: $Exports<'react-router/es/applyRouterMiddleware'>; -} -declare module 'react-router/es/AsyncUtils.js' { - declare module.exports: $Exports<'react-router/es/AsyncUtils'>; -} -declare module 'react-router/es/browserHistory.js' { - declare module.exports: $Exports<'react-router/es/browserHistory'>; -} -declare module 'react-router/es/computeChangedRoutes.js' { - declare module.exports: $Exports<'react-router/es/computeChangedRoutes'>; -} -declare module 'react-router/es/ContextUtils.js' { - declare module.exports: $Exports<'react-router/es/ContextUtils'>; -} -declare module 'react-router/es/createMemoryHistory.js' { - declare module.exports: $Exports<'react-router/es/createMemoryHistory'>; -} -declare module 'react-router/es/createRouterHistory.js' { - declare module.exports: $Exports<'react-router/es/createRouterHistory'>; -} -declare module 'react-router/es/createTransitionManager.js' { - declare module.exports: $Exports<'react-router/es/createTransitionManager'>; -} -declare module 'react-router/es/getComponents.js' { - declare module.exports: $Exports<'react-router/es/getComponents'>; -} -declare module 'react-router/es/getRouteParams.js' { - declare module.exports: $Exports<'react-router/es/getRouteParams'>; -} -declare module 'react-router/es/hashHistory.js' { - declare module.exports: $Exports<'react-router/es/hashHistory'>; -} -declare module 'react-router/es/index.js' { - declare module.exports: $Exports<'react-router/es/index'>; -} -declare module 'react-router/es/IndexLink.js' { - declare module.exports: $Exports<'react-router/es/IndexLink'>; -} -declare module 'react-router/es/IndexRedirect.js' { - declare module.exports: $Exports<'react-router/es/IndexRedirect'>; -} -declare module 'react-router/es/IndexRoute.js' { - declare module.exports: $Exports<'react-router/es/IndexRoute'>; -} -declare module 'react-router/es/InternalPropTypes.js' { - declare module.exports: $Exports<'react-router/es/InternalPropTypes'>; -} -declare module 'react-router/es/isActive.js' { - declare module.exports: $Exports<'react-router/es/isActive'>; -} -declare module 'react-router/es/Link.js' { - declare module.exports: $Exports<'react-router/es/Link'>; -} -declare module 'react-router/es/match.js' { - declare module.exports: $Exports<'react-router/es/match'>; -} -declare module 'react-router/es/matchRoutes.js' { - declare module.exports: $Exports<'react-router/es/matchRoutes'>; -} -declare module 'react-router/es/PatternUtils.js' { - declare module.exports: $Exports<'react-router/es/PatternUtils'>; -} -declare module 'react-router/es/PromiseUtils.js' { - declare module.exports: $Exports<'react-router/es/PromiseUtils'>; -} -declare module 'react-router/es/PropTypes.js' { - declare module.exports: $Exports<'react-router/es/PropTypes'>; -} -declare module 'react-router/es/Redirect.js' { - declare module.exports: $Exports<'react-router/es/Redirect'>; -} -declare module 'react-router/es/Route.js' { - declare module.exports: $Exports<'react-router/es/Route'>; -} -declare module 'react-router/es/Router.js' { - declare module.exports: $Exports<'react-router/es/Router'>; -} -declare module 'react-router/es/RouterContext.js' { - declare module.exports: $Exports<'react-router/es/RouterContext'>; -} -declare module 'react-router/es/RouterUtils.js' { - declare module.exports: $Exports<'react-router/es/RouterUtils'>; -} -declare module 'react-router/es/routerWarning.js' { - declare module.exports: $Exports<'react-router/es/routerWarning'>; -} -declare module 'react-router/es/RouteUtils.js' { - declare module.exports: $Exports<'react-router/es/RouteUtils'>; -} -declare module 'react-router/es/TransitionUtils.js' { - declare module.exports: $Exports<'react-router/es/TransitionUtils'>; -} -declare module 'react-router/es/useRouterHistory.js' { - declare module.exports: $Exports<'react-router/es/useRouterHistory'>; -} -declare module 'react-router/es/withRouter.js' { - declare module.exports: $Exports<'react-router/es/withRouter'>; -} -declare module 'react-router/lib/applyRouterMiddleware.js' { - declare module.exports: $Exports<'react-router/lib/applyRouterMiddleware'>; -} -declare module 'react-router/lib/AsyncUtils.js' { - declare module.exports: $Exports<'react-router/lib/AsyncUtils'>; -} -declare module 'react-router/lib/browserHistory.js' { - declare module.exports: $Exports<'react-router/lib/browserHistory'>; -} -declare module 'react-router/lib/computeChangedRoutes.js' { - declare module.exports: $Exports<'react-router/lib/computeChangedRoutes'>; -} -declare module 'react-router/lib/ContextUtils.js' { - declare module.exports: $Exports<'react-router/lib/ContextUtils'>; -} -declare module 'react-router/lib/createMemoryHistory.js' { - declare module.exports: $Exports<'react-router/lib/createMemoryHistory'>; -} -declare module 'react-router/lib/createRouterHistory.js' { - declare module.exports: $Exports<'react-router/lib/createRouterHistory'>; -} -declare module 'react-router/lib/createTransitionManager.js' { - declare module.exports: $Exports<'react-router/lib/createTransitionManager'>; -} -declare module 'react-router/lib/getComponents.js' { - declare module.exports: $Exports<'react-router/lib/getComponents'>; -} -declare module 'react-router/lib/getRouteParams.js' { - declare module.exports: $Exports<'react-router/lib/getRouteParams'>; -} -declare module 'react-router/lib/hashHistory.js' { - declare module.exports: $Exports<'react-router/lib/hashHistory'>; -} -declare module 'react-router/lib/index.js' { - declare module.exports: $Exports<'react-router/lib/index'>; -} -declare module 'react-router/lib/IndexLink.js' { - declare module.exports: $Exports<'react-router/lib/IndexLink'>; -} -declare module 'react-router/lib/IndexRedirect.js' { - declare module.exports: $Exports<'react-router/lib/IndexRedirect'>; -} -declare module 'react-router/lib/IndexRoute.js' { - declare module.exports: $Exports<'react-router/lib/IndexRoute'>; -} -declare module 'react-router/lib/InternalPropTypes.js' { - declare module.exports: $Exports<'react-router/lib/InternalPropTypes'>; -} -declare module 'react-router/lib/isActive.js' { - declare module.exports: $Exports<'react-router/lib/isActive'>; -} -declare module 'react-router/lib/Link.js' { - declare module.exports: $Exports<'react-router/lib/Link'>; -} -declare module 'react-router/lib/match.js' { - declare module.exports: $Exports<'react-router/lib/match'>; -} -declare module 'react-router/lib/matchRoutes.js' { - declare module.exports: $Exports<'react-router/lib/matchRoutes'>; -} -declare module 'react-router/lib/PatternUtils.js' { - declare module.exports: $Exports<'react-router/lib/PatternUtils'>; -} -declare module 'react-router/lib/PromiseUtils.js' { - declare module.exports: $Exports<'react-router/lib/PromiseUtils'>; -} -declare module 'react-router/lib/PropTypes.js' { - declare module.exports: $Exports<'react-router/lib/PropTypes'>; -} -declare module 'react-router/lib/Redirect.js' { - declare module.exports: $Exports<'react-router/lib/Redirect'>; -} -declare module 'react-router/lib/Route.js' { - declare module.exports: $Exports<'react-router/lib/Route'>; -} -declare module 'react-router/lib/Router.js' { - declare module.exports: $Exports<'react-router/lib/Router'>; -} -declare module 'react-router/lib/RouterContext.js' { - declare module.exports: $Exports<'react-router/lib/RouterContext'>; -} -declare module 'react-router/lib/RouterUtils.js' { - declare module.exports: $Exports<'react-router/lib/RouterUtils'>; -} -declare module 'react-router/lib/routerWarning.js' { - declare module.exports: $Exports<'react-router/lib/routerWarning'>; -} -declare module 'react-router/lib/RouteUtils.js' { - declare module.exports: $Exports<'react-router/lib/RouteUtils'>; -} -declare module 'react-router/lib/TransitionUtils.js' { - declare module.exports: $Exports<'react-router/lib/TransitionUtils'>; -} -declare module 'react-router/lib/useRouterHistory.js' { - declare module.exports: $Exports<'react-router/lib/useRouterHistory'>; -} -declare module 'react-router/lib/withRouter.js' { - declare module.exports: $Exports<'react-router/lib/withRouter'>; -} -declare module 'react-router/umd/ReactRouter.js' { - declare module.exports: $Exports<'react-router/umd/ReactRouter'>; -} -declare module 'react-router/umd/ReactRouter.min.js' { - declare module.exports: $Exports<'react-router/umd/ReactRouter.min'>; -} diff --git a/flow-typed/npm/react-simple-maps_vx.x.x.js b/flow-typed/npm/react-simple-maps_vx.x.x.js new file mode 100644 index 0000000000..9b2df0e925 --- /dev/null +++ b/flow-typed/npm/react-simple-maps_vx.x.x.js @@ -0,0 +1,123 @@ +// flow-typed signature: ecca1603e4a8580ed9b8be20a1f54e94 +// flow-typed version: <<STUB>>/react-simple-maps_v^0.10.1/flow_v0.65.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'react-simple-maps' + * + * Fill this stub out by replacing all the `any` types. + * + * Once filled out, we encourage you to share your work with the + * community by sending a pull request to: + * https://github.com/flowtype/flow-typed + */ + +declare module 'react-simple-maps' { + declare module.exports: any; +} + +/** + * We include stubs for each file inside this npm package in case you need to + * require those files directly. Feel free to delete any files that aren't + * needed. + */ +declare module 'react-simple-maps/lib/Annotation' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/Annotations' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/ComposableMap' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/Geographies' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/Geography' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/Graticule' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/index' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/Marker' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/Markers' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/projectionConfig' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/projections' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/utils' { + declare module.exports: any; +} + +declare module 'react-simple-maps/lib/ZoomableGroup' { + declare module.exports: any; +} + +declare module 'react-simple-maps/tests/utils.spec' { + declare module.exports: any; +} + +// Filename aliases +declare module 'react-simple-maps/lib/Annotation.js' { + declare module.exports: $Exports<'react-simple-maps/lib/Annotation'>; +} +declare module 'react-simple-maps/lib/Annotations.js' { + declare module.exports: $Exports<'react-simple-maps/lib/Annotations'>; +} +declare module 'react-simple-maps/lib/ComposableMap.js' { + declare module.exports: $Exports<'react-simple-maps/lib/ComposableMap'>; +} +declare module 'react-simple-maps/lib/Geographies.js' { + declare module.exports: $Exports<'react-simple-maps/lib/Geographies'>; +} +declare module 'react-simple-maps/lib/Geography.js' { + declare module.exports: $Exports<'react-simple-maps/lib/Geography'>; +} +declare module 'react-simple-maps/lib/Graticule.js' { + declare module.exports: $Exports<'react-simple-maps/lib/Graticule'>; +} +declare module 'react-simple-maps/lib/index.js' { + declare module.exports: $Exports<'react-simple-maps/lib/index'>; +} +declare module 'react-simple-maps/lib/Marker.js' { + declare module.exports: $Exports<'react-simple-maps/lib/Marker'>; +} +declare module 'react-simple-maps/lib/Markers.js' { + declare module.exports: $Exports<'react-simple-maps/lib/Markers'>; +} +declare module 'react-simple-maps/lib/projectionConfig.js' { + declare module.exports: $Exports<'react-simple-maps/lib/projectionConfig'>; +} +declare module 'react-simple-maps/lib/projections.js' { + declare module.exports: $Exports<'react-simple-maps/lib/projections'>; +} +declare module 'react-simple-maps/lib/utils.js' { + declare module.exports: $Exports<'react-simple-maps/lib/utils'>; +} +declare module 'react-simple-maps/lib/ZoomableGroup.js' { + declare module.exports: $Exports<'react-simple-maps/lib/ZoomableGroup'>; +} +declare module 'react-simple-maps/tests/utils.spec.js' { + declare module.exports: $Exports<'react-simple-maps/tests/utils.spec'>; +} diff --git a/flow-typed/npm/react-test-renderer_v16.x.x.js b/flow-typed/npm/react-test-renderer_v16.x.x.js new file mode 100644 index 0000000000..1f9a271c6c --- /dev/null +++ b/flow-typed/npm/react-test-renderer_v16.x.x.js @@ -0,0 +1,62 @@ +// flow-typed signature: 2d946f2ec4aba5210b19d053c411a59d +// flow-typed version: 95b3e05165/react-test-renderer_v16.x.x/flow_>=v0.47.x + +// Type definitions for react-test-renderer 16.x.x +// Ported from: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-test-renderer + +type ReactTestRendererJSON = { + type: string, + props: { [propName: string]: any }, + children: null | ReactTestRendererJSON[] +}; + +type ReactTestRendererTree = ReactTestRendererJSON & { + nodeType: "component" | "host", + instance: any, + rendered: null | ReactTestRendererTree +}; + +type ReactTestInstance = { + instance: any, + type: string, + props: { [propName: string]: any }, + parent: null | ReactTestInstance, + children: Array<ReactTestInstance | string>, + + find(predicate: (node: ReactTestInstance) => boolean): ReactTestInstance, + findByType(type: React$ElementType): ReactTestInstance, + findByProps(props: { [propName: string]: any }): ReactTestInstance, + + findAll( + predicate: (node: ReactTestInstance) => boolean, + options?: { deep: boolean } + ): ReactTestInstance[], + findAllByType( + type: React$ElementType, + options?: { deep: boolean } + ): ReactTestInstance[], + findAllByProps( + props: { [propName: string]: any }, + options?: { deep: boolean } + ): ReactTestInstance[] +}; + +type ReactTestRenderer = { + toJSON(): null | ReactTestRendererJSON, + toTree(): null | ReactTestRendererTree, + unmount(nextElement?: React$Element<any>): void, + update(nextElement: React$Element<any>): void, + getInstance(): null | ReactTestInstance, + root: ReactTestInstance +}; + +type TestRendererOptions = { + createNodeMock(element: React$Element<any>): any +}; + +declare module "react-test-renderer" { + declare function create( + nextElement: React$Element<any>, + options?: TestRendererOptions + ): ReactTestRenderer; +} diff --git a/flow-typed/npm/react-test-renderer_vx.x.x.js b/flow-typed/npm/react-test-renderer_vx.x.x.js deleted file mode 100644 index 1537e7358b..0000000000 --- a/flow-typed/npm/react-test-renderer_vx.x.x.js +++ /dev/null @@ -1,1781 +0,0 @@ -// flow-typed signature: 666c4eef49820002c4e81a9b6f305876 -// flow-typed version: <<STUB>>/react-test-renderer_v^15.6.1/flow_v0.50.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'react-test-renderer' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'react-test-renderer' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'react-test-renderer/lib/accumulate' { - 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.exports: any; -} - -declare module 'react-test-renderer/shallow' { - declare module.exports: any; -} - -// Filename aliases -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'>; -} diff --git a/flow-typed/npm/react-transition-group_vx.x.x.js b/flow-typed/npm/react-transition-group_vx.x.x.js index 49a017531b..3de6d4279a 100644 --- a/flow-typed/npm/react-transition-group_vx.x.x.js +++ b/flow-typed/npm/react-transition-group_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 31fb222cba3b5a63a8c2a8f9617f1041 -// flow-typed version: <<STUB>>/react-transition-group_v^1.2.0/flow_v0.50.0 +// flow-typed signature: 29dbe0ae1689d8d245ff83cf4c3ce647 +// flow-typed version: <<STUB>>/react-transition-group_v^1.2.0/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/reactxp_vx.x.x.js b/flow-typed/npm/reactxp_vx.x.x.js index 8746446718..fd6ba04ff4 100644 --- a/flow-typed/npm/reactxp_vx.x.x.js +++ b/flow-typed/npm/reactxp_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: f4807f14e29bafb6e481251b9953eb13 -// flow-typed version: <<STUB>>/reactxp_v0.46.5/flow_v0.50.0 +// flow-typed signature: 59e8f8052b0d88d20fa31d7e24a18d54 +// flow-typed version: <<STUB>>/reactxp_v^0.51.1/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -22,6 +22,10 @@ declare module 'reactxp' { * require those files directly. Feel free to delete any files that aren't * needed. */ +declare module 'reactxp/dist/android/Accessibility' { + declare module.exports: any; +} + declare module 'reactxp/dist/android/AccessibilityUtil' { declare module.exports: any; } @@ -98,6 +102,10 @@ declare module 'reactxp/dist/common/Types' { declare module.exports: any; } +declare module 'reactxp/dist/common/utils/FocusManager' { + declare module.exports: any; +} + declare module 'reactxp/dist/ios/Accessibility' { declare module.exports: any; } @@ -150,6 +158,10 @@ declare module 'reactxp/dist/macos/StatusBar' { declare module.exports: any; } +declare module 'reactxp/dist/macos/TextInput' { + declare module.exports: any; +} + declare module 'reactxp/dist/native-common/Accessibility' { declare module.exports: any; } @@ -210,10 +222,6 @@ declare module 'reactxp/dist/native-common/Linking' { declare module.exports: any; } -declare module 'reactxp/dist/native-common/listAnimations/AnimateListEdits' { - declare module.exports: any; -} - declare module 'reactxp/dist/native-common/lodashMini' { declare module.exports: any; } @@ -286,6 +294,10 @@ declare module 'reactxp/dist/native-common/UserPresence' { declare module.exports: any; } +declare module 'reactxp/dist/native-common/utils/EventHelpers' { + declare module.exports: any; +} + declare module 'reactxp/dist/native-common/View' { declare module.exports: any; } @@ -298,6 +310,26 @@ declare module 'reactxp/dist/native-common/WebView' { declare module.exports: any; } +declare module 'reactxp/dist/native-desktop/App' { + declare module.exports: any; +} + +declare module 'reactxp/dist/native-desktop/Input' { + declare module.exports: any; +} + +declare module 'reactxp/dist/native-desktop/RootView' { + declare module.exports: any; +} + +declare module 'reactxp/dist/native-desktop/UserInterface' { + declare module.exports: any; +} + +declare module 'reactxp/dist/native-desktop/utils/FocusManager' { + declare module.exports: any; +} + declare module 'reactxp/dist/ReactXP' { declare module.exports: any; } @@ -490,10 +522,22 @@ declare module 'reactxp/dist/windows/AccessibilityUtil' { declare module.exports: any; } +declare module 'reactxp/dist/windows/Animated' { + declare module.exports: any; +} + +declare module 'reactxp/dist/windows/Button' { + declare module.exports: any; +} + declare module 'reactxp/dist/windows/GestureView' { declare module.exports: any; } +declare module 'reactxp/dist/windows/Link' { + declare module.exports: any; +} + declare module 'reactxp/dist/windows/Linking' { declare module.exports: any; } @@ -502,10 +546,22 @@ declare module 'reactxp/dist/windows/ReactXP' { declare module.exports: any; } +declare module 'reactxp/dist/windows/ScrollView' { + declare module.exports: any; +} + declare module 'reactxp/dist/windows/StatusBar' { declare module.exports: any; } +declare module 'reactxp/dist/windows/TextInput' { + declare module.exports: any; +} + +declare module 'reactxp/dist/windows/View' { + declare module.exports: any; +} + declare module 'reactxp/index.android' { declare module.exports: any; } @@ -523,6 +579,9 @@ declare module 'reactxp/index.windows' { } // Filename aliases +declare module 'reactxp/dist/android/Accessibility.js' { + declare module.exports: $Exports<'reactxp/dist/android/Accessibility'>; +} declare module 'reactxp/dist/android/AccessibilityUtil.js' { declare module.exports: $Exports<'reactxp/dist/android/AccessibilityUtil'>; } @@ -580,6 +639,9 @@ declare module 'reactxp/dist/common/StyleLeakDetector.js' { declare module 'reactxp/dist/common/Types.js' { declare module.exports: $Exports<'reactxp/dist/common/Types'>; } +declare module 'reactxp/dist/common/utils/FocusManager.js' { + declare module.exports: $Exports<'reactxp/dist/common/utils/FocusManager'>; +} declare module 'reactxp/dist/ios/Accessibility.js' { declare module.exports: $Exports<'reactxp/dist/ios/Accessibility'>; } @@ -619,6 +681,9 @@ declare module 'reactxp/dist/macos/ReactXP.js' { declare module 'reactxp/dist/macos/StatusBar.js' { declare module.exports: $Exports<'reactxp/dist/macos/StatusBar'>; } +declare module 'reactxp/dist/macos/TextInput.js' { + declare module.exports: $Exports<'reactxp/dist/macos/TextInput'>; +} declare module 'reactxp/dist/native-common/Accessibility.js' { declare module.exports: $Exports<'reactxp/dist/native-common/Accessibility'>; } @@ -664,9 +729,6 @@ declare module 'reactxp/dist/native-common/Link.js' { declare module 'reactxp/dist/native-common/Linking.js' { declare module.exports: $Exports<'reactxp/dist/native-common/Linking'>; } -declare module 'reactxp/dist/native-common/listAnimations/AnimateListEdits.js' { - declare module.exports: $Exports<'reactxp/dist/native-common/listAnimations/AnimateListEdits'>; -} declare module 'reactxp/dist/native-common/lodashMini.js' { declare module.exports: $Exports<'reactxp/dist/native-common/lodashMini'>; } @@ -721,6 +783,9 @@ declare module 'reactxp/dist/native-common/UserInterface.js' { declare module 'reactxp/dist/native-common/UserPresence.js' { declare module.exports: $Exports<'reactxp/dist/native-common/UserPresence'>; } +declare module 'reactxp/dist/native-common/utils/EventHelpers.js' { + declare module.exports: $Exports<'reactxp/dist/native-common/utils/EventHelpers'>; +} declare module 'reactxp/dist/native-common/View.js' { declare module.exports: $Exports<'reactxp/dist/native-common/View'>; } @@ -730,6 +795,21 @@ declare module 'reactxp/dist/native-common/ViewBase.js' { declare module 'reactxp/dist/native-common/WebView.js' { declare module.exports: $Exports<'reactxp/dist/native-common/WebView'>; } +declare module 'reactxp/dist/native-desktop/App.js' { + declare module.exports: $Exports<'reactxp/dist/native-desktop/App'>; +} +declare module 'reactxp/dist/native-desktop/Input.js' { + declare module.exports: $Exports<'reactxp/dist/native-desktop/Input'>; +} +declare module 'reactxp/dist/native-desktop/RootView.js' { + declare module.exports: $Exports<'reactxp/dist/native-desktop/RootView'>; +} +declare module 'reactxp/dist/native-desktop/UserInterface.js' { + declare module.exports: $Exports<'reactxp/dist/native-desktop/UserInterface'>; +} +declare module 'reactxp/dist/native-desktop/utils/FocusManager.js' { + declare module.exports: $Exports<'reactxp/dist/native-desktop/utils/FocusManager'>; +} declare module 'reactxp/dist/ReactXP.js' { declare module.exports: $Exports<'reactxp/dist/ReactXP'>; } @@ -874,18 +954,36 @@ declare module 'reactxp/dist/windows/Accessibility.js' { declare module 'reactxp/dist/windows/AccessibilityUtil.js' { declare module.exports: $Exports<'reactxp/dist/windows/AccessibilityUtil'>; } +declare module 'reactxp/dist/windows/Animated.js' { + declare module.exports: $Exports<'reactxp/dist/windows/Animated'>; +} +declare module 'reactxp/dist/windows/Button.js' { + declare module.exports: $Exports<'reactxp/dist/windows/Button'>; +} declare module 'reactxp/dist/windows/GestureView.js' { declare module.exports: $Exports<'reactxp/dist/windows/GestureView'>; } +declare module 'reactxp/dist/windows/Link.js' { + declare module.exports: $Exports<'reactxp/dist/windows/Link'>; +} declare module 'reactxp/dist/windows/Linking.js' { declare module.exports: $Exports<'reactxp/dist/windows/Linking'>; } declare module 'reactxp/dist/windows/ReactXP.js' { declare module.exports: $Exports<'reactxp/dist/windows/ReactXP'>; } +declare module 'reactxp/dist/windows/ScrollView.js' { + declare module.exports: $Exports<'reactxp/dist/windows/ScrollView'>; +} declare module 'reactxp/dist/windows/StatusBar.js' { declare module.exports: $Exports<'reactxp/dist/windows/StatusBar'>; } +declare module 'reactxp/dist/windows/TextInput.js' { + declare module.exports: $Exports<'reactxp/dist/windows/TextInput'>; +} +declare module 'reactxp/dist/windows/View.js' { + declare module.exports: $Exports<'reactxp/dist/windows/View'>; +} declare module 'reactxp/index.android.js' { declare module.exports: $Exports<'reactxp/index.android'>; } diff --git a/flow-typed/npm/redux-thunk_vx.x.x.js b/flow-typed/npm/redux-thunk_vx.x.x.js index 6cb0c1d3fb..495d656919 100644 --- a/flow-typed/npm/redux-thunk_vx.x.x.js +++ b/flow-typed/npm/redux-thunk_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: be0945693c40b6b68d81f3c72bd79f8c -// flow-typed version: <<STUB>>/redux-thunk_v^2.2.0/flow_v0.50.0 +// flow-typed signature: dbb5997b45ad04210649b6845473949e +// flow-typed version: <<STUB>>/redux-thunk_v^2.2.0/flow_v0.65.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/redux_v3.x.x.js b/flow-typed/npm/redux_v3.x.x.js index 5bb5fb1a42..97fec81e51 100644 --- a/flow-typed/npm/redux_v3.x.x.js +++ b/flow-typed/npm/redux_v3.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: e0393883da9eb99c94c51c728b3f1d71 -// flow-typed version: 2c04631d20/redux_v3.x.x/flow_>=v0.33.x <=v0.54.x +// flow-typed signature: ec7daead5cb4fec5ab25fedbedef29e8 +// flow-typed version: 2c04631d20/redux_v3.x.x/flow_>=v0.55.x declare module 'redux' { @@ -55,55 +55,5 @@ declare module 'redux' { declare export function combineReducers<O: Object, A>(reducers: O): CombinedReducer<$ObjMap<O, <S>(r: Reducer<S, any>) => S>, A>; - declare export function compose<A, B>(ab: (a: A) => B): (a: A) => B - declare export function compose<A, B, C>( - bc: (b: B) => C, - ab: (a: A) => B - ): (a: A) => C - declare export function compose<A, B, C, D>( - cd: (c: C) => D, - bc: (b: B) => C, - ab: (a: A) => B - ): (a: A) => D - declare export function compose<A, B, C, D, E>( - de: (d: D) => E, - cd: (c: C) => D, - bc: (b: B) => C, - ab: (a: A) => B - ): (a: A) => E - declare export function compose<A, B, C, D, E, F>( - ef: (e: E) => F, - de: (d: D) => E, - cd: (c: C) => D, - bc: (b: B) => C, - ab: (a: A) => B - ): (a: A) => F - declare export function compose<A, B, C, D, E, F, G>( - fg: (f: F) => G, - ef: (e: E) => F, - de: (d: D) => E, - cd: (c: C) => D, - bc: (b: B) => C, - ab: (a: A) => B - ): (a: A) => G - declare export function compose<A, B, C, D, E, F, G, H>( - gh: (g: G) => H, - fg: (f: F) => G, - ef: (e: E) => F, - de: (d: D) => E, - cd: (c: C) => D, - bc: (b: B) => C, - ab: (a: A) => B - ): (a: A) => H - declare export function compose<A, B, C, D, E, F, G, H, I>( - hi: (h: H) => I, - gh: (g: G) => H, - fg: (f: F) => G, - ef: (e: E) => F, - de: (d: D) => E, - cd: (c: C) => D, - bc: (b: B) => C, - ab: (a: A) => B - ): (a: A) => I - -} + declare export var compose: $Compose; +}
\ No newline at end of file diff --git a/flow-typed/npm/shell-escape_v0.2.x.js b/flow-typed/npm/shell-escape_v0.2.x.js new file mode 100644 index 0000000000..1ae43eea2e --- /dev/null +++ b/flow-typed/npm/shell-escape_v0.2.x.js @@ -0,0 +1,9 @@ +// flow-typed signature: f853bb0fb3366c34bd1b85b8d6f8d0bf +// flow-typed version: 4213cadbe8/shell-escape_v0.2.x/flow_>=v0.58.x + +// https://github.com/xxorax/node-shell-escape +// https://www.npmjs.com/package/shell-escape + +declare module 'shell-escape' { + declare module.exports: (a: Array<string>) => string; +} diff --git a/flow-typed/npm/shell-escape_vx.x.x.js b/flow-typed/npm/shell-escape_vx.x.x.js deleted file mode 100644 index a998c083c9..0000000000 --- a/flow-typed/npm/shell-escape_vx.x.x.js +++ /dev/null @@ -1,53 +0,0 @@ -// flow-typed signature: 02040109ebdf9521e387544f48fe8e4c -// flow-typed version: <<STUB>>/shell-escape_v^0.2.0/flow_v0.50.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'shell-escape' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'shell-escape' { - declare module.exports: any; -} - -/** - * We include stubs for each file inside this npm package in case you need to - * require those files directly. Feel free to delete any files that aren't - * needed. - */ -declare module 'shell-escape/shell-escape' { - declare module.exports: any; -} - -declare module 'shell-escape/test/advanced' { - declare module.exports: any; -} - -declare module 'shell-escape/test/more' { - declare module.exports: any; -} - -declare module 'shell-escape/test/simple' { - declare module.exports: any; -} - -// Filename aliases -declare module 'shell-escape/shell-escape.js' { - declare module.exports: $Exports<'shell-escape/shell-escape'>; -} -declare module 'shell-escape/test/advanced.js' { - declare module.exports: $Exports<'shell-escape/test/advanced'>; -} -declare module 'shell-escape/test/more.js' { - declare module.exports: $Exports<'shell-escape/test/more'>; -} -declare module 'shell-escape/test/simple.js' { - declare module.exports: $Exports<'shell-escape/test/simple'>; -} diff --git a/flow-typed/npm/sinon_vx.x.x.js b/flow-typed/npm/sinon_vx.x.x.js index 1c51e0099c..4facebdaaa 100644 --- a/flow-typed/npm/sinon_vx.x.x.js +++ b/flow-typed/npm/sinon_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 0ff5f095b5512c194789f6356e524e5b -// flow-typed version: <<STUB>>/sinon_v^3.2.1/flow_v0.50.0 +// flow-typed signature: 035fdc4aa4085c52e41ee31fc08725a6 +// flow-typed version: <<STUB>>/sinon_v^3.2.1/flow_v0.65.0 /** * This is an autogenerated libdef stub for: @@ -182,11 +182,11 @@ declare module 'sinon/lib/sinon/util/fake_timers' { declare module.exports: any; } -declare module 'sinon/pkg/sinon-3.2.1' { +declare module 'sinon/pkg/sinon-3.3.0' { declare module.exports: any; } -declare module 'sinon/pkg/sinon-no-sourcemaps-3.2.1' { +declare module 'sinon/pkg/sinon-no-sourcemaps-3.3.0' { declare module.exports: any; } @@ -319,11 +319,11 @@ declare module 'sinon/lib/sinon/util/core/wrap-method.js' { declare module 'sinon/lib/sinon/util/fake_timers.js' { declare module.exports: $Exports<'sinon/lib/sinon/util/fake_timers'>; } -declare module 'sinon/pkg/sinon-3.2.1.js' { - declare module.exports: $Exports<'sinon/pkg/sinon-3.2.1'>; +declare module 'sinon/pkg/sinon-3.3.0.js' { + declare module.exports: $Exports<'sinon/pkg/sinon-3.3.0'>; } -declare module 'sinon/pkg/sinon-no-sourcemaps-3.2.1.js' { - declare module.exports: $Exports<'sinon/pkg/sinon-no-sourcemaps-3.2.1'>; +declare module 'sinon/pkg/sinon-no-sourcemaps-3.3.0.js' { + declare module.exports: $Exports<'sinon/pkg/sinon-no-sourcemaps-3.3.0'>; } declare module 'sinon/pkg/sinon-no-sourcemaps.js' { declare module.exports: $Exports<'sinon/pkg/sinon-no-sourcemaps'>; diff --git a/package.json b/package.json index b55484a440..61ef0ca8f8 100644 --- a/package.json +++ b/package.json @@ -57,11 +57,11 @@ "electron-mocha": "^5.0.0", "enzyme": "^3.2.0", "enzyme-adapter-react-16": "^1.1.0", - "eslint": "^4.11.0", - "eslint-plugin-flowtype": "^2.39.1", - "eslint-plugin-react": "^7.5.1", - "flow-bin": "^0.50.0", - "flow-typed": "^2.2.3", + "eslint": "^4.17.0", + "eslint-plugin-flowtype": "^2.44.0", + "eslint-plugin-react": "^7.6.1", + "flow-bin": "^0.66.0", + "flow-typed": "^2.3.0", "npm-run-all": "^4.0.1", "react-test-renderer": "16.0.0", "redux-mock-store": "^1.3.0", diff --git a/test/autologin.spec.js b/test/autologin.spec.js index 5821166eff..c8fd6c170c 100644 --- a/test/autologin.spec.js +++ b/test/autologin.spec.js @@ -63,7 +63,7 @@ describe('autologin', () => { it('should mark the state as not logged in if no account is set', () => { const { store, backend, mockIpc } = setupBackendAndStore(); - mockIpc.getAccount = () => new Promise(r => r(null)); + mockIpc.getAccount = () => Promise.resolve(null); return backend.autologin() .catch( () => {}) // ignore errors diff --git a/test/components/Accordion.spec.js b/test/components/Accordion.spec.js index 2357e27dfc..1ef4d2871e 100644 --- a/test/components/Accordion.spec.js +++ b/test/components/Accordion.spec.js @@ -2,17 +2,15 @@ /* eslint react/no-find-dom-node: off */ import { expect } from 'chai'; -import React from 'react'; +import * as React from 'react'; import ReactDOM from 'react-dom'; import Accordion from '../../app/components/Accordion'; -import type { AccordionProps } from '../../app/components/Accordion'; - describe('components/Accordion', () => { let container: ?HTMLElement; - function renderIntoDocument(instance: React.Element<AccordionProps>) { + function renderIntoDocument(instance) { if(!container) { container = document.createElement('div'); if(!document.documentElement) { diff --git a/test/components/AccountInput.spec.js b/test/components/AccountInput.spec.js index ee73323950..701a1c243e 100644 --- a/test/components/AccountInput.spec.js +++ b/test/components/AccountInput.spec.js @@ -1,15 +1,19 @@ // @flow import { expect } from 'chai'; import { createKeyEvent } from '../helpers/dom-events'; -import React from 'react'; +import * as React from 'react'; import ReactTestUtils, { Simulate } from 'react-dom/test-utils'; import AccountInput from '../../app/components/AccountInput'; import type { AccountInputProps } from '../../app/components/AccountInput'; describe('components/AccountInput', () => { - const getInputRef = (component: AccountInput): HTMLInputElement => { - return ReactTestUtils.findRenderedDOMComponentWithTag(component, 'input'); + const getInputRef = (component) => { + const node = ReactTestUtils.findRenderedDOMComponentWithTag(component, 'input'); + if(!(node instanceof HTMLInputElement)) { + throw new Error('Node is expected to be an instance of HTMLInputElement'); + } + return node; }; const render = (mergeProps: $Shape<AccountInputProps>) => { diff --git a/test/components/SelectLocation.spec.js b/test/components/SelectLocation.spec.js index eb72b03c57..59a8dc9770 100644 --- a/test/components/SelectLocation.spec.js +++ b/test/components/SelectLocation.spec.js @@ -1,7 +1,7 @@ // @flow import { expect } from 'chai'; -import React from 'react'; +import * as React from 'react'; import ReactTestUtils, { Simulate } from 'react-dom/test-utils'; import SelectLocation from '../../app/components/SelectLocation'; @@ -47,7 +47,7 @@ describe('components/SelectLocation', () => { return Object.assign({}, defaultProps, mergeProps); }; - const render = (props: SelectLocationProps): SelectLocation => { + const render = (props: SelectLocationProps) => { return ReactTestUtils.renderIntoDocument( <SelectLocation { ...props } /> ); @@ -58,7 +58,10 @@ describe('components/SelectLocation', () => { onClose: () => done() }); const domNode = ReactTestUtils.findRenderedDOMComponentWithClass(render(props), 'select-location__close'); - Simulate.click(domNode); + // See: https://github.com/facebook/flow/pull/5841 + if(domNode) { + Simulate.click(domNode); + } }); it('should call select callback for country', (done) => { diff --git a/test/components/Switch.spec.js b/test/components/Switch.spec.js index db7fe8d8c4..eaac6dc08c 100644 --- a/test/components/Switch.spec.js +++ b/test/components/Switch.spec.js @@ -1,7 +1,7 @@ // @flow import { expect } from 'chai'; -import React from 'react'; +import * as React from 'react'; import ReactDOM from 'react-dom'; import ReactTestUtils, { Simulate } from 'react-dom/test-utils'; import Switch from '../../app/components/Switch'; @@ -10,7 +10,7 @@ describe('components/Switch', () => { let container: ?HTMLElement; - function renderIntoDocument(instance: React.Element<*>): React.Component<*, *, *> { + function renderIntoDocument(instance: React.Element<*>): React.Component<*, *> { if(container) { throw new Error('Unmount previously rendered component first.'); } @@ -42,10 +42,12 @@ describe('components/Switch', () => { <Switch isOn={ false } onChange={ onChange } /> ); const domNode = ReactTestUtils.findRenderedDOMComponentWithTag(component, 'input'); - - Simulate.mouseDown(domNode, { clientX: 100, clientY: 0 }); - Simulate.mouseUp(domNode, { clientX: 100, clientY: 0 }); - Simulate.change(domNode, { target: { checked: true } }); + // See: https://github.com/facebook/flow/pull/5841 + if(domNode) { + Simulate.mouseDown(domNode, { clientX: 100, clientY: 0 }); + Simulate.mouseUp(domNode, { clientX: 100, clientY: 0 }); + Simulate.change(domNode, { target: { checked: true } }); + } }); it('should switch off', (done) => { @@ -57,10 +59,12 @@ describe('components/Switch', () => { <Switch isOn={ true } onChange={ onChange } /> ); const domNode = ReactTestUtils.findRenderedDOMComponentWithTag(component, 'input'); - - Simulate.mouseDown(domNode, { clientX: 100, clientY: 0 }); - Simulate.mouseUp(domNode, { clientX: 100, clientY: 0 }); - Simulate.change(domNode, { target: { checked: false } }); + // See: https://github.com/facebook/flow/pull/5841 + if(domNode) { + Simulate.mouseDown(domNode, { clientX: 100, clientY: 0 }); + Simulate.mouseUp(domNode, { clientX: 100, clientY: 0 }); + Simulate.change(domNode, { target: { checked: false } }); + } }); it('should handle left to right swipe', (done) => { @@ -72,8 +76,10 @@ describe('components/Switch', () => { <Switch isOn={ false } onChange={ onChange } /> ); const domNode = ReactTestUtils.findRenderedDOMComponentWithTag(component, 'input'); - - Simulate.mouseDown(domNode, { clientX: 100, clientY: 0 }); + // See: https://github.com/facebook/flow/pull/5841 + if(domNode) { + Simulate.mouseDown(domNode, { clientX: 100, clientY: 0 }); + } // Switch listens to events on document document.dispatchEvent(new MouseEvent('mousemove', { clientX: 150, clientY: 0 })); @@ -90,7 +96,10 @@ describe('components/Switch', () => { ); const domNode = ReactTestUtils.findRenderedDOMComponentWithTag(component, 'input'); - Simulate.mouseDown(domNode, { clientX: 150, clientY: 0 }); + // See: https://github.com/facebook/flow/pull/5841 + if(domNode) { + Simulate.mouseDown(domNode, { clientX: 150, clientY: 0 }); + } // Switch listens to events on document document.dispatchEvent(new MouseEvent('mousemove', { clientX: 100, clientY: 0 })); @@ -105,17 +114,23 @@ describe('components/Switch', () => { const component = renderIntoDocument( <Switch isOn={ false } onChange={ onChange } /> ); - const domNode = ReactTestUtils.findRenderedDOMComponentWithTag(component, 'input'); - Simulate.mouseDown(domNode, { clientX: 100, clientY: 0 }); + const domNode = ReactTestUtils.findRenderedDOMComponentWithTag(component, 'input'); + // See: https://github.com/facebook/flow/pull/5841 + if(domNode) { + Simulate.mouseDown(domNode, { clientX: 100, clientY: 0 }); + } setTimeout(() => { // Switch listens to events on document document.dispatchEvent(new MouseEvent('mouseup', { clientX: 100, clientY: 0 })); try { - // should not trigger onChange() - Simulate.change(domNode); + // See: https://github.com/facebook/flow/pull/5841 + if(domNode) { + // should not trigger onChange() + Simulate.change(domNode); + } done(); } catch(e) { done(e); diff --git a/test/helpers/IpcChain.js b/test/helpers/IpcChain.js index a62626a6a6..4e3ddea79e 100644 --- a/test/helpers/IpcChain.js +++ b/test/helpers/IpcChain.js @@ -7,7 +7,7 @@ export class IpcChain { _expectedCalls: Array<string>; _recordedCalls: Array<string>; _mockIpc: {}; - _done: (*) => void; + _done: (?Error) => void; _aborted: boolean; constructor(mockIpc: {}) { @@ -17,28 +17,29 @@ export class IpcChain { this._aborted = false; } - require(ipcCall: string): StepBuilder { + require<R>(ipcCall: string): StepBuilder<R> { this._expectedCalls.push(ipcCall); return new StepBuilder(ipcCall, this._addStep.bind(this)); } - _addStep(step: StepBuilder) { + _addStep<R>(step: StepBuilder<R>) { const me = this; this._mockIpc[step.ipcCall] = function() { return new Promise(r => me._stepPromiseCallback(step, r, arguments)); }; } - _stepPromiseCallback(step, resolve, args) { + _stepPromiseCallback<R>(step: StepBuilder<R>, resolve: (?R) => void, args: Array<mixed>) { if (this._aborted) { return; } this._registerCall(step.ipcCall); - if (step.inputValidation) { + const inputValidation = step.inputValidation; + if (inputValidation) { const failedInputValidation = failFast(() => { - step.inputValidation(...args); + inputValidation(...args); }, this._done); if (failedInputValidation) { @@ -77,23 +78,23 @@ export class IpcChain { } } -class StepBuilder { +class StepBuilder<R> { ipcCall: string; - inputValidation: () => void; - returnValue: *; - _cb: (StepBuilder) => void; + inputValidation: ?() => void; + returnValue: ?R; + _cb: (StepBuilder<R>) => void; - constructor(ipcCall: string, cb: (StepBuilder)=> void) { + constructor(ipcCall: string, cb: (StepBuilder<R>) => void) { this.ipcCall = ipcCall; this._cb = cb; } - withInputValidation(iv: () => void): StepBuilder { + withInputValidation(iv: () => void): this { this.inputValidation = iv; return this; } - withReturnValue(rv: *): StepBuilder { + withReturnValue(rv: R): this { this.returnValue = rv; return this; } diff --git a/test/helpers/ipc-helpers.js b/test/helpers/ipc-helpers.js index 2a2dd1e6b8..3f8307ccf3 100644 --- a/test/helpers/ipc-helpers.js +++ b/test/helpers/ipc-helpers.js @@ -6,7 +6,7 @@ import configureStore from '../../app/redux/store'; import { createMemoryHistory } from 'history'; import { mockStore } from '../mocks/redux'; -type DoneCallback = (?mixed) => void; +type DoneCallback = (?Error) => void; type Check = () => void; export function setupIpcAndStore() { diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js index 2ba32ecf2f..900e149c33 100644 --- a/test/mocks/ipc.js +++ b/test/mocks/ipc.js @@ -1,13 +1,13 @@ // @flow -import type { IpcFacade, BackendState } from '../../app/lib/ipc-facade'; +import type { IpcFacade, AccountToken, AccountData, BackendState } from '../../app/lib/ipc-facade'; interface MockIpc { sendNewState: (BackendState) => void; killWebSocket: () => void; - -getAccountData: *; - -connect: *; - -getAccount: *; - -authenticate: *; + -getAccountData: (AccountToken) => Promise<AccountData>; + -connect: () => Promise<void>; + -getAccount: () => Promise<?AccountToken>; + -authenticate: (string) => Promise<void>; } export function newMockIpc() { @@ -1021,7 +1021,7 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-polyfill@^6.23.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: @@ -1336,7 +1336,7 @@ binaryextensions@~1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-1.0.1.tgz#1e637488b35b58bda5f4774bf96a5212a8c90755" -bindings@^1.2.1: +bindings@^1.2.1, bindings@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.3.0.tgz#b346f6ecf6a95f5a815c5839fc7cdb22502f1ed7" @@ -2466,7 +2466,7 @@ dmg-builder@3.1.3: js-yaml "^3.10.0" parse-color "^1.0.0" -doctrine@^2.0.0, doctrine@^2.1.0: +doctrine@^2.0.2, doctrine@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" dependencies: @@ -2945,19 +2945,19 @@ escodegen-wallaby@^1.6.7: optionalDependencies: source-map "~0.2.0" -eslint-plugin-flowtype@^2.39.1: - version "2.41.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.41.0.tgz#fd5221c60ba917c059d7ef69686a99cca09fd871" +eslint-plugin-flowtype@^2.44.0: + version "2.44.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.44.0.tgz#c0610d0018801e1fbe1eaec1c2174de1338ab4ee" dependencies: lodash "^4.15.0" -eslint-plugin-react@^7.5.1: - version "7.5.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.5.1.tgz#52e56e8d80c810de158859ef07b880d2f56ee30b" +eslint-plugin-react@^7.6.1: + version "7.6.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.6.1.tgz#5d0e908be599f0c02fbf4eef0c7ed6f29dff7633" dependencies: - doctrine "^2.0.0" + doctrine "^2.0.2" has "^1.0.1" - jsx-ast-utils "^2.0.0" + jsx-ast-utils "^2.0.1" prop-types "^15.6.0" eslint-scope@^3.7.1, eslint-scope@~3.7.1: @@ -2971,9 +2971,9 @@ eslint-visitor-keys@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" -eslint@^4.11.0: - version "4.16.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.16.0.tgz#934ada9e98715e1d7bbfd6f6f0519ed2fab35cc1" +eslint@^4.17.0: + version "4.17.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.17.0.tgz#dc24bb51ede48df629be7031c71d9dc0ee4f3ddf" dependencies: ajv "^5.3.0" babel-code-frame "^6.22.0" @@ -3368,29 +3368,28 @@ flat-cache@^1.2.1: graceful-fs "^4.1.2" write "^0.2.1" -flow-bin@^0.50.0: - version "0.50.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.50.0.tgz#d4cdb2430dee1a3599f0eb6fe551146e3027256a" +flow-bin@^0.66.0: + version "0.66.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.66.0.tgz#a96dde7015dc3343fd552a7b4963c02be705ca26" -flow-typed@^2.2.3: - version "2.2.3" - resolved "https://registry.yarnpkg.com/flow-typed/-/flow-typed-2.2.3.tgz#e7a35915a0f4cfcf8068c1ce291b5c99e6b89efa" +flow-typed@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/flow-typed/-/flow-typed-2.3.0.tgz#0f8604faab60691b885024e16ec0e3256e3b680e" dependencies: - babel-polyfill "^6.23.0" + babel-polyfill "^6.26.0" colors "^1.1.2" - fs-extra "^4.0.0" + fs-extra "^5.0.0" github "0.2.4" glob "^7.1.2" got "^7.1.0" md5 "^2.1.0" mkdirp "^0.5.1" - request "^2.81.0" - rimraf "^2.6.1" - semver "^5.1.0" - table "^4.0.1" + rimraf "^2.6.2" + semver "^5.5.0" + table "^4.0.2" through "^2.3.8" unzip "^0.1.11" - which "^1.2.14" + which "^1.3.0" yargs "^4.2.0" for-in@^1.0.1: @@ -3488,7 +3487,7 @@ fs-extra@^1.0.0: jsonfile "^2.1.0" klaw "^1.0.0" -fs-extra@^4.0.0, fs-extra@^4.0.1, fs-extra@^4.0.2: +fs-extra@^4.0.1, fs-extra@^4.0.2: version "4.0.3" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" dependencies: @@ -4659,7 +4658,7 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" -jsx-ast-utils@^2.0.0: +jsx-ast-utils@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz#e801b1b39985e20fffc87b40e3748080e2dcac7f" dependencies: @@ -5473,9 +5472,9 @@ npmlog@^4.0.2: gauge "~2.7.3" set-blocking "~2.0.0" -"nseventmonitor@git+https://github.com/pronebird/NSEventMonitor.git#0.0.5": - version "0.0.5" - resolved "git+https://github.com/pronebird/NSEventMonitor.git#3f6af5c9480f01dbeaa90e3fa3799654431265cb" +"nseventmonitor@git+https://github.com/pronebird/NSEventMonitor.git#0.0.6": + version "0.0.6" + resolved "git+https://github.com/pronebird/NSEventMonitor.git#a67e14daa07e14577595e34aad2be81182c3f4f0" dependencies: bindings "^1.2.1" @@ -6581,7 +6580,7 @@ request@2.81.0: tunnel-agent "^0.6.0" uuid "^3.0.0" -request@^2.45.0, request@^2.79.0, request@^2.81.0: +request@^2.45.0, request@^2.79.0: version "2.83.0" resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356" dependencies: @@ -6677,7 +6676,7 @@ ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" -rimraf@2, rimraf@^2.2.0, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1: +rimraf@2, rimraf@^2.2.0, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" dependencies: @@ -7379,7 +7378,7 @@ synctasks@^0.3.0: version "0.3.1" resolved "https://registry.yarnpkg.com/synctasks/-/synctasks-0.3.1.tgz#1f9012b23792ad775ba2693e0cafcfcd65b80d97" -table@^4.0.1: +table@^4.0.1, table@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36" dependencies: @@ -8010,6 +8009,12 @@ window-size@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075" +"windows-security@git+https://github.com/pronebird/windows-security.git#0.0.1": + version "0.0.1" + resolved "git+https://github.com/pronebird/windows-security.git#c6f62c0bc3f34f473f22f778b96ab3c1371809f5" + dependencies: + bindings "^1.3.0" + winston@*: version "2.4.0" resolved "https://registry.yarnpkg.com/winston/-/winston-2.4.0.tgz#808050b93d52661ed9fb6c26b3f0c826708b0aee" |
