├── .babelrc.cjs ├── .circleci └── config.yml ├── .eslintrc.cjs ├── .flowconfig ├── .gitignore ├── .mocharc.cjs ├── LICENSE.md ├── README.md ├── flow-typed └── npm │ ├── @babel │ ├── cli_vx.x.x.js │ ├── core_vx.x.x.js │ ├── plugin-proposal-class-properties_vx.x.x.js │ ├── plugin-proposal-export-default-from_vx.x.x.js │ ├── plugin-proposal-export-namespace-from_vx.x.x.js │ ├── plugin-proposal-object-rest-spread_vx.x.x.js │ ├── plugin-syntax-dynamic-import_vx.x.x.js │ ├── plugin-transform-runtime_vx.x.x.js │ ├── preset-env_vx.x.x.js │ ├── preset-flow_vx.x.x.js │ ├── preset-react_vx.x.x.js │ ├── register_v7.x.x.js │ └── runtime_vx.x.x.js │ ├── @commitlint │ ├── cli_vx.x.x.js │ └── config-conventional_vx.x.x.js │ ├── @jedwards1211 │ ├── commitlint-config_vx.x.x.js │ ├── eslint-config-flow_vx.x.x.js │ ├── eslint-config-react_vx.x.x.js │ └── eslint-config_vx.x.x.js │ ├── babel-eslint_vx.x.x.js │ ├── babel-loader_vx.x.x.js │ ├── babel-plugin-flow-react-proptypes_vx.x.x.js │ ├── babel-plugin-istanbul_vx.x.x.js │ ├── babel-plugin-transform-react-constant-elements_vx.x.x.js │ ├── babel-preset-react_vx.x.x.js │ ├── chai_v4.x.x.js │ ├── codecov_vx.x.x.js │ ├── copy_vx.x.x.js │ ├── cross-env_vx.x.x.js │ ├── enzyme-adapter-react-16_vx.x.x.js │ ├── enzyme_v3.x.x.js │ ├── eslint-config-prettier_vx.x.x.js │ ├── eslint-plugin-flowtype_vx.x.x.js │ ├── eslint-plugin-react_vx.x.x.js │ ├── eslint-watch_vx.x.x.js │ ├── eslint_vx.x.x.js │ ├── flow-bin_v0.x.x.js │ ├── flow-copy-source_vx.x.x.js │ ├── flow-watch_vx.x.x.js │ ├── husky_vx.x.x.js │ ├── invariant_v2.x.x.js │ ├── karma-chrome-launcher_vx.x.x.js │ ├── karma-coverage_vx.x.x.js │ ├── karma-firefox-launcher_vx.x.x.js │ ├── karma-mocha-reporter_vx.x.x.js │ ├── karma-mocha_vx.x.x.js │ ├── karma-sourcemap-loader_vx.x.x.js │ ├── karma-webpack_vx.x.x.js │ ├── karma_vx.x.x.js │ ├── lint-staged_vx.x.x.js │ ├── mocha_v6.x.x.js │ ├── nyc_vx.x.x.js │ ├── prettier-eslint_vx.x.x.js │ ├── prettier_v1.x.x.js │ ├── prop-types_v15.x.x.js │ ├── puppeteer_vx.x.x.js │ ├── react-router-dom_v5.x.x.js │ ├── react-router_v4.x.x.js │ ├── rimraf_v2.x.x.js │ ├── semantic-release_vx.x.x.js │ ├── sinon_vx.x.x.js │ ├── warning_v3.x.x.js │ └── webpack_vx.x.x.js ├── githooks.cjs ├── karma.conf.js ├── lint-staged.config.cjs ├── nyc.config.cjs ├── package.json ├── pnpm-lock.yaml ├── prettier.config.cjs ├── release.config.cjs ├── src ├── index.d.ts └── index.js ├── test ├── .eslintrc ├── configure.js └── index.js ├── toolchain.config.cjs ├── tsconfig.build.json ├── tsconfig.json └── webpack.config.js /.babelrc.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node, es2018 */ 2 | module.exports = function (api) { 3 | const base = require('@jcoreio/toolchain-esnext/.babelrc.cjs')(api) 4 | return { 5 | ...base, 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | # created by @jcoreio/toolchain-circle 2 | 3 | version: 2.1 4 | jobs: 5 | build: 6 | docker: 7 | - image: cimg/node:20.3.0 8 | 9 | steps: 10 | - checkout 11 | - run: 12 | name: Setup NPM Token 13 | command: | 14 | npm config set \ 15 | "//registry.npmjs.org/:_authToken=$NPM_TOKEN" \ 16 | "registry=https://registry.npmjs.org/" 17 | - run: 18 | name: Corepack enable 19 | command: sudo corepack enable 20 | - run: 21 | name: Install Dependencies 22 | command: pnpm install --frozen-lockfile 23 | - run: 24 | name: Prepublish 25 | command: | 26 | [[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc prepublish 27 | - run: 28 | name: Release 29 | command: | 30 | [[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc release 31 | 32 | workflows: 33 | build: 34 | jobs: 35 | - build: 36 | context: 37 | - npm-release 38 | - github-release 39 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node, es2018 */ 2 | module.exports = { 3 | extends: [require.resolve('@jcoreio/toolchain/eslint.config.cjs')], 4 | env: { 5 | es6: true, 6 | }, 7 | } 8 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | /[^/\\]+\.js$ 3 | /[^/\\]+\.js\.flow$ 4 | /es/.* 5 | /node_modules/fbjs/.* 6 | /node_modules/.*/fbjs/.* 7 | /node_modules/.*/config-chain/.* 8 | /dist/.* 9 | .*/malformed_package_json/.* 10 | 11 | [include] 12 | ./src 13 | ./test 14 | 15 | [libs] 16 | 17 | [options] 18 | module.system=node 19 | esproposal.class_static_fields=enable 20 | esproposal.class_instance_fields=enable 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /dist 2 | .nyc_output 3 | node_modules 4 | /coverage 5 | -------------------------------------------------------------------------------- /.mocharc.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node, es2018 */ 2 | const base = require('@jcoreio/toolchain-mocha/.mocharc.cjs') 3 | module.exports = { 4 | ...base, 5 | require: [...base.require, 'test/configure.js'], 6 | exit: true, 7 | } 8 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016-present Andy Edwards 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-router-transition-switch 2 | 3 | [![CircleCI](https://circleci.com/gh/jcoreio/react-router-transition-switch.svg?style=svg)](https://circleci.com/gh/jcoreio/react-router-transition-switch) 4 | [![Coverage Status](https://codecov.io/gh/jcoreio/react-router-transition-switch/branch/master/graph/badge.svg)](https://codecov.io/gh/jcoreio/react-router-transition-switch) 5 | [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) 6 | [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) 7 | [![npm version](https://badge.fury.io/js/react-router-transition-switch.svg)](https://badge.fury.io/js/react-router-transition-switch) 8 | 9 | This is a variant of `` that's much easier to use with transition components and solves some problems. 10 | 11 | The current recommended transition approach for `react-router` is 12 | 13 | ```js 14 | import { Route, Switch } from 'react-router-dom' 15 | import Fader from 'react-fader' 16 | 17 | const MyRoute = () => ( 18 | ( 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | )} 28 | /> 29 | ) 30 | ``` 31 | 32 | This has several problems: 33 | 34 | 1. All ``es transition on every `location` change, even if: 35 | - only the last part of the URL changed and you only want the innermost nested `` to transition 36 | - you have the same component for two different paths and don't want to transition that component 37 | - you don't want to transition in some case for any other reason 38 | 2. You have to pass a `location` to the `` for it to work 39 | 40 | `react-router-transition-switch` simplifies the above example to 41 | 42 | ```js 43 | import { Route } from 'react-router-dom' 44 | import Switch from 'react-router-transition-switch' 45 | import Fader from 'react-fader' 46 | 47 | const MyRoute = () => ( 48 | 49 | 50 | 51 | 52 | 53 | ) 54 | ``` 55 | 56 | ## Differences from `react-router`'s ``: 57 | 58 | 1. You can pass it a `component` or `render` prop. It will use them to wrap the matched `` if given 59 | 2. By default it clones the matched `` with `key={match.url}` unless you gave the `` a key yourself. 60 | This way the `Fader` will only perform a transition when: 61 | - if you provide `key`s yourself, the matched `` has a different `key` than the last 62 | - otherwise, the _matched portion_ of the `location` is different from the last` 63 | 3. You can pass it a `createKey` prop, which is a function taking the `(route, match)` 64 | and returning the key to use. 65 | 66 | ## `component` example 67 | 68 | ```js 69 | import React from 'react' 70 | import { BrowserRouter as Router, Route } from 'react-router-dom' 71 | import Fader from 'react-fader' 72 | import Switch from 'react-router-transition-switch' 73 | 74 | // ... 75 | const MyRoute = () => ( 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | ) 85 | ``` 86 | 87 | For the location `/users/andy/profile`, the `` will render: 88 | 89 | ```js 90 | 91 | 92 | 93 | ``` 94 | 95 | Notice that it makes `match.url` the `key` of the matched ``, so that `` (or whatever transition component 96 | you use) knows to perform a transition. If you provide custom `key`s on the ``s you pass to ``, it won't 97 | overwrite them. 98 | 99 | ## `render` example 100 | 101 | As with ``, you may pass a `render` function instead of a `component`: 102 | 103 | ```js 104 | 105 | ( 107 | 112 | {children} 113 | 114 | )} 115 | > 116 | ... 117 | 118 | 119 | ``` 120 | 121 | ## Preventing transitions in certain cases 122 | 123 | If you want to prevent transitions between certain ``s, give them the same `key`. This will not cause problems 124 | because `` only renders one of the child ``s it was passed, so there will never be duplicate keys during 125 | React's reconciliation step. 126 | 127 | ```js 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | ``` 137 | 138 | ## Forcing transitions in certain cases 139 | 140 | If you have to pass in an array of ``s, they will already have 141 | keys, hence changes between subroutes will not transition since 142 | `react-router-transition-switch` does not override existing keys with the 143 | `match.url`. 144 | 145 | In this case, you can use the `createKey` prop to force a unique key for 146 | every `match`: 147 | 148 | ```js 149 | 150 | match.url}> 151 | {routes} 152 | 153 | 154 | ``` 155 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b4d3429e14517d606fcf75ee6128be79 2 | // flow-typed version: <>/@babel/cli_v^7.1.5/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/cli' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/cli' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/cli/bin/babel-external-helpers' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@babel/cli/bin/babel' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module '@babel/cli/lib/babel-external-helpers' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module '@babel/cli/lib/babel/dir' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module '@babel/cli/lib/babel/file' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module '@babel/cli/lib/babel' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module '@babel/cli/lib/babel/options' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module '@babel/cli/lib/babel/util' { 54 | declare module.exports: any 55 | } 56 | 57 | // Filename aliases 58 | declare module '@babel/cli/bin/babel-external-helpers.js' { 59 | declare module.exports: $Exports<'@babel/cli/bin/babel-external-helpers'> 60 | } 61 | declare module '@babel/cli/bin/babel.js' { 62 | declare module.exports: $Exports<'@babel/cli/bin/babel'> 63 | } 64 | declare module '@babel/cli/index' { 65 | declare module.exports: $Exports<'@babel/cli'> 66 | } 67 | declare module '@babel/cli/index.js' { 68 | declare module.exports: $Exports<'@babel/cli'> 69 | } 70 | declare module '@babel/cli/lib/babel-external-helpers.js' { 71 | declare module.exports: $Exports<'@babel/cli/lib/babel-external-helpers'> 72 | } 73 | declare module '@babel/cli/lib/babel/dir.js' { 74 | declare module.exports: $Exports<'@babel/cli/lib/babel/dir'> 75 | } 76 | declare module '@babel/cli/lib/babel/file.js' { 77 | declare module.exports: $Exports<'@babel/cli/lib/babel/file'> 78 | } 79 | declare module '@babel/cli/lib/babel/index' { 80 | declare module.exports: $Exports<'@babel/cli/lib/babel'> 81 | } 82 | declare module '@babel/cli/lib/babel/index.js' { 83 | declare module.exports: $Exports<'@babel/cli/lib/babel'> 84 | } 85 | declare module '@babel/cli/lib/babel/options.js' { 86 | declare module.exports: $Exports<'@babel/cli/lib/babel/options'> 87 | } 88 | declare module '@babel/cli/lib/babel/util.js' { 89 | declare module.exports: $Exports<'@babel/cli/lib/babel/util'> 90 | } 91 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/core_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 994df3812155e0c3008a9ed30f05f66c 2 | // flow-typed version: <>/@babel/core_v^7.1.6/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/core' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/core' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/core/lib/config/caching' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@babel/core/lib/config/config-chain' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module '@babel/core/lib/config/config-descriptors' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module '@babel/core/lib/config/files/configuration' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module '@babel/core/lib/config/files/index-browser' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module '@babel/core/lib/config/files' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module '@babel/core/lib/config/files/package' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module '@babel/core/lib/config/files/plugins' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module '@babel/core/lib/config/files/types' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module '@babel/core/lib/config/files/utils' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module '@babel/core/lib/config/full' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module '@babel/core/lib/config/helpers/config-api' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module '@babel/core/lib/config/helpers/environment' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module '@babel/core/lib/config' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module '@babel/core/lib/config/item' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module '@babel/core/lib/config/partial' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module '@babel/core/lib/config/pattern-to-regex' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module '@babel/core/lib/config/plugin' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module '@babel/core/lib/config/util' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module '@babel/core/lib/config/validation/option-assertions' { 102 | declare module.exports: any 103 | } 104 | 105 | declare module '@babel/core/lib/config/validation/options' { 106 | declare module.exports: any 107 | } 108 | 109 | declare module '@babel/core/lib/config/validation/plugins' { 110 | declare module.exports: any 111 | } 112 | 113 | declare module '@babel/core/lib/config/validation/removed' { 114 | declare module.exports: any 115 | } 116 | 117 | declare module '@babel/core/lib' { 118 | declare module.exports: any 119 | } 120 | 121 | declare module '@babel/core/lib/parse' { 122 | declare module.exports: any 123 | } 124 | 125 | declare module '@babel/core/lib/tools/build-external-helpers' { 126 | declare module.exports: any 127 | } 128 | 129 | declare module '@babel/core/lib/transform-ast' { 130 | declare module.exports: any 131 | } 132 | 133 | declare module '@babel/core/lib/transform-file-browser' { 134 | declare module.exports: any 135 | } 136 | 137 | declare module '@babel/core/lib/transform-file' { 138 | declare module.exports: any 139 | } 140 | 141 | declare module '@babel/core/lib/transform' { 142 | declare module.exports: any 143 | } 144 | 145 | declare module '@babel/core/lib/transformation/block-hoist-plugin' { 146 | declare module.exports: any 147 | } 148 | 149 | declare module '@babel/core/lib/transformation/file/file' { 150 | declare module.exports: any 151 | } 152 | 153 | declare module '@babel/core/lib/transformation/file/generate' { 154 | declare module.exports: any 155 | } 156 | 157 | declare module '@babel/core/lib/transformation/file/merge-map' { 158 | declare module.exports: any 159 | } 160 | 161 | declare module '@babel/core/lib/transformation' { 162 | declare module.exports: any 163 | } 164 | 165 | declare module '@babel/core/lib/transformation/normalize-file' { 166 | declare module.exports: any 167 | } 168 | 169 | declare module '@babel/core/lib/transformation/normalize-opts' { 170 | declare module.exports: any 171 | } 172 | 173 | declare module '@babel/core/lib/transformation/plugin-pass' { 174 | declare module.exports: any 175 | } 176 | 177 | declare module '@babel/core/lib/transformation/util/missing-plugin-helper' { 178 | declare module.exports: any 179 | } 180 | 181 | // Filename aliases 182 | declare module '@babel/core/lib/config/caching.js' { 183 | declare module.exports: $Exports<'@babel/core/lib/config/caching'> 184 | } 185 | declare module '@babel/core/lib/config/config-chain.js' { 186 | declare module.exports: $Exports<'@babel/core/lib/config/config-chain'> 187 | } 188 | declare module '@babel/core/lib/config/config-descriptors.js' { 189 | declare module.exports: $Exports<'@babel/core/lib/config/config-descriptors'> 190 | } 191 | declare module '@babel/core/lib/config/files/configuration.js' { 192 | declare module.exports: $Exports<'@babel/core/lib/config/files/configuration'> 193 | } 194 | declare module '@babel/core/lib/config/files/index-browser.js' { 195 | declare module.exports: $Exports<'@babel/core/lib/config/files/index-browser'> 196 | } 197 | declare module '@babel/core/lib/config/files/index' { 198 | declare module.exports: $Exports<'@babel/core/lib/config/files'> 199 | } 200 | declare module '@babel/core/lib/config/files/index.js' { 201 | declare module.exports: $Exports<'@babel/core/lib/config/files'> 202 | } 203 | declare module '@babel/core/lib/config/files/package.js' { 204 | declare module.exports: $Exports<'@babel/core/lib/config/files/package'> 205 | } 206 | declare module '@babel/core/lib/config/files/plugins.js' { 207 | declare module.exports: $Exports<'@babel/core/lib/config/files/plugins'> 208 | } 209 | declare module '@babel/core/lib/config/files/types.js' { 210 | declare module.exports: $Exports<'@babel/core/lib/config/files/types'> 211 | } 212 | declare module '@babel/core/lib/config/files/utils.js' { 213 | declare module.exports: $Exports<'@babel/core/lib/config/files/utils'> 214 | } 215 | declare module '@babel/core/lib/config/full.js' { 216 | declare module.exports: $Exports<'@babel/core/lib/config/full'> 217 | } 218 | declare module '@babel/core/lib/config/helpers/config-api.js' { 219 | declare module.exports: $Exports<'@babel/core/lib/config/helpers/config-api'> 220 | } 221 | declare module '@babel/core/lib/config/helpers/environment.js' { 222 | declare module.exports: $Exports<'@babel/core/lib/config/helpers/environment'> 223 | } 224 | declare module '@babel/core/lib/config/index' { 225 | declare module.exports: $Exports<'@babel/core/lib/config'> 226 | } 227 | declare module '@babel/core/lib/config/index.js' { 228 | declare module.exports: $Exports<'@babel/core/lib/config'> 229 | } 230 | declare module '@babel/core/lib/config/item.js' { 231 | declare module.exports: $Exports<'@babel/core/lib/config/item'> 232 | } 233 | declare module '@babel/core/lib/config/partial.js' { 234 | declare module.exports: $Exports<'@babel/core/lib/config/partial'> 235 | } 236 | declare module '@babel/core/lib/config/pattern-to-regex.js' { 237 | declare module.exports: $Exports<'@babel/core/lib/config/pattern-to-regex'> 238 | } 239 | declare module '@babel/core/lib/config/plugin.js' { 240 | declare module.exports: $Exports<'@babel/core/lib/config/plugin'> 241 | } 242 | declare module '@babel/core/lib/config/util.js' { 243 | declare module.exports: $Exports<'@babel/core/lib/config/util'> 244 | } 245 | declare module '@babel/core/lib/config/validation/option-assertions.js' { 246 | declare module.exports: $Exports<'@babel/core/lib/config/validation/option-assertions'> 247 | } 248 | declare module '@babel/core/lib/config/validation/options.js' { 249 | declare module.exports: $Exports<'@babel/core/lib/config/validation/options'> 250 | } 251 | declare module '@babel/core/lib/config/validation/plugins.js' { 252 | declare module.exports: $Exports<'@babel/core/lib/config/validation/plugins'> 253 | } 254 | declare module '@babel/core/lib/config/validation/removed.js' { 255 | declare module.exports: $Exports<'@babel/core/lib/config/validation/removed'> 256 | } 257 | declare module '@babel/core/lib/index' { 258 | declare module.exports: $Exports<'@babel/core/lib'> 259 | } 260 | declare module '@babel/core/lib/index.js' { 261 | declare module.exports: $Exports<'@babel/core/lib'> 262 | } 263 | declare module '@babel/core/lib/parse.js' { 264 | declare module.exports: $Exports<'@babel/core/lib/parse'> 265 | } 266 | declare module '@babel/core/lib/tools/build-external-helpers.js' { 267 | declare module.exports: $Exports<'@babel/core/lib/tools/build-external-helpers'> 268 | } 269 | declare module '@babel/core/lib/transform-ast.js' { 270 | declare module.exports: $Exports<'@babel/core/lib/transform-ast'> 271 | } 272 | declare module '@babel/core/lib/transform-file-browser.js' { 273 | declare module.exports: $Exports<'@babel/core/lib/transform-file-browser'> 274 | } 275 | declare module '@babel/core/lib/transform-file.js' { 276 | declare module.exports: $Exports<'@babel/core/lib/transform-file'> 277 | } 278 | declare module '@babel/core/lib/transform.js' { 279 | declare module.exports: $Exports<'@babel/core/lib/transform'> 280 | } 281 | declare module '@babel/core/lib/transformation/block-hoist-plugin.js' { 282 | declare module.exports: $Exports<'@babel/core/lib/transformation/block-hoist-plugin'> 283 | } 284 | declare module '@babel/core/lib/transformation/file/file.js' { 285 | declare module.exports: $Exports<'@babel/core/lib/transformation/file/file'> 286 | } 287 | declare module '@babel/core/lib/transformation/file/generate.js' { 288 | declare module.exports: $Exports<'@babel/core/lib/transformation/file/generate'> 289 | } 290 | declare module '@babel/core/lib/transformation/file/merge-map.js' { 291 | declare module.exports: $Exports<'@babel/core/lib/transformation/file/merge-map'> 292 | } 293 | declare module '@babel/core/lib/transformation/index' { 294 | declare module.exports: $Exports<'@babel/core/lib/transformation'> 295 | } 296 | declare module '@babel/core/lib/transformation/index.js' { 297 | declare module.exports: $Exports<'@babel/core/lib/transformation'> 298 | } 299 | declare module '@babel/core/lib/transformation/normalize-file.js' { 300 | declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-file'> 301 | } 302 | declare module '@babel/core/lib/transformation/normalize-opts.js' { 303 | declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-opts'> 304 | } 305 | declare module '@babel/core/lib/transformation/plugin-pass.js' { 306 | declare module.exports: $Exports<'@babel/core/lib/transformation/plugin-pass'> 307 | } 308 | declare module '@babel/core/lib/transformation/util/missing-plugin-helper.js' { 309 | declare module.exports: $Exports<'@babel/core/lib/transformation/util/missing-plugin-helper'> 310 | } 311 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-proposal-class-properties_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6d5dfe5b127ab62ec1cd32895e4bf96e 2 | // flow-typed version: <>/@babel/plugin-proposal-class-properties_v^7.1.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-proposal-class-properties' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-proposal-class-properties' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-proposal-class-properties/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-proposal-class-properties/lib/index' { 31 | declare module.exports: $Exports<'@babel/plugin-proposal-class-properties/lib'> 32 | } 33 | declare module '@babel/plugin-proposal-class-properties/lib/index.js' { 34 | declare module.exports: $Exports<'@babel/plugin-proposal-class-properties/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-proposal-export-default-from_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 564acca4a5a31240024fe67349810789 2 | // flow-typed version: <>/@babel/plugin-proposal-export-default-from_v^7.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-proposal-export-default-from' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-proposal-export-default-from' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-proposal-export-default-from/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-proposal-export-default-from/lib/index' { 31 | declare module.exports: $Exports<'@babel/plugin-proposal-export-default-from/lib'> 32 | } 33 | declare module '@babel/plugin-proposal-export-default-from/lib/index.js' { 34 | declare module.exports: $Exports<'@babel/plugin-proposal-export-default-from/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-proposal-export-namespace-from_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 7d2ecd2684262f0c3c1a45b6474a34ad 2 | // flow-typed version: <>/@babel/plugin-proposal-export-namespace-from_v^7.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-proposal-export-namespace-from' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-proposal-export-namespace-from' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-proposal-export-namespace-from/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-proposal-export-namespace-from/lib/index' { 31 | declare module.exports: $Exports<'@babel/plugin-proposal-export-namespace-from/lib'> 32 | } 33 | declare module '@babel/plugin-proposal-export-namespace-from/lib/index.js' { 34 | declare module.exports: $Exports<'@babel/plugin-proposal-export-namespace-from/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-proposal-object-rest-spread_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f3451568a39a7bcec346f00bbd7f9c09 2 | // flow-typed version: <>/@babel/plugin-proposal-object-rest-spread_v^7.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-proposal-object-rest-spread' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-proposal-object-rest-spread' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-proposal-object-rest-spread/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-proposal-object-rest-spread/lib/index' { 31 | declare module.exports: $Exports<'@babel/plugin-proposal-object-rest-spread/lib'> 32 | } 33 | declare module '@babel/plugin-proposal-object-rest-spread/lib/index.js' { 34 | declare module.exports: $Exports<'@babel/plugin-proposal-object-rest-spread/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-syntax-dynamic-import_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5ac7ccbf319b290a7a1d3f5ea4693ef6 2 | // flow-typed version: <>/@babel/plugin-syntax-dynamic-import_v^7.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-syntax-dynamic-import' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-syntax-dynamic-import' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-syntax-dynamic-import/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/plugin-syntax-dynamic-import/lib/index' { 31 | declare module.exports: $Exports<'@babel/plugin-syntax-dynamic-import/lib'> 32 | } 33 | declare module '@babel/plugin-syntax-dynamic-import/lib/index.js' { 34 | declare module.exports: $Exports<'@babel/plugin-syntax-dynamic-import/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-transform-runtime_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c39d54e5e3b7c0762c0b3eb25fbc3683 2 | // flow-typed version: <>/@babel/plugin-transform-runtime_v^7.1.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/plugin-transform-runtime' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/plugin-transform-runtime' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/plugin-transform-runtime/lib/definitions' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@babel/plugin-transform-runtime/lib' { 30 | declare module.exports: any 31 | } 32 | 33 | // Filename aliases 34 | declare module '@babel/plugin-transform-runtime/lib/definitions.js' { 35 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/definitions'> 36 | } 37 | declare module '@babel/plugin-transform-runtime/lib/index' { 38 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib'> 39 | } 40 | declare module '@babel/plugin-transform-runtime/lib/index.js' { 41 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib'> 42 | } 43 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/preset-env_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c3086baee59588c8e02bb8343159325a 2 | // flow-typed version: <>/@babel/preset-env_v^7.1.6/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/preset-env' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/preset-env' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/preset-env/data/built-in-features' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@babel/preset-env/data/plugin-features' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module '@babel/preset-env/data/shipped-proposals' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module '@babel/preset-env/data/unreleased-labels' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module '@babel/preset-env/lib/available-plugins' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module '@babel/preset-env/lib/built-in-definitions' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module '@babel/preset-env/lib/debug' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module '@babel/preset-env/lib/default-includes' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module '@babel/preset-env/lib/defaults' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module '@babel/preset-env/lib' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module '@babel/preset-env/lib/module-transformations' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module '@babel/preset-env/lib/normalize-options' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module '@babel/preset-env/lib/options' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module '@babel/preset-env/lib/targets-parser' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module '@babel/preset-env/lib/use-built-ins-entry-plugin' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module '@babel/preset-env/lib/use-built-ins-plugin' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module '@babel/preset-env/lib/utils' { 90 | declare module.exports: any 91 | } 92 | 93 | // Filename aliases 94 | declare module '@babel/preset-env/data/built-in-features.js' { 95 | declare module.exports: $Exports<'@babel/preset-env/data/built-in-features'> 96 | } 97 | declare module '@babel/preset-env/data/plugin-features.js' { 98 | declare module.exports: $Exports<'@babel/preset-env/data/plugin-features'> 99 | } 100 | declare module '@babel/preset-env/data/shipped-proposals.js' { 101 | declare module.exports: $Exports<'@babel/preset-env/data/shipped-proposals'> 102 | } 103 | declare module '@babel/preset-env/data/unreleased-labels.js' { 104 | declare module.exports: $Exports<'@babel/preset-env/data/unreleased-labels'> 105 | } 106 | declare module '@babel/preset-env/lib/available-plugins.js' { 107 | declare module.exports: $Exports<'@babel/preset-env/lib/available-plugins'> 108 | } 109 | declare module '@babel/preset-env/lib/built-in-definitions.js' { 110 | declare module.exports: $Exports<'@babel/preset-env/lib/built-in-definitions'> 111 | } 112 | declare module '@babel/preset-env/lib/debug.js' { 113 | declare module.exports: $Exports<'@babel/preset-env/lib/debug'> 114 | } 115 | declare module '@babel/preset-env/lib/default-includes.js' { 116 | declare module.exports: $Exports<'@babel/preset-env/lib/default-includes'> 117 | } 118 | declare module '@babel/preset-env/lib/defaults.js' { 119 | declare module.exports: $Exports<'@babel/preset-env/lib/defaults'> 120 | } 121 | declare module '@babel/preset-env/lib/index' { 122 | declare module.exports: $Exports<'@babel/preset-env/lib'> 123 | } 124 | declare module '@babel/preset-env/lib/index.js' { 125 | declare module.exports: $Exports<'@babel/preset-env/lib'> 126 | } 127 | declare module '@babel/preset-env/lib/module-transformations.js' { 128 | declare module.exports: $Exports<'@babel/preset-env/lib/module-transformations'> 129 | } 130 | declare module '@babel/preset-env/lib/normalize-options.js' { 131 | declare module.exports: $Exports<'@babel/preset-env/lib/normalize-options'> 132 | } 133 | declare module '@babel/preset-env/lib/options.js' { 134 | declare module.exports: $Exports<'@babel/preset-env/lib/options'> 135 | } 136 | declare module '@babel/preset-env/lib/targets-parser.js' { 137 | declare module.exports: $Exports<'@babel/preset-env/lib/targets-parser'> 138 | } 139 | declare module '@babel/preset-env/lib/use-built-ins-entry-plugin.js' { 140 | declare module.exports: $Exports<'@babel/preset-env/lib/use-built-ins-entry-plugin'> 141 | } 142 | declare module '@babel/preset-env/lib/use-built-ins-plugin.js' { 143 | declare module.exports: $Exports<'@babel/preset-env/lib/use-built-ins-plugin'> 144 | } 145 | declare module '@babel/preset-env/lib/utils.js' { 146 | declare module.exports: $Exports<'@babel/preset-env/lib/utils'> 147 | } 148 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/preset-flow_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2bf68bada74c358a39a1d74701db1b76 2 | // flow-typed version: <>/@babel/preset-flow_v^7.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/preset-flow' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/preset-flow' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/preset-flow/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/preset-flow/lib/index' { 31 | declare module.exports: $Exports<'@babel/preset-flow/lib'> 32 | } 33 | declare module '@babel/preset-flow/lib/index.js' { 34 | declare module.exports: $Exports<'@babel/preset-flow/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/preset-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 28662fa10f655fe84340de908f5b4f98 2 | // flow-typed version: <>/@babel/preset-react_v^7.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/preset-react' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@babel/preset-react' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@babel/preset-react/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@babel/preset-react/lib/index' { 31 | declare module.exports: $Exports<'@babel/preset-react/lib'> 32 | } 33 | declare module '@babel/preset-react/lib/index.js' { 34 | declare module.exports: $Exports<'@babel/preset-react/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/register_v7.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 8edf110ca1bb8fbab9799180b38a18e7 2 | // flow-typed version: c6154227d1/@babel/register_v7.x.x/flow_>=v0.30.x <=v0.103.x 3 | 4 | declare module '@babel/register' { 5 | declare type Ignore = 6 | | boolean 7 | | string 8 | | RegExp 9 | | ((filename: string) => boolean) 10 | declare type Options = {| 11 | ast?: boolean, 12 | auxiliaryCommentAfter?: ?string, 13 | auxiliaryCommentBefore?: ?string, 14 | babelrc?: boolean, 15 | code?: boolean, 16 | comments?: boolean, 17 | compact?: 'auto' | boolean, 18 | configFile?: string | boolean, 19 | env?: Object, 20 | extends?: ?string, 21 | extensions?: Array, 22 | filename?: string, 23 | filenameRelative?: string, 24 | generatorOpts?: Object, 25 | getModuleId?: void | null | ((moduleName: string) => string), 26 | highlightCode?: boolean, 27 | ignore?: Ignore | Array, 28 | inputSourceMap?: Object, 29 | minified?: boolean, 30 | moduleId?: string, 31 | moduleIds?: boolean, 32 | moduleRoot?: string, 33 | only?: RegExp, 34 | parserOpts?: Object, 35 | plugins?: Array<[string, Object] | string>, 36 | presets?: Array, 37 | retainLines?: boolean, 38 | resolveModuleSource?: 39 | | null 40 | | ((source: string, filename: string) => boolean), 41 | shouldPrintComment?: null | ((commentContents: string) => string), 42 | sourceFileName?: string, 43 | sourceMaps?: boolean | 'inline' | 'both', 44 | sourceMapTarget?: string, 45 | sourceRoot?: string, 46 | sourceType?: 'script' | 'module', 47 | wrapPluginVisitorMethod?: 48 | | null 49 | | (( 50 | pluginAlias: string, 51 | visitorType: string, 52 | callback: Function 53 | ) => boolean), 54 | extensions?: Array, 55 | cache?: boolean, 56 | |} 57 | 58 | declare module.exports: (options?: Options) => void 59 | } 60 | -------------------------------------------------------------------------------- /flow-typed/npm/@commitlint/cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 54a89c975bfb65bd0c92e4be966e2458 2 | // flow-typed version: <>/@commitlint/cli_v^6.0.2/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@commitlint/cli' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@commitlint/cli' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@commitlint/cli/fixtures/empty/commitlint.config' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module '@commitlint/cli/fixtures/extends-root/extended' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module '@commitlint/cli/fixtures/inner-scope/commitlint.config' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module '@commitlint/cli/fixtures/inner-scope/inner-scope/commitlint.config' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module '@commitlint/cli/fixtures/issue-prefixes/commitlint.config' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module '@commitlint/cli/fixtures/outer-scope/commitlint.config' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module '@commitlint/cli/fixtures/parser-preset/commitlint.config' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module '@commitlint/cli/fixtures/parser-preset/parser-preset' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module '@commitlint/cli/fixtures/signoff/commitlint.config' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module '@commitlint/cli/fixtures/simple/commitlint.config' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module '@commitlint/cli/fixtures/specify-config-file/commitlint.config' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module '@commitlint/cli/fixtures/specify-config-file/config/commitlint.config' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module '@commitlint/cli/lib/cli' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module '@commitlint/cli/lib/cli.test' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module '@commitlint/cli/lib/help' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module '@commitlint/cli/src/cli' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module '@commitlint/cli/src/cli.test' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module '@commitlint/cli/src/help' { 94 | declare module.exports: any 95 | } 96 | 97 | // Filename aliases 98 | declare module '@commitlint/cli/fixtures/empty/commitlint.config.js' { 99 | declare module.exports: $Exports<'@commitlint/cli/fixtures/empty/commitlint.config'> 100 | } 101 | declare module '@commitlint/cli/fixtures/extends-root/extended.js' { 102 | declare module.exports: $Exports<'@commitlint/cli/fixtures/extends-root/extended'> 103 | } 104 | declare module '@commitlint/cli/fixtures/inner-scope/commitlint.config.js' { 105 | declare module.exports: $Exports<'@commitlint/cli/fixtures/inner-scope/commitlint.config'> 106 | } 107 | declare module '@commitlint/cli/fixtures/inner-scope/inner-scope/commitlint.config.js' { 108 | declare module.exports: $Exports<'@commitlint/cli/fixtures/inner-scope/inner-scope/commitlint.config'> 109 | } 110 | declare module '@commitlint/cli/fixtures/issue-prefixes/commitlint.config.js' { 111 | declare module.exports: $Exports<'@commitlint/cli/fixtures/issue-prefixes/commitlint.config'> 112 | } 113 | declare module '@commitlint/cli/fixtures/outer-scope/commitlint.config.js' { 114 | declare module.exports: $Exports<'@commitlint/cli/fixtures/outer-scope/commitlint.config'> 115 | } 116 | declare module '@commitlint/cli/fixtures/parser-preset/commitlint.config.js' { 117 | declare module.exports: $Exports<'@commitlint/cli/fixtures/parser-preset/commitlint.config'> 118 | } 119 | declare module '@commitlint/cli/fixtures/parser-preset/parser-preset.js' { 120 | declare module.exports: $Exports<'@commitlint/cli/fixtures/parser-preset/parser-preset'> 121 | } 122 | declare module '@commitlint/cli/fixtures/signoff/commitlint.config.js' { 123 | declare module.exports: $Exports<'@commitlint/cli/fixtures/signoff/commitlint.config'> 124 | } 125 | declare module '@commitlint/cli/fixtures/simple/commitlint.config.js' { 126 | declare module.exports: $Exports<'@commitlint/cli/fixtures/simple/commitlint.config'> 127 | } 128 | declare module '@commitlint/cli/fixtures/specify-config-file/commitlint.config.js' { 129 | declare module.exports: $Exports<'@commitlint/cli/fixtures/specify-config-file/commitlint.config'> 130 | } 131 | declare module '@commitlint/cli/fixtures/specify-config-file/config/commitlint.config.js' { 132 | declare module.exports: $Exports<'@commitlint/cli/fixtures/specify-config-file/config/commitlint.config'> 133 | } 134 | declare module '@commitlint/cli/index' { 135 | declare module.exports: $Exports<'@commitlint/cli'> 136 | } 137 | declare module '@commitlint/cli/index.js' { 138 | declare module.exports: $Exports<'@commitlint/cli'> 139 | } 140 | declare module '@commitlint/cli/lib/cli.js' { 141 | declare module.exports: $Exports<'@commitlint/cli/lib/cli'> 142 | } 143 | declare module '@commitlint/cli/lib/cli.test.js' { 144 | declare module.exports: $Exports<'@commitlint/cli/lib/cli.test'> 145 | } 146 | declare module '@commitlint/cli/lib/help.js' { 147 | declare module.exports: $Exports<'@commitlint/cli/lib/help'> 148 | } 149 | declare module '@commitlint/cli/src/cli.js' { 150 | declare module.exports: $Exports<'@commitlint/cli/src/cli'> 151 | } 152 | declare module '@commitlint/cli/src/cli.test.js' { 153 | declare module.exports: $Exports<'@commitlint/cli/src/cli.test'> 154 | } 155 | declare module '@commitlint/cli/src/help.js' { 156 | declare module.exports: $Exports<'@commitlint/cli/src/help'> 157 | } 158 | -------------------------------------------------------------------------------- /flow-typed/npm/@commitlint/config-conventional_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f8945900b49298f489e53187bc84b325 2 | // flow-typed version: <>/@commitlint/config-conventional_v^6.0.2/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@commitlint/config-conventional' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@commitlint/config-conventional' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module '@commitlint/config-conventional/index' { 28 | declare module.exports: $Exports<'@commitlint/config-conventional'> 29 | } 30 | declare module '@commitlint/config-conventional/index.js' { 31 | declare module.exports: $Exports<'@commitlint/config-conventional'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/commitlint-config_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c85edcaa93b62250319c42d3abcbfabb 2 | // flow-typed version: <>/@jedwards1211/commitlint-config_v^1.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@jedwards1211/commitlint-config' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@jedwards1211/commitlint-config' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module '@jedwards1211/commitlint-config/commitlint.config' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module '@jedwards1211/commitlint-config/commitlint.config.js' { 31 | declare module.exports: $Exports<'@jedwards1211/commitlint-config/commitlint.config'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/eslint-config-flow_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e58368e3c5837ec628135106b5e1f1b7 2 | // flow-typed version: <>/@jedwards1211/eslint-config-flow_v^2.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@jedwards1211/eslint-config-flow' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@jedwards1211/eslint-config-flow' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module '@jedwards1211/eslint-config-flow/index' { 28 | declare module.exports: $Exports<'@jedwards1211/eslint-config-flow'> 29 | } 30 | declare module '@jedwards1211/eslint-config-flow/index.js' { 31 | declare module.exports: $Exports<'@jedwards1211/eslint-config-flow'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/eslint-config-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 99d4460d27d0502fc6033236581e2855 2 | // flow-typed version: <>/@jedwards1211/eslint-config-react_v^4.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@jedwards1211/eslint-config-react' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@jedwards1211/eslint-config-react' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module '@jedwards1211/eslint-config-react/index' { 28 | declare module.exports: $Exports<'@jedwards1211/eslint-config-react'> 29 | } 30 | declare module '@jedwards1211/eslint-config-react/index.js' { 31 | declare module.exports: $Exports<'@jedwards1211/eslint-config-react'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/eslint-config_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2b8fdbed9f7566102c2cd9cec0de0349 2 | // flow-typed version: <>/@jedwards1211/eslint-config_v^2.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@jedwards1211/eslint-config' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module '@jedwards1211/eslint-config' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module '@jedwards1211/eslint-config/index' { 28 | declare module.exports: $Exports<'@jedwards1211/eslint-config'> 29 | } 30 | declare module '@jedwards1211/eslint-config/index.js' { 31 | declare module.exports: $Exports<'@jedwards1211/eslint-config'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-eslint_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 22549c83f5b5e8f609be28510b97ac16 2 | // flow-typed version: <>/babel-eslint_v^10.0.1/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-eslint' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-eslint' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-eslint/lib/analyze-scope' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'babel-eslint/lib/babylon-to-espree/attachComments' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'babel-eslint/lib/babylon-to-espree/convertComments' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'babel-eslint/lib/babylon-to-espree' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'babel-eslint/lib/babylon-to-espree/toAST' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'babel-eslint/lib/babylon-to-espree/toToken' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'babel-eslint/lib/babylon-to-espree/toTokens' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'babel-eslint/lib' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'babel-eslint/lib/parse-with-scope' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'babel-eslint/lib/parse' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'babel-eslint/lib/visitor-keys' { 70 | declare module.exports: any 71 | } 72 | 73 | // Filename aliases 74 | declare module 'babel-eslint/lib/analyze-scope.js' { 75 | declare module.exports: $Exports<'babel-eslint/lib/analyze-scope'> 76 | } 77 | declare module 'babel-eslint/lib/babylon-to-espree/attachComments.js' { 78 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/attachComments'> 79 | } 80 | declare module 'babel-eslint/lib/babylon-to-espree/convertComments.js' { 81 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/convertComments'> 82 | } 83 | declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType.js' { 84 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/convertTemplateType'> 85 | } 86 | declare module 'babel-eslint/lib/babylon-to-espree/index' { 87 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree'> 88 | } 89 | declare module 'babel-eslint/lib/babylon-to-espree/index.js' { 90 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree'> 91 | } 92 | declare module 'babel-eslint/lib/babylon-to-espree/toAST.js' { 93 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toAST'> 94 | } 95 | declare module 'babel-eslint/lib/babylon-to-espree/toToken.js' { 96 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toToken'> 97 | } 98 | declare module 'babel-eslint/lib/babylon-to-espree/toTokens.js' { 99 | declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toTokens'> 100 | } 101 | declare module 'babel-eslint/lib/index' { 102 | declare module.exports: $Exports<'babel-eslint/lib'> 103 | } 104 | declare module 'babel-eslint/lib/index.js' { 105 | declare module.exports: $Exports<'babel-eslint/lib'> 106 | } 107 | declare module 'babel-eslint/lib/parse-with-scope.js' { 108 | declare module.exports: $Exports<'babel-eslint/lib/parse-with-scope'> 109 | } 110 | declare module 'babel-eslint/lib/parse.js' { 111 | declare module.exports: $Exports<'babel-eslint/lib/parse'> 112 | } 113 | declare module 'babel-eslint/lib/visitor-keys.js' { 114 | declare module.exports: $Exports<'babel-eslint/lib/visitor-keys'> 115 | } 116 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e3bd4e9c11d787aaff1bab5b52aeb598 2 | // flow-typed version: <>/babel-loader_v^8.0.5/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-loader' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-loader' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-loader/lib/cache' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'babel-loader/lib/Error' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'babel-loader/lib' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'babel-loader/lib/injectCaller' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'babel-loader/lib/transform' { 42 | declare module.exports: any 43 | } 44 | 45 | // Filename aliases 46 | declare module 'babel-loader/lib/cache.js' { 47 | declare module.exports: $Exports<'babel-loader/lib/cache'> 48 | } 49 | declare module 'babel-loader/lib/Error.js' { 50 | declare module.exports: $Exports<'babel-loader/lib/Error'> 51 | } 52 | declare module 'babel-loader/lib/index' { 53 | declare module.exports: $Exports<'babel-loader/lib'> 54 | } 55 | declare module 'babel-loader/lib/index.js' { 56 | declare module.exports: $Exports<'babel-loader/lib'> 57 | } 58 | declare module 'babel-loader/lib/injectCaller.js' { 59 | declare module.exports: $Exports<'babel-loader/lib/injectCaller'> 60 | } 61 | declare module 'babel-loader/lib/transform.js' { 62 | declare module.exports: $Exports<'babel-loader/lib/transform'> 63 | } 64 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-flow-react-proptypes_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b7edba2b77cf21aa3a672f21e344356a 2 | // flow-typed version: <>/babel-plugin-flow-react-proptypes_v^25.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-flow-react-proptypes' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-plugin-flow-react-proptypes' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-plugin-flow-react-proptypes/lib/convertToPropTypes' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'babel-plugin-flow-react-proptypes/lib/helpers' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'babel-plugin-flow-react-proptypes/lib' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'babel-plugin-flow-react-proptypes/lib/makePropTypesAst' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'babel-plugin-flow-react-proptypes/lib/util' { 42 | declare module.exports: any 43 | } 44 | 45 | // Filename aliases 46 | declare module 'babel-plugin-flow-react-proptypes/lib/convertToPropTypes.js' { 47 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/convertToPropTypes'> 48 | } 49 | declare module 'babel-plugin-flow-react-proptypes/lib/helpers.js' { 50 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/helpers'> 51 | } 52 | declare module 'babel-plugin-flow-react-proptypes/lib/index' { 53 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib'> 54 | } 55 | declare module 'babel-plugin-flow-react-proptypes/lib/index.js' { 56 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib'> 57 | } 58 | declare module 'babel-plugin-flow-react-proptypes/lib/makePropTypesAst.js' { 59 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/makePropTypesAst'> 60 | } 61 | declare module 'babel-plugin-flow-react-proptypes/lib/util.js' { 62 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/util'> 63 | } 64 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-istanbul_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f187a1416aad7f73534a5ff91149e102 2 | // flow-typed version: <>/babel-plugin-istanbul_v^5.1.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-istanbul' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-plugin-istanbul' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-plugin-istanbul/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-istanbul/lib/index' { 31 | declare module.exports: $Exports<'babel-plugin-istanbul/lib'> 32 | } 33 | declare module 'babel-plugin-istanbul/lib/index.js' { 34 | declare module.exports: $Exports<'babel-plugin-istanbul/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-transform-react-constant-elements_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: db4f5e6b9488446c79a1550d9ec92a8b 2 | // flow-typed version: <>/babel-plugin-transform-react-constant-elements_v^6.9.1/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-plugin-transform-react-constant-elements' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-plugin-transform-react-constant-elements' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-plugin-transform-react-constant-elements/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-plugin-transform-react-constant-elements/lib/index' { 31 | declare module.exports: $Exports<'babel-plugin-transform-react-constant-elements/lib'> 32 | } 33 | declare module 'babel-plugin-transform-react-constant-elements/lib/index.js' { 34 | declare module.exports: $Exports<'babel-plugin-transform-react-constant-elements/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-preset-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 561e3f1d55c930f5af94d077cb7c35cd 2 | // flow-typed version: <>/babel-preset-react_v^6.16.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'babel-preset-react' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'babel-preset-react' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'babel-preset-react/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | // Filename aliases 30 | declare module 'babel-preset-react/lib/index' { 31 | declare module.exports: $Exports<'babel-preset-react/lib'> 32 | } 33 | declare module 'babel-preset-react/lib/index.js' { 34 | declare module.exports: $Exports<'babel-preset-react/lib'> 35 | } 36 | -------------------------------------------------------------------------------- /flow-typed/npm/chai_v4.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c469e2157f6c6d42d7a93696b21a1650 2 | // flow-typed version: c6154227d1/chai_v4.x.x/flow_>=v0.53.0 <=v0.103.x 3 | 4 | declare module 'chai' { 5 | declare type ExpectChain = { 6 | and: ExpectChain, 7 | at: ExpectChain, 8 | be: ExpectChain, 9 | been: ExpectChain, 10 | have: ExpectChain, 11 | has: ExpectChain, 12 | is: ExpectChain, 13 | of: ExpectChain, 14 | same: ExpectChain, 15 | that: ExpectChain, 16 | to: ExpectChain, 17 | which: ExpectChain, 18 | with: ExpectChain, 19 | 20 | not: ExpectChain, 21 | deep: ExpectChain, 22 | any: ExpectChain, 23 | all: ExpectChain, 24 | own: ExpectChain, 25 | 26 | a: ExpectChain & ((type: string, message?: string) => ExpectChain), 27 | an: ExpectChain & ((type: string, message?: string) => ExpectChain), 28 | 29 | include: ExpectChain & 30 | ((value: mixed, message?: string) => ExpectChain), 31 | includes: ExpectChain & 32 | ((value: mixed, message?: string) => ExpectChain), 33 | contain: ExpectChain & 34 | ((value: mixed, message?: string) => ExpectChain), 35 | contains: ExpectChain & 36 | ((value: mixed, message?: string) => ExpectChain), 37 | 38 | eq: (value: T, message?: string) => ExpectChain, 39 | eql: (value: T, message?: string) => ExpectChain, 40 | equal: (value: T, message?: string) => ExpectChain, 41 | equals: (value: T, message?: string) => ExpectChain, 42 | 43 | above: (value: T & number, message?: string) => ExpectChain, 44 | gt: (value: T & number, message?: string) => ExpectChain, 45 | greaterThan: (value: T & number, message?: string) => ExpectChain, 46 | least: (value: T & number, message?: string) => ExpectChain, 47 | below: (value: T & number, message?: string) => ExpectChain, 48 | lessThan: (value: T & number, message?: string) => ExpectChain, 49 | lt: (value: T & number, message?: string) => ExpectChain, 50 | most: (value: T & number, message?: string) => ExpectChain, 51 | within: ( 52 | start: T & number, 53 | finish: T & number, 54 | message?: string 55 | ) => ExpectChain, 56 | 57 | instanceof: (constructor: mixed, message?: string) => ExpectChain, 58 | instanceOf: (constructor: mixed, message?: string) => ExpectChain, 59 | nested: ExpectChain, 60 | property:

( 61 | name: string, 62 | value?: P, 63 | message?: string 64 | ) => ExpectChain

& ((name: string) => ExpectChain), 65 | 66 | length: ExpectChain & 67 | ((value: number, message?: string) => ExpectChain), 68 | lengthOf: (value: number, message?: string) => ExpectChain, 69 | 70 | match: (regex: RegExp, message?: string) => ExpectChain, 71 | matches: (regex: RegExp, message?: string) => ExpectChain, 72 | 73 | string: (string: string, message?: string) => ExpectChain, 74 | 75 | key: (key: string) => ExpectChain, 76 | keys: ( 77 | key: string | Array, 78 | ...keys: Array 79 | ) => ExpectChain, 80 | 81 | throw: ( 82 | err?: Class | Error | RegExp | string, 83 | errMsgMatcher?: RegExp | string, 84 | msg?: string 85 | ) => ExpectChain, 86 | 87 | respondTo: (method: string, message?: string) => ExpectChain, 88 | itself: ExpectChain, 89 | 90 | satisfy: ( 91 | method: (value: T) => boolean, 92 | message?: string 93 | ) => ExpectChain, 94 | 95 | closeTo: ( 96 | expected: T & number, 97 | delta: number, 98 | message?: string 99 | ) => ExpectChain, 100 | 101 | members: (set: mixed, message?: string) => ExpectChain, 102 | oneOf: (list: Array, message?: string) => ExpectChain, 103 | 104 | change: (obj: mixed, key: string, message?: string) => ExpectChain, 105 | increase: (obj: mixed, key: string, message?: string) => ExpectChain, 106 | decrease: (obj: mixed, key: string, message?: string) => ExpectChain, 107 | 108 | by: (delta: number, message?: string) => ExpectChain, 109 | ordered: ExpectChain, 110 | 111 | // dirty-chai 112 | ok: () => ExpectChain, 113 | true: () => ExpectChain, 114 | false: () => ExpectChain, 115 | null: () => ExpectChain, 116 | undefined: () => ExpectChain, 117 | exist: () => ExpectChain, 118 | empty: () => ExpectChain, 119 | 120 | extensible: () => ExpectChain, 121 | sealed: () => ExpectChain, 122 | frozen: () => ExpectChain, 123 | NaN: () => ExpectChain, 124 | 125 | // chai-immutable 126 | size: (n: number) => ExpectChain, 127 | 128 | // sinon-chai 129 | called: () => ExpectChain, 130 | callCount: (n: number) => ExpectChain, 131 | calledOnce: () => ExpectChain, 132 | calledTwice: () => ExpectChain, 133 | calledThrice: () => ExpectChain, 134 | calledBefore: (spy: mixed) => ExpectChain, 135 | calledAfter: (spy: mixed) => ExpectChain, 136 | calledImmediatelyBefore: (spy: mixed) => ExpectChain, 137 | calledImmediatelyAfter: (spy: mixed) => ExpectChain, 138 | calledWith: (...args: Array) => ExpectChain, 139 | calledOnceWith: (...args: Array) => ExpectChain, 140 | calledWithMatch: (...args: Array) => ExpectChain, 141 | calledWithExactly: (...args: Array) => ExpectChain, 142 | calledOnceWithExactly: (...args: Array) => ExpectChain, 143 | returned: (returnVal: mixed) => ExpectChain, 144 | alwaysReturned: (returnVal: mixed) => ExpectChain, 145 | 146 | // chai-as-promised 147 | eventually: ExpectChain, 148 | resolvedWith: (value: mixed) => Promise & ExpectChain, 149 | resolved: () => Promise & ExpectChain, 150 | rejectedWith: ( 151 | value: mixed, 152 | errMsgMatcher?: RegExp | string, 153 | msg?: string 154 | ) => Promise & ExpectChain, 155 | rejected: () => Promise & ExpectChain, 156 | notify: (callback: () => mixed) => ExpectChain, 157 | fulfilled: () => Promise & ExpectChain, 158 | 159 | // chai-subset 160 | containSubset: (obj: {} | Array<{}>) => ExpectChain, 161 | 162 | // chai-redux-mock-store 163 | dispatchedActions: ( 164 | actions: Array<{} | ((action: {}) => any)> 165 | ) => ExpectChain, 166 | dispatchedTypes: (actions: Array) => ExpectChain, 167 | 168 | // chai-enzyme 169 | attr: (key: string, val?: any) => ExpectChain, 170 | data: (key: string, val?: any) => ExpectChain, 171 | prop: (key: string, val?: any) => ExpectChain, 172 | state: (key: string, val?: any) => ExpectChain, 173 | value: (val: string) => ExpectChain, 174 | className: (val: string) => ExpectChain, 175 | text: (val: string) => ExpectChain, 176 | 177 | // chai-karma-snapshot 178 | matchSnapshot: (lang?: any, update?: boolean, msg?: any) => ExpectChain, 179 | } 180 | 181 | declare var expect: { 182 | (actual: T, message?: string): ExpectChain, 183 | fail: ((message?: string) => void) & 184 | (( 185 | actual: any, 186 | expected: any, 187 | message?: string, 188 | operator?: string 189 | ) => void), 190 | } 191 | 192 | declare function use(plugin: (chai: Object, utils: Object) => void): void 193 | 194 | declare class assert { 195 | static (expression: mixed, message?: string): void; 196 | static fail( 197 | actual: mixed, 198 | expected: mixed, 199 | message?: string, 200 | operator?: string 201 | ): void; 202 | 203 | static isOk(object: mixed, message?: string): void; 204 | static isNotOk(object: mixed, message?: string): void; 205 | 206 | static empty(object: mixed, message?: string): void; 207 | static isEmpty(object: mixed, message?: string): void; 208 | static notEmpty(object: mixed, message?: string): void; 209 | static isNotEmpty(object: mixed, message?: string): void; 210 | 211 | static equal(actual: mixed, expected: mixed, message?: string): void; 212 | static notEqual(actual: mixed, expected: mixed, message?: string): void; 213 | 214 | static strictEqual(act: mixed, exp: mixed, msg?: string): void; 215 | static notStrictEqual(act: mixed, exp: mixed, msg?: string): void; 216 | 217 | static deepEqual(act: mixed, exp: mixed, msg?: string): void; 218 | static notDeepEqual(act: mixed, exp: mixed, msg?: string): void; 219 | 220 | static ok(val: mixed, msg?: string): void; 221 | static isTrue(val: mixed, msg?: string): void; 222 | static isNotTrue(val: mixed, msg?: string): void; 223 | static isFalse(val: mixed, msg?: string): void; 224 | static isNotFalse(val: mixed, msg?: string): void; 225 | 226 | static isNull(val: mixed, msg?: string): void; 227 | static isNotNull(val: mixed, msg?: string): void; 228 | 229 | static isUndefined(val: mixed, msg?: string): void; 230 | static isDefined(val: mixed, msg?: string): void; 231 | 232 | static isNaN(val: mixed, msg?: string): void; 233 | static isNotNaN(val: mixed, msg?: string): void; 234 | 235 | static isAbove(val: number, abv: number, msg?: string): void; 236 | static isBelow(val: number, blw: number, msg?: string): void; 237 | 238 | static isAtMost(val: number, atmst: number, msg?: string): void; 239 | static isAtLeast(val: number, atlst: number, msg?: string): void; 240 | 241 | static isFunction(val: mixed, msg?: string): void; 242 | static isNotFunction(val: mixed, msg?: string): void; 243 | 244 | static isObject(val: mixed, msg?: string): void; 245 | static isNotObject(val: mixed, msg?: string): void; 246 | 247 | static isArray(val: mixed, msg?: string): void; 248 | static isNotArray(val: mixed, msg?: string): void; 249 | 250 | static isString(val: mixed, msg?: string): void; 251 | static isNotString(val: mixed, msg?: string): void; 252 | 253 | static isNumber(val: mixed, msg?: string): void; 254 | static isNotNumber(val: mixed, msg?: string): void; 255 | 256 | static isBoolean(val: mixed, msg?: string): void; 257 | static isNotBoolean(val: mixed, msg?: string): void; 258 | 259 | static typeOf(val: mixed, type: string, msg?: string): void; 260 | static notTypeOf(val: mixed, type: string, msg?: string): void; 261 | 262 | static instanceOf(val: mixed, constructor: Class<*>, msg?: string): void; 263 | static notInstanceOf(val: mixed, constructor: Class<*>, msg?: string): void; 264 | 265 | static include(exp: string, inc: mixed, msg?: string): void; 266 | static include(exp: Array, inc: T, msg?: string): void; 267 | 268 | static notInclude(exp: string, inc: mixed, msg?: string): void; 269 | static notInclude(exp: Array, inc: T, msg?: string): void; 270 | 271 | static match(exp: mixed, re: RegExp, msg?: string): void; 272 | static notMatch(exp: mixed, re: RegExp, msg?: string): void; 273 | 274 | static property(obj: Object, prop: string, msg?: string): void; 275 | static notProperty(obj: Object, prop: string, msg?: string): void; 276 | static deepProperty(obj: Object, prop: string, msg?: string): void; 277 | static notDeepProperty(obj: Object, prop: string, msg?: string): void; 278 | 279 | static propertyVal( 280 | obj: Object, 281 | prop: string, 282 | val: mixed, 283 | msg?: string 284 | ): void; 285 | static propertyNotVal( 286 | obj: Object, 287 | prop: string, 288 | val: mixed, 289 | msg?: string 290 | ): void; 291 | 292 | static deepPropertyVal( 293 | obj: Object, 294 | prop: string, 295 | val: mixed, 296 | msg?: string 297 | ): void; 298 | static deepPropertyNotVal( 299 | obj: Object, 300 | prop: string, 301 | val: mixed, 302 | msg?: string 303 | ): void; 304 | 305 | static lengthOf(exp: mixed, len: number, msg?: string): void; 306 | 307 | static throws( 308 | func: () => any, 309 | err?: Class | Error | RegExp | string, 310 | errorMsgMatcher?: string | RegExp, 311 | msg?: string 312 | ): void; 313 | static doesNotThrow( 314 | func: () => any, 315 | err?: Class | Error | RegExp | string, 316 | errorMsgMatcher?: string | RegExp, 317 | msg?: string 318 | ): void; 319 | 320 | static closeTo( 321 | actual: number, 322 | expected: number, 323 | delta: number, 324 | msg?: string 325 | ): void; 326 | static approximately( 327 | actual: number, 328 | expected: number, 329 | delta: number, 330 | msg?: string 331 | ): void; 332 | 333 | // chai-immutable 334 | static sizeOf(val: mixed, length: number): void; 335 | } 336 | 337 | declare var config: { 338 | includeStack: boolean, 339 | showDiff: boolean, 340 | truncateThreshold: number, 341 | } 342 | } 343 | -------------------------------------------------------------------------------- /flow-typed/npm/codecov_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 208eaf644a70ffea55b335e3764c3de3 2 | // flow-typed version: <>/codecov_v^3.1.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'codecov' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'codecov' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'codecov/lib/codecov' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'codecov/lib/detect' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'codecov/lib/git' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'codecov/lib/offline' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'codecov/lib/services/appveyor' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'codecov/lib/services/buildkite' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'codecov/lib/services/circle' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'codecov/lib/services/codeship' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'codecov/lib/services/drone' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'codecov/lib/services/gitlab' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'codecov/lib/services/jenkins' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'codecov/lib/services/localGit' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'codecov/lib/services/semaphore' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'codecov/lib/services/shippable' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'codecov/lib/services/snap' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'codecov/lib/services/travis' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module 'codecov/lib/services/wercker' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module 'codecov/test/detect' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module 'codecov/test/git' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module 'codecov/test' { 102 | declare module.exports: any 103 | } 104 | 105 | declare module 'codecov/test/services/appveyor' { 106 | declare module.exports: any 107 | } 108 | 109 | declare module 'codecov/test/services/buildkite' { 110 | declare module.exports: any 111 | } 112 | 113 | declare module 'codecov/test/services/circle' { 114 | declare module.exports: any 115 | } 116 | 117 | declare module 'codecov/test/services/codeship' { 118 | declare module.exports: any 119 | } 120 | 121 | declare module 'codecov/test/services/drone' { 122 | declare module.exports: any 123 | } 124 | 125 | declare module 'codecov/test/services/gitlab' { 126 | declare module.exports: any 127 | } 128 | 129 | declare module 'codecov/test/services/jenkins' { 130 | declare module.exports: any 131 | } 132 | 133 | declare module 'codecov/test/services/localGit' { 134 | declare module.exports: any 135 | } 136 | 137 | declare module 'codecov/test/services/semaphore' { 138 | declare module.exports: any 139 | } 140 | 141 | declare module 'codecov/test/services/shippable' { 142 | declare module.exports: any 143 | } 144 | 145 | declare module 'codecov/test/services/snap' { 146 | declare module.exports: any 147 | } 148 | 149 | declare module 'codecov/test/services/travis' { 150 | declare module.exports: any 151 | } 152 | 153 | declare module 'codecov/test/services/wercker' { 154 | declare module.exports: any 155 | } 156 | 157 | declare module 'codecov/test/upload' { 158 | declare module.exports: any 159 | } 160 | 161 | declare module 'codecov/testinit' { 162 | declare module.exports: any 163 | } 164 | 165 | // Filename aliases 166 | declare module 'codecov/index' { 167 | declare module.exports: $Exports<'codecov'> 168 | } 169 | declare module 'codecov/index.js' { 170 | declare module.exports: $Exports<'codecov'> 171 | } 172 | declare module 'codecov/lib/codecov.js' { 173 | declare module.exports: $Exports<'codecov/lib/codecov'> 174 | } 175 | declare module 'codecov/lib/detect.js' { 176 | declare module.exports: $Exports<'codecov/lib/detect'> 177 | } 178 | declare module 'codecov/lib/git.js' { 179 | declare module.exports: $Exports<'codecov/lib/git'> 180 | } 181 | declare module 'codecov/lib/offline.js' { 182 | declare module.exports: $Exports<'codecov/lib/offline'> 183 | } 184 | declare module 'codecov/lib/services/appveyor.js' { 185 | declare module.exports: $Exports<'codecov/lib/services/appveyor'> 186 | } 187 | declare module 'codecov/lib/services/buildkite.js' { 188 | declare module.exports: $Exports<'codecov/lib/services/buildkite'> 189 | } 190 | declare module 'codecov/lib/services/circle.js' { 191 | declare module.exports: $Exports<'codecov/lib/services/circle'> 192 | } 193 | declare module 'codecov/lib/services/codeship.js' { 194 | declare module.exports: $Exports<'codecov/lib/services/codeship'> 195 | } 196 | declare module 'codecov/lib/services/drone.js' { 197 | declare module.exports: $Exports<'codecov/lib/services/drone'> 198 | } 199 | declare module 'codecov/lib/services/gitlab.js' { 200 | declare module.exports: $Exports<'codecov/lib/services/gitlab'> 201 | } 202 | declare module 'codecov/lib/services/jenkins.js' { 203 | declare module.exports: $Exports<'codecov/lib/services/jenkins'> 204 | } 205 | declare module 'codecov/lib/services/localGit.js' { 206 | declare module.exports: $Exports<'codecov/lib/services/localGit'> 207 | } 208 | declare module 'codecov/lib/services/semaphore.js' { 209 | declare module.exports: $Exports<'codecov/lib/services/semaphore'> 210 | } 211 | declare module 'codecov/lib/services/shippable.js' { 212 | declare module.exports: $Exports<'codecov/lib/services/shippable'> 213 | } 214 | declare module 'codecov/lib/services/snap.js' { 215 | declare module.exports: $Exports<'codecov/lib/services/snap'> 216 | } 217 | declare module 'codecov/lib/services/travis.js' { 218 | declare module.exports: $Exports<'codecov/lib/services/travis'> 219 | } 220 | declare module 'codecov/lib/services/wercker.js' { 221 | declare module.exports: $Exports<'codecov/lib/services/wercker'> 222 | } 223 | declare module 'codecov/test/detect.js' { 224 | declare module.exports: $Exports<'codecov/test/detect'> 225 | } 226 | declare module 'codecov/test/git.js' { 227 | declare module.exports: $Exports<'codecov/test/git'> 228 | } 229 | declare module 'codecov/test/index' { 230 | declare module.exports: $Exports<'codecov/test'> 231 | } 232 | declare module 'codecov/test/index.js' { 233 | declare module.exports: $Exports<'codecov/test'> 234 | } 235 | declare module 'codecov/test/services/appveyor.js' { 236 | declare module.exports: $Exports<'codecov/test/services/appveyor'> 237 | } 238 | declare module 'codecov/test/services/buildkite.js' { 239 | declare module.exports: $Exports<'codecov/test/services/buildkite'> 240 | } 241 | declare module 'codecov/test/services/circle.js' { 242 | declare module.exports: $Exports<'codecov/test/services/circle'> 243 | } 244 | declare module 'codecov/test/services/codeship.js' { 245 | declare module.exports: $Exports<'codecov/test/services/codeship'> 246 | } 247 | declare module 'codecov/test/services/drone.js' { 248 | declare module.exports: $Exports<'codecov/test/services/drone'> 249 | } 250 | declare module 'codecov/test/services/gitlab.js' { 251 | declare module.exports: $Exports<'codecov/test/services/gitlab'> 252 | } 253 | declare module 'codecov/test/services/jenkins.js' { 254 | declare module.exports: $Exports<'codecov/test/services/jenkins'> 255 | } 256 | declare module 'codecov/test/services/localGit.js' { 257 | declare module.exports: $Exports<'codecov/test/services/localGit'> 258 | } 259 | declare module 'codecov/test/services/semaphore.js' { 260 | declare module.exports: $Exports<'codecov/test/services/semaphore'> 261 | } 262 | declare module 'codecov/test/services/shippable.js' { 263 | declare module.exports: $Exports<'codecov/test/services/shippable'> 264 | } 265 | declare module 'codecov/test/services/snap.js' { 266 | declare module.exports: $Exports<'codecov/test/services/snap'> 267 | } 268 | declare module 'codecov/test/services/travis.js' { 269 | declare module.exports: $Exports<'codecov/test/services/travis'> 270 | } 271 | declare module 'codecov/test/services/wercker.js' { 272 | declare module.exports: $Exports<'codecov/test/services/wercker'> 273 | } 274 | declare module 'codecov/test/upload.js' { 275 | declare module.exports: $Exports<'codecov/test/upload'> 276 | } 277 | declare module 'codecov/testinit.js' { 278 | declare module.exports: $Exports<'codecov/testinit'> 279 | } 280 | -------------------------------------------------------------------------------- /flow-typed/npm/copy_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 774339cdaff13df3721736d367423b1c 2 | // flow-typed version: <>/copy_v^0.3.2/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'copy' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'copy' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'copy/bin/cli' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'copy/lib/base' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'copy/lib/dest' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'copy/lib/invalid' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'copy/lib/once' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'copy/lib/recurse' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'copy/lib/utils' { 50 | declare module.exports: any 51 | } 52 | 53 | // Filename aliases 54 | declare module 'copy/bin/cli.js' { 55 | declare module.exports: $Exports<'copy/bin/cli'> 56 | } 57 | declare module 'copy/index' { 58 | declare module.exports: $Exports<'copy'> 59 | } 60 | declare module 'copy/index.js' { 61 | declare module.exports: $Exports<'copy'> 62 | } 63 | declare module 'copy/lib/base.js' { 64 | declare module.exports: $Exports<'copy/lib/base'> 65 | } 66 | declare module 'copy/lib/dest.js' { 67 | declare module.exports: $Exports<'copy/lib/dest'> 68 | } 69 | declare module 'copy/lib/invalid.js' { 70 | declare module.exports: $Exports<'copy/lib/invalid'> 71 | } 72 | declare module 'copy/lib/once.js' { 73 | declare module.exports: $Exports<'copy/lib/once'> 74 | } 75 | declare module 'copy/lib/recurse.js' { 76 | declare module.exports: $Exports<'copy/lib/recurse'> 77 | } 78 | declare module 'copy/lib/utils.js' { 79 | declare module.exports: $Exports<'copy/lib/utils'> 80 | } 81 | -------------------------------------------------------------------------------- /flow-typed/npm/cross-env_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: ea21f990b6c6e43131580934895e78fe 2 | // flow-typed version: <>/cross-env_v^5.2.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'cross-env' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'cross-env' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'cross-env/dist/bin/cross-env-shell' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'cross-env/dist/bin/cross-env' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'cross-env/dist/command' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'cross-env/dist' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'cross-env/dist/variable' { 42 | declare module.exports: any 43 | } 44 | 45 | // Filename aliases 46 | declare module 'cross-env/dist/bin/cross-env-shell.js' { 47 | declare module.exports: $Exports<'cross-env/dist/bin/cross-env-shell'> 48 | } 49 | declare module 'cross-env/dist/bin/cross-env.js' { 50 | declare module.exports: $Exports<'cross-env/dist/bin/cross-env'> 51 | } 52 | declare module 'cross-env/dist/command.js' { 53 | declare module.exports: $Exports<'cross-env/dist/command'> 54 | } 55 | declare module 'cross-env/dist/index' { 56 | declare module.exports: $Exports<'cross-env/dist'> 57 | } 58 | declare module 'cross-env/dist/index.js' { 59 | declare module.exports: $Exports<'cross-env/dist'> 60 | } 61 | declare module 'cross-env/dist/variable.js' { 62 | declare module.exports: $Exports<'cross-env/dist/variable'> 63 | } 64 | -------------------------------------------------------------------------------- /flow-typed/npm/enzyme-adapter-react-16_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2aecef1e44a94b7225293f0c4b9fcb4f 2 | // flow-typed version: <>/enzyme-adapter-react-16_v^1.1.1/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'enzyme-adapter-react-16' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'enzyme-adapter-react-16' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'enzyme-adapter-react-16/build' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'enzyme-adapter-react-16/build/ReactSixteenAdapter' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'enzyme-adapter-react-16/src' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'enzyme-adapter-react-16/src/ReactSixteenAdapter' { 38 | declare module.exports: any 39 | } 40 | 41 | // Filename aliases 42 | declare module 'enzyme-adapter-react-16/build/index' { 43 | declare module.exports: $Exports<'enzyme-adapter-react-16/build'> 44 | } 45 | declare module 'enzyme-adapter-react-16/build/index.js' { 46 | declare module.exports: $Exports<'enzyme-adapter-react-16/build'> 47 | } 48 | declare module 'enzyme-adapter-react-16/build/ReactSixteenAdapter.js' { 49 | declare module.exports: $Exports<'enzyme-adapter-react-16/build/ReactSixteenAdapter'> 50 | } 51 | declare module 'enzyme-adapter-react-16/src/index' { 52 | declare module.exports: $Exports<'enzyme-adapter-react-16/src'> 53 | } 54 | declare module 'enzyme-adapter-react-16/src/index.js' { 55 | declare module.exports: $Exports<'enzyme-adapter-react-16/src'> 56 | } 57 | declare module 'enzyme-adapter-react-16/src/ReactSixteenAdapter.js' { 58 | declare module.exports: $Exports<'enzyme-adapter-react-16/src/ReactSixteenAdapter'> 59 | } 60 | -------------------------------------------------------------------------------- /flow-typed/npm/enzyme_v3.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 0b94fd0e11be793e7669a21f5bc4289f 2 | // flow-typed version: c6154227d1/enzyme_v3.x.x/flow_>=v0.53.x <=v0.103.x 3 | 4 | declare module 'enzyme' { 5 | declare type PredicateFunction> = ( 6 | wrapper: T, 7 | index: number 8 | ) => boolean 9 | declare type UntypedSelector = 10 | | string 11 | | { [key: string]: number | string | boolean } 12 | declare type EnzymeSelector = UntypedSelector | React$ElementType 13 | 14 | // CheerioWrapper is a type alias for an actual cheerio instance 15 | // TODO: Reference correct type from cheerio's type declarations 16 | declare type CheerioWrapper = any 17 | 18 | declare class Wrapper { 19 | equals(node: React$Element): boolean; 20 | find(selector: UntypedSelector): this; 21 | find(selector: T): ReactWrapper; 22 | findWhere(predicate: PredicateFunction): this; 23 | filter(selector: UntypedSelector): this; 24 | filter(selector: T): ReactWrapper; 25 | filterWhere(predicate: PredicateFunction): this; 26 | hostNodes(): this; 27 | contains(nodes: React$Node): boolean; 28 | containsMatchingElement(node: React$Node): boolean; 29 | containsAllMatchingElements(nodes: React$Node): boolean; 30 | containsAnyMatchingElements(nodes: React$Node): boolean; 31 | dive(option?: { context?: Object }): this; 32 | exists(selector?: EnzymeSelector): boolean; 33 | isEmptyRender(): boolean; 34 | matchesElement(node: React$Node): boolean; 35 | hasClass(className: string): boolean; 36 | is(selector: EnzymeSelector): boolean; 37 | isEmpty(): boolean; 38 | not(selector: EnzymeSelector): this; 39 | children(selector?: UntypedSelector): this; 40 | children(selector: T): ReactWrapper; 41 | childAt(index: number): this; 42 | parents(selector?: UntypedSelector): this; 43 | parents(selector: T): ReactWrapper; 44 | parent(): this; 45 | closest(selector: UntypedSelector): this; 46 | closest(selector: T): ReactWrapper; 47 | render(): CheerioWrapper; 48 | renderProp(propName: string): (...args: Array) => this; 49 | unmount(): this; 50 | text(): string; 51 | html(): string; 52 | get(index: number): React$Node; 53 | getDOMNode(): HTMLElement | HTMLInputElement; 54 | at(index: number): this; 55 | first(): this; 56 | last(): this; 57 | state(key?: string): any; 58 | context(key?: string): any; 59 | props(): Object; 60 | prop(key: string): any; 61 | key(): string; 62 | simulate(event: string, ...args: Array): this; 63 | simulateError(error: Error): this; 64 | slice(begin?: number, end?: number): this; 65 | setState(state: {}, callback?: () => void): this; 66 | setProps(props: {}, callback?: () => void): this; 67 | setContext(context: Object): this; 68 | instance(): React$ElementRef; 69 | update(): this; 70 | debug(options?: Object): string; 71 | type(): string | Function | null; 72 | name(): string; 73 | forEach(fn: (node: this, index: number) => mixed): this; 74 | map(fn: (node: this, index: number) => T): Array; 75 | reduce( 76 | fn: (value: T, node: this, index: number) => T, 77 | initialValue?: T 78 | ): Array; 79 | reduceRight( 80 | fn: (value: T, node: this, index: number) => T, 81 | initialValue?: T 82 | ): Array; 83 | some(selector: EnzymeSelector): boolean; 84 | someWhere(predicate: PredicateFunction): boolean; 85 | every(selector: EnzymeSelector): boolean; 86 | everyWhere(predicate: PredicateFunction): boolean; 87 | length: number; 88 | } 89 | 90 | declare class ReactWrapper extends Wrapper { 91 | constructor( 92 | nodes: React$Element, 93 | root: any, 94 | options?: ?Object 95 | ): ReactWrapper; 96 | mount(): this; 97 | ref(refName: string): this; 98 | detach(): void; 99 | } 100 | 101 | declare class ShallowWrapper extends Wrapper { 102 | constructor( 103 | nodes: React$Element, 104 | root: any, 105 | options?: ?Object 106 | ): ShallowWrapper; 107 | equals(node: React$Node): boolean; 108 | shallow(options?: { context?: Object }): ShallowWrapper; 109 | getElement(): React$Node; 110 | getElements(): Array; 111 | } 112 | 113 | declare function shallow( 114 | node: React$Element, 115 | options?: { context?: Object, disableLifecycleMethods?: boolean } 116 | ): ShallowWrapper 117 | declare function mount( 118 | node: React$Element, 119 | options?: { 120 | context?: Object, 121 | attachTo?: HTMLElement, 122 | childContextTypes?: Object, 123 | } 124 | ): ReactWrapper 125 | declare function render( 126 | node: React$Element, 127 | options?: { context?: Object } 128 | ): CheerioWrapper 129 | 130 | declare module.exports: { 131 | configure(options: { 132 | Adapter?: any, 133 | disableLifecycleMethods?: boolean, 134 | }): void, 135 | render: typeof render, 136 | mount: typeof mount, 137 | shallow: typeof shallow, 138 | ShallowWrapper: typeof ShallowWrapper, 139 | ReactWrapper: typeof ReactWrapper, 140 | } 141 | } 142 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-config-prettier_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b357c1e7bf8c445cb5f1f06591779243 2 | // flow-typed version: <>/eslint-config-prettier_v^3.3.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-config-prettier' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-config-prettier' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-config-prettier/bin/cli' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'eslint-config-prettier/bin/validators' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'eslint-config-prettier/flowtype' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'eslint-config-prettier/react' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'eslint-config-prettier/standard' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'eslint-config-prettier/unicorn' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'eslint-config-prettier/vue' { 50 | declare module.exports: any 51 | } 52 | 53 | // Filename aliases 54 | declare module 'eslint-config-prettier/bin/cli.js' { 55 | declare module.exports: $Exports<'eslint-config-prettier/bin/cli'> 56 | } 57 | declare module 'eslint-config-prettier/bin/validators.js' { 58 | declare module.exports: $Exports<'eslint-config-prettier/bin/validators'> 59 | } 60 | declare module 'eslint-config-prettier/flowtype.js' { 61 | declare module.exports: $Exports<'eslint-config-prettier/flowtype'> 62 | } 63 | declare module 'eslint-config-prettier/index' { 64 | declare module.exports: $Exports<'eslint-config-prettier'> 65 | } 66 | declare module 'eslint-config-prettier/index.js' { 67 | declare module.exports: $Exports<'eslint-config-prettier'> 68 | } 69 | declare module 'eslint-config-prettier/react.js' { 70 | declare module.exports: $Exports<'eslint-config-prettier/react'> 71 | } 72 | declare module 'eslint-config-prettier/standard.js' { 73 | declare module.exports: $Exports<'eslint-config-prettier/standard'> 74 | } 75 | declare module 'eslint-config-prettier/unicorn.js' { 76 | declare module.exports: $Exports<'eslint-config-prettier/unicorn'> 77 | } 78 | declare module 'eslint-config-prettier/vue.js' { 79 | declare module.exports: $Exports<'eslint-config-prettier/vue'> 80 | } 81 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-watch_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e6dab2d2c1cb70f648440dc438b51230 2 | // flow-typed version: <>/eslint-watch_v^4.0.2/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-watch' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'eslint-watch' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'eslint-watch/build/arg-parser' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'eslint-watch/build/eslint/cli' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'eslint-watch/build/eslint/help' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'eslint-watch/build/executor' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'eslint-watch/build/formatters/helpers/characters' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'eslint-watch/build/formatters/helpers/clear-terminal' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'eslint-watch/build/formatters/helpers/error-warning' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'eslint-watch/build/formatters/helpers/success' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'eslint-watch/build/formatters/simple-detail' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'eslint-watch/build/formatters/simple-success' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'eslint-watch/build/formatters/simple' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'eslint-watch/build' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'eslint-watch/build/logger' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'eslint-watch/build/options' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'eslint-watch/build/settings' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'eslint-watch/build/watcher' { 86 | declare module.exports: any 87 | } 88 | 89 | // Filename aliases 90 | declare module 'eslint-watch/build/arg-parser.js' { 91 | declare module.exports: $Exports<'eslint-watch/build/arg-parser'> 92 | } 93 | declare module 'eslint-watch/build/eslint/cli.js' { 94 | declare module.exports: $Exports<'eslint-watch/build/eslint/cli'> 95 | } 96 | declare module 'eslint-watch/build/eslint/help.js' { 97 | declare module.exports: $Exports<'eslint-watch/build/eslint/help'> 98 | } 99 | declare module 'eslint-watch/build/executor.js' { 100 | declare module.exports: $Exports<'eslint-watch/build/executor'> 101 | } 102 | declare module 'eslint-watch/build/formatters/helpers/characters.js' { 103 | declare module.exports: $Exports<'eslint-watch/build/formatters/helpers/characters'> 104 | } 105 | declare module 'eslint-watch/build/formatters/helpers/clear-terminal.js' { 106 | declare module.exports: $Exports<'eslint-watch/build/formatters/helpers/clear-terminal'> 107 | } 108 | declare module 'eslint-watch/build/formatters/helpers/error-warning.js' { 109 | declare module.exports: $Exports<'eslint-watch/build/formatters/helpers/error-warning'> 110 | } 111 | declare module 'eslint-watch/build/formatters/helpers/success.js' { 112 | declare module.exports: $Exports<'eslint-watch/build/formatters/helpers/success'> 113 | } 114 | declare module 'eslint-watch/build/formatters/simple-detail.js' { 115 | declare module.exports: $Exports<'eslint-watch/build/formatters/simple-detail'> 116 | } 117 | declare module 'eslint-watch/build/formatters/simple-success.js' { 118 | declare module.exports: $Exports<'eslint-watch/build/formatters/simple-success'> 119 | } 120 | declare module 'eslint-watch/build/formatters/simple.js' { 121 | declare module.exports: $Exports<'eslint-watch/build/formatters/simple'> 122 | } 123 | declare module 'eslint-watch/build/index' { 124 | declare module.exports: $Exports<'eslint-watch/build'> 125 | } 126 | declare module 'eslint-watch/build/index.js' { 127 | declare module.exports: $Exports<'eslint-watch/build'> 128 | } 129 | declare module 'eslint-watch/build/logger.js' { 130 | declare module.exports: $Exports<'eslint-watch/build/logger'> 131 | } 132 | declare module 'eslint-watch/build/options.js' { 133 | declare module.exports: $Exports<'eslint-watch/build/options'> 134 | } 135 | declare module 'eslint-watch/build/settings.js' { 136 | declare module.exports: $Exports<'eslint-watch/build/settings'> 137 | } 138 | declare module 'eslint-watch/build/watcher.js' { 139 | declare module.exports: $Exports<'eslint-watch/build/watcher'> 140 | } 141 | -------------------------------------------------------------------------------- /flow-typed/npm/flow-bin_v0.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 4e6a5da3290fe9ea49e6bcdced64f358 2 | // flow-typed version: c6154227d1/flow-bin_v0.x.x/flow_>=v0.25.x <=v0.103.x 3 | 4 | declare module 'flow-bin' { 5 | declare module.exports: string 6 | } 7 | -------------------------------------------------------------------------------- /flow-typed/npm/flow-copy-source_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 99d453658587b62cb319d0467c068583 2 | // flow-typed version: <>/flow-copy-source_v^2.0.2/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'flow-copy-source' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'flow-copy-source' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'flow-copy-source/bin/flow-copy-source' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'flow-copy-source/src' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'flow-copy-source/src/kefir-copy-file' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'flow-copy-source/src/kefir-glob' { 38 | declare module.exports: any 39 | } 40 | 41 | // Filename aliases 42 | declare module 'flow-copy-source/bin/flow-copy-source.js' { 43 | declare module.exports: $Exports<'flow-copy-source/bin/flow-copy-source'> 44 | } 45 | declare module 'flow-copy-source/src/index' { 46 | declare module.exports: $Exports<'flow-copy-source/src'> 47 | } 48 | declare module 'flow-copy-source/src/index.js' { 49 | declare module.exports: $Exports<'flow-copy-source/src'> 50 | } 51 | declare module 'flow-copy-source/src/kefir-copy-file.js' { 52 | declare module.exports: $Exports<'flow-copy-source/src/kefir-copy-file'> 53 | } 54 | declare module 'flow-copy-source/src/kefir-glob.js' { 55 | declare module.exports: $Exports<'flow-copy-source/src/kefir-glob'> 56 | } 57 | -------------------------------------------------------------------------------- /flow-typed/npm/flow-watch_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b1b38488c6e28b8ca1ab65c18ecfada2 2 | // flow-typed version: <>/flow-watch_v^1.1.4/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'flow-watch' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'flow-watch' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'flow-watch/src/flow-watch' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'flow-watch/src/runFlow' { 30 | declare module.exports: any 31 | } 32 | 33 | // Filename aliases 34 | declare module 'flow-watch/src/flow-watch.js' { 35 | declare module.exports: $Exports<'flow-watch/src/flow-watch'> 36 | } 37 | declare module 'flow-watch/src/runFlow.js' { 38 | declare module.exports: $Exports<'flow-watch/src/runFlow'> 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/husky_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 290ab90ed085b3ff8df6809a69925b73 2 | // flow-typed version: <>/husky_v^1.1.4/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'husky' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'husky' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'husky/husky' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'husky/lib/getConf' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'husky/lib/installer/bin' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'husky/lib/installer/getScript' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'husky/lib/installer' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'husky/lib/installer/is' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'husky/lib/installer/resolveGitDir' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'husky/lib/runner/bin' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'husky/lib/runner' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'husky/lib/upgrader/bin' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'husky/lib/upgrader' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'husky/run' { 70 | declare module.exports: any 71 | } 72 | 73 | // Filename aliases 74 | declare module 'husky/husky.js' { 75 | declare module.exports: $Exports<'husky/husky'> 76 | } 77 | declare module 'husky/lib/getConf.js' { 78 | declare module.exports: $Exports<'husky/lib/getConf'> 79 | } 80 | declare module 'husky/lib/installer/bin.js' { 81 | declare module.exports: $Exports<'husky/lib/installer/bin'> 82 | } 83 | declare module 'husky/lib/installer/getScript.js' { 84 | declare module.exports: $Exports<'husky/lib/installer/getScript'> 85 | } 86 | declare module 'husky/lib/installer/index' { 87 | declare module.exports: $Exports<'husky/lib/installer'> 88 | } 89 | declare module 'husky/lib/installer/index.js' { 90 | declare module.exports: $Exports<'husky/lib/installer'> 91 | } 92 | declare module 'husky/lib/installer/is.js' { 93 | declare module.exports: $Exports<'husky/lib/installer/is'> 94 | } 95 | declare module 'husky/lib/installer/resolveGitDir.js' { 96 | declare module.exports: $Exports<'husky/lib/installer/resolveGitDir'> 97 | } 98 | declare module 'husky/lib/runner/bin.js' { 99 | declare module.exports: $Exports<'husky/lib/runner/bin'> 100 | } 101 | declare module 'husky/lib/runner/index' { 102 | declare module.exports: $Exports<'husky/lib/runner'> 103 | } 104 | declare module 'husky/lib/runner/index.js' { 105 | declare module.exports: $Exports<'husky/lib/runner'> 106 | } 107 | declare module 'husky/lib/upgrader/bin.js' { 108 | declare module.exports: $Exports<'husky/lib/upgrader/bin'> 109 | } 110 | declare module 'husky/lib/upgrader/index' { 111 | declare module.exports: $Exports<'husky/lib/upgrader'> 112 | } 113 | declare module 'husky/lib/upgrader/index.js' { 114 | declare module.exports: $Exports<'husky/lib/upgrader'> 115 | } 116 | declare module 'husky/run.js' { 117 | declare module.exports: $Exports<'husky/run'> 118 | } 119 | -------------------------------------------------------------------------------- /flow-typed/npm/invariant_v2.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b8efdbfe8d3c7df1e968c260529ae86e 2 | // flow-typed version: c6154227d1/invariant_v2.x.x/flow_>=v0.33.x <=v0.103.x 3 | 4 | declare module invariant { 5 | declare module.exports: (condition: boolean, message: string) => void 6 | } 7 | -------------------------------------------------------------------------------- /flow-typed/npm/karma-chrome-launcher_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: dd67d4c2a6f4d7639c71fbd67418773d 2 | // flow-typed version: <>/karma-chrome-launcher_v^2.2.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'karma-chrome-launcher' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'karma-chrome-launcher' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'karma-chrome-launcher/examples/simple/index.spec' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'karma-chrome-launcher/examples/simple/karma.conf' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'karma-chrome-launcher/gruntfile' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'karma-chrome-launcher/test/jsflags.spec' { 38 | declare module.exports: any 39 | } 40 | 41 | // Filename aliases 42 | declare module 'karma-chrome-launcher/examples/simple/index.spec.js' { 43 | declare module.exports: $Exports<'karma-chrome-launcher/examples/simple/index.spec'> 44 | } 45 | declare module 'karma-chrome-launcher/examples/simple/karma.conf.js' { 46 | declare module.exports: $Exports<'karma-chrome-launcher/examples/simple/karma.conf'> 47 | } 48 | declare module 'karma-chrome-launcher/gruntfile.js' { 49 | declare module.exports: $Exports<'karma-chrome-launcher/gruntfile'> 50 | } 51 | declare module 'karma-chrome-launcher/index' { 52 | declare module.exports: $Exports<'karma-chrome-launcher'> 53 | } 54 | declare module 'karma-chrome-launcher/index.js' { 55 | declare module.exports: $Exports<'karma-chrome-launcher'> 56 | } 57 | declare module 'karma-chrome-launcher/test/jsflags.spec.js' { 58 | declare module.exports: $Exports<'karma-chrome-launcher/test/jsflags.spec'> 59 | } 60 | -------------------------------------------------------------------------------- /flow-typed/npm/karma-coverage_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 409f67fc23fcfdcc24bcea9417d287da 2 | // flow-typed version: <>/karma-coverage_v^1.1.2/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'karma-coverage' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'karma-coverage' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'karma-coverage/gruntfile' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'karma-coverage/lib/coverage-map' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'karma-coverage/lib/in-memory-report' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'karma-coverage/lib' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'karma-coverage/lib/preprocessor' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'karma-coverage/lib/reporter' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'karma-coverage/lib/source-cache-store' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'karma-coverage/lib/source-cache' { 54 | declare module.exports: any 55 | } 56 | 57 | // Filename aliases 58 | declare module 'karma-coverage/gruntfile.js' { 59 | declare module.exports: $Exports<'karma-coverage/gruntfile'> 60 | } 61 | declare module 'karma-coverage/lib/coverage-map.js' { 62 | declare module.exports: $Exports<'karma-coverage/lib/coverage-map'> 63 | } 64 | declare module 'karma-coverage/lib/in-memory-report.js' { 65 | declare module.exports: $Exports<'karma-coverage/lib/in-memory-report'> 66 | } 67 | declare module 'karma-coverage/lib/index' { 68 | declare module.exports: $Exports<'karma-coverage/lib'> 69 | } 70 | declare module 'karma-coverage/lib/index.js' { 71 | declare module.exports: $Exports<'karma-coverage/lib'> 72 | } 73 | declare module 'karma-coverage/lib/preprocessor.js' { 74 | declare module.exports: $Exports<'karma-coverage/lib/preprocessor'> 75 | } 76 | declare module 'karma-coverage/lib/reporter.js' { 77 | declare module.exports: $Exports<'karma-coverage/lib/reporter'> 78 | } 79 | declare module 'karma-coverage/lib/source-cache-store.js' { 80 | declare module.exports: $Exports<'karma-coverage/lib/source-cache-store'> 81 | } 82 | declare module 'karma-coverage/lib/source-cache.js' { 83 | declare module.exports: $Exports<'karma-coverage/lib/source-cache'> 84 | } 85 | -------------------------------------------------------------------------------- /flow-typed/npm/karma-firefox-launcher_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2bc2702f7919e2f6f7f3162ea9eccef1 2 | // flow-typed version: <>/karma-firefox-launcher_v^1.1.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'karma-firefox-launcher' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'karma-firefox-launcher' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'karma-firefox-launcher/karma.conf' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'karma-firefox-launcher/test/index.spec' { 30 | declare module.exports: any 31 | } 32 | 33 | // Filename aliases 34 | declare module 'karma-firefox-launcher/index' { 35 | declare module.exports: $Exports<'karma-firefox-launcher'> 36 | } 37 | declare module 'karma-firefox-launcher/index.js' { 38 | declare module.exports: $Exports<'karma-firefox-launcher'> 39 | } 40 | declare module 'karma-firefox-launcher/karma.conf.js' { 41 | declare module.exports: $Exports<'karma-firefox-launcher/karma.conf'> 42 | } 43 | declare module 'karma-firefox-launcher/test/index.spec.js' { 44 | declare module.exports: $Exports<'karma-firefox-launcher/test/index.spec'> 45 | } 46 | -------------------------------------------------------------------------------- /flow-typed/npm/karma-mocha-reporter_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e594311f8a371698de6d0e971a299997 2 | // flow-typed version: <>/karma-mocha-reporter_v^2.2.3/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'karma-mocha-reporter' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'karma-mocha-reporter' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module 'karma-mocha-reporter/index' { 28 | declare module.exports: $Exports<'karma-mocha-reporter'> 29 | } 30 | declare module 'karma-mocha-reporter/index.js' { 31 | declare module.exports: $Exports<'karma-mocha-reporter'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/karma-mocha_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 7147d4d55e3d236e2db6411da49e312d 2 | // flow-typed version: <>/karma-mocha_v^1.3.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'karma-mocha' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'karma-mocha' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'karma-mocha/gruntfile' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'karma-mocha/lib/adapter' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'karma-mocha/lib' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'karma-mocha/wallaby' { 38 | declare module.exports: any 39 | } 40 | 41 | // Filename aliases 42 | declare module 'karma-mocha/gruntfile.js' { 43 | declare module.exports: $Exports<'karma-mocha/gruntfile'> 44 | } 45 | declare module 'karma-mocha/lib/adapter.js' { 46 | declare module.exports: $Exports<'karma-mocha/lib/adapter'> 47 | } 48 | declare module 'karma-mocha/lib/index' { 49 | declare module.exports: $Exports<'karma-mocha/lib'> 50 | } 51 | declare module 'karma-mocha/lib/index.js' { 52 | declare module.exports: $Exports<'karma-mocha/lib'> 53 | } 54 | declare module 'karma-mocha/wallaby.js' { 55 | declare module.exports: $Exports<'karma-mocha/wallaby'> 56 | } 57 | -------------------------------------------------------------------------------- /flow-typed/npm/karma-sourcemap-loader_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5446e009a2c185be07639f17f4a328ec 2 | // flow-typed version: <>/karma-sourcemap-loader_v^0.3.7/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'karma-sourcemap-loader' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'karma-sourcemap-loader' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | 26 | // Filename aliases 27 | declare module 'karma-sourcemap-loader/index' { 28 | declare module.exports: $Exports<'karma-sourcemap-loader'> 29 | } 30 | declare module 'karma-sourcemap-loader/index.js' { 31 | declare module.exports: $Exports<'karma-sourcemap-loader'> 32 | } 33 | -------------------------------------------------------------------------------- /flow-typed/npm/karma-webpack_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 43785a67a8a0cf63e4870ce377aa4574 2 | // flow-typed version: <>/karma-webpack_v^3.0.5/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'karma-webpack' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'karma-webpack' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'karma-webpack/lib' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'karma-webpack/lib/karma-webpack' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'karma-webpack/lib/mocha-env-loader' { 34 | declare module.exports: any 35 | } 36 | 37 | // Filename aliases 38 | declare module 'karma-webpack/lib/index' { 39 | declare module.exports: $Exports<'karma-webpack/lib'> 40 | } 41 | declare module 'karma-webpack/lib/index.js' { 42 | declare module.exports: $Exports<'karma-webpack/lib'> 43 | } 44 | declare module 'karma-webpack/lib/karma-webpack.js' { 45 | declare module.exports: $Exports<'karma-webpack/lib/karma-webpack'> 46 | } 47 | declare module 'karma-webpack/lib/mocha-env-loader.js' { 48 | declare module.exports: $Exports<'karma-webpack/lib/mocha-env-loader'> 49 | } 50 | -------------------------------------------------------------------------------- /flow-typed/npm/lint-staged_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: f9f84c8bf4fce5e3541b54180afdfc08 2 | // flow-typed version: <>/lint-staged_v^8.0.4/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'lint-staged' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'lint-staged' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'lint-staged/src/calcChunkSize' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'lint-staged/src/checkPkgScripts' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'lint-staged/src/findBin' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'lint-staged/src/generateTasks' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'lint-staged/src/getConfig' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'lint-staged/src/gitWorkflow' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'lint-staged/src' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'lint-staged/src/makeCmdTasks' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'lint-staged/src/printErrors' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'lint-staged/src/resolveGitDir' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'lint-staged/src/resolveTaskFn' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'lint-staged/src/runAll' { 70 | declare module.exports: any 71 | } 72 | 73 | // Filename aliases 74 | declare module 'lint-staged/index' { 75 | declare module.exports: $Exports<'lint-staged'> 76 | } 77 | declare module 'lint-staged/index.js' { 78 | declare module.exports: $Exports<'lint-staged'> 79 | } 80 | declare module 'lint-staged/src/calcChunkSize.js' { 81 | declare module.exports: $Exports<'lint-staged/src/calcChunkSize'> 82 | } 83 | declare module 'lint-staged/src/checkPkgScripts.js' { 84 | declare module.exports: $Exports<'lint-staged/src/checkPkgScripts'> 85 | } 86 | declare module 'lint-staged/src/findBin.js' { 87 | declare module.exports: $Exports<'lint-staged/src/findBin'> 88 | } 89 | declare module 'lint-staged/src/generateTasks.js' { 90 | declare module.exports: $Exports<'lint-staged/src/generateTasks'> 91 | } 92 | declare module 'lint-staged/src/getConfig.js' { 93 | declare module.exports: $Exports<'lint-staged/src/getConfig'> 94 | } 95 | declare module 'lint-staged/src/gitWorkflow.js' { 96 | declare module.exports: $Exports<'lint-staged/src/gitWorkflow'> 97 | } 98 | declare module 'lint-staged/src/index' { 99 | declare module.exports: $Exports<'lint-staged/src'> 100 | } 101 | declare module 'lint-staged/src/index.js' { 102 | declare module.exports: $Exports<'lint-staged/src'> 103 | } 104 | declare module 'lint-staged/src/makeCmdTasks.js' { 105 | declare module.exports: $Exports<'lint-staged/src/makeCmdTasks'> 106 | } 107 | declare module 'lint-staged/src/printErrors.js' { 108 | declare module.exports: $Exports<'lint-staged/src/printErrors'> 109 | } 110 | declare module 'lint-staged/src/resolveGitDir.js' { 111 | declare module.exports: $Exports<'lint-staged/src/resolveGitDir'> 112 | } 113 | declare module 'lint-staged/src/resolveTaskFn.js' { 114 | declare module.exports: $Exports<'lint-staged/src/resolveTaskFn'> 115 | } 116 | declare module 'lint-staged/src/runAll.js' { 117 | declare module.exports: $Exports<'lint-staged/src/runAll'> 118 | } 119 | -------------------------------------------------------------------------------- /flow-typed/npm/mocha_v6.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 53581b0def7d3e88c8eaa16f0638ef52 2 | // flow-typed version: c6154227d1/mocha_v6.x.x/flow_>=v0.28.x <=v0.103.x 3 | 4 | declare interface $npm$mocha$SetupOptions { 5 | slow?: number; 6 | timeout?: number; 7 | ui?: string; 8 | globals?: Array; 9 | reporter?: any; 10 | bail?: boolean; 11 | ignoreLeaks?: boolean; 12 | grep?: any; 13 | } 14 | 15 | declare type $npm$mocha$done = (error?: any) => any 16 | 17 | // declare interface $npm$mocha$SuiteCallbackContext { 18 | // timeout(ms: number): void; 19 | // retries(n: number): void; 20 | // slow(ms: number): void; 21 | // } 22 | 23 | // declare interface $npm$mocha$TestCallbackContext { 24 | // skip(): void; 25 | // timeout(ms: number): void; 26 | // retries(n: number): void; 27 | // slow(ms: number): void; 28 | // [index: string]: any; 29 | // } 30 | 31 | declare interface $npm$mocha$Suite { 32 | parent: $npm$mocha$Suite; 33 | title: string; 34 | fullTitle(): string; 35 | } 36 | 37 | declare interface $npm$mocha$ContextDefinition { 38 | ( 39 | description: string, 40 | callback: () => /* this: $npm$mocha$SuiteCallbackContext */ void 41 | ): $npm$mocha$Suite; 42 | only( 43 | description: string, 44 | callback: () => /* this: $npm$mocha$SuiteCallbackContext */ void 45 | ): $npm$mocha$Suite; 46 | skip( 47 | description: string, 48 | callback: () => /* this: $npm$mocha$SuiteCallbackContext */ void 49 | ): void; 50 | timeout(ms: number): void; 51 | } 52 | 53 | declare interface $npm$mocha$TestDefinition { 54 | ( 55 | expectation: string, 56 | callback?: ( 57 | /* this: $npm$mocha$TestCallbackContext, */ done: $npm$mocha$done 58 | ) => mixed 59 | ): $npm$mocha$Test; 60 | only( 61 | expectation: string, 62 | callback?: ( 63 | /* this: $npm$mocha$TestCallbackContext, */ done: $npm$mocha$done 64 | ) => mixed 65 | ): $npm$mocha$Test; 66 | skip( 67 | expectation: string, 68 | callback?: ( 69 | /* this: $npm$mocha$TestCallbackContext, */ done: $npm$mocha$done 70 | ) => mixed 71 | ): void; 72 | timeout(ms: number): void; 73 | state: 'failed' | 'passed'; 74 | } 75 | 76 | declare interface $npm$mocha$Runner {} 77 | 78 | declare class $npm$mocha$BaseReporter { 79 | stats: { 80 | suites: number, 81 | tests: number, 82 | passes: number, 83 | pending: number, 84 | failures: number, 85 | }; 86 | 87 | constructor(runner: $npm$mocha$Runner): $npm$mocha$BaseReporter; 88 | } 89 | 90 | declare class $npm$mocha$DocReporter extends $npm$mocha$BaseReporter {} 91 | declare class $npm$mocha$DotReporter extends $npm$mocha$BaseReporter {} 92 | declare class $npm$mocha$HTMLReporter extends $npm$mocha$BaseReporter {} 93 | declare class $npm$mocha$HTMLCovReporter extends $npm$mocha$BaseReporter {} 94 | declare class $npm$mocha$JSONReporter extends $npm$mocha$BaseReporter {} 95 | declare class $npm$mocha$JSONCovReporter extends $npm$mocha$BaseReporter {} 96 | declare class $npm$mocha$JSONStreamReporter extends $npm$mocha$BaseReporter {} 97 | declare class $npm$mocha$LandingReporter extends $npm$mocha$BaseReporter {} 98 | declare class $npm$mocha$ListReporter extends $npm$mocha$BaseReporter {} 99 | declare class $npm$mocha$MarkdownReporter extends $npm$mocha$BaseReporter {} 100 | declare class $npm$mocha$MinReporter extends $npm$mocha$BaseReporter {} 101 | declare class $npm$mocha$NyanReporter extends $npm$mocha$BaseReporter {} 102 | declare class $npm$mocha$ProgressReporter extends $npm$mocha$BaseReporter { 103 | constructor( 104 | runner: $npm$mocha$Runner, 105 | options?: { 106 | open?: string, 107 | complete?: string, 108 | incomplete?: string, 109 | close?: string, 110 | } 111 | ): $npm$mocha$ProgressReporter; 112 | } 113 | declare class $npm$mocha$SpecReporter extends $npm$mocha$BaseReporter {} 114 | declare class $npm$mocha$TAPReporter extends $npm$mocha$BaseReporter {} 115 | declare class $npm$mocha$XUnitReporter extends $npm$mocha$BaseReporter { 116 | constructor( 117 | runner: $npm$mocha$Runner, 118 | options?: any 119 | ): $npm$mocha$XUnitReporter; 120 | } 121 | 122 | declare class $npm$mocha$Mocha { 123 | currentTest: $npm$mocha$TestDefinition; 124 | constructor(options?: { 125 | grep?: RegExp, 126 | ui?: string, 127 | reporter?: string, 128 | timeout?: number, 129 | reporterOptions?: any, 130 | slow?: number, 131 | bail?: boolean, 132 | }): $npm$mocha$Mocha; 133 | setup(options: $npm$mocha$SetupOptions): this; 134 | bail(value?: boolean): this; 135 | addFile(file: string): this; 136 | reporter(name: string): this; 137 | reporter(reporter: (runner: $npm$mocha$Runner, options: any) => any): this; 138 | ui(value: string): this; 139 | grep(value: string): this; 140 | grep(value: RegExp): this; 141 | invert(): this; 142 | ignoreLeaks(value: boolean): this; 143 | checkLeaks(): this; 144 | throwError(error: Error): void; 145 | growl(): this; 146 | globals(value: string): this; 147 | globals(values: Array): this; 148 | useColors(value: boolean): this; 149 | useInlineDiffs(value: boolean): this; 150 | timeout(value: number): this; 151 | slow(value: number): this; 152 | enableTimeouts(value: boolean): this; 153 | asyncOnly(value: boolean): this; 154 | noHighlighting(value: boolean): this; 155 | run(onComplete?: (failures: number) => void): $npm$mocha$Runner; 156 | 157 | static reporters: { 158 | Doc: $npm$mocha$DocReporter, 159 | Dot: $npm$mocha$DotReporter, 160 | HTML: $npm$mocha$HTMLReporter, 161 | HTMLCov: $npm$mocha$HTMLCovReporter, 162 | JSON: $npm$mocha$JSONReporter, 163 | JSONCov: $npm$mocha$JSONCovReporter, 164 | JSONStream: $npm$mocha$JSONStreamReporter, 165 | Landing: $npm$mocha$LandingReporter, 166 | List: $npm$mocha$ListReporter, 167 | Markdown: $npm$mocha$MarkdownReporter, 168 | Min: $npm$mocha$MinReporter, 169 | Nyan: $npm$mocha$NyanReporter, 170 | Progress: $npm$mocha$ProgressReporter, 171 | }; 172 | } 173 | 174 | // declare interface $npm$mocha$HookCallbackContext { 175 | // skip(): void; 176 | // timeout(ms: number): void; 177 | // [index: string]: any; 178 | // } 179 | 180 | declare interface $npm$mocha$Runnable { 181 | title: string; 182 | fn: Function; 183 | async: boolean; 184 | sync: boolean; 185 | timedOut: boolean; 186 | } 187 | 188 | declare interface $npm$mocha$Test extends $npm$mocha$Runnable { 189 | parent: $npm$mocha$Suite; 190 | pending: boolean; 191 | state: 'failed' | 'passed' | void; 192 | fullTitle(): string; 193 | timeout(ms: number): void; 194 | } 195 | 196 | // declare interface $npm$mocha$BeforeAndAfterContext extends $npm$mocha$HookCallbackContext { 197 | // currentTest: $npm$mocha$Test; 198 | // } 199 | 200 | declare var mocha: $npm$mocha$Mocha 201 | declare var describe: $npm$mocha$ContextDefinition 202 | declare var xdescribe: $npm$mocha$ContextDefinition 203 | declare var context: $npm$mocha$ContextDefinition 204 | declare var suite: $npm$mocha$ContextDefinition 205 | declare var it: $npm$mocha$TestDefinition 206 | declare var xit: $npm$mocha$TestDefinition 207 | declare var test: $npm$mocha$TestDefinition 208 | declare var specify: $npm$mocha$TestDefinition 209 | 210 | declare function run(): void 211 | 212 | declare function setup( 213 | callback: ( 214 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 215 | ) => mixed 216 | ): void 217 | declare function teardown( 218 | callback: ( 219 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 220 | ) => mixed 221 | ): void 222 | declare function suiteSetup( 223 | callback: ( 224 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 225 | ) => mixed 226 | ): void 227 | declare function suiteTeardown( 228 | callback: ( 229 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 230 | ) => mixed 231 | ): void 232 | declare function before( 233 | callback: ( 234 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 235 | ) => mixed 236 | ): void 237 | declare function before( 238 | description: string, 239 | callback: ( 240 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 241 | ) => mixed 242 | ): void 243 | declare function after( 244 | callback: ( 245 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 246 | ) => mixed 247 | ): void 248 | declare function after( 249 | description: string, 250 | callback: ( 251 | /* this: $npm$mocha$HookCallbackContext, */ done: $npm$mocha$done 252 | ) => mixed 253 | ): void 254 | declare function beforeEach( 255 | callback: ( 256 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 257 | ) => mixed 258 | ): void 259 | declare function beforeEach( 260 | description: string, 261 | callback: ( 262 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 263 | ) => mixed 264 | ): void 265 | declare function afterEach( 266 | callback: ( 267 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 268 | ) => mixed 269 | ): void 270 | declare function afterEach( 271 | description: string, 272 | callback: ( 273 | /* this: $npm$mocha$BeforeAndAfterContext, */ done: $npm$mocha$done 274 | ) => mixed 275 | ): void 276 | 277 | declare module 'mocha' { 278 | declare export var mocha: typeof mocha 279 | declare export var describe: typeof describe 280 | declare export var xdescribe: typeof xdescribe 281 | declare export var context: typeof context 282 | declare export var suite: typeof suite 283 | declare export var it: typeof it 284 | declare export var xit: typeof xit 285 | declare export var test: typeof test 286 | declare export var specify: typeof specify 287 | 288 | declare export var run: typeof run 289 | 290 | declare export var setup: typeof setup 291 | declare export var teardown: typeof teardown 292 | declare export var suiteSetup: typeof suiteSetup 293 | declare export var suiteTeardown: typeof suiteTeardown 294 | declare export var before: typeof before 295 | declare export var before: typeof before 296 | declare export var after: typeof after 297 | declare export var after: typeof after 298 | declare export var beforeEach: typeof beforeEach 299 | declare export var beforeEach: typeof beforeEach 300 | declare export var afterEach: typeof afterEach 301 | declare export var afterEach: typeof afterEach 302 | 303 | declare export default $npm$mocha$Mocha 304 | } 305 | -------------------------------------------------------------------------------- /flow-typed/npm/nyc_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1bdc2d1b32c8b6e573f899e8ae895774 2 | // flow-typed version: <>/nyc_v^13.1.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'nyc' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'nyc' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'nyc/bin/nyc' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'nyc/bin/wrap' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'nyc/lib/commands/check-coverage' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'nyc/lib/commands/instrument' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'nyc/lib/commands/merge' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'nyc/lib/commands/report' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'nyc/lib/config-util' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'nyc/lib/hash' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'nyc/lib/instrumenters/istanbul' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'nyc/lib/instrumenters/noop' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'nyc/lib/process-args' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'nyc/lib/process' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'nyc/lib/self-coverage-helper' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'nyc/lib/source-maps' { 78 | declare module.exports: any 79 | } 80 | 81 | // Filename aliases 82 | declare module 'nyc/bin/nyc.js' { 83 | declare module.exports: $Exports<'nyc/bin/nyc'> 84 | } 85 | declare module 'nyc/bin/wrap.js' { 86 | declare module.exports: $Exports<'nyc/bin/wrap'> 87 | } 88 | declare module 'nyc/index' { 89 | declare module.exports: $Exports<'nyc'> 90 | } 91 | declare module 'nyc/index.js' { 92 | declare module.exports: $Exports<'nyc'> 93 | } 94 | declare module 'nyc/lib/commands/check-coverage.js' { 95 | declare module.exports: $Exports<'nyc/lib/commands/check-coverage'> 96 | } 97 | declare module 'nyc/lib/commands/instrument.js' { 98 | declare module.exports: $Exports<'nyc/lib/commands/instrument'> 99 | } 100 | declare module 'nyc/lib/commands/merge.js' { 101 | declare module.exports: $Exports<'nyc/lib/commands/merge'> 102 | } 103 | declare module 'nyc/lib/commands/report.js' { 104 | declare module.exports: $Exports<'nyc/lib/commands/report'> 105 | } 106 | declare module 'nyc/lib/config-util.js' { 107 | declare module.exports: $Exports<'nyc/lib/config-util'> 108 | } 109 | declare module 'nyc/lib/hash.js' { 110 | declare module.exports: $Exports<'nyc/lib/hash'> 111 | } 112 | declare module 'nyc/lib/instrumenters/istanbul.js' { 113 | declare module.exports: $Exports<'nyc/lib/instrumenters/istanbul'> 114 | } 115 | declare module 'nyc/lib/instrumenters/noop.js' { 116 | declare module.exports: $Exports<'nyc/lib/instrumenters/noop'> 117 | } 118 | declare module 'nyc/lib/process-args.js' { 119 | declare module.exports: $Exports<'nyc/lib/process-args'> 120 | } 121 | declare module 'nyc/lib/process.js' { 122 | declare module.exports: $Exports<'nyc/lib/process'> 123 | } 124 | declare module 'nyc/lib/self-coverage-helper.js' { 125 | declare module.exports: $Exports<'nyc/lib/self-coverage-helper'> 126 | } 127 | declare module 'nyc/lib/source-maps.js' { 128 | declare module.exports: $Exports<'nyc/lib/source-maps'> 129 | } 130 | -------------------------------------------------------------------------------- /flow-typed/npm/prettier-eslint_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 9aa186d5edb37498aaf401b1f796784f 2 | // flow-typed version: <>/prettier-eslint_v^8.8.2/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'prettier-eslint' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'prettier-eslint' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'prettier-eslint/dist' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'prettier-eslint/dist/utils' { 30 | declare module.exports: any 31 | } 32 | 33 | // Filename aliases 34 | declare module 'prettier-eslint/dist/index' { 35 | declare module.exports: $Exports<'prettier-eslint/dist'> 36 | } 37 | declare module 'prettier-eslint/dist/index.js' { 38 | declare module.exports: $Exports<'prettier-eslint/dist'> 39 | } 40 | declare module 'prettier-eslint/dist/utils.js' { 41 | declare module.exports: $Exports<'prettier-eslint/dist/utils'> 42 | } 43 | -------------------------------------------------------------------------------- /flow-typed/npm/prettier_v1.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b80517b7c0c4c471e1e6fdbeb22ce46e 2 | // flow-typed version: c6154227d1/prettier_v1.x.x/flow_>=v0.84.x <=v0.103.x 3 | 4 | declare module 'prettier' { 5 | declare export type AST = { [key: string]: any, ... } 6 | declare export type Doc = { 7 | [key: string]: any, 8 | ... 9 | } 10 | declare export type FastPath = { 11 | stack: any[], 12 | getName(): null | string | number | Symbol, 13 | getValue(): T, 14 | getNode(count?: number): null | T, 15 | getParentNode(count?: number): null | T, 16 | call( 17 | callback: (path: FastPath) => U, 18 | ...names: Array 19 | ): U, 20 | each( 21 | callback: (path: FastPath) => void, 22 | ...names: Array 23 | ): void, 24 | map( 25 | callback: (path: FastPath, index: number) => U, 26 | ...names: Array 27 | ): U[], 28 | ... 29 | } 30 | 31 | declare export type PrettierParserName = 32 | | 'babylon' // deprecated 33 | | 'babel' 34 | | 'babel-flow' 35 | | 'flow' 36 | | 'typescript' 37 | | 'postcss' // deprecated 38 | | 'css' 39 | | 'less' 40 | | 'scss' 41 | | 'json' 42 | | 'json5' 43 | | 'json-stringify' 44 | | 'graphql' 45 | | 'markdown' 46 | | 'vue' 47 | | 'html' 48 | | 'angular' 49 | | 'mdx' 50 | | 'yaml' 51 | 52 | declare export type PrettierParser = { 53 | [name: PrettierParserName]: ( 54 | text: string, 55 | options?: { [key: string]: any, ... } 56 | ) => AST, 57 | ... 58 | } 59 | 60 | declare export type CustomParser = ( 61 | text: string, 62 | parsers: PrettierParser, 63 | options: Options 64 | ) => AST 65 | 66 | declare export type Options = {| 67 | printWidth?: number, 68 | tabWidth?: number, 69 | useTabs?: boolean, 70 | semi?: boolean, 71 | singleQuote?: boolean, 72 | trailingComma?: 'none' | 'es5' | 'all', 73 | bracketSpacing?: boolean, 74 | jsxBracketSameLine?: boolean, 75 | arrowParens?: 'avoid' | 'always', 76 | rangeStart?: number, 77 | rangeEnd?: number, 78 | parser?: PrettierParserName | CustomParser, 79 | filepath?: string, 80 | requirePragma?: boolean, 81 | insertPragma?: boolean, 82 | proseWrap?: 'always' | 'never' | 'preserve', 83 | plugins?: Array, 84 | |} 85 | 86 | declare export type Plugin = { 87 | languages: SupportLanguage, 88 | parsers: { [parserName: string]: Parser, ... }, 89 | printers: { [astFormat: string]: Printer, ... }, 90 | options?: SupportOption[], 91 | ... 92 | } 93 | 94 | declare export type Parser = { 95 | parse: ( 96 | text: string, 97 | parsers: { [parserName: string]: Parser, ... }, 98 | options: { [key: string]: any, ... } 99 | ) => AST, 100 | astFormat: string, 101 | hasPragma?: (text: string) => boolean, 102 | locStart: (node: any) => number, 103 | locEnd: (node: any) => number, 104 | preprocess?: (text: string, options: { [key: string]: any, ... }) => string, 105 | ... 106 | } 107 | 108 | declare export type Printer = { 109 | print: ( 110 | path: FastPath<>, 111 | options: { [key: string]: any, ... }, 112 | print: (path: FastPath<>) => Doc 113 | ) => Doc, 114 | embed: ( 115 | path: FastPath<>, 116 | print: (path: FastPath<>) => Doc, 117 | textToDoc: (text: string, options: { [key: string]: any, ... }) => Doc, 118 | options: { [key: string]: any, ... } 119 | ) => ?Doc, 120 | insertPragma?: (text: string) => string, 121 | massageAstNode?: (node: any, newNode: any, parent: any) => any, 122 | hasPrettierIgnore?: (path: FastPath<>) => boolean, 123 | canAttachComment?: (node: any) => boolean, 124 | willPrintOwnComments?: (path: FastPath<>) => boolean, 125 | printComments?: ( 126 | path: FastPath<>, 127 | print: (path: FastPath<>) => Doc, 128 | options: { [key: string]: any, ... }, 129 | needsSemi: boolean 130 | ) => Doc, 131 | handleComments?: { 132 | ownLine?: ( 133 | commentNode: any, 134 | text: string, 135 | options: { [key: string]: any, ... }, 136 | ast: any, 137 | isLastComment: boolean 138 | ) => boolean, 139 | endOfLine?: ( 140 | commentNode: any, 141 | text: string, 142 | options: { [key: string]: any, ... }, 143 | ast: any, 144 | isLastComment: boolean 145 | ) => boolean, 146 | remaining?: ( 147 | commentNode: any, 148 | text: string, 149 | options: { [key: string]: any, ... }, 150 | ast: any, 151 | isLastComment: boolean 152 | ) => boolean, 153 | ... 154 | }, 155 | ... 156 | } 157 | 158 | declare export type CursorOptions = {| 159 | cursorOffset: number, 160 | printWidth?: $PropertyType, 161 | tabWidth?: $PropertyType, 162 | useTabs?: $PropertyType, 163 | semi?: $PropertyType, 164 | singleQuote?: $PropertyType, 165 | trailingComma?: $PropertyType, 166 | bracketSpacing?: $PropertyType, 167 | jsxBracketSameLine?: $PropertyType, 168 | arrowParens?: $PropertyType, 169 | parser?: $PropertyType, 170 | filepath?: $PropertyType, 171 | requirePragma?: $PropertyType, 172 | insertPragma?: $PropertyType, 173 | proseWrap?: $PropertyType, 174 | plugins?: $PropertyType, 175 | |} 176 | 177 | declare export type CursorResult = {| 178 | formatted: string, 179 | cursorOffset: number, 180 | |} 181 | 182 | declare export type ResolveConfigOptions = {| 183 | useCache?: boolean, 184 | config?: string, 185 | editorconfig?: boolean, 186 | |} 187 | 188 | declare export type SupportLanguage = { 189 | name: string, 190 | since: string, 191 | parsers: Array, 192 | group?: string, 193 | tmScope: string, 194 | aceMode: string, 195 | codemirrorMode: string, 196 | codemirrorMimeType: string, 197 | aliases?: Array, 198 | extensions: Array, 199 | filenames?: Array, 200 | linguistLanguageId: number, 201 | vscodeLanguageIds: Array, 202 | ... 203 | } 204 | 205 | declare export type SupportOption = {| 206 | since: string, 207 | type: 'int' | 'boolean' | 'choice' | 'path', 208 | deprecated?: string, 209 | redirect?: SupportOptionRedirect, 210 | description: string, 211 | oppositeDescription?: string, 212 | default: SupportOptionValue, 213 | range?: SupportOptionRange, 214 | choices?: SupportOptionChoice, 215 | |} 216 | 217 | declare export type SupportOptionRedirect = {| 218 | options: string, 219 | value: SupportOptionValue, 220 | |} 221 | 222 | declare export type SupportOptionRange = {| 223 | start: number, 224 | end: number, 225 | step: number, 226 | |} 227 | 228 | declare export type SupportOptionChoice = {| 229 | value: boolean | string, 230 | description?: string, 231 | since?: string, 232 | deprecated?: string, 233 | redirect?: SupportOptionValue, 234 | |} 235 | 236 | declare export type SupportOptionValue = number | boolean | string 237 | 238 | declare export type SupportInfo = {| 239 | languages: Array, 240 | options: Array, 241 | |} 242 | 243 | declare export type Prettier = {| 244 | format: (source: string, options?: Options) => string, 245 | check: (source: string, options?: Options) => boolean, 246 | formatWithCursor: (source: string, options: CursorOptions) => CursorResult, 247 | resolveConfig: { 248 | (filePath: string, options?: ResolveConfigOptions): Promise, 249 | sync(filePath: string, options?: ResolveConfigOptions): ?Options, 250 | }, 251 | clearConfigCache: () => void, 252 | getSupportInfo: (version?: string) => SupportInfo, 253 | |} 254 | 255 | declare export default Prettier 256 | } 257 | -------------------------------------------------------------------------------- /flow-typed/npm/prop-types_v15.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 4c227e658fff67d328126eb392cb3317 2 | // flow-typed version: c6154227d1/prop-types_v15.x.x/flow_>=v0.89.x <=v0.103.x 3 | 4 | type $npm$propTypes$ReactPropsCheckType = ( 5 | props: any, 6 | propName: string, 7 | componentName: string, 8 | href?: string 9 | ) => ?Error 10 | 11 | // Copied from: https://github.com/facebook/flow/blob/0938da8d7293d0077fbe95c3a3e0eebadb57b012/lib/react.js#L433-L449 12 | declare module 'prop-types' { 13 | declare var array: React$PropType$Primitive> 14 | declare var bool: React$PropType$Primitive 15 | declare var func: React$PropType$Primitive<(...a: Array) => mixed> 16 | declare var number: React$PropType$Primitive 17 | declare var object: React$PropType$Primitive<{ +[string]: mixed }> 18 | declare var string: React$PropType$Primitive 19 | declare var symbol: React$PropType$Primitive 20 | declare var any: React$PropType$Primitive 21 | declare var arrayOf: React$PropType$ArrayOf 22 | declare var element: React$PropType$Primitive 23 | declare var instanceOf: React$PropType$InstanceOf 24 | declare var node: React$PropType$Primitive 25 | declare var objectOf: React$PropType$ObjectOf 26 | declare var oneOf: React$PropType$OneOf 27 | declare var oneOfType: React$PropType$OneOfType 28 | declare var shape: React$PropType$Shape 29 | 30 | declare function checkPropTypes( 31 | propTypes: { [key: $Keys]: $npm$propTypes$ReactPropsCheckType }, 32 | values: V, 33 | location: string, 34 | componentName: string, 35 | getStack: ?() => ?string 36 | ): void 37 | } 38 | -------------------------------------------------------------------------------- /flow-typed/npm/puppeteer_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: cd3e49254960409b2afbda3dd6fef5b5 2 | // flow-typed version: <>/puppeteer_v^1.0.0/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'puppeteer' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'puppeteer' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'puppeteer/DeviceDescriptors' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'puppeteer/examples/block-images' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'puppeteer/examples/custom-event' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'puppeteer/examples/detect-sniff' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'puppeteer/examples/pdf' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'puppeteer/examples/proxy' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'puppeteer/examples/screenshot-fullpage' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'puppeteer/examples/screenshot' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'puppeteer/examples/search' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'puppeteer/install' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'puppeteer/lib/Browser' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'puppeteer/lib/Connection' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'puppeteer/lib/Coverage' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'puppeteer/lib/Dialog' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'puppeteer/lib/Downloader' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'puppeteer/lib/ElementHandle' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module 'puppeteer/lib/EmulationManager' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module 'puppeteer/lib/ExecutionContext' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module 'puppeteer/lib/FrameManager' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module 'puppeteer/lib/helper' { 102 | declare module.exports: any 103 | } 104 | 105 | declare module 'puppeteer/lib/Input' { 106 | declare module.exports: any 107 | } 108 | 109 | declare module 'puppeteer/lib/Launcher' { 110 | declare module.exports: any 111 | } 112 | 113 | declare module 'puppeteer/lib/Multimap' { 114 | declare module.exports: any 115 | } 116 | 117 | declare module 'puppeteer/lib/NavigatorWatcher' { 118 | declare module.exports: any 119 | } 120 | 121 | declare module 'puppeteer/lib/NetworkManager' { 122 | declare module.exports: any 123 | } 124 | 125 | declare module 'puppeteer/lib/Page' { 126 | declare module.exports: any 127 | } 128 | 129 | declare module 'puppeteer/lib/Puppeteer' { 130 | declare module.exports: any 131 | } 132 | 133 | declare module 'puppeteer/lib/Tracing' { 134 | declare module.exports: any 135 | } 136 | 137 | declare module 'puppeteer/lib/USKeyboardLayout' { 138 | declare module.exports: any 139 | } 140 | 141 | declare module 'puppeteer/node6/lib/Browser' { 142 | declare module.exports: any 143 | } 144 | 145 | declare module 'puppeteer/node6/lib/Connection' { 146 | declare module.exports: any 147 | } 148 | 149 | declare module 'puppeteer/node6/lib/Coverage' { 150 | declare module.exports: any 151 | } 152 | 153 | declare module 'puppeteer/node6/lib/Dialog' { 154 | declare module.exports: any 155 | } 156 | 157 | declare module 'puppeteer/node6/lib/Downloader' { 158 | declare module.exports: any 159 | } 160 | 161 | declare module 'puppeteer/node6/lib/ElementHandle' { 162 | declare module.exports: any 163 | } 164 | 165 | declare module 'puppeteer/node6/lib/EmulationManager' { 166 | declare module.exports: any 167 | } 168 | 169 | declare module 'puppeteer/node6/lib/ExecutionContext' { 170 | declare module.exports: any 171 | } 172 | 173 | declare module 'puppeteer/node6/lib/FrameManager' { 174 | declare module.exports: any 175 | } 176 | 177 | declare module 'puppeteer/node6/lib/helper' { 178 | declare module.exports: any 179 | } 180 | 181 | declare module 'puppeteer/node6/lib/Input' { 182 | declare module.exports: any 183 | } 184 | 185 | declare module 'puppeteer/node6/lib/Launcher' { 186 | declare module.exports: any 187 | } 188 | 189 | declare module 'puppeteer/node6/lib/Multimap' { 190 | declare module.exports: any 191 | } 192 | 193 | declare module 'puppeteer/node6/lib/NavigatorWatcher' { 194 | declare module.exports: any 195 | } 196 | 197 | declare module 'puppeteer/node6/lib/NetworkManager' { 198 | declare module.exports: any 199 | } 200 | 201 | declare module 'puppeteer/node6/lib/Page' { 202 | declare module.exports: any 203 | } 204 | 205 | declare module 'puppeteer/node6/lib/Puppeteer' { 206 | declare module.exports: any 207 | } 208 | 209 | declare module 'puppeteer/node6/lib/Tracing' { 210 | declare module.exports: any 211 | } 212 | 213 | declare module 'puppeteer/node6/lib/USKeyboardLayout' { 214 | declare module.exports: any 215 | } 216 | 217 | // Filename aliases 218 | declare module 'puppeteer/DeviceDescriptors.js' { 219 | declare module.exports: $Exports<'puppeteer/DeviceDescriptors'> 220 | } 221 | declare module 'puppeteer/examples/block-images.js' { 222 | declare module.exports: $Exports<'puppeteer/examples/block-images'> 223 | } 224 | declare module 'puppeteer/examples/custom-event.js' { 225 | declare module.exports: $Exports<'puppeteer/examples/custom-event'> 226 | } 227 | declare module 'puppeteer/examples/detect-sniff.js' { 228 | declare module.exports: $Exports<'puppeteer/examples/detect-sniff'> 229 | } 230 | declare module 'puppeteer/examples/pdf.js' { 231 | declare module.exports: $Exports<'puppeteer/examples/pdf'> 232 | } 233 | declare module 'puppeteer/examples/proxy.js' { 234 | declare module.exports: $Exports<'puppeteer/examples/proxy'> 235 | } 236 | declare module 'puppeteer/examples/screenshot-fullpage.js' { 237 | declare module.exports: $Exports<'puppeteer/examples/screenshot-fullpage'> 238 | } 239 | declare module 'puppeteer/examples/screenshot.js' { 240 | declare module.exports: $Exports<'puppeteer/examples/screenshot'> 241 | } 242 | declare module 'puppeteer/examples/search.js' { 243 | declare module.exports: $Exports<'puppeteer/examples/search'> 244 | } 245 | declare module 'puppeteer/index' { 246 | declare module.exports: $Exports<'puppeteer'> 247 | } 248 | declare module 'puppeteer/index.js' { 249 | declare module.exports: $Exports<'puppeteer'> 250 | } 251 | declare module 'puppeteer/install.js' { 252 | declare module.exports: $Exports<'puppeteer/install'> 253 | } 254 | declare module 'puppeteer/lib/Browser.js' { 255 | declare module.exports: $Exports<'puppeteer/lib/Browser'> 256 | } 257 | declare module 'puppeteer/lib/Connection.js' { 258 | declare module.exports: $Exports<'puppeteer/lib/Connection'> 259 | } 260 | declare module 'puppeteer/lib/Coverage.js' { 261 | declare module.exports: $Exports<'puppeteer/lib/Coverage'> 262 | } 263 | declare module 'puppeteer/lib/Dialog.js' { 264 | declare module.exports: $Exports<'puppeteer/lib/Dialog'> 265 | } 266 | declare module 'puppeteer/lib/Downloader.js' { 267 | declare module.exports: $Exports<'puppeteer/lib/Downloader'> 268 | } 269 | declare module 'puppeteer/lib/ElementHandle.js' { 270 | declare module.exports: $Exports<'puppeteer/lib/ElementHandle'> 271 | } 272 | declare module 'puppeteer/lib/EmulationManager.js' { 273 | declare module.exports: $Exports<'puppeteer/lib/EmulationManager'> 274 | } 275 | declare module 'puppeteer/lib/ExecutionContext.js' { 276 | declare module.exports: $Exports<'puppeteer/lib/ExecutionContext'> 277 | } 278 | declare module 'puppeteer/lib/FrameManager.js' { 279 | declare module.exports: $Exports<'puppeteer/lib/FrameManager'> 280 | } 281 | declare module 'puppeteer/lib/helper.js' { 282 | declare module.exports: $Exports<'puppeteer/lib/helper'> 283 | } 284 | declare module 'puppeteer/lib/Input.js' { 285 | declare module.exports: $Exports<'puppeteer/lib/Input'> 286 | } 287 | declare module 'puppeteer/lib/Launcher.js' { 288 | declare module.exports: $Exports<'puppeteer/lib/Launcher'> 289 | } 290 | declare module 'puppeteer/lib/Multimap.js' { 291 | declare module.exports: $Exports<'puppeteer/lib/Multimap'> 292 | } 293 | declare module 'puppeteer/lib/NavigatorWatcher.js' { 294 | declare module.exports: $Exports<'puppeteer/lib/NavigatorWatcher'> 295 | } 296 | declare module 'puppeteer/lib/NetworkManager.js' { 297 | declare module.exports: $Exports<'puppeteer/lib/NetworkManager'> 298 | } 299 | declare module 'puppeteer/lib/Page.js' { 300 | declare module.exports: $Exports<'puppeteer/lib/Page'> 301 | } 302 | declare module 'puppeteer/lib/Puppeteer.js' { 303 | declare module.exports: $Exports<'puppeteer/lib/Puppeteer'> 304 | } 305 | declare module 'puppeteer/lib/Tracing.js' { 306 | declare module.exports: $Exports<'puppeteer/lib/Tracing'> 307 | } 308 | declare module 'puppeteer/lib/USKeyboardLayout.js' { 309 | declare module.exports: $Exports<'puppeteer/lib/USKeyboardLayout'> 310 | } 311 | declare module 'puppeteer/node6/lib/Browser.js' { 312 | declare module.exports: $Exports<'puppeteer/node6/lib/Browser'> 313 | } 314 | declare module 'puppeteer/node6/lib/Connection.js' { 315 | declare module.exports: $Exports<'puppeteer/node6/lib/Connection'> 316 | } 317 | declare module 'puppeteer/node6/lib/Coverage.js' { 318 | declare module.exports: $Exports<'puppeteer/node6/lib/Coverage'> 319 | } 320 | declare module 'puppeteer/node6/lib/Dialog.js' { 321 | declare module.exports: $Exports<'puppeteer/node6/lib/Dialog'> 322 | } 323 | declare module 'puppeteer/node6/lib/Downloader.js' { 324 | declare module.exports: $Exports<'puppeteer/node6/lib/Downloader'> 325 | } 326 | declare module 'puppeteer/node6/lib/ElementHandle.js' { 327 | declare module.exports: $Exports<'puppeteer/node6/lib/ElementHandle'> 328 | } 329 | declare module 'puppeteer/node6/lib/EmulationManager.js' { 330 | declare module.exports: $Exports<'puppeteer/node6/lib/EmulationManager'> 331 | } 332 | declare module 'puppeteer/node6/lib/ExecutionContext.js' { 333 | declare module.exports: $Exports<'puppeteer/node6/lib/ExecutionContext'> 334 | } 335 | declare module 'puppeteer/node6/lib/FrameManager.js' { 336 | declare module.exports: $Exports<'puppeteer/node6/lib/FrameManager'> 337 | } 338 | declare module 'puppeteer/node6/lib/helper.js' { 339 | declare module.exports: $Exports<'puppeteer/node6/lib/helper'> 340 | } 341 | declare module 'puppeteer/node6/lib/Input.js' { 342 | declare module.exports: $Exports<'puppeteer/node6/lib/Input'> 343 | } 344 | declare module 'puppeteer/node6/lib/Launcher.js' { 345 | declare module.exports: $Exports<'puppeteer/node6/lib/Launcher'> 346 | } 347 | declare module 'puppeteer/node6/lib/Multimap.js' { 348 | declare module.exports: $Exports<'puppeteer/node6/lib/Multimap'> 349 | } 350 | declare module 'puppeteer/node6/lib/NavigatorWatcher.js' { 351 | declare module.exports: $Exports<'puppeteer/node6/lib/NavigatorWatcher'> 352 | } 353 | declare module 'puppeteer/node6/lib/NetworkManager.js' { 354 | declare module.exports: $Exports<'puppeteer/node6/lib/NetworkManager'> 355 | } 356 | declare module 'puppeteer/node6/lib/Page.js' { 357 | declare module.exports: $Exports<'puppeteer/node6/lib/Page'> 358 | } 359 | declare module 'puppeteer/node6/lib/Puppeteer.js' { 360 | declare module.exports: $Exports<'puppeteer/node6/lib/Puppeteer'> 361 | } 362 | declare module 'puppeteer/node6/lib/Tracing.js' { 363 | declare module.exports: $Exports<'puppeteer/node6/lib/Tracing'> 364 | } 365 | declare module 'puppeteer/node6/lib/USKeyboardLayout.js' { 366 | declare module.exports: $Exports<'puppeteer/node6/lib/USKeyboardLayout'> 367 | } 368 | -------------------------------------------------------------------------------- /flow-typed/npm/react-router-dom_v5.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2af00a76589d146139f65a5a524dfc25 2 | // flow-typed version: cb4e8f3aa2/react-router-dom_v5.x.x/flow_>=v0.63.x <=v0.97.x 3 | 4 | declare module 'react-router-dom' { 5 | declare export var BrowserRouter: React$ComponentType<{| 6 | basename?: string, 7 | forceRefresh?: boolean, 8 | getUserConfirmation?: GetUserConfirmation, 9 | keyLength?: number, 10 | children?: React$Node, 11 | |}> 12 | 13 | declare export var HashRouter: React$ComponentType<{| 14 | basename?: string, 15 | getUserConfirmation?: GetUserConfirmation, 16 | hashType?: 'slash' | 'noslash' | 'hashbang', 17 | children?: React$Node, 18 | |}> 19 | 20 | declare export var Link: React$ComponentType<{ 21 | className?: string, 22 | to: string | LocationShape, 23 | replace?: boolean, 24 | children?: React$Node, 25 | }> 26 | 27 | declare export var NavLink: React$ComponentType<{ 28 | to: string | LocationShape, 29 | activeClassName?: string, 30 | className?: string, 31 | activeStyle?: { +[string]: mixed }, 32 | style?: { +[string]: mixed }, 33 | isActive?: (match: Match, location: Location) => boolean, 34 | children?: React$Node, 35 | exact?: boolean, 36 | strict?: boolean, 37 | }> 38 | 39 | // NOTE: Below are duplicated from react-router. If updating these, please 40 | // update the react-router and react-router-native types as well. 41 | declare export type Location = { 42 | pathname: string, 43 | search: string, 44 | hash: string, 45 | state?: any, 46 | key?: string, 47 | } 48 | 49 | declare export type LocationShape = { 50 | pathname?: string, 51 | search?: string, 52 | hash?: string, 53 | state?: any, 54 | } 55 | 56 | declare export type HistoryAction = 'PUSH' | 'REPLACE' | 'POP' 57 | 58 | declare export type RouterHistory = { 59 | length: number, 60 | location: Location, 61 | action: HistoryAction, 62 | listen( 63 | callback: (location: Location, action: HistoryAction) => void 64 | ): () => void, 65 | push(path: string | LocationShape, state?: any): void, 66 | replace(path: string | LocationShape, state?: any): void, 67 | go(n: number): void, 68 | goBack(): void, 69 | goForward(): void, 70 | canGo?: (n: number) => boolean, 71 | block( 72 | callback: 73 | | string 74 | | ((location: Location, action: HistoryAction) => ?string) 75 | ): () => void, 76 | // createMemoryHistory 77 | index?: number, 78 | entries?: Array, 79 | } 80 | 81 | declare export type Match = { 82 | params: { [key: string]: ?string }, 83 | isExact: boolean, 84 | path: string, 85 | url: string, 86 | } 87 | 88 | declare export type ContextRouter = {| 89 | history: RouterHistory, 90 | location: Location, 91 | match: Match, 92 | staticContext?: StaticRouterContext, 93 | |} 94 | 95 | declare type ContextRouterVoid = { 96 | history: RouterHistory | void, 97 | location: Location | void, 98 | match: Match | void, 99 | staticContext?: StaticRouterContext | void, 100 | } 101 | 102 | declare export type GetUserConfirmation = ( 103 | message: string, 104 | callback: (confirmed: boolean) => void 105 | ) => void 106 | 107 | declare export type StaticRouterContext = { 108 | url?: string, 109 | } 110 | 111 | declare export var StaticRouter: React$ComponentType<{| 112 | basename?: string, 113 | location?: string | Location, 114 | context: StaticRouterContext, 115 | children?: React$Node, 116 | |}> 117 | 118 | declare export var MemoryRouter: React$ComponentType<{| 119 | initialEntries?: Array, 120 | initialIndex?: number, 121 | getUserConfirmation?: GetUserConfirmation, 122 | keyLength?: number, 123 | children?: React$Node, 124 | |}> 125 | 126 | declare export var Router: React$ComponentType<{| 127 | history: RouterHistory, 128 | children?: React$Node, 129 | |}> 130 | 131 | declare export var Prompt: React$ComponentType<{| 132 | message: string | ((location: Location) => string | boolean), 133 | when?: boolean, 134 | |}> 135 | 136 | declare export var Redirect: React$ComponentType<{| 137 | to: string | LocationShape, 138 | push?: boolean, 139 | from?: string, 140 | exact?: boolean, 141 | strict?: boolean, 142 | |}> 143 | 144 | declare export var Route: React$ComponentType<{| 145 | component?: React$ComponentType<*>, 146 | render?: (router: ContextRouter) => React$Node, 147 | children?: React$ComponentType | React$Node, 148 | path?: string | Array, 149 | exact?: boolean, 150 | strict?: boolean, 151 | location?: LocationShape, 152 | sensitive?: boolean, 153 | |}> 154 | 155 | declare export var Switch: React$ComponentType<{| 156 | children?: React$Node, 157 | location?: Location, 158 | |}> 159 | 160 | declare export function withRouter< 161 | Props: {}, 162 | Component: React$ComponentType 163 | >( 164 | WrappedComponent: Component 165 | ): React$ComponentType< 166 | $Diff>, ContextRouterVoid> 167 | > 168 | 169 | declare type MatchPathOptions = { 170 | path?: string | string[], 171 | exact?: boolean, 172 | sensitive?: boolean, 173 | strict?: boolean, 174 | } 175 | 176 | declare export function matchPath( 177 | pathname: string, 178 | options?: MatchPathOptions | string | string[], 179 | parent?: Match 180 | ): null | Match 181 | 182 | declare export function generatePath( 183 | pattern?: string, 184 | params?: { +[string]: mixed } 185 | ): string 186 | } 187 | -------------------------------------------------------------------------------- /flow-typed/npm/react-router_v4.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: fd05ff7ee75da2ba5d12a620675d5923 2 | // flow-typed version: c6154227d1/react-router_v4.x.x/flow_>=v0.63.x <=v0.103.x 3 | 4 | declare module 'react-router' { 5 | // NOTE: many of these are re-exported by react-router-dom and 6 | // react-router-native, so when making changes, please be sure to update those 7 | // as well. 8 | declare export type Location = { 9 | pathname: string, 10 | search: string, 11 | hash: string, 12 | state?: any, 13 | key?: string, 14 | } 15 | 16 | declare export type LocationShape = { 17 | pathname?: string, 18 | search?: string, 19 | hash?: string, 20 | state?: any, 21 | } 22 | 23 | declare export type HistoryAction = 'PUSH' | 'REPLACE' | 'POP' 24 | 25 | declare export type RouterHistory = { 26 | length: number, 27 | location: Location, 28 | action: HistoryAction, 29 | listen( 30 | callback: (location: Location, action: HistoryAction) => void 31 | ): () => void, 32 | push(path: string | LocationShape, state?: any): void, 33 | replace(path: string | LocationShape, state?: any): void, 34 | go(n: number): void, 35 | goBack(): void, 36 | goForward(): void, 37 | canGo?: (n: number) => boolean, 38 | block( 39 | callback: 40 | | string 41 | | ((location: Location, action: HistoryAction) => ?string) 42 | ): () => void, 43 | // createMemoryHistory 44 | index?: number, 45 | entries?: Array, 46 | } 47 | 48 | declare export type Match = { 49 | params: { [key: string]: ?string }, 50 | isExact: boolean, 51 | path: string, 52 | url: string, 53 | } 54 | 55 | declare export type ContextRouter = {| 56 | history: RouterHistory, 57 | location: Location, 58 | match: Match, 59 | staticContext?: StaticRouterContext, 60 | |} 61 | 62 | declare export type GetUserConfirmation = ( 63 | message: string, 64 | callback: (confirmed: boolean) => void 65 | ) => void 66 | 67 | declare type StaticRouterContext = { 68 | url?: string, 69 | } 70 | 71 | declare export class StaticRouter 72 | extends 73 | React$Component<{ 74 | basename?: string, 75 | location?: string | Location, 76 | context: StaticRouterContext, 77 | children?: React$Node, 78 | }> {} 79 | 80 | declare export class MemoryRouter 81 | extends 82 | React$Component<{ 83 | initialEntries?: Array, 84 | initialIndex?: number, 85 | getUserConfirmation?: GetUserConfirmation, 86 | keyLength?: number, 87 | children?: React$Node, 88 | }> {} 89 | 90 | declare export class Router 91 | extends 92 | React$Component<{ 93 | history: RouterHistory, 94 | children?: React$Node, 95 | }> {} 96 | 97 | declare export class Prompt 98 | extends 99 | React$Component<{ 100 | message: string | ((location: Location) => string | true), 101 | when?: boolean, 102 | }> {} 103 | 104 | declare export class Redirect 105 | extends 106 | React$Component<{| 107 | to: string | LocationShape, 108 | push?: boolean, 109 | from?: string, 110 | exact?: boolean, 111 | strict?: boolean, 112 | |}> {} 113 | 114 | declare export class Route 115 | extends 116 | React$Component<{| 117 | component?: React$ComponentType<*>, 118 | render?: (router: ContextRouter) => React$Node, 119 | children?: React$ComponentType | React$Node, 120 | path?: string, 121 | exact?: boolean, 122 | strict?: boolean, 123 | location?: LocationShape, 124 | sensitive?: boolean, 125 | |}> {} 126 | 127 | declare export class Switch 128 | extends 129 | React$Component<{| 130 | children?: React$Node, 131 | location?: Location, 132 | |}> {} 133 | 134 | declare export function withRouter

( 135 | Component: React$ComponentType<{| ...ContextRouter, ...P |}> 136 | ): React$ComponentType

137 | 138 | declare type MatchPathOptions = { 139 | path?: string, 140 | exact?: boolean, 141 | strict?: boolean, 142 | sensitive?: boolean, 143 | } 144 | 145 | declare export function matchPath( 146 | pathname: string, 147 | options?: MatchPathOptions | string 148 | ): null | Match 149 | } 150 | -------------------------------------------------------------------------------- /flow-typed/npm/rimraf_v2.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 0eb8a81288416e6790fe4ede6297aaf3 2 | // flow-typed version: c6154227d1/rimraf_v2.x.x/flow_>=v0.25.0 <=v0.103.x 3 | 4 | declare module 'rimraf' { 5 | declare type Options = { 6 | maxBusyTries?: number, 7 | emfileWait?: number, 8 | glob?: boolean, 9 | disableGlob?: boolean, 10 | } 11 | 12 | declare type Callback = (err: ?Error, path: ?string) => void 13 | 14 | declare module.exports: { 15 | (f: string, opts?: Options | Callback, callback?: Callback): void, 16 | sync(path: string, opts?: Options): void, 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/semantic-release_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5997ce66e87c4963b881ca0a91c1b6e6 2 | // flow-typed version: <>/semantic-release_v^15.13.3/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'semantic-release' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'semantic-release' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'semantic-release/bin/semantic-release' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'semantic-release/cli' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'semantic-release/lib/definitions/constants' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'semantic-release/lib/definitions/errors' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'semantic-release/lib/definitions/plugins' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'semantic-release/lib/get-commits' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'semantic-release/lib/get-config' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'semantic-release/lib/get-error' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'semantic-release/lib/get-git-auth-url' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'semantic-release/lib/get-last-release' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'semantic-release/lib/get-logger' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'semantic-release/lib/get-next-version' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'semantic-release/lib/git' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'semantic-release/lib/hide-sensitive' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'semantic-release/lib/plugins' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'semantic-release/lib/plugins/normalize' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module 'semantic-release/lib/plugins/pipeline' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module 'semantic-release/lib/plugins/utils' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module 'semantic-release/lib/utils' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module 'semantic-release/lib/verify' { 102 | declare module.exports: any 103 | } 104 | 105 | // Filename aliases 106 | declare module 'semantic-release/bin/semantic-release.js' { 107 | declare module.exports: $Exports<'semantic-release/bin/semantic-release'> 108 | } 109 | declare module 'semantic-release/cli.js' { 110 | declare module.exports: $Exports<'semantic-release/cli'> 111 | } 112 | declare module 'semantic-release/index' { 113 | declare module.exports: $Exports<'semantic-release'> 114 | } 115 | declare module 'semantic-release/index.js' { 116 | declare module.exports: $Exports<'semantic-release'> 117 | } 118 | declare module 'semantic-release/lib/definitions/constants.js' { 119 | declare module.exports: $Exports<'semantic-release/lib/definitions/constants'> 120 | } 121 | declare module 'semantic-release/lib/definitions/errors.js' { 122 | declare module.exports: $Exports<'semantic-release/lib/definitions/errors'> 123 | } 124 | declare module 'semantic-release/lib/definitions/plugins.js' { 125 | declare module.exports: $Exports<'semantic-release/lib/definitions/plugins'> 126 | } 127 | declare module 'semantic-release/lib/get-commits.js' { 128 | declare module.exports: $Exports<'semantic-release/lib/get-commits'> 129 | } 130 | declare module 'semantic-release/lib/get-config.js' { 131 | declare module.exports: $Exports<'semantic-release/lib/get-config'> 132 | } 133 | declare module 'semantic-release/lib/get-error.js' { 134 | declare module.exports: $Exports<'semantic-release/lib/get-error'> 135 | } 136 | declare module 'semantic-release/lib/get-git-auth-url.js' { 137 | declare module.exports: $Exports<'semantic-release/lib/get-git-auth-url'> 138 | } 139 | declare module 'semantic-release/lib/get-last-release.js' { 140 | declare module.exports: $Exports<'semantic-release/lib/get-last-release'> 141 | } 142 | declare module 'semantic-release/lib/get-logger.js' { 143 | declare module.exports: $Exports<'semantic-release/lib/get-logger'> 144 | } 145 | declare module 'semantic-release/lib/get-next-version.js' { 146 | declare module.exports: $Exports<'semantic-release/lib/get-next-version'> 147 | } 148 | declare module 'semantic-release/lib/git.js' { 149 | declare module.exports: $Exports<'semantic-release/lib/git'> 150 | } 151 | declare module 'semantic-release/lib/hide-sensitive.js' { 152 | declare module.exports: $Exports<'semantic-release/lib/hide-sensitive'> 153 | } 154 | declare module 'semantic-release/lib/plugins/index' { 155 | declare module.exports: $Exports<'semantic-release/lib/plugins'> 156 | } 157 | declare module 'semantic-release/lib/plugins/index.js' { 158 | declare module.exports: $Exports<'semantic-release/lib/plugins'> 159 | } 160 | declare module 'semantic-release/lib/plugins/normalize.js' { 161 | declare module.exports: $Exports<'semantic-release/lib/plugins/normalize'> 162 | } 163 | declare module 'semantic-release/lib/plugins/pipeline.js' { 164 | declare module.exports: $Exports<'semantic-release/lib/plugins/pipeline'> 165 | } 166 | declare module 'semantic-release/lib/plugins/utils.js' { 167 | declare module.exports: $Exports<'semantic-release/lib/plugins/utils'> 168 | } 169 | declare module 'semantic-release/lib/utils.js' { 170 | declare module.exports: $Exports<'semantic-release/lib/utils'> 171 | } 172 | declare module 'semantic-release/lib/verify.js' { 173 | declare module.exports: $Exports<'semantic-release/lib/verify'> 174 | } 175 | -------------------------------------------------------------------------------- /flow-typed/npm/sinon_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 51b5b04e73a56d21210d800f697f8b4b 2 | // flow-typed version: <>/sinon_v^3.2.1/flow_v0.97.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'sinon' 8 | * 9 | * Fill this stub out by replacing all the `any` types. 10 | * 11 | * Once filled out, we encourage you to share your work with the 12 | * community by sending a pull request to: 13 | * https://github.com/flowtype/flow-typed 14 | */ 15 | 16 | declare module 'sinon' { 17 | declare module.exports: any 18 | } 19 | 20 | /** 21 | * We include stubs for each file inside this npm package in case you need to 22 | * require those files directly. Feel free to delete any files that aren't 23 | * needed. 24 | */ 25 | declare module 'sinon/lib/sinon' { 26 | declare module.exports: any 27 | } 28 | 29 | declare module 'sinon/lib/sinon/assert' { 30 | declare module.exports: any 31 | } 32 | 33 | declare module 'sinon/lib/sinon/behavior' { 34 | declare module.exports: any 35 | } 36 | 37 | declare module 'sinon/lib/sinon/blob' { 38 | declare module.exports: any 39 | } 40 | 41 | declare module 'sinon/lib/sinon/call' { 42 | declare module.exports: any 43 | } 44 | 45 | declare module 'sinon/lib/sinon/collect-own-methods' { 46 | declare module.exports: any 47 | } 48 | 49 | declare module 'sinon/lib/sinon/collection' { 50 | declare module.exports: any 51 | } 52 | 53 | declare module 'sinon/lib/sinon/color' { 54 | declare module.exports: any 55 | } 56 | 57 | declare module 'sinon/lib/sinon/default-behaviors' { 58 | declare module.exports: any 59 | } 60 | 61 | declare module 'sinon/lib/sinon/match' { 62 | declare module.exports: any 63 | } 64 | 65 | declare module 'sinon/lib/sinon/mock-expectation' { 66 | declare module.exports: any 67 | } 68 | 69 | declare module 'sinon/lib/sinon/mock' { 70 | declare module.exports: any 71 | } 72 | 73 | declare module 'sinon/lib/sinon/sandbox-stub' { 74 | declare module.exports: any 75 | } 76 | 77 | declare module 'sinon/lib/sinon/sandbox' { 78 | declare module.exports: any 79 | } 80 | 81 | declare module 'sinon/lib/sinon/spy-formatters' { 82 | declare module.exports: any 83 | } 84 | 85 | declare module 'sinon/lib/sinon/spy' { 86 | declare module.exports: any 87 | } 88 | 89 | declare module 'sinon/lib/sinon/stub-entire-object' { 90 | declare module.exports: any 91 | } 92 | 93 | declare module 'sinon/lib/sinon/stub-non-function-property' { 94 | declare module.exports: any 95 | } 96 | 97 | declare module 'sinon/lib/sinon/stub' { 98 | declare module.exports: any 99 | } 100 | 101 | declare module 'sinon/lib/sinon/throw-on-falsy-object' { 102 | declare module.exports: any 103 | } 104 | 105 | declare module 'sinon/lib/sinon/util/core/called-in-order' { 106 | declare module.exports: any 107 | } 108 | 109 | declare module 'sinon/lib/sinon/util/core/deep-equal' { 110 | declare module.exports: any 111 | } 112 | 113 | declare module 'sinon/lib/sinon/util/core/default-config' { 114 | declare module.exports: any 115 | } 116 | 117 | declare module 'sinon/lib/sinon/util/core/deprecated' { 118 | declare module.exports: any 119 | } 120 | 121 | declare module 'sinon/lib/sinon/util/core/every' { 122 | declare module.exports: any 123 | } 124 | 125 | declare module 'sinon/lib/sinon/util/core/extend' { 126 | declare module.exports: any 127 | } 128 | 129 | declare module 'sinon/lib/sinon/util/core/format' { 130 | declare module.exports: any 131 | } 132 | 133 | declare module 'sinon/lib/sinon/util/core/function-name' { 134 | declare module.exports: any 135 | } 136 | 137 | declare module 'sinon/lib/sinon/util/core/function-to-string' { 138 | declare module.exports: any 139 | } 140 | 141 | declare module 'sinon/lib/sinon/util/core/get-config' { 142 | declare module.exports: any 143 | } 144 | 145 | declare module 'sinon/lib/sinon/util/core/get-property-descriptor' { 146 | declare module.exports: any 147 | } 148 | 149 | declare module 'sinon/lib/sinon/util/core/iterable-to-string' { 150 | declare module.exports: any 151 | } 152 | 153 | declare module 'sinon/lib/sinon/util/core/order-by-first-call' { 154 | declare module.exports: any 155 | } 156 | 157 | declare module 'sinon/lib/sinon/util/core/restore' { 158 | declare module.exports: any 159 | } 160 | 161 | declare module 'sinon/lib/sinon/util/core/times-in-words' { 162 | declare module.exports: any 163 | } 164 | 165 | declare module 'sinon/lib/sinon/util/core/typeOf' { 166 | declare module.exports: any 167 | } 168 | 169 | declare module 'sinon/lib/sinon/util/core/value-to-string' { 170 | declare module.exports: any 171 | } 172 | 173 | declare module 'sinon/lib/sinon/util/core/walk' { 174 | declare module.exports: any 175 | } 176 | 177 | declare module 'sinon/lib/sinon/util/core/wrap-method' { 178 | declare module.exports: any 179 | } 180 | 181 | declare module 'sinon/lib/sinon/util/fake_timers' { 182 | declare module.exports: any 183 | } 184 | 185 | declare module 'sinon/pkg/sinon-3.2.1' { 186 | declare module.exports: any 187 | } 188 | 189 | declare module 'sinon/pkg/sinon-no-sourcemaps-3.2.1' { 190 | declare module.exports: any 191 | } 192 | 193 | declare module 'sinon/pkg/sinon-no-sourcemaps' { 194 | declare module.exports: any 195 | } 196 | 197 | declare module 'sinon/pkg/sinon' { 198 | declare module.exports: any 199 | } 200 | 201 | // Filename aliases 202 | declare module 'sinon/lib/sinon.js' { 203 | declare module.exports: $Exports<'sinon/lib/sinon'> 204 | } 205 | declare module 'sinon/lib/sinon/assert.js' { 206 | declare module.exports: $Exports<'sinon/lib/sinon/assert'> 207 | } 208 | declare module 'sinon/lib/sinon/behavior.js' { 209 | declare module.exports: $Exports<'sinon/lib/sinon/behavior'> 210 | } 211 | declare module 'sinon/lib/sinon/blob.js' { 212 | declare module.exports: $Exports<'sinon/lib/sinon/blob'> 213 | } 214 | declare module 'sinon/lib/sinon/call.js' { 215 | declare module.exports: $Exports<'sinon/lib/sinon/call'> 216 | } 217 | declare module 'sinon/lib/sinon/collect-own-methods.js' { 218 | declare module.exports: $Exports<'sinon/lib/sinon/collect-own-methods'> 219 | } 220 | declare module 'sinon/lib/sinon/collection.js' { 221 | declare module.exports: $Exports<'sinon/lib/sinon/collection'> 222 | } 223 | declare module 'sinon/lib/sinon/color.js' { 224 | declare module.exports: $Exports<'sinon/lib/sinon/color'> 225 | } 226 | declare module 'sinon/lib/sinon/default-behaviors.js' { 227 | declare module.exports: $Exports<'sinon/lib/sinon/default-behaviors'> 228 | } 229 | declare module 'sinon/lib/sinon/match.js' { 230 | declare module.exports: $Exports<'sinon/lib/sinon/match'> 231 | } 232 | declare module 'sinon/lib/sinon/mock-expectation.js' { 233 | declare module.exports: $Exports<'sinon/lib/sinon/mock-expectation'> 234 | } 235 | declare module 'sinon/lib/sinon/mock.js' { 236 | declare module.exports: $Exports<'sinon/lib/sinon/mock'> 237 | } 238 | declare module 'sinon/lib/sinon/sandbox-stub.js' { 239 | declare module.exports: $Exports<'sinon/lib/sinon/sandbox-stub'> 240 | } 241 | declare module 'sinon/lib/sinon/sandbox.js' { 242 | declare module.exports: $Exports<'sinon/lib/sinon/sandbox'> 243 | } 244 | declare module 'sinon/lib/sinon/spy-formatters.js' { 245 | declare module.exports: $Exports<'sinon/lib/sinon/spy-formatters'> 246 | } 247 | declare module 'sinon/lib/sinon/spy.js' { 248 | declare module.exports: $Exports<'sinon/lib/sinon/spy'> 249 | } 250 | declare module 'sinon/lib/sinon/stub-entire-object.js' { 251 | declare module.exports: $Exports<'sinon/lib/sinon/stub-entire-object'> 252 | } 253 | declare module 'sinon/lib/sinon/stub-non-function-property.js' { 254 | declare module.exports: $Exports<'sinon/lib/sinon/stub-non-function-property'> 255 | } 256 | declare module 'sinon/lib/sinon/stub.js' { 257 | declare module.exports: $Exports<'sinon/lib/sinon/stub'> 258 | } 259 | declare module 'sinon/lib/sinon/throw-on-falsy-object.js' { 260 | declare module.exports: $Exports<'sinon/lib/sinon/throw-on-falsy-object'> 261 | } 262 | declare module 'sinon/lib/sinon/util/core/called-in-order.js' { 263 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/called-in-order'> 264 | } 265 | declare module 'sinon/lib/sinon/util/core/deep-equal.js' { 266 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/deep-equal'> 267 | } 268 | declare module 'sinon/lib/sinon/util/core/default-config.js' { 269 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/default-config'> 270 | } 271 | declare module 'sinon/lib/sinon/util/core/deprecated.js' { 272 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/deprecated'> 273 | } 274 | declare module 'sinon/lib/sinon/util/core/every.js' { 275 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/every'> 276 | } 277 | declare module 'sinon/lib/sinon/util/core/extend.js' { 278 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/extend'> 279 | } 280 | declare module 'sinon/lib/sinon/util/core/format.js' { 281 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/format'> 282 | } 283 | declare module 'sinon/lib/sinon/util/core/function-name.js' { 284 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/function-name'> 285 | } 286 | declare module 'sinon/lib/sinon/util/core/function-to-string.js' { 287 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/function-to-string'> 288 | } 289 | declare module 'sinon/lib/sinon/util/core/get-config.js' { 290 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/get-config'> 291 | } 292 | declare module 'sinon/lib/sinon/util/core/get-property-descriptor.js' { 293 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/get-property-descriptor'> 294 | } 295 | declare module 'sinon/lib/sinon/util/core/iterable-to-string.js' { 296 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/iterable-to-string'> 297 | } 298 | declare module 'sinon/lib/sinon/util/core/order-by-first-call.js' { 299 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/order-by-first-call'> 300 | } 301 | declare module 'sinon/lib/sinon/util/core/restore.js' { 302 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/restore'> 303 | } 304 | declare module 'sinon/lib/sinon/util/core/times-in-words.js' { 305 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/times-in-words'> 306 | } 307 | declare module 'sinon/lib/sinon/util/core/typeOf.js' { 308 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/typeOf'> 309 | } 310 | declare module 'sinon/lib/sinon/util/core/value-to-string.js' { 311 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/value-to-string'> 312 | } 313 | declare module 'sinon/lib/sinon/util/core/walk.js' { 314 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/walk'> 315 | } 316 | declare module 'sinon/lib/sinon/util/core/wrap-method.js' { 317 | declare module.exports: $Exports<'sinon/lib/sinon/util/core/wrap-method'> 318 | } 319 | declare module 'sinon/lib/sinon/util/fake_timers.js' { 320 | declare module.exports: $Exports<'sinon/lib/sinon/util/fake_timers'> 321 | } 322 | declare module 'sinon/pkg/sinon-3.2.1.js' { 323 | declare module.exports: $Exports<'sinon/pkg/sinon-3.2.1'> 324 | } 325 | declare module 'sinon/pkg/sinon-no-sourcemaps-3.2.1.js' { 326 | declare module.exports: $Exports<'sinon/pkg/sinon-no-sourcemaps-3.2.1'> 327 | } 328 | declare module 'sinon/pkg/sinon-no-sourcemaps.js' { 329 | declare module.exports: $Exports<'sinon/pkg/sinon-no-sourcemaps'> 330 | } 331 | declare module 'sinon/pkg/sinon.js' { 332 | declare module.exports: $Exports<'sinon/pkg/sinon'> 333 | } 334 | -------------------------------------------------------------------------------- /flow-typed/npm/warning_v3.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3e53af7fad83f12c23c87b907db61c87 2 | // flow-typed version: c6154227d1/warning_v3.x.x/flow_>=v0.25.x <=v0.103.x 3 | 4 | declare module warning { 5 | declare module.exports: (shouldBeTrue: boolean, warning: string) => void 6 | } 7 | -------------------------------------------------------------------------------- /githooks.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node, es2018 */ 2 | const base = require('@jcoreio/toolchain/githooks.cjs') 3 | module.exports = { 4 | ...base, 5 | } 6 | -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- 1 | /* eslint-env node */ 2 | 3 | const webpackConfig = require('./webpack.config') 4 | process.env.CHROME_BIN = require('puppeteer').executablePath() 5 | 6 | module.exports = (config) => { 7 | config.set({ 8 | browsers: ['ChromeHeadless', 'FirefoxHeadless'], 9 | customLaunchers: { 10 | FirefoxHeadless: { 11 | base: 'Firefox', 12 | flags: ['-headless'], 13 | }, 14 | }, 15 | frameworks: ['mocha'], 16 | files: ['test/index.js'], 17 | preprocessors: { 18 | 'test/index.js': ['webpack', 'sourcemap'], 19 | }, 20 | webpack: Object.assign(webpackConfig, { 21 | devtool: 'inline-source-map', 22 | }), 23 | webpackServer: { 24 | noInfo: true, 25 | }, 26 | reporters: ['mocha', 'coverage'], 27 | coverageReporter: { 28 | dir: 'coverage/', 29 | subdir: '.', 30 | reporters: [{ type: 'text' }, { type: 'lcov' }], 31 | }, 32 | }) 33 | } 34 | -------------------------------------------------------------------------------- /lint-staged.config.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node, es2018 */ 2 | const base = require('@jcoreio/toolchain/lint-staged.config.cjs') 3 | module.exports = { 4 | ...base, 5 | } 6 | -------------------------------------------------------------------------------- /nyc.config.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node, es2018 */ 2 | const base = require('@jcoreio/toolchain-mocha/nyc.config.cjs') 3 | module.exports = { 4 | ...base, 5 | } 6 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-router-transition-switch", 3 | "version": "0.0.0-development", 4 | "description": "a variant that's easier to use with transition components", 5 | "sideEffects": false, 6 | "scripts": { 7 | "tc": "toolchain", 8 | "toolchain": "toolchain", 9 | "test": "toolchain test", 10 | "prepublishOnly": "echo This package is meant to be published by semantic-release from the dist build directory. && exit 1" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/jcoreio/react-router-transition-switch.git" 15 | }, 16 | "keywords": [ 17 | "react-router", 18 | "transitions", 19 | "animation" 20 | ], 21 | "author": "Andy Edwards", 22 | "license": "MIT", 23 | "bugs": { 24 | "url": "https://github.com/jcoreio/react-router-transition-switch/issues" 25 | }, 26 | "homepage": "https://github.com/jcoreio/react-router-transition-switch#readme", 27 | "devDependencies": { 28 | "@babel/plugin-syntax-flow": "^7.14.5", 29 | "@babel/plugin-transform-react-jsx": "^7.14.9", 30 | "@jcoreio/toolchain": "^3.2.0", 31 | "@jcoreio/toolchain-circle": "^3.2.0", 32 | "@jcoreio/toolchain-esnext": "^3.2.0", 33 | "@jcoreio/toolchain-flow": "^3.2.0", 34 | "@jcoreio/toolchain-mocha": "^3.2.0", 35 | "@jcoreio/toolchain-react": "^3.2.0", 36 | "@jcoreio/toolchain-semantic-release": "^3.2.0", 37 | "@jcoreio/toolchain-typescript": "^3.2.0", 38 | "@types/history": "^4.7.0", 39 | "@types/react": "^16.0.0", 40 | "@types/react-router": "^5.0.0", 41 | "@typescript-eslint/eslint-plugin": "^5.60.0", 42 | "@typescript-eslint/parser": "^5.60.0", 43 | "babel-loader": "^8.0.5", 44 | "babel-plugin-transform-react-constant-elements": "^6.9.1", 45 | "chai": "^4.3.7", 46 | "copy": "^0.3.2", 47 | "cross-env": "^5.2.0", 48 | "enzyme": "^3.3.0", 49 | "enzyme-adapter-react-16": "^1.1.1", 50 | "eslint": "^8.43.0", 51 | "eslint-config-prettier": "^3.3.0", 52 | "eslint-plugin-flowtype": "^8.0.3", 53 | "eslint-plugin-react": "^7.32.2", 54 | "flow-bin": "^0.97.0", 55 | "global-jsdom": "^9.1.0", 56 | "history": "^4.10.0", 57 | "jsdom": "^22.1.0", 58 | "karma": "^4.0.1", 59 | "karma-chrome-launcher": "^2.2.0", 60 | "karma-coverage": "^1.1.2", 61 | "karma-firefox-launcher": "^1.1.0", 62 | "karma-mocha": "^1.3.0", 63 | "karma-mocha-reporter": "^2.2.3", 64 | "karma-sourcemap-loader": "^0.3.7", 65 | "karma-webpack": "^3.0.5", 66 | "mocha": "^10.2.0", 67 | "puppeteer": "^1.0.0", 68 | "react": "^16.2.0", 69 | "react-dom": "^16.2.0", 70 | "react-router": "^5.0.0", 71 | "react-router-dom": "^5.0.0", 72 | "rimraf": "^2.6.0", 73 | "sinon": "^3.2.1", 74 | "typescript": "^5.2.2", 75 | "webpack": "^3.10.0" 76 | }, 77 | "dependencies": { 78 | "@babel/runtime": "^7.18.6", 79 | "invariant": "^2.2.2", 80 | "prop-types": "^15.6.0", 81 | "warning": "^3.0.0" 82 | }, 83 | "peerDependencies": { 84 | "react": "^15.0.0 || ^16.0.0", 85 | "react-router": "^4.2.0 || ^5.0.0" 86 | }, 87 | "main": "dist/index.js", 88 | "module": "dist/index.mjs", 89 | "types": "dist/index.d.ts", 90 | "exports": { 91 | "./package.json": "./package.json", 92 | ".": { 93 | "types": "./dist/index.d.ts", 94 | "import": "./dist/index.mjs", 95 | "default": "./dist/index.js" 96 | } 97 | }, 98 | "engines": { 99 | "node": ">=16" 100 | }, 101 | "packageManager": "pnpm@8.3.1" 102 | } 103 | -------------------------------------------------------------------------------- /prettier.config.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node, es2018 */ 2 | const base = require('@jcoreio/toolchain/prettier.config.cjs') 3 | module.exports = { 4 | ...base, 5 | } 6 | -------------------------------------------------------------------------------- /release.config.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node, es2018 */ 2 | module.exports = { 3 | extends: [ 4 | require.resolve('@jcoreio/toolchain-semantic-release/release.config.cjs'), 5 | ], 6 | } 7 | -------------------------------------------------------------------------------- /src/index.d.ts: -------------------------------------------------------------------------------- 1 | import * as React from 'react' 2 | import { 3 | Route, 4 | RouteProps, 5 | SwitchProps as BaseSwitchProps, 6 | match, 7 | } from 'react-router' 8 | import { Location } from 'history' 9 | 10 | export type RenderProps = { 11 | location: Location 12 | match: match 13 | children: React.ReactElement | null 14 | } 15 | 16 | export type SwitchProps = BaseSwitchProps & { 17 | createKey?: ( 18 | route: React.ReactElement, 19 | match: match 20 | ) => string 21 | component?: React.ComponentType 22 | render?: (props: RenderProps) => React.ReactElement | null 23 | } 24 | 25 | declare const Switch: React.ComponentType 26 | export default Switch 27 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import * as React from 'react' 2 | import PropTypes from 'prop-types' 3 | import warning from 'warning' 4 | import { matchPath, withRouter } from 'react-router' 5 | 6 | class TransitionSwitch extends React.Component { 7 | static propTypes = { 8 | children: PropTypes.node, 9 | location: PropTypes.object, 10 | createKey: PropTypes.func, 11 | } 12 | 13 | static defaultProps = { 14 | createKey(child, match) { 15 | return child.key != null ? child.key : match.url 16 | }, 17 | } 18 | 19 | componentDidUpdate(prevProps) { 20 | warning( 21 | !(prevProps.overrideLocation && !this.props.overrideLocation), 22 | ' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.' 23 | ) 24 | 25 | warning( 26 | !(!prevProps.overrideLocation && this.props.overrideLocation), 27 | ' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.' 28 | ) 29 | } 30 | 31 | render() { 32 | const { 33 | children, 34 | render, 35 | component, 36 | createKey, 37 | match: routeMatch, 38 | } = this.props 39 | const location = this.props.overrideLocation || this.props.location 40 | 41 | let match, element 42 | React.Children.forEach(children, (child) => { 43 | if (match == null && React.isValidElement(child)) { 44 | const { path: pathProp, exact, strict, sensitive, from } = child.props 45 | const path = pathProp || from 46 | 47 | element = child 48 | match = path 49 | ? matchPath(location.pathname, { path, exact, strict, sensitive }) 50 | : routeMatch 51 | } 52 | }) 53 | 54 | const routeElement = match 55 | ? React.cloneElement(element, { 56 | location, 57 | computedMatch: match, 58 | key: createKey(element, match), 59 | }) 60 | : null 61 | 62 | const props = { location, match, children: routeElement } 63 | if (component) return React.createElement(component, props) 64 | if (render) return render(props) 65 | return routeElement 66 | } 67 | } 68 | 69 | const TransitionSwitch2 = withRouter(TransitionSwitch) 70 | 71 | const TransitionSwitch3 = ({ location, ...props }) => ( 72 | 73 | ) 74 | 75 | export default TransitionSwitch3 76 | -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "mocha": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /test/configure.js: -------------------------------------------------------------------------------- 1 | /* eslint-env node */ 2 | 3 | import { configure } from 'enzyme' 4 | import Adapter from 'enzyme-adapter-react-16' 5 | 6 | configure({ adapter: new Adapter() }) 7 | 8 | if (process.argv.indexOf('--watch') >= 0) { 9 | before(() => process.stdout.write('\u001b[2J\u001b[1;1H\u001b[3J')) 10 | } 11 | -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import * as React from 'react' 4 | import { mount, configure } from 'enzyme' 5 | import Adapter from 'enzyme-adapter-react-16' 6 | import { expect } from 'chai' 7 | import { createMemoryHistory } from 'history' 8 | import { Router, Route } from 'react-router-dom' 9 | import Switch from '../src' 10 | import sinon from 'sinon' 11 | 12 | configure({ adapter: new Adapter() }) 13 | 14 | describe('react-router-transition-switch', () => { 15 | it('render prop works', () => { 16 | const render = sinon.spy(({ children }) => children) 17 | 18 | const Home = () =>

Home
19 | const About = () =>
About
20 | const Account = () =>
Account
21 | 22 | const history = createMemoryHistory({ 23 | initialEntries: ['/account/profile'], 24 | initialIndex: 0, 25 | }) 26 | 27 | const comp = mount( 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | ) 36 | 37 | expect(comp.text()).to.equal('Account') 38 | 39 | expect(render.args[0][0].children.key).to.equal('/account') 40 | expect(render.args[0][0].children.type).to.equal(Route) 41 | expect(render.args[0][0].match.url).to.equal('/account') 42 | expect(render.args[0][0].location.pathname).to.equal('/account/profile') 43 | }) 44 | it("doesn't overwrite existing route keys", () => { 45 | const render = sinon.spy(({ children }) => children) 46 | 47 | const Home = () =>
Home
48 | const About = () =>
About
49 | const Account = () =>
Account
50 | 51 | const history = createMemoryHistory({ 52 | initialEntries: ['/account/profile'], 53 | initialIndex: 0, 54 | }) 55 | 56 | const comp = mount( 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | ) 65 | 66 | expect(comp.text()).to.equal('Account') 67 | expect(render.args[0][0].children.key).to.equal('2') 68 | }) 69 | it('uses provided createKey function if given', () => { 70 | const render = sinon.spy(({ children }) => children) 71 | 72 | const Home = () =>
Home
73 | const About = () =>
About
74 | const Account = () =>
Account
75 | 76 | const history = createMemoryHistory({ 77 | initialEntries: ['/account/profile'], 78 | initialIndex: 0, 79 | }) 80 | 81 | const comp = mount( 82 | 83 | child.key * 2}> 84 | 85 | 86 | 87 | 88 | 89 | ) 90 | 91 | expect(comp.text()).to.equal('Account') 92 | expect(render.args[0][0].children.key).to.equal('4') 93 | }) 94 | it('component prop works', () => { 95 | const render = sinon.spy(({ children }) => children) 96 | 97 | const Home = () =>
Home
98 | const About = () =>
About
99 | const Account = () =>
Account
100 | 101 | const history = createMemoryHistory({ 102 | initialEntries: ['/account/profile'], 103 | initialIndex: 0, 104 | }) 105 | 106 | const comp = mount( 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | ) 115 | 116 | expect(comp.text()).to.equal('Account') 117 | expect(render.args[0][0].children.key).to.equal('/account') 118 | expect(render.args[0][0].children.type).to.equal(Route) 119 | expect(render.args[0][0].match.url).to.equal('/account') 120 | expect(render.args[0][0].location.pathname).to.equal('/account/profile') 121 | }) 122 | it('works without component or render prop', () => { 123 | const Home = () =>
Home
124 | const About = () =>
About
125 | const Account = () =>
Account
126 | 127 | const history = createMemoryHistory({ 128 | initialEntries: ['/account/profile'], 129 | initialIndex: 0, 130 | }) 131 | 132 | const comp = mount( 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | ) 141 | 142 | expect(comp.text()).to.equal('Account') 143 | }) 144 | it('override location works', () => { 145 | const Home = () =>
Home
146 | const About = () =>
About
147 | const Account = () =>
Account
148 | 149 | const history = createMemoryHistory({ 150 | initialEntries: ['/account/profile'], 151 | initialIndex: 0, 152 | }) 153 | 154 | const comp = mount( 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | ) 163 | 164 | expect(comp.text()).to.equal('About') 165 | }) 166 | it('renders nothing when nothing matches', () => { 167 | const Home = () =>
Home
168 | const About = () =>
About
169 | const Account = () =>
Account
170 | 171 | const history = createMemoryHistory({ 172 | initialEntries: ['/blah'], 173 | initialIndex: 0, 174 | }) 175 | 176 | const comp = mount( 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | ) 185 | 186 | expect(comp.text()).to.equal('') 187 | }) 188 | it('supports child without path', () => { 189 | const Home = () =>
Home
190 | const About = () =>
About
191 | const Account = () =>
Account
192 | const Other = () =>
Other
193 | 194 | const history = createMemoryHistory({ 195 | initialEntries: ['/blah'], 196 | initialIndex: 0, 197 | }) 198 | 199 | const comp = mount( 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | ) 209 | 210 | expect(comp.text()).to.equal('Other') 211 | }) 212 | }) 213 | -------------------------------------------------------------------------------- /toolchain.config.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node, es2018 */ 2 | module.exports = { 3 | cjsBabelEnv: { forceAllTransforms: true }, 4 | esmBabelEnv: { targets: { node: 16 } }, 5 | } 6 | -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["./src"], 4 | "exclude": ["node_modules", "./src/**/*.spec.ts", "./test"], 5 | "compilerOptions": { 6 | "outDir": "./dist", 7 | "declaration": true, 8 | "noEmit": false, 9 | "emitDeclarationOnly": true 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", 3 | "include": ["./src"], 4 | "exclude": ["node_modules"], 5 | "compilerOptions": { 6 | "skipLibCheck": false 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | /* eslint-env node */ 4 | 5 | const webpack = require('webpack') 6 | const ProgressPlugin = require('webpack/lib/ProgressPlugin') 7 | const env = process.env.NODE_ENV 8 | const isTest = env === 'test' 9 | const isProd = env === 'production' 10 | 11 | const plugins = [ 12 | new webpack.DefinePlugin({ 13 | 'process.env.NODE_ENV': JSON.stringify(env), 14 | }), 15 | new ProgressPlugin({ profile: false }), 16 | ] 17 | 18 | if (isProd) { 19 | plugins.push( 20 | new webpack.optimize.UglifyJsPlugin({ 21 | compress: { 22 | warnings: false, 23 | }, 24 | }) 25 | ) 26 | } 27 | 28 | const externals = isTest 29 | ? { 30 | cheerio: 'window', 31 | 'react/addons': true, 32 | 'react/lib/ExecutionEnvironment': true, 33 | 'react/lib/ReactContext': true, 34 | } 35 | : { 36 | react: 'React', 37 | } 38 | 39 | module.exports = { 40 | output: { 41 | library: 'reactFader', 42 | libraryTarget: 'umd', 43 | }, 44 | plugins, 45 | module: { 46 | rules: [ 47 | { 48 | loader: 'babel-loader', 49 | exclude: /node_modules/, 50 | // options: { 51 | // cacheDirectory: true, 52 | // }, 53 | test: /\.js$/, 54 | }, 55 | ], 56 | }, 57 | externals, 58 | devtool: 'source-map', 59 | } 60 | --------------------------------------------------------------------------------