├── .babelrc.js ├── .circleci └── config.yml ├── .eslintrc ├── .flowconfig ├── .gitignore ├── .npmignore ├── LICENSE.md ├── README.md ├── flow-typed └── npm │ ├── @babel │ ├── cli_vx.x.x.js │ ├── core_vx.x.x.js │ ├── eslint-parser_vx.x.x.js │ ├── plugin-proposal-export-default-from_vx.x.x.js │ ├── plugin-proposal-export-namespace-from_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 │ ├── @wojtekmaj │ └── enzyme-adapter-react-17_vx.x.x.js │ ├── babel-plugin-flow-react-proptypes_vx.x.x.js │ ├── babel-plugin-istanbul_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_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_vx.x.x.js │ ├── flow-bin_v0.x.x.js │ ├── flow-copy-source_vx.x.x.js │ ├── husky_vx.x.x.js │ ├── jsdom-global_vx.x.x.js │ ├── jsdom_vx.x.x.js │ ├── lint-staged_vx.x.x.js │ ├── mocha_vx.x.x.js │ ├── nyc_vx.x.x.js │ ├── prettier-eslint_vx.x.x.js │ ├── prettier_vx.x.x.js │ ├── prop-types_v15.x.x.js │ ├── react-dom_v17.x.x.js │ ├── rimraf_vx.x.x.js │ ├── semantic-release_vx.x.x.js │ └── typescript_vx.x.x.js ├── package.json ├── src ├── .eslintrc ├── index.d.ts └── index.js ├── test ├── .eslintrc ├── configure.js └── index.js ├── tsconfig.json └── yarn.lock /.babelrc.js: -------------------------------------------------------------------------------- 1 | module.exports = function (api) { 2 | const plugins = [ 3 | '@babel/plugin-transform-flow-strip-types', 4 | 'babel-plugin-flow-react-proptypes', 5 | '@babel/plugin-proposal-class-properties', 6 | ] 7 | const presets = [ 8 | [ 9 | '@babel/preset-env', 10 | api.env('es5') 11 | ? { forceAllTransforms: true } 12 | : { targets: { node: '12' } }, 13 | ], 14 | '@babel/preset-react', 15 | '@babel/preset-flow', 16 | ] 17 | 18 | if (api.env(['test', 'coverage', 'es5'])) { 19 | plugins.push('@babel/plugin-transform-runtime') 20 | } 21 | if (api.env('coverage')) { 22 | plugins.push('babel-plugin-istanbul') 23 | } 24 | 25 | return { plugins, presets } 26 | } 27 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | jobs: 3 | build: 4 | docker: 5 | - image: circleci/node:16 6 | 7 | steps: 8 | - checkout 9 | 10 | - run: 11 | name: Setup NPM Token 12 | command: | 13 | yarn config set registry "https://registry.npmjs.org/" 14 | echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc 15 | echo "registry=https://registry.npmjs.org/" >> .npmrc 16 | 17 | # https://github.com/atlassian/react-beautiful-dnd/issues/1007#issuecomment-446415426 18 | - run: 19 | name: Workaround for Flow crashing 20 | command: echo "server.max_workers=1" >> .flowconfig 21 | 22 | - run: 23 | name: Install Dependencies 24 | command: yarn install --frozen-lockfile 25 | 26 | - run: 27 | name: build 28 | command: yarn run prepublishOnly 29 | - run: 30 | name: upload test coverage 31 | command: yarn codecov 32 | - run: 33 | name: release 34 | command: yarn run semantic-release 35 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "@jedwards1211/eslint-config-react", 4 | "@jedwards1211/eslint-config-flow", 5 | "prettier" 6 | ], 7 | "parser": "@babel/eslint-parser", 8 | "env": { 9 | "es2017": true 10 | }, 11 | "settings": { 12 | "react": { 13 | "pragma": "React", 14 | "version": "detect", 15 | "flowVersion": "detect" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | /[^/\\]+\.js$ 3 | /[^/\\]+\.js\.flow$ 4 | /es/.* 5 | /lib/.* 6 | /node_modules/.*/fbjs/.* 7 | /node_modules/fbjs/.* 8 | /node_modules/.*/config-chain/.* 9 | 10 | [include] 11 | ./src 12 | ./test 13 | 14 | [libs] 15 | 16 | [options] 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /coverage 2 | /.nyc_output 3 | node_modules 4 | /lib 5 | /es 6 | .eslintcache 7 | *.js 8 | *.js.flow 9 | *.ts 10 | !/flow-typed/**/*.js 11 | !/src/**/*.js 12 | !/src/**/*.ts 13 | !/test/**/*.js 14 | !/.babelrc.js 15 | !/webpack.config.js 16 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | ** 2 | !**/*.js 3 | !**/*.js.flow 4 | !**/*.d.ts 5 | !/*.md 6 | /lib 7 | /src 8 | /stories 9 | /test 10 | /coverage 11 | /flow-typed 12 | __tests__ 13 | /.* 14 | -------------------------------------------------------------------------------- /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-interval-rerender 2 | 3 | [![CircleCI](https://circleci.com/gh/jcoreio/react-interval-rerender.svg?style=svg)](https://circleci.com/gh/jcoreio/react-interval-rerender) 4 | [![Coverage Status](https://codecov.io/gh/jcoreio/react-interval-rerender/branch/master/graph/badge.svg)](https://codecov.io/gh/jcoreio/react-interval-rerender) 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-interval-rerender.svg)](https://badge.fury.io/js/react-interval-rerender) 8 | 9 | Render props component that rerenders its children at regular intervals 10 | This is not the same as [`react-interval`](https://www.npmjs.com/package/react-interval) or 11 | [`react-interval-renderer`](https://www.npmjs.com/package/react-interval-renderer). 12 | 13 | # Usage 14 | 15 | ```sh 16 | npm install --save react-interval-rerender 17 | ``` 18 | 19 | ```js 20 | import * as React from 'react' 21 | import Interval from 'react-interval-rerender' 22 | 23 | export const Clock = () => ( 24 | {() => new Date().toLocaleTimeString()} 25 | ) 26 | ``` 27 | 28 | # Props 29 | 30 | ## `delay?: ?number` 31 | 32 | The delay for `setInterval`. While `!Number.isFinite(delay)`, no interval 33 | will be set. Whenever `delay` changes the interval will be reset. 34 | 35 | ## `children?: () => ?React.Node` 36 | 37 | Function to render the content. You can use this or `render`. 38 | `children` takes priority. 39 | 40 | ## `render?: () => ?React.Node` 41 | 42 | Function to render the content. You can use this or `children`. 43 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 2485f3c8faf00702ed0b841413335a0c 2 | // flow-typed version: <>/@babel/cli_v^7.15.7/flow_v0.161.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: 0b99b7c585673684d9d689a13fcc4637 2 | // flow-typed version: <>/@babel/core_v^7.15.5/flow_v0.161.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/cache-contexts' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module '@babel/core/lib/config/caching' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module '@babel/core/lib/config/config-chain' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module '@babel/core/lib/config/config-descriptors' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module '@babel/core/lib/config/files/configuration' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module '@babel/core/lib/config/files/import' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module '@babel/core/lib/config/files/index-browser' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module '@babel/core/lib/config/files' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module '@babel/core/lib/config/files/module-types' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module '@babel/core/lib/config/files/package' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module '@babel/core/lib/config/files/plugins' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module '@babel/core/lib/config/files/types' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module '@babel/core/lib/config/files/utils' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module '@babel/core/lib/config/full' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module '@babel/core/lib/config/helpers/config-api' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module '@babel/core/lib/config/helpers/environment' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module '@babel/core/lib/config' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module '@babel/core/lib/config/item' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module '@babel/core/lib/config/partial' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module '@babel/core/lib/config/pattern-to-regex' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module '@babel/core/lib/config/plugin' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module '@babel/core/lib/config/printer' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module '@babel/core/lib/config/resolve-targets-browser' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module '@babel/core/lib/config/resolve-targets' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module '@babel/core/lib/config/util' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module '@babel/core/lib/config/validation/option-assertions' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module '@babel/core/lib/config/validation/options' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module '@babel/core/lib/config/validation/plugins' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module '@babel/core/lib/config/validation/removed' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module '@babel/core/lib/gensync-utils/async' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module '@babel/core/lib/gensync-utils/fs' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module '@babel/core/lib' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module '@babel/core/lib/parse' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module '@babel/core/lib/parser' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module '@babel/core/lib/parser/util/missing-plugin-helper' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module '@babel/core/lib/tools/build-external-helpers' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module '@babel/core/lib/transform-ast' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module '@babel/core/lib/transform-file-browser' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module '@babel/core/lib/transform-file' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module '@babel/core/lib/transform' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module '@babel/core/lib/transformation/block-hoist-plugin' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module '@babel/core/lib/transformation/file/file' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module '@babel/core/lib/transformation/file/generate' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module '@babel/core/lib/transformation/file/merge-map' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module '@babel/core/lib/transformation' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module '@babel/core/lib/transformation/normalize-file' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module '@babel/core/lib/transformation/normalize-opts' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module '@babel/core/lib/transformation/plugin-pass' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module '@babel/core/lib/transformation/util/clone-deep-browser' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module '@babel/core/lib/transformation/util/clone-deep' { 222 | declare module.exports: any; 223 | } 224 | 225 | // Filename aliases 226 | declare module '@babel/core/lib/config/cache-contexts.js' { 227 | declare module.exports: $Exports<'@babel/core/lib/config/cache-contexts'>; 228 | } 229 | declare module '@babel/core/lib/config/caching.js' { 230 | declare module.exports: $Exports<'@babel/core/lib/config/caching'>; 231 | } 232 | declare module '@babel/core/lib/config/config-chain.js' { 233 | declare module.exports: $Exports<'@babel/core/lib/config/config-chain'>; 234 | } 235 | declare module '@babel/core/lib/config/config-descriptors.js' { 236 | declare module.exports: $Exports<'@babel/core/lib/config/config-descriptors'>; 237 | } 238 | declare module '@babel/core/lib/config/files/configuration.js' { 239 | declare module.exports: $Exports<'@babel/core/lib/config/files/configuration'>; 240 | } 241 | declare module '@babel/core/lib/config/files/import.js' { 242 | declare module.exports: $Exports<'@babel/core/lib/config/files/import'>; 243 | } 244 | declare module '@babel/core/lib/config/files/index-browser.js' { 245 | declare module.exports: $Exports<'@babel/core/lib/config/files/index-browser'>; 246 | } 247 | declare module '@babel/core/lib/config/files/index' { 248 | declare module.exports: $Exports<'@babel/core/lib/config/files'>; 249 | } 250 | declare module '@babel/core/lib/config/files/index.js' { 251 | declare module.exports: $Exports<'@babel/core/lib/config/files'>; 252 | } 253 | declare module '@babel/core/lib/config/files/module-types.js' { 254 | declare module.exports: $Exports<'@babel/core/lib/config/files/module-types'>; 255 | } 256 | declare module '@babel/core/lib/config/files/package.js' { 257 | declare module.exports: $Exports<'@babel/core/lib/config/files/package'>; 258 | } 259 | declare module '@babel/core/lib/config/files/plugins.js' { 260 | declare module.exports: $Exports<'@babel/core/lib/config/files/plugins'>; 261 | } 262 | declare module '@babel/core/lib/config/files/types.js' { 263 | declare module.exports: $Exports<'@babel/core/lib/config/files/types'>; 264 | } 265 | declare module '@babel/core/lib/config/files/utils.js' { 266 | declare module.exports: $Exports<'@babel/core/lib/config/files/utils'>; 267 | } 268 | declare module '@babel/core/lib/config/full.js' { 269 | declare module.exports: $Exports<'@babel/core/lib/config/full'>; 270 | } 271 | declare module '@babel/core/lib/config/helpers/config-api.js' { 272 | declare module.exports: $Exports<'@babel/core/lib/config/helpers/config-api'>; 273 | } 274 | declare module '@babel/core/lib/config/helpers/environment.js' { 275 | declare module.exports: $Exports<'@babel/core/lib/config/helpers/environment'>; 276 | } 277 | declare module '@babel/core/lib/config/index' { 278 | declare module.exports: $Exports<'@babel/core/lib/config'>; 279 | } 280 | declare module '@babel/core/lib/config/index.js' { 281 | declare module.exports: $Exports<'@babel/core/lib/config'>; 282 | } 283 | declare module '@babel/core/lib/config/item.js' { 284 | declare module.exports: $Exports<'@babel/core/lib/config/item'>; 285 | } 286 | declare module '@babel/core/lib/config/partial.js' { 287 | declare module.exports: $Exports<'@babel/core/lib/config/partial'>; 288 | } 289 | declare module '@babel/core/lib/config/pattern-to-regex.js' { 290 | declare module.exports: $Exports<'@babel/core/lib/config/pattern-to-regex'>; 291 | } 292 | declare module '@babel/core/lib/config/plugin.js' { 293 | declare module.exports: $Exports<'@babel/core/lib/config/plugin'>; 294 | } 295 | declare module '@babel/core/lib/config/printer.js' { 296 | declare module.exports: $Exports<'@babel/core/lib/config/printer'>; 297 | } 298 | declare module '@babel/core/lib/config/resolve-targets-browser.js' { 299 | declare module.exports: $Exports<'@babel/core/lib/config/resolve-targets-browser'>; 300 | } 301 | declare module '@babel/core/lib/config/resolve-targets.js' { 302 | declare module.exports: $Exports<'@babel/core/lib/config/resolve-targets'>; 303 | } 304 | declare module '@babel/core/lib/config/util.js' { 305 | declare module.exports: $Exports<'@babel/core/lib/config/util'>; 306 | } 307 | declare module '@babel/core/lib/config/validation/option-assertions.js' { 308 | declare module.exports: $Exports<'@babel/core/lib/config/validation/option-assertions'>; 309 | } 310 | declare module '@babel/core/lib/config/validation/options.js' { 311 | declare module.exports: $Exports<'@babel/core/lib/config/validation/options'>; 312 | } 313 | declare module '@babel/core/lib/config/validation/plugins.js' { 314 | declare module.exports: $Exports<'@babel/core/lib/config/validation/plugins'>; 315 | } 316 | declare module '@babel/core/lib/config/validation/removed.js' { 317 | declare module.exports: $Exports<'@babel/core/lib/config/validation/removed'>; 318 | } 319 | declare module '@babel/core/lib/gensync-utils/async.js' { 320 | declare module.exports: $Exports<'@babel/core/lib/gensync-utils/async'>; 321 | } 322 | declare module '@babel/core/lib/gensync-utils/fs.js' { 323 | declare module.exports: $Exports<'@babel/core/lib/gensync-utils/fs'>; 324 | } 325 | declare module '@babel/core/lib/index' { 326 | declare module.exports: $Exports<'@babel/core/lib'>; 327 | } 328 | declare module '@babel/core/lib/index.js' { 329 | declare module.exports: $Exports<'@babel/core/lib'>; 330 | } 331 | declare module '@babel/core/lib/parse.js' { 332 | declare module.exports: $Exports<'@babel/core/lib/parse'>; 333 | } 334 | declare module '@babel/core/lib/parser/index' { 335 | declare module.exports: $Exports<'@babel/core/lib/parser'>; 336 | } 337 | declare module '@babel/core/lib/parser/index.js' { 338 | declare module.exports: $Exports<'@babel/core/lib/parser'>; 339 | } 340 | declare module '@babel/core/lib/parser/util/missing-plugin-helper.js' { 341 | declare module.exports: $Exports<'@babel/core/lib/parser/util/missing-plugin-helper'>; 342 | } 343 | declare module '@babel/core/lib/tools/build-external-helpers.js' { 344 | declare module.exports: $Exports<'@babel/core/lib/tools/build-external-helpers'>; 345 | } 346 | declare module '@babel/core/lib/transform-ast.js' { 347 | declare module.exports: $Exports<'@babel/core/lib/transform-ast'>; 348 | } 349 | declare module '@babel/core/lib/transform-file-browser.js' { 350 | declare module.exports: $Exports<'@babel/core/lib/transform-file-browser'>; 351 | } 352 | declare module '@babel/core/lib/transform-file.js' { 353 | declare module.exports: $Exports<'@babel/core/lib/transform-file'>; 354 | } 355 | declare module '@babel/core/lib/transform.js' { 356 | declare module.exports: $Exports<'@babel/core/lib/transform'>; 357 | } 358 | declare module '@babel/core/lib/transformation/block-hoist-plugin.js' { 359 | declare module.exports: $Exports<'@babel/core/lib/transformation/block-hoist-plugin'>; 360 | } 361 | declare module '@babel/core/lib/transformation/file/file.js' { 362 | declare module.exports: $Exports<'@babel/core/lib/transformation/file/file'>; 363 | } 364 | declare module '@babel/core/lib/transformation/file/generate.js' { 365 | declare module.exports: $Exports<'@babel/core/lib/transformation/file/generate'>; 366 | } 367 | declare module '@babel/core/lib/transformation/file/merge-map.js' { 368 | declare module.exports: $Exports<'@babel/core/lib/transformation/file/merge-map'>; 369 | } 370 | declare module '@babel/core/lib/transformation/index' { 371 | declare module.exports: $Exports<'@babel/core/lib/transformation'>; 372 | } 373 | declare module '@babel/core/lib/transformation/index.js' { 374 | declare module.exports: $Exports<'@babel/core/lib/transformation'>; 375 | } 376 | declare module '@babel/core/lib/transformation/normalize-file.js' { 377 | declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-file'>; 378 | } 379 | declare module '@babel/core/lib/transformation/normalize-opts.js' { 380 | declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-opts'>; 381 | } 382 | declare module '@babel/core/lib/transformation/plugin-pass.js' { 383 | declare module.exports: $Exports<'@babel/core/lib/transformation/plugin-pass'>; 384 | } 385 | declare module '@babel/core/lib/transformation/util/clone-deep-browser.js' { 386 | declare module.exports: $Exports<'@babel/core/lib/transformation/util/clone-deep-browser'>; 387 | } 388 | declare module '@babel/core/lib/transformation/util/clone-deep.js' { 389 | declare module.exports: $Exports<'@babel/core/lib/transformation/util/clone-deep'>; 390 | } 391 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/eslint-parser_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c8b7dd21a7f2112cee19068afdbeb9ce 2 | // flow-typed version: <>/@babel/eslint-parser_v^7.15.7/flow_v0.161.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@babel/eslint-parser' 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-parser' { 17 | declare module.exports: any; 18 | } 19 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/plugin-proposal-export-default-from_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: fae0c7126f6783dcc3ae644596d1a904 2 | // flow-typed version: <>/@babel/plugin-proposal-export-default-from_v^7.14.5/flow_v0.161.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: 5b8344a99de178c34ea4c8404ed330e6 2 | // flow-typed version: <>/@babel/plugin-proposal-export-namespace-from_v^7.14.5/flow_v0.161.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-transform-runtime_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5ba768589cda0d4963e6d35c09d7464c 2 | // flow-typed version: <>/@babel/plugin-transform-runtime_v^7.15.0/flow_v0.161.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/get-runtime-path/browser' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module '@babel/plugin-transform-runtime/lib/get-runtime-path' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module '@babel/plugin-transform-runtime/lib/helpers' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module '@babel/plugin-transform-runtime/lib' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module '@babel/plugin-transform-runtime/lib/get-runtime-path/browser.js' { 43 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/get-runtime-path/browser'>; 44 | } 45 | declare module '@babel/plugin-transform-runtime/lib/get-runtime-path/index' { 46 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/get-runtime-path'>; 47 | } 48 | declare module '@babel/plugin-transform-runtime/lib/get-runtime-path/index.js' { 49 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/get-runtime-path'>; 50 | } 51 | declare module '@babel/plugin-transform-runtime/lib/helpers.js' { 52 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/helpers'>; 53 | } 54 | declare module '@babel/plugin-transform-runtime/lib/index' { 55 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib'>; 56 | } 57 | declare module '@babel/plugin-transform-runtime/lib/index.js' { 58 | declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib'>; 59 | } 60 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/preset-env_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: ddaa315ccac284adcdb1d06814229b4f 2 | // flow-typed version: <>/@babel/preset-env_v^7.15.6/flow_v0.161.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-modules' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module '@babel/preset-env/data/built-in-modules.json' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module '@babel/preset-env/data/built-ins' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module '@babel/preset-env/data/built-ins.json' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module '@babel/preset-env/data/corejs2-built-ins' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module '@babel/preset-env/data/corejs2-built-ins.json' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module '@babel/preset-env/data/plugins' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module '@babel/preset-env/data/plugins.json' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module '@babel/preset-env/data/shipped-proposals' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module '@babel/preset-env/data/unreleased-labels' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module '@babel/preset-env/lib/available-plugins' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module '@babel/preset-env/lib/debug' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module '@babel/preset-env/lib/filter-items' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module '@babel/preset-env/lib/get-option-specific-excludes' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module '@babel/preset-env/lib' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module '@babel/preset-env/lib/module-transformations' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module '@babel/preset-env/lib/normalize-options' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module '@babel/preset-env/lib/options' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module '@babel/preset-env/lib/plugins-compat-data' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module '@babel/preset-env/lib/polyfills/babel-polyfill' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module '@babel/preset-env/lib/polyfills/regenerator' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module '@babel/preset-env/lib/polyfills/utils' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module '@babel/preset-env/lib/targets-parser' { 114 | declare module.exports: any; 115 | } 116 | 117 | // Filename aliases 118 | declare module '@babel/preset-env/data/built-in-modules.js' { 119 | declare module.exports: $Exports<'@babel/preset-env/data/built-in-modules'>; 120 | } 121 | declare module '@babel/preset-env/data/built-in-modules.json.js' { 122 | declare module.exports: $Exports<'@babel/preset-env/data/built-in-modules.json'>; 123 | } 124 | declare module '@babel/preset-env/data/built-ins.js' { 125 | declare module.exports: $Exports<'@babel/preset-env/data/built-ins'>; 126 | } 127 | declare module '@babel/preset-env/data/built-ins.json.js' { 128 | declare module.exports: $Exports<'@babel/preset-env/data/built-ins.json'>; 129 | } 130 | declare module '@babel/preset-env/data/corejs2-built-ins.js' { 131 | declare module.exports: $Exports<'@babel/preset-env/data/corejs2-built-ins'>; 132 | } 133 | declare module '@babel/preset-env/data/corejs2-built-ins.json.js' { 134 | declare module.exports: $Exports<'@babel/preset-env/data/corejs2-built-ins.json'>; 135 | } 136 | declare module '@babel/preset-env/data/plugins.js' { 137 | declare module.exports: $Exports<'@babel/preset-env/data/plugins'>; 138 | } 139 | declare module '@babel/preset-env/data/plugins.json.js' { 140 | declare module.exports: $Exports<'@babel/preset-env/data/plugins.json'>; 141 | } 142 | declare module '@babel/preset-env/data/shipped-proposals.js' { 143 | declare module.exports: $Exports<'@babel/preset-env/data/shipped-proposals'>; 144 | } 145 | declare module '@babel/preset-env/data/unreleased-labels.js' { 146 | declare module.exports: $Exports<'@babel/preset-env/data/unreleased-labels'>; 147 | } 148 | declare module '@babel/preset-env/lib/available-plugins.js' { 149 | declare module.exports: $Exports<'@babel/preset-env/lib/available-plugins'>; 150 | } 151 | declare module '@babel/preset-env/lib/debug.js' { 152 | declare module.exports: $Exports<'@babel/preset-env/lib/debug'>; 153 | } 154 | declare module '@babel/preset-env/lib/filter-items.js' { 155 | declare module.exports: $Exports<'@babel/preset-env/lib/filter-items'>; 156 | } 157 | declare module '@babel/preset-env/lib/get-option-specific-excludes.js' { 158 | declare module.exports: $Exports<'@babel/preset-env/lib/get-option-specific-excludes'>; 159 | } 160 | declare module '@babel/preset-env/lib/index' { 161 | declare module.exports: $Exports<'@babel/preset-env/lib'>; 162 | } 163 | declare module '@babel/preset-env/lib/index.js' { 164 | declare module.exports: $Exports<'@babel/preset-env/lib'>; 165 | } 166 | declare module '@babel/preset-env/lib/module-transformations.js' { 167 | declare module.exports: $Exports<'@babel/preset-env/lib/module-transformations'>; 168 | } 169 | declare module '@babel/preset-env/lib/normalize-options.js' { 170 | declare module.exports: $Exports<'@babel/preset-env/lib/normalize-options'>; 171 | } 172 | declare module '@babel/preset-env/lib/options.js' { 173 | declare module.exports: $Exports<'@babel/preset-env/lib/options'>; 174 | } 175 | declare module '@babel/preset-env/lib/plugins-compat-data.js' { 176 | declare module.exports: $Exports<'@babel/preset-env/lib/plugins-compat-data'>; 177 | } 178 | declare module '@babel/preset-env/lib/polyfills/babel-polyfill.js' { 179 | declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/babel-polyfill'>; 180 | } 181 | declare module '@babel/preset-env/lib/polyfills/regenerator.js' { 182 | declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/regenerator'>; 183 | } 184 | declare module '@babel/preset-env/lib/polyfills/utils.js' { 185 | declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/utils'>; 186 | } 187 | declare module '@babel/preset-env/lib/targets-parser.js' { 188 | declare module.exports: $Exports<'@babel/preset-env/lib/targets-parser'>; 189 | } 190 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/preset-flow_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 7fea08341d8dc0970a7691713a6b760e 2 | // flow-typed version: <>/@babel/preset-flow_v^7.14.5/flow_v0.161.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 | declare module '@babel/preset-flow/lib/normalize-options' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module '@babel/preset-flow/lib/index' { 35 | declare module.exports: $Exports<'@babel/preset-flow/lib'>; 36 | } 37 | declare module '@babel/preset-flow/lib/index.js' { 38 | declare module.exports: $Exports<'@babel/preset-flow/lib'>; 39 | } 40 | declare module '@babel/preset-flow/lib/normalize-options.js' { 41 | declare module.exports: $Exports<'@babel/preset-flow/lib/normalize-options'>; 42 | } 43 | -------------------------------------------------------------------------------- /flow-typed/npm/@babel/preset-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 45c7c263eda329d49d563be8959b7112 2 | // flow-typed version: <>/@babel/preset-react_v^7.14.5/flow_v0.161.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: 9fd1ed52c746a31b4121d9a2c4503cfd 2 | // flow-typed version: c6154227d1/@babel/register_v7.x.x/flow_>=v0.104.x 3 | 4 | declare module '@babel/register' { 5 | declare type Ignore = boolean | string | RegExp | (filename: string) => boolean; 6 | declare type Options = {| 7 | ast?: boolean, 8 | auxiliaryCommentAfter?: ?string, 9 | auxiliaryCommentBefore?: ?string, 10 | babelrc?: boolean, 11 | code?: boolean, 12 | comments?: boolean, 13 | compact?: 'auto' | boolean, 14 | configFile?: string | boolean, 15 | env?: Object, 16 | extends?: ?string, 17 | extensions?: Array, 18 | filename?: string, 19 | filenameRelative?: string, 20 | generatorOpts?: Object, 21 | getModuleId?: void | null | (moduleName: string) => string, 22 | highlightCode?: boolean, 23 | ignore?: Ignore | Array, 24 | inputSourceMap?: Object, 25 | minified?: boolean, 26 | moduleId?: string, 27 | moduleIds?: boolean, 28 | moduleRoot?: string, 29 | only?: RegExp, 30 | parserOpts?: Object, 31 | plugins?: Array<[string, Object] | string>, 32 | presets?: Array, 33 | retainLines?: boolean, 34 | resolveModuleSource?: null | (source: string, filename: string) => boolean, 35 | shouldPrintComment?: null | (commentContents: string) => string, 36 | sourceFileName?: string, 37 | sourceMaps?: boolean | 'inline' | 'both', 38 | sourceMapTarget?: string, 39 | sourceRoot?: string, 40 | sourceType?: 'script' | 'module', 41 | wrapPluginVisitorMethod?: null | (pluginAlias: string, visitorType: string, callback: Function) => boolean, 42 | extensions?: Array, 43 | cache?: boolean, 44 | |}; 45 | 46 | declare module.exports: (options?: Options) => void; 47 | } 48 | -------------------------------------------------------------------------------- /flow-typed/npm/@commitlint/cli_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 8d6522243bfb64f2d03c505408015dbe 2 | // flow-typed version: <>/@commitlint/cli_v^13.2.0/flow_v0.161.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/cli' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module '@commitlint/cli/lib/cli-error' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module '@commitlint/cli/lib/cli' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module '@commitlint/cli/lib/types' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module '@commitlint/cli/cli.js' { 43 | declare module.exports: $Exports<'@commitlint/cli/cli'>; 44 | } 45 | declare module '@commitlint/cli/index' { 46 | declare module.exports: $Exports<'@commitlint/cli'>; 47 | } 48 | declare module '@commitlint/cli/index.js' { 49 | declare module.exports: $Exports<'@commitlint/cli'>; 50 | } 51 | declare module '@commitlint/cli/lib/cli-error.js' { 52 | declare module.exports: $Exports<'@commitlint/cli/lib/cli-error'>; 53 | } 54 | declare module '@commitlint/cli/lib/cli.js' { 55 | declare module.exports: $Exports<'@commitlint/cli/lib/cli'>; 56 | } 57 | declare module '@commitlint/cli/lib/types.js' { 58 | declare module.exports: $Exports<'@commitlint/cli/lib/types'>; 59 | } 60 | -------------------------------------------------------------------------------- /flow-typed/npm/@commitlint/config-conventional_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: fc0fa6e75ddc950a5dc8de35817e5059 2 | // flow-typed version: <>/@commitlint/config-conventional_v^13.2.0/flow_v0.161.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 | 27 | // Filename aliases 28 | declare module '@commitlint/config-conventional/index' { 29 | declare module.exports: $Exports<'@commitlint/config-conventional'>; 30 | } 31 | declare module '@commitlint/config-conventional/index.js' { 32 | declare module.exports: $Exports<'@commitlint/config-conventional'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/commitlint-config_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 6ec313ef5ead0e273befe36849f3fd9e 2 | // flow-typed version: <>/@jedwards1211/commitlint-config_v^1.0.2/flow_v0.161.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: 29ecf72d8ace91396897dbdb9e42736c 2 | // flow-typed version: <>/@jedwards1211/eslint-config-flow_v^3.0.1/flow_v0.161.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 | 27 | // Filename aliases 28 | declare module '@jedwards1211/eslint-config-flow/index' { 29 | declare module.exports: $Exports<'@jedwards1211/eslint-config-flow'>; 30 | } 31 | declare module '@jedwards1211/eslint-config-flow/index.js' { 32 | declare module.exports: $Exports<'@jedwards1211/eslint-config-flow'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/eslint-config-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 75b7edb61e592d88e30e3e180f60928e 2 | // flow-typed version: <>/@jedwards1211/eslint-config-react_v^4.0.0/flow_v0.161.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 | 27 | // Filename aliases 28 | declare module '@jedwards1211/eslint-config-react/index' { 29 | declare module.exports: $Exports<'@jedwards1211/eslint-config-react'>; 30 | } 31 | declare module '@jedwards1211/eslint-config-react/index.js' { 32 | declare module.exports: $Exports<'@jedwards1211/eslint-config-react'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/@jedwards1211/eslint-config_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: d44a4b4756b5a1a4d4db97367151ece6 2 | // flow-typed version: <>/@jedwards1211/eslint-config_v^2.0.2/flow_v0.161.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 | 27 | // Filename aliases 28 | declare module '@jedwards1211/eslint-config/index' { 29 | declare module.exports: $Exports<'@jedwards1211/eslint-config'>; 30 | } 31 | declare module '@jedwards1211/eslint-config/index.js' { 32 | declare module.exports: $Exports<'@jedwards1211/eslint-config'>; 33 | } 34 | -------------------------------------------------------------------------------- /flow-typed/npm/@wojtekmaj/enzyme-adapter-react-17_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: fb644f4559300c61bac921165e8e8b3b 2 | // flow-typed version: <>/@wojtekmaj/enzyme-adapter-react-17_v^0.6.3/flow_v0.161.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '@wojtekmaj/enzyme-adapter-react-17' 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 '@wojtekmaj/enzyme-adapter-react-17' { 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 '@wojtekmaj/enzyme-adapter-react-17/build/detectFiberTags' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module '@wojtekmaj/enzyme-adapter-react-17/build/findCurrentFiberUsingSlowPath' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module '@wojtekmaj/enzyme-adapter-react-17/build' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module '@wojtekmaj/enzyme-adapter-react-17/build/ReactSeventeenAdapter' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module '@wojtekmaj/enzyme-adapter-react-17/src/detectFiberTags' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module '@wojtekmaj/enzyme-adapter-react-17/src/findCurrentFiberUsingSlowPath' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module '@wojtekmaj/enzyme-adapter-react-17/src' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module '@wojtekmaj/enzyme-adapter-react-17/src/ReactSeventeenAdapter' { 54 | declare module.exports: any; 55 | } 56 | 57 | // Filename aliases 58 | declare module '@wojtekmaj/enzyme-adapter-react-17/build/detectFiberTags.js' { 59 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/build/detectFiberTags'>; 60 | } 61 | declare module '@wojtekmaj/enzyme-adapter-react-17/build/findCurrentFiberUsingSlowPath.js' { 62 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/build/findCurrentFiberUsingSlowPath'>; 63 | } 64 | declare module '@wojtekmaj/enzyme-adapter-react-17/build/index' { 65 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/build'>; 66 | } 67 | declare module '@wojtekmaj/enzyme-adapter-react-17/build/index.js' { 68 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/build'>; 69 | } 70 | declare module '@wojtekmaj/enzyme-adapter-react-17/build/ReactSeventeenAdapter.js' { 71 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/build/ReactSeventeenAdapter'>; 72 | } 73 | declare module '@wojtekmaj/enzyme-adapter-react-17/src/detectFiberTags.js' { 74 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/src/detectFiberTags'>; 75 | } 76 | declare module '@wojtekmaj/enzyme-adapter-react-17/src/findCurrentFiberUsingSlowPath.js' { 77 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/src/findCurrentFiberUsingSlowPath'>; 78 | } 79 | declare module '@wojtekmaj/enzyme-adapter-react-17/src/index' { 80 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/src'>; 81 | } 82 | declare module '@wojtekmaj/enzyme-adapter-react-17/src/index.js' { 83 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/src'>; 84 | } 85 | declare module '@wojtekmaj/enzyme-adapter-react-17/src/ReactSeventeenAdapter.js' { 86 | declare module.exports: $Exports<'@wojtekmaj/enzyme-adapter-react-17/src/ReactSeventeenAdapter'>; 87 | } 88 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-flow-react-proptypes_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: d123ca3177ae66059ce415f1e1eedd49 2 | // flow-typed version: <>/babel-plugin-flow-react-proptypes_v^26.0.0/flow_v0.161.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' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'babel-plugin-flow-react-proptypes/lib/makePropTypesAst' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'babel-plugin-flow-react-proptypes/lib/util' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module 'babel-plugin-flow-react-proptypes/lib/convertToPropTypes.js' { 43 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/convertToPropTypes'>; 44 | } 45 | declare module 'babel-plugin-flow-react-proptypes/lib/index' { 46 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib'>; 47 | } 48 | declare module 'babel-plugin-flow-react-proptypes/lib/index.js' { 49 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib'>; 50 | } 51 | declare module 'babel-plugin-flow-react-proptypes/lib/makePropTypesAst.js' { 52 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/makePropTypesAst'>; 53 | } 54 | declare module 'babel-plugin-flow-react-proptypes/lib/util.js' { 55 | declare module.exports: $Exports<'babel-plugin-flow-react-proptypes/lib/util'>; 56 | } 57 | -------------------------------------------------------------------------------- /flow-typed/npm/babel-plugin-istanbul_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 36ccdf5e32a21e1d20cf014e5daf3444 2 | // flow-typed version: <>/babel-plugin-istanbul_v^6.0.0/flow_v0.161.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 | declare module 'babel-plugin-istanbul/lib/load-nyc-config-sync' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'babel-plugin-istanbul/lib/index' { 35 | declare module.exports: $Exports<'babel-plugin-istanbul/lib'>; 36 | } 37 | declare module 'babel-plugin-istanbul/lib/index.js' { 38 | declare module.exports: $Exports<'babel-plugin-istanbul/lib'>; 39 | } 40 | declare module 'babel-plugin-istanbul/lib/load-nyc-config-sync.js' { 41 | declare module.exports: $Exports<'babel-plugin-istanbul/lib/load-nyc-config-sync'>; 42 | } 43 | -------------------------------------------------------------------------------- /flow-typed/npm/chai_v4.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 055d97c4302b7989c7221251421dca7c 2 | // flow-typed version: 673c7738c2/chai_v4.x.x/flow_>=v0.104.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 | not: ExpectChain, 20 | deep: ExpectChain, 21 | any: ExpectChain, 22 | all: ExpectChain, 23 | own: ExpectChain, 24 | a: ExpectChain & ((type: string, message?: string) => ExpectChain), 25 | an: ExpectChain & ((type: string, message?: string) => ExpectChain), 26 | include: ExpectChain & ((value: mixed, message?: string) => ExpectChain), 27 | includes: ExpectChain & ((value: mixed, message?: string) => ExpectChain), 28 | contain: ExpectChain & ((value: mixed, message?: string) => ExpectChain), 29 | contains: ExpectChain & ((value: mixed, message?: string) => ExpectChain), 30 | eq: (value: T, message?: string) => ExpectChain, 31 | eql: (value: T, message?: string) => ExpectChain, 32 | equal: (value: T, message?: string) => ExpectChain, 33 | equals: (value: T, message?: string) => ExpectChain, 34 | above: (value: T & number, message?: string) => ExpectChain, 35 | gt: (value: T & number, message?: string) => ExpectChain, 36 | greaterThan: (value: T & number, message?: string) => ExpectChain, 37 | least: (value: T & number, message?: string) => ExpectChain, 38 | below: (value: T & number, message?: string) => ExpectChain, 39 | lessThan: (value: T & number, message?: string) => ExpectChain, 40 | lt: (value: T & number, message?: string) => ExpectChain, 41 | most: (value: T & number, message?: string) => ExpectChain, 42 | within: (start: T & number, finish: T & number, message?: string) => ExpectChain, 43 | instanceof: (constructor: mixed, message?: string) => ExpectChain, 44 | instanceOf: (constructor: mixed, message?: string) => ExpectChain, 45 | nested: ExpectChain, 46 | property:

( 47 | name: string, 48 | value?: P, 49 | message?: string 50 | ) => ExpectChain

& ((name: string) => ExpectChain), 51 | length: ExpectChain & ((value: number, message?: string) => ExpectChain), 52 | lengthOf: (value: number, message?: string) => ExpectChain, 53 | match: (regex: RegExp, message?: string) => ExpectChain, 54 | matches: (regex: RegExp, message?: string) => ExpectChain, 55 | string: (string: string, message?: string) => ExpectChain, 56 | key: (key: string) => ExpectChain, 57 | keys: ( 58 | key: string | Array, 59 | ...keys: Array 60 | ) => ExpectChain, 61 | throw: ( 62 | err?: Class | Error | RegExp | string, 63 | errMsgMatcher?: RegExp | string, 64 | msg?: string 65 | ) => ExpectChain, 66 | respondTo: (method: string, message?: string) => ExpectChain, 67 | itself: ExpectChain, 68 | satisfy: (method: (value: T) => boolean, message?: string) => ExpectChain, 69 | closeTo: (expected: T & number, delta: number, message?: string) => ExpectChain, 70 | members: (set: mixed, message?: string) => ExpectChain, 71 | oneOf: (list: Array, message?: string) => ExpectChain, 72 | change: (obj: mixed, key: string, message?: string) => ExpectChain, 73 | increase: (obj: mixed, key: string, message?: string) => ExpectChain, 74 | decrease: (obj: mixed, key: string, message?: string) => ExpectChain, 75 | by: (delta: number, message?: string) => ExpectChain, 76 | ordered: ExpectChain, 77 | // dirty-chai 78 | ok: () => ExpectChain, 79 | true: () => ExpectChain, 80 | false: () => ExpectChain, 81 | null: () => ExpectChain, 82 | undefined: () => ExpectChain, 83 | exist: () => ExpectChain, 84 | empty: () => ExpectChain, 85 | extensible: () => ExpectChain, 86 | sealed: () => ExpectChain, 87 | frozen: () => ExpectChain, 88 | NaN: () => ExpectChain, 89 | // chai-immutable 90 | size: (n: number) => ExpectChain, 91 | // sinon-chai 92 | called: () => ExpectChain, 93 | callCount: (n: number) => ExpectChain, 94 | calledOnce: () => ExpectChain, 95 | calledTwice: () => ExpectChain, 96 | calledThrice: () => ExpectChain, 97 | calledBefore: (spy: mixed) => ExpectChain, 98 | calledAfter: (spy: mixed) => ExpectChain, 99 | calledImmediatelyBefore: (spy: mixed) => ExpectChain, 100 | calledImmediatelyAfter: (spy: mixed) => ExpectChain, 101 | calledWith: (...args: Array) => ExpectChain, 102 | calledOnceWith: (...args: Array) => ExpectChain, 103 | calledWithMatch: (...args: Array) => ExpectChain, 104 | calledWithExactly: (...args: Array) => ExpectChain, 105 | calledOnceWithExactly: (...args: Array) => ExpectChain, 106 | returned: (returnVal: mixed) => ExpectChain, 107 | alwaysReturned: (returnVal: mixed) => ExpectChain, 108 | // chai-as-promised 109 | eventually: ExpectChain, 110 | resolvedWith: (value: mixed) => Promise & ExpectChain, 111 | resolved: () => Promise & ExpectChain, 112 | rejectedWith: ( 113 | value: mixed, 114 | errMsgMatcher?: RegExp | string, 115 | msg?: string 116 | ) => Promise & ExpectChain, 117 | rejected: () => Promise & ExpectChain, 118 | notify: (callback: () => mixed) => ExpectChain, 119 | fulfilled: () => Promise & ExpectChain, 120 | // chai-subset 121 | containSubset: (obj: {...} | Array< {...} >) => ExpectChain, 122 | // chai-redux-mock-store 123 | dispatchedActions: ( 124 | actions: Array<{...} | ((action: {...}) => any)> 125 | ) => ExpectChain, 126 | dispatchedTypes: (actions: Array) => ExpectChain, 127 | // chai-enzyme 128 | attr: (key: string, val?: any) => ExpectChain, 129 | data: (key: string, val?: any) => ExpectChain, 130 | prop: (key: string, val?: any) => ExpectChain, 131 | state: (key: string, val?: any) => ExpectChain, 132 | value: (val: string) => ExpectChain, 133 | className: (val: string) => ExpectChain, 134 | text: (val: string) => ExpectChain, 135 | // chai-karma-snapshot 136 | matchSnapshot: (lang?: any, update?: boolean, msg?: any) => ExpectChain, 137 | ... 138 | }; 139 | 140 | 141 | declare var expect: { 142 | (actual: T, message?: string): ExpectChain, 143 | fail: ((message?: string) => void) & ((actual: any, expected: any, message?: string, operator?: string) => void), 144 | ... 145 | }; 146 | 147 | declare function use(plugin: (chai: Object, utils: Object) => void): void; 148 | 149 | declare class assert { 150 | static (expression: mixed, message?: string): void; 151 | static fail( 152 | actual: mixed, 153 | expected: mixed, 154 | message?: string, 155 | operator?: string 156 | ): void; 157 | 158 | static isOk(object: mixed, message?: string): void; 159 | static isNotOk(object: mixed, message?: string): void; 160 | 161 | static empty(object: mixed, message?: string): void; 162 | static isEmpty(object: mixed, message?: string): void; 163 | static notEmpty(object: mixed, message?: string): void; 164 | static isNotEmpty(object: mixed, message?: string): void; 165 | 166 | static equal(actual: mixed, expected: mixed, message?: string): void; 167 | static notEqual(actual: mixed, expected: mixed, message?: string): void; 168 | 169 | static strictEqual(act: mixed, exp: mixed, msg?: string): void; 170 | static notStrictEqual(act: mixed, exp: mixed, msg?: string): void; 171 | 172 | static deepEqual(act: mixed, exp: mixed, msg?: string): void; 173 | static notDeepEqual(act: mixed, exp: mixed, msg?: string): void; 174 | 175 | static ok(val: mixed, msg?: string): void; 176 | static isTrue(val: mixed, msg?: string): void; 177 | static isNotTrue(val: mixed, msg?: string): void; 178 | static isFalse(val: mixed, msg?: string): void; 179 | static isNotFalse(val: mixed, msg?: string): void; 180 | 181 | static isNull(val: mixed, msg?: string): void; 182 | static isNotNull(val: mixed, msg?: string): void; 183 | 184 | static isUndefined(val: mixed, msg?: string): void; 185 | static isDefined(val: mixed, msg?: string): void; 186 | 187 | static isNaN(val: mixed, msg?: string): void; 188 | static isNotNaN(val: mixed, msg?: string): void; 189 | 190 | static isAbove(val: number, abv: number, msg?: string): void; 191 | static isBelow(val: number, blw: number, msg?: string): void; 192 | 193 | static exists(val : mixed, msg? : string) : void; 194 | static notExists(val : mixed, msg? : string) : void; 195 | 196 | static isAtMost(val: number, atmst: number, msg?: string): void; 197 | static isAtLeast(val: number, atlst: number, msg?: string): void; 198 | 199 | static isFunction(val: mixed, msg?: string): void; 200 | static isNotFunction(val: mixed, msg?: string): void; 201 | 202 | static isObject(val: mixed, msg?: string): void; 203 | static isNotObject(val: mixed, msg?: string): void; 204 | 205 | static isArray(val: mixed, msg?: string): void; 206 | static isNotArray(val: mixed, msg?: string): void; 207 | 208 | static isString(val: mixed, msg?: string): void; 209 | static isNotString(val: mixed, msg?: string): void; 210 | 211 | static isNumber(val: mixed, msg?: string): void; 212 | static isNotNumber(val: mixed, msg?: string): void; 213 | 214 | static isBoolean(val: mixed, msg?: string): void; 215 | static isNotBoolean(val: mixed, msg?: string): void; 216 | 217 | static typeOf(val: mixed, type: string, msg?: string): void; 218 | static notTypeOf(val: mixed, type: string, msg?: string): void; 219 | 220 | static instanceOf(val: mixed, constructor: Class< * >, msg?: string): void; 221 | static notInstanceOf(val: mixed, constructor: Class< * >, msg?: string): void; 222 | 223 | static include(exp: string, inc: mixed, msg?: string): void; 224 | static include(exp: Array, inc: T, msg?: string): void; 225 | 226 | static notInclude(exp: string, inc: mixed, msg?: string): void; 227 | static notInclude(exp: Array, inc: T, msg?: string): void; 228 | 229 | static deepInclude(haystack : T[] | string, needle : $Shape, msg?: string) : void; 230 | static notDeepInclude(haystack : T[] | string, needle : $Shape, msg?: string) : void; 231 | 232 | static match(exp: mixed, re: RegExp, msg?: string): void; 233 | static notMatch(exp: mixed, re: RegExp, msg?: string): void; 234 | 235 | static property(obj: Object, prop: string, msg?: string): void; 236 | static notProperty(obj: Object, prop: string, msg?: string): void; 237 | static deepProperty(obj: Object, prop: string, msg?: string): void; 238 | static notDeepProperty(obj: Object, prop: string, msg?: string): void; 239 | 240 | static propertyVal( 241 | obj: Object, 242 | prop: string, 243 | val: mixed, 244 | msg?: string 245 | ): void; 246 | static propertyNotVal( 247 | obj: Object, 248 | prop: string, 249 | val: mixed, 250 | msg?: string 251 | ): void; 252 | 253 | static deepPropertyVal( 254 | obj: Object, 255 | prop: string, 256 | val: mixed, 257 | msg?: string 258 | ): void; 259 | static deepPropertyNotVal( 260 | obj: Object, 261 | prop: string, 262 | val: mixed, 263 | msg?: string 264 | ): void; 265 | 266 | static lengthOf(exp: mixed, len: number, msg?: string): void; 267 | 268 | static throws( 269 | func: () => any, 270 | err?: Class | Error | RegExp | string, 271 | errorMsgMatcher?: string | RegExp, 272 | msg?: string 273 | ): void; 274 | static doesNotThrow( 275 | func: () => any, 276 | err?: Class | Error | RegExp | string, 277 | errorMsgMatcher?: string | RegExp, 278 | msg?: string 279 | ): void; 280 | 281 | static closeTo( 282 | actual: number, 283 | expected: number, 284 | delta: number, 285 | msg?: string 286 | ): void; 287 | static approximately( 288 | actual: number, 289 | expected: number, 290 | delta: number, 291 | msg?: string 292 | ): void; 293 | 294 | // chai-immutable 295 | static sizeOf(val: mixed, length: number): void; 296 | } 297 | 298 | declare var config: { 299 | includeStack: boolean, 300 | showDiff: boolean, 301 | truncateThreshold: number, 302 | ... 303 | }; 304 | } 305 | -------------------------------------------------------------------------------- /flow-typed/npm/codecov_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 67b37e270ba3af2bbd77652d5107b6c1 2 | // flow-typed version: <>/codecov_v^3.8.3/flow_v0.161.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/azurePipelines' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'codecov/lib/services/buildkite' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'codecov/lib/services/circle' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'codecov/lib/services/cirrus' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'codecov/lib/services/codebuild' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'codecov/lib/services/codeship' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'codecov/lib/services/drone' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'codecov/lib/services/github_actions' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'codecov/lib/services/gitlab' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'codecov/lib/services/heroku' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'codecov/lib/services/jenkins' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'codecov/lib/services/localGit' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'codecov/lib/services/semaphore' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'codecov/lib/services/semaphore2x' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'codecov/lib/services/shippable' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'codecov/lib/services/snap' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'codecov/lib/services/teamcity' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'codecov/lib/services/travis' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'codecov/lib/services/wercker' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'codecov/test/detect.test' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'codecov/test/git.test' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'codecov/test/index.test' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'codecov/test/services/appveyor.test' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'codecov/test/services/azure-pipelines.test' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'codecov/test/services/buildkite.test' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'codecov/test/services/circle.test' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'codecov/test/services/cirrus.test' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'codecov/test/services/codebuild.test' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'codecov/test/services/codeship.test' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'codecov/test/services/drone.test' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'codecov/test/services/github_actions.test' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'codecov/test/services/gitlab.test' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'codecov/test/services/heroku.test' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'codecov/test/services/jenkins.test' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'codecov/test/services/localGit.test' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'codecov/test/services/semaphore.test' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'codecov/test/services/semaphore2x.test' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'codecov/test/services/shippable.test' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'codecov/test/services/snap.test' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'codecov/test/services/teamcity.test' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'codecov/test/services/travis.test' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'codecov/test/services/wercker.test' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'codecov/test/upload.test' { 214 | declare module.exports: any; 215 | } 216 | 217 | // Filename aliases 218 | declare module 'codecov/index' { 219 | declare module.exports: $Exports<'codecov'>; 220 | } 221 | declare module 'codecov/index.js' { 222 | declare module.exports: $Exports<'codecov'>; 223 | } 224 | declare module 'codecov/lib/codecov.js' { 225 | declare module.exports: $Exports<'codecov/lib/codecov'>; 226 | } 227 | declare module 'codecov/lib/detect.js' { 228 | declare module.exports: $Exports<'codecov/lib/detect'>; 229 | } 230 | declare module 'codecov/lib/git.js' { 231 | declare module.exports: $Exports<'codecov/lib/git'>; 232 | } 233 | declare module 'codecov/lib/offline.js' { 234 | declare module.exports: $Exports<'codecov/lib/offline'>; 235 | } 236 | declare module 'codecov/lib/services/appveyor.js' { 237 | declare module.exports: $Exports<'codecov/lib/services/appveyor'>; 238 | } 239 | declare module 'codecov/lib/services/azurePipelines.js' { 240 | declare module.exports: $Exports<'codecov/lib/services/azurePipelines'>; 241 | } 242 | declare module 'codecov/lib/services/buildkite.js' { 243 | declare module.exports: $Exports<'codecov/lib/services/buildkite'>; 244 | } 245 | declare module 'codecov/lib/services/circle.js' { 246 | declare module.exports: $Exports<'codecov/lib/services/circle'>; 247 | } 248 | declare module 'codecov/lib/services/cirrus.js' { 249 | declare module.exports: $Exports<'codecov/lib/services/cirrus'>; 250 | } 251 | declare module 'codecov/lib/services/codebuild.js' { 252 | declare module.exports: $Exports<'codecov/lib/services/codebuild'>; 253 | } 254 | declare module 'codecov/lib/services/codeship.js' { 255 | declare module.exports: $Exports<'codecov/lib/services/codeship'>; 256 | } 257 | declare module 'codecov/lib/services/drone.js' { 258 | declare module.exports: $Exports<'codecov/lib/services/drone'>; 259 | } 260 | declare module 'codecov/lib/services/github_actions.js' { 261 | declare module.exports: $Exports<'codecov/lib/services/github_actions'>; 262 | } 263 | declare module 'codecov/lib/services/gitlab.js' { 264 | declare module.exports: $Exports<'codecov/lib/services/gitlab'>; 265 | } 266 | declare module 'codecov/lib/services/heroku.js' { 267 | declare module.exports: $Exports<'codecov/lib/services/heroku'>; 268 | } 269 | declare module 'codecov/lib/services/jenkins.js' { 270 | declare module.exports: $Exports<'codecov/lib/services/jenkins'>; 271 | } 272 | declare module 'codecov/lib/services/localGit.js' { 273 | declare module.exports: $Exports<'codecov/lib/services/localGit'>; 274 | } 275 | declare module 'codecov/lib/services/semaphore.js' { 276 | declare module.exports: $Exports<'codecov/lib/services/semaphore'>; 277 | } 278 | declare module 'codecov/lib/services/semaphore2x.js' { 279 | declare module.exports: $Exports<'codecov/lib/services/semaphore2x'>; 280 | } 281 | declare module 'codecov/lib/services/shippable.js' { 282 | declare module.exports: $Exports<'codecov/lib/services/shippable'>; 283 | } 284 | declare module 'codecov/lib/services/snap.js' { 285 | declare module.exports: $Exports<'codecov/lib/services/snap'>; 286 | } 287 | declare module 'codecov/lib/services/teamcity.js' { 288 | declare module.exports: $Exports<'codecov/lib/services/teamcity'>; 289 | } 290 | declare module 'codecov/lib/services/travis.js' { 291 | declare module.exports: $Exports<'codecov/lib/services/travis'>; 292 | } 293 | declare module 'codecov/lib/services/wercker.js' { 294 | declare module.exports: $Exports<'codecov/lib/services/wercker'>; 295 | } 296 | declare module 'codecov/test/detect.test.js' { 297 | declare module.exports: $Exports<'codecov/test/detect.test'>; 298 | } 299 | declare module 'codecov/test/git.test.js' { 300 | declare module.exports: $Exports<'codecov/test/git.test'>; 301 | } 302 | declare module 'codecov/test/index.test.js' { 303 | declare module.exports: $Exports<'codecov/test/index.test'>; 304 | } 305 | declare module 'codecov/test/services/appveyor.test.js' { 306 | declare module.exports: $Exports<'codecov/test/services/appveyor.test'>; 307 | } 308 | declare module 'codecov/test/services/azure-pipelines.test.js' { 309 | declare module.exports: $Exports<'codecov/test/services/azure-pipelines.test'>; 310 | } 311 | declare module 'codecov/test/services/buildkite.test.js' { 312 | declare module.exports: $Exports<'codecov/test/services/buildkite.test'>; 313 | } 314 | declare module 'codecov/test/services/circle.test.js' { 315 | declare module.exports: $Exports<'codecov/test/services/circle.test'>; 316 | } 317 | declare module 'codecov/test/services/cirrus.test.js' { 318 | declare module.exports: $Exports<'codecov/test/services/cirrus.test'>; 319 | } 320 | declare module 'codecov/test/services/codebuild.test.js' { 321 | declare module.exports: $Exports<'codecov/test/services/codebuild.test'>; 322 | } 323 | declare module 'codecov/test/services/codeship.test.js' { 324 | declare module.exports: $Exports<'codecov/test/services/codeship.test'>; 325 | } 326 | declare module 'codecov/test/services/drone.test.js' { 327 | declare module.exports: $Exports<'codecov/test/services/drone.test'>; 328 | } 329 | declare module 'codecov/test/services/github_actions.test.js' { 330 | declare module.exports: $Exports<'codecov/test/services/github_actions.test'>; 331 | } 332 | declare module 'codecov/test/services/gitlab.test.js' { 333 | declare module.exports: $Exports<'codecov/test/services/gitlab.test'>; 334 | } 335 | declare module 'codecov/test/services/heroku.test.js' { 336 | declare module.exports: $Exports<'codecov/test/services/heroku.test'>; 337 | } 338 | declare module 'codecov/test/services/jenkins.test.js' { 339 | declare module.exports: $Exports<'codecov/test/services/jenkins.test'>; 340 | } 341 | declare module 'codecov/test/services/localGit.test.js' { 342 | declare module.exports: $Exports<'codecov/test/services/localGit.test'>; 343 | } 344 | declare module 'codecov/test/services/semaphore.test.js' { 345 | declare module.exports: $Exports<'codecov/test/services/semaphore.test'>; 346 | } 347 | declare module 'codecov/test/services/semaphore2x.test.js' { 348 | declare module.exports: $Exports<'codecov/test/services/semaphore2x.test'>; 349 | } 350 | declare module 'codecov/test/services/shippable.test.js' { 351 | declare module.exports: $Exports<'codecov/test/services/shippable.test'>; 352 | } 353 | declare module 'codecov/test/services/snap.test.js' { 354 | declare module.exports: $Exports<'codecov/test/services/snap.test'>; 355 | } 356 | declare module 'codecov/test/services/teamcity.test.js' { 357 | declare module.exports: $Exports<'codecov/test/services/teamcity.test'>; 358 | } 359 | declare module 'codecov/test/services/travis.test.js' { 360 | declare module.exports: $Exports<'codecov/test/services/travis.test'>; 361 | } 362 | declare module 'codecov/test/services/wercker.test.js' { 363 | declare module.exports: $Exports<'codecov/test/services/wercker.test'>; 364 | } 365 | declare module 'codecov/test/upload.test.js' { 366 | declare module.exports: $Exports<'codecov/test/upload.test'>; 367 | } 368 | -------------------------------------------------------------------------------- /flow-typed/npm/copy_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: d13c0af237c8f938aaf65b6281e9d2b8 2 | // flow-typed version: <>/copy_v^0.3.2/flow_v0.161.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: 7b5d354fc0026f0f2d24427d3e686ec6 2 | // flow-typed version: <>/cross-env_v^7.0.3/flow_v0.161.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/src/bin/cross-env-shell' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'cross-env/src/bin/cross-env' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'cross-env/src/command' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'cross-env/src' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'cross-env/src/is-windows' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'cross-env/src/variable' { 46 | declare module.exports: any; 47 | } 48 | 49 | // Filename aliases 50 | declare module 'cross-env/src/bin/cross-env-shell.js' { 51 | declare module.exports: $Exports<'cross-env/src/bin/cross-env-shell'>; 52 | } 53 | declare module 'cross-env/src/bin/cross-env.js' { 54 | declare module.exports: $Exports<'cross-env/src/bin/cross-env'>; 55 | } 56 | declare module 'cross-env/src/command.js' { 57 | declare module.exports: $Exports<'cross-env/src/command'>; 58 | } 59 | declare module 'cross-env/src/index' { 60 | declare module.exports: $Exports<'cross-env/src'>; 61 | } 62 | declare module 'cross-env/src/index.js' { 63 | declare module.exports: $Exports<'cross-env/src'>; 64 | } 65 | declare module 'cross-env/src/is-windows.js' { 66 | declare module.exports: $Exports<'cross-env/src/is-windows'>; 67 | } 68 | declare module 'cross-env/src/variable.js' { 69 | declare module.exports: $Exports<'cross-env/src/variable'>; 70 | } 71 | -------------------------------------------------------------------------------- /flow-typed/npm/enzyme_v3.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 20e2bb4e722c2a79e4e0f178491bf6cc 2 | // flow-typed version: 1f669c8dd2/enzyme_v3.x.x/flow_>=v0.104.x 3 | 4 | declare module "enzyme" { 5 | declare type PredicateFunction> = ( 6 | wrapper: T, 7 | index: number 8 | ) => boolean; 9 | declare type UntypedSelector = string | { [key: string]: number|string|boolean, ... }; 10 | declare type EnzymeSelector = UntypedSelector | React$ElementType; 11 | 12 | // CheerioWrapper is a type alias for an actual cheerio instance 13 | // TODO: Reference correct type from cheerio's type declarations 14 | declare type CheerioWrapper = any; 15 | 16 | declare class Wrapper { 17 | at(index: number): this, 18 | childAt(index: number): this, 19 | children(selector?: UntypedSelector): this, 20 | children(selector: T): ReactWrapper, 21 | closest(selector: UntypedSelector): this, 22 | closest(selector: T): ReactWrapper, 23 | contains(nodes: React$Element | $ReadOnlyArray>): boolean, 24 | containsAllMatchingElements(nodes: $ReadOnlyArray>): boolean, 25 | containsAnyMatchingElements(nodes: $ReadOnlyArray>): boolean, 26 | containsMatchingElement(node: React$Element): boolean, 27 | context(key?: string): any, 28 | debug(options?: Object): string, 29 | dive(option?: { context?: Object, ... }): this, 30 | equals(node: React$Element): boolean, 31 | every(selector: EnzymeSelector): boolean, 32 | everyWhere(predicate: PredicateFunction): boolean, 33 | exists(selector?: EnzymeSelector): boolean, 34 | filter(selector: UntypedSelector): this, 35 | filter(selector: T): ReactWrapper, 36 | filterWhere(predicate: PredicateFunction): this, 37 | find(selector: UntypedSelector): this, 38 | find(selector: T): ReactWrapper, 39 | findWhere(predicate: PredicateFunction): this, 40 | first(): this, 41 | forEach(fn: (node: this, index: number) => mixed): this, 42 | get(index: number): React$Element, 43 | getDOMNode(): HTMLElement | HTMLInputElement, 44 | hasClass(className: string): boolean, 45 | hostNodes(): this, 46 | html(): string, 47 | instance(): React$ElementRef, 48 | invoke(propName: string): (...args: $ReadOnlyArray) => mixed, 49 | is(selector: EnzymeSelector): boolean, 50 | isEmpty(): boolean, 51 | isEmptyRender(): boolean, 52 | key(): string, 53 | last(): this, 54 | length: number, 55 | map(fn: (node: this, index: number) => T): Array, 56 | matchesElement(node: React$Element): boolean, 57 | name(): string, 58 | not(selector: EnzymeSelector): this, 59 | parent(): this, 60 | parents(selector?: UntypedSelector): this, 61 | parents(selector: T): ReactWrapper, 62 | prop(key: string): any, 63 | props(): Object, 64 | reduce( 65 | fn: (value: T, node: this, index: number) => T, 66 | initialValue?: T 67 | ): Array, 68 | reduceRight( 69 | fn: (value: T, node: this, index: number) => T, 70 | initialValue?: T 71 | ): Array, 72 | render(): CheerioWrapper, 73 | renderProp(propName: string): (...args: Array) => this, 74 | setContext(context: Object): this, 75 | setProps(props: {...}, callback?: () => void): this, 76 | setState(state: {...}, callback?: () => void): this, 77 | simulate(event: string, ...args: Array): this, 78 | simulateError(error: Error): this, 79 | slice(begin?: number, end?: number): this, 80 | some(selector: EnzymeSelector): boolean, 81 | someWhere(predicate: PredicateFunction): boolean, 82 | state(key?: string): any, 83 | text(): string, 84 | type(): string | Function | null, 85 | unmount(): this, 86 | update(): this, 87 | } 88 | 89 | declare class ReactWrapper extends Wrapper { 90 | constructor(nodes: React$Element, root: any, options?: ?Object): ReactWrapper, 91 | mount(): this, 92 | ref(refName: string): this, 93 | detach(): void 94 | } 95 | 96 | declare class ShallowWrapper extends Wrapper { 97 | constructor( 98 | nodes: React$Element, 99 | root: any, 100 | options?: ?Object 101 | ): ShallowWrapper, 102 | shallow(options?: { context?: Object, ... }): ShallowWrapper, 103 | getElement(): React$Element, 104 | getElements(): Array> 105 | } 106 | 107 | declare function shallow( 108 | node: React$Element, 109 | options?: { 110 | context?: Object, 111 | disableLifecycleMethods?: boolean, 112 | ... 113 | } 114 | ): ShallowWrapper; 115 | 116 | declare function mount( 117 | node: React$Element, 118 | options?: { 119 | context?: Object, 120 | attachTo?: HTMLElement, 121 | childContextTypes?: Object, 122 | ... 123 | } 124 | ): ReactWrapper; 125 | 126 | declare function render( 127 | node: React$Node, 128 | options?: { context?: Object, ... } 129 | ): CheerioWrapper; 130 | 131 | declare module.exports: { 132 | configure(options: { 133 | Adapter?: any, 134 | disableLifecycleMethods?: boolean, 135 | ... 136 | }): void, 137 | render: typeof render, 138 | mount: typeof mount, 139 | shallow: typeof shallow, 140 | ShallowWrapper: typeof ShallowWrapper, 141 | ReactWrapper: typeof ReactWrapper, 142 | ... 143 | }; 144 | } 145 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-config-prettier_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: b88241dd78feb45be33d252fcf5d189b 2 | // flow-typed version: <>/eslint-config-prettier_v^8.3.0/flow_v0.161.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/@typescript-eslint' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'eslint-config-prettier/babel' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'eslint-config-prettier/bin/cli' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'eslint-config-prettier/bin/validators' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'eslint-config-prettier/flowtype' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'eslint-config-prettier/prettier' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'eslint-config-prettier/react' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'eslint-config-prettier/standard' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'eslint-config-prettier/unicorn' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'eslint-config-prettier/vue' { 62 | declare module.exports: any; 63 | } 64 | 65 | // Filename aliases 66 | declare module 'eslint-config-prettier/@typescript-eslint.js' { 67 | declare module.exports: $Exports<'eslint-config-prettier/@typescript-eslint'>; 68 | } 69 | declare module 'eslint-config-prettier/babel.js' { 70 | declare module.exports: $Exports<'eslint-config-prettier/babel'>; 71 | } 72 | declare module 'eslint-config-prettier/bin/cli.js' { 73 | declare module.exports: $Exports<'eslint-config-prettier/bin/cli'>; 74 | } 75 | declare module 'eslint-config-prettier/bin/validators.js' { 76 | declare module.exports: $Exports<'eslint-config-prettier/bin/validators'>; 77 | } 78 | declare module 'eslint-config-prettier/flowtype.js' { 79 | declare module.exports: $Exports<'eslint-config-prettier/flowtype'>; 80 | } 81 | declare module 'eslint-config-prettier/index' { 82 | declare module.exports: $Exports<'eslint-config-prettier'>; 83 | } 84 | declare module 'eslint-config-prettier/index.js' { 85 | declare module.exports: $Exports<'eslint-config-prettier'>; 86 | } 87 | declare module 'eslint-config-prettier/prettier.js' { 88 | declare module.exports: $Exports<'eslint-config-prettier/prettier'>; 89 | } 90 | declare module 'eslint-config-prettier/react.js' { 91 | declare module.exports: $Exports<'eslint-config-prettier/react'>; 92 | } 93 | declare module 'eslint-config-prettier/standard.js' { 94 | declare module.exports: $Exports<'eslint-config-prettier/standard'>; 95 | } 96 | declare module 'eslint-config-prettier/unicorn.js' { 97 | declare module.exports: $Exports<'eslint-config-prettier/unicorn'>; 98 | } 99 | declare module 'eslint-config-prettier/vue.js' { 100 | declare module.exports: $Exports<'eslint-config-prettier/vue'>; 101 | } 102 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 3b0ef231fdc71ab1983526ed5210308a 2 | // flow-typed version: <>/eslint-plugin-flowtype_v^6.1.0/flow_v0.161.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-plugin-flowtype' 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-plugin-flowtype' { 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-plugin-flowtype/dist/bin/addAssertions' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'eslint-plugin-flowtype/dist/bin/checkDocs' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'eslint-plugin-flowtype/dist/bin/checkTests' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'eslint-plugin-flowtype/dist/bin/utilities' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'eslint-plugin-flowtype/dist' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/isSimpleType' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/needWrap' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleComplexType' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleSimpleType' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'eslint-plugin-flowtype/dist/rules/arrowParens' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'eslint-plugin-flowtype/dist/rules/booleanStyle' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'eslint-plugin-flowtype/dist/rules/defineFlowType' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'eslint-plugin-flowtype/dist/rules/enforceLineBreak' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'eslint-plugin-flowtype/dist/rules/interfaceIdMatch' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'eslint-plugin-flowtype/dist/rules/noDuplicateTypeUnionIntersectionMembers' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'eslint-plugin-flowtype/dist/rules/noInternalFlowType' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'eslint-plugin-flowtype/dist/rules/noMixed' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'eslint-plugin-flowtype/dist/rules/objectTypeCurlySpacing' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'eslint-plugin-flowtype/dist/rules/quotes' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'eslint-plugin-flowtype/dist/rules/requireCompoundTypeAlias' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'eslint-plugin-flowtype/dist/rules/requireExactType' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'eslint-plugin-flowtype/dist/rules/requireIndexerName' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'eslint-plugin-flowtype/dist/rules/requireInexactType' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'eslint-plugin-flowtype/dist/rules/requireReadonlyReactProps' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'eslint-plugin-flowtype/dist/rules/requireVariableType' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'eslint-plugin-flowtype/dist/rules/semi' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'eslint-plugin-flowtype/dist/rules/sortKeys' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'eslint-plugin-flowtype/dist/rules/sortTypeUnionIntersectionMembers' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'eslint-plugin-flowtype/dist/rules/spreadExactType' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateVariables' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch' { 258 | declare module.exports: any; 259 | } 260 | 261 | declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle' { 262 | declare module.exports: any; 263 | } 264 | 265 | declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing' { 266 | declare module.exports: any; 267 | } 268 | 269 | declare module 'eslint-plugin-flowtype/dist/rules/useFlowType' { 270 | declare module.exports: any; 271 | } 272 | 273 | declare module 'eslint-plugin-flowtype/dist/rules/useReadOnlySpread' { 274 | declare module.exports: any; 275 | } 276 | 277 | declare module 'eslint-plugin-flowtype/dist/rules/validSyntax' { 278 | declare module.exports: any; 279 | } 280 | 281 | declare module 'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation' { 282 | declare module.exports: any; 283 | } 284 | 285 | declare module 'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch' { 286 | declare module.exports: any; 287 | } 288 | 289 | declare module 'eslint-plugin-flowtype/dist/utilities/getParameterName' { 290 | declare module.exports: any; 291 | } 292 | 293 | declare module 'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens' { 294 | declare module.exports: any; 295 | } 296 | 297 | declare module 'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens' { 298 | declare module.exports: any; 299 | } 300 | 301 | declare module 'eslint-plugin-flowtype/dist/utilities' { 302 | declare module.exports: any; 303 | } 304 | 305 | declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFile' { 306 | declare module.exports: any; 307 | } 308 | 309 | declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation' { 310 | declare module.exports: any; 311 | } 312 | 313 | declare module 'eslint-plugin-flowtype/dist/utilities/isNoFlowFile' { 314 | declare module.exports: any; 315 | } 316 | 317 | declare module 'eslint-plugin-flowtype/dist/utilities/isNoFlowFileAnnotation' { 318 | declare module.exports: any; 319 | } 320 | 321 | declare module 'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes' { 322 | declare module.exports: any; 323 | } 324 | 325 | declare module 'eslint-plugin-flowtype/dist/utilities/quoteName' { 326 | declare module.exports: any; 327 | } 328 | 329 | declare module 'eslint-plugin-flowtype/dist/utilities/spacingFixers' { 330 | declare module.exports: any; 331 | } 332 | 333 | // Filename aliases 334 | declare module 'eslint-plugin-flowtype/dist/bin/addAssertions.js' { 335 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/bin/addAssertions'>; 336 | } 337 | declare module 'eslint-plugin-flowtype/dist/bin/checkDocs.js' { 338 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/bin/checkDocs'>; 339 | } 340 | declare module 'eslint-plugin-flowtype/dist/bin/checkTests.js' { 341 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/bin/checkTests'>; 342 | } 343 | declare module 'eslint-plugin-flowtype/dist/bin/utilities.js' { 344 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/bin/utilities'>; 345 | } 346 | declare module 'eslint-plugin-flowtype/dist/index' { 347 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist'>; 348 | } 349 | declare module 'eslint-plugin-flowtype/dist/index.js' { 350 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist'>; 351 | } 352 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/index' { 353 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyle'>; 354 | } 355 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/index.js' { 356 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyle'>; 357 | } 358 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/isSimpleType.js' { 359 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyle/isSimpleType'>; 360 | } 361 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/needWrap.js' { 362 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyle/needWrap'>; 363 | } 364 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleComplexType.js' { 365 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyleComplexType'>; 366 | } 367 | declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleSimpleType.js' { 368 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyleSimpleType'>; 369 | } 370 | declare module 'eslint-plugin-flowtype/dist/rules/arrowParens.js' { 371 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrowParens'>; 372 | } 373 | declare module 'eslint-plugin-flowtype/dist/rules/booleanStyle.js' { 374 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/booleanStyle'>; 375 | } 376 | declare module 'eslint-plugin-flowtype/dist/rules/defineFlowType.js' { 377 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/defineFlowType'>; 378 | } 379 | declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle.js' { 380 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/delimiterDangle'>; 381 | } 382 | declare module 'eslint-plugin-flowtype/dist/rules/enforceLineBreak.js' { 383 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/enforceLineBreak'>; 384 | } 385 | declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing.js' { 386 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/genericSpacing'>; 387 | } 388 | declare module 'eslint-plugin-flowtype/dist/rules/interfaceIdMatch.js' { 389 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/interfaceIdMatch'>; 390 | } 391 | declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation.js' { 392 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation'>; 393 | } 394 | declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys.js' { 395 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noDupeKeys'>; 396 | } 397 | declare module 'eslint-plugin-flowtype/dist/rules/noDuplicateTypeUnionIntersectionMembers.js' { 398 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noDuplicateTypeUnionIntersectionMembers'>; 399 | } 400 | declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType.js' { 401 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noExistentialType'>; 402 | } 403 | declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments.js' { 404 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments'>; 405 | } 406 | declare module 'eslint-plugin-flowtype/dist/rules/noInternalFlowType.js' { 407 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noInternalFlowType'>; 408 | } 409 | declare module 'eslint-plugin-flowtype/dist/rules/noMixed.js' { 410 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noMixed'>; 411 | } 412 | declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray.js' { 413 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noMutableArray'>; 414 | } 415 | declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes.js' { 416 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes'>; 417 | } 418 | declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation.js' { 419 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation'>; 420 | } 421 | declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions.js' { 422 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noUnusedExpressions'>; 423 | } 424 | declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes.js' { 425 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noWeakTypes'>; 426 | } 427 | declare module 'eslint-plugin-flowtype/dist/rules/objectTypeCurlySpacing.js' { 428 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/objectTypeCurlySpacing'>; 429 | } 430 | declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter.js' { 431 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter'>; 432 | } 433 | declare module 'eslint-plugin-flowtype/dist/rules/quotes.js' { 434 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/quotes'>; 435 | } 436 | declare module 'eslint-plugin-flowtype/dist/rules/requireCompoundTypeAlias.js' { 437 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireCompoundTypeAlias'>; 438 | } 439 | declare module 'eslint-plugin-flowtype/dist/rules/requireExactType.js' { 440 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireExactType'>; 441 | } 442 | declare module 'eslint-plugin-flowtype/dist/rules/requireIndexerName.js' { 443 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireIndexerName'>; 444 | } 445 | declare module 'eslint-plugin-flowtype/dist/rules/requireInexactType.js' { 446 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireInexactType'>; 447 | } 448 | declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType.js' { 449 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireParameterType'>; 450 | } 451 | declare module 'eslint-plugin-flowtype/dist/rules/requireReadonlyReactProps.js' { 452 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireReadonlyReactProps'>; 453 | } 454 | declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType.js' { 455 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireReturnType'>; 456 | } 457 | declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop.js' { 458 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireTypesAtTop'>; 459 | } 460 | declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation.js' { 461 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation'>; 462 | } 463 | declare module 'eslint-plugin-flowtype/dist/rules/requireVariableType.js' { 464 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireVariableType'>; 465 | } 466 | declare module 'eslint-plugin-flowtype/dist/rules/semi.js' { 467 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/semi'>; 468 | } 469 | declare module 'eslint-plugin-flowtype/dist/rules/sortKeys.js' { 470 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/sortKeys'>; 471 | } 472 | declare module 'eslint-plugin-flowtype/dist/rules/sortTypeUnionIntersectionMembers.js' { 473 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/sortTypeUnionIntersectionMembers'>; 474 | } 475 | declare module 'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon.js' { 476 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon'>; 477 | } 478 | declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket.js' { 479 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket'>; 480 | } 481 | declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon.js' { 482 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon'>; 483 | } 484 | declare module 'eslint-plugin-flowtype/dist/rules/spreadExactType.js' { 485 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spreadExactType'>; 486 | } 487 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions.js' { 488 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions'>; 489 | } 490 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer.js' { 491 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer'>; 492 | } 493 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty.js' { 494 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty'>; 495 | } 496 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType.js' { 497 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType'>; 498 | } 499 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression.js' { 500 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression'>; 501 | } 502 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical.js' { 503 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical'>; 504 | } 505 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateVariables.js' { 506 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateVariables'>; 507 | } 508 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index' { 509 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing'>; 510 | } 511 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index.js' { 512 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing'>; 513 | } 514 | declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter.js' { 515 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter'>; 516 | } 517 | declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch.js' { 518 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeIdMatch'>; 519 | } 520 | declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle.js' { 521 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeImportStyle'>; 522 | } 523 | declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing.js' { 524 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing'>; 525 | } 526 | declare module 'eslint-plugin-flowtype/dist/rules/useFlowType.js' { 527 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/useFlowType'>; 528 | } 529 | declare module 'eslint-plugin-flowtype/dist/rules/useReadOnlySpread.js' { 530 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/useReadOnlySpread'>; 531 | } 532 | declare module 'eslint-plugin-flowtype/dist/rules/validSyntax.js' { 533 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/validSyntax'>; 534 | } 535 | declare module 'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation.js' { 536 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation'>; 537 | } 538 | declare module 'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch.js' { 539 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch'>; 540 | } 541 | declare module 'eslint-plugin-flowtype/dist/utilities/getParameterName.js' { 542 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/getParameterName'>; 543 | } 544 | declare module 'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens.js' { 545 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens'>; 546 | } 547 | declare module 'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens.js' { 548 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens'>; 549 | } 550 | declare module 'eslint-plugin-flowtype/dist/utilities/index' { 551 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities'>; 552 | } 553 | declare module 'eslint-plugin-flowtype/dist/utilities/index.js' { 554 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities'>; 555 | } 556 | declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFile.js' { 557 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/isFlowFile'>; 558 | } 559 | declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation.js' { 560 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation'>; 561 | } 562 | declare module 'eslint-plugin-flowtype/dist/utilities/isNoFlowFile.js' { 563 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/isNoFlowFile'>; 564 | } 565 | declare module 'eslint-plugin-flowtype/dist/utilities/isNoFlowFileAnnotation.js' { 566 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/isNoFlowFileAnnotation'>; 567 | } 568 | declare module 'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes.js' { 569 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes'>; 570 | } 571 | declare module 'eslint-plugin-flowtype/dist/utilities/quoteName.js' { 572 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/quoteName'>; 573 | } 574 | declare module 'eslint-plugin-flowtype/dist/utilities/spacingFixers.js' { 575 | declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/spacingFixers'>; 576 | } 577 | -------------------------------------------------------------------------------- /flow-typed/npm/eslint-plugin-react_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: afa4e84625bdce9283ac911a75158f05 2 | // flow-typed version: <>/eslint-plugin-react_v^7.26.1/flow_v0.161.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'eslint-plugin-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 'eslint-plugin-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 'eslint-plugin-react/lib/rules/boolean-prop-naming' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'eslint-plugin-react/lib/rules/button-has-type' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'eslint-plugin-react/lib/rules/default-props-match-prop-types' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'eslint-plugin-react/lib/rules/destructuring-assignment' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'eslint-plugin-react/lib/rules/display-name' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'eslint-plugin-react/lib/rules/forbid-component-props' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'eslint-plugin-react/lib/rules/forbid-dom-props' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'eslint-plugin-react/lib/rules/forbid-elements' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'eslint-plugin-react/lib/rules/forbid-foreign-prop-types' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'eslint-plugin-react/lib/rules/forbid-prop-types' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'eslint-plugin-react/lib/rules/function-component-definition' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'eslint-plugin-react/lib/rules/jsx-child-element-spacing' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-tag-location' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-brace-presence' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-newline' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'eslint-plugin-react/lib/rules/jsx-equals-spacing' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'eslint-plugin-react/lib/rules/jsx-filename-extension' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'eslint-plugin-react/lib/rules/jsx-first-prop-new-line' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'eslint-plugin-react/lib/rules/jsx-fragments' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'eslint-plugin-react/lib/rules/jsx-handler-names' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'eslint-plugin-react/lib/rules/jsx-indent-props' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'eslint-plugin-react/lib/rules/jsx-indent' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'eslint-plugin-react/lib/rules/jsx-key' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'eslint-plugin-react/lib/rules/jsx-max-depth' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'eslint-plugin-react/lib/rules/jsx-newline' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'eslint-plugin-react/lib/rules/jsx-no-bind' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'eslint-plugin-react/lib/rules/jsx-no-constructed-context-values' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'eslint-plugin-react/lib/rules/jsx-no-literals' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'eslint-plugin-react/lib/rules/jsx-no-script-url' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'eslint-plugin-react/lib/rules/jsx-no-undef' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'eslint-plugin-react/lib/rules/jsx-no-useless-fragment' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'eslint-plugin-react/lib/rules/jsx-props-no-spreading' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-props' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'eslint-plugin-react/lib/rules/jsx-space-before-closing' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'eslint-plugin-react/lib/rules/jsx-tag-spacing' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-react' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'eslint-plugin-react/lib/rules/no-access-state-in-setstate' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'eslint-plugin-react/lib/rules/no-adjacent-inline-elements' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'eslint-plugin-react/lib/rules/no-array-index-key' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'eslint-plugin-react/lib/rules/no-children-prop' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'eslint-plugin-react/lib/rules/no-danger-with-children' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'eslint-plugin-react/lib/rules/no-danger' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'eslint-plugin-react/lib/rules/no-deprecated' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'eslint-plugin-react/lib/rules/no-did-mount-set-state' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'eslint-plugin-react/lib/rules/no-did-update-set-state' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'eslint-plugin-react/lib/rules/no-direct-mutation-state' { 258 | declare module.exports: any; 259 | } 260 | 261 | declare module 'eslint-plugin-react/lib/rules/no-find-dom-node' { 262 | declare module.exports: any; 263 | } 264 | 265 | declare module 'eslint-plugin-react/lib/rules/no-is-mounted' { 266 | declare module.exports: any; 267 | } 268 | 269 | declare module 'eslint-plugin-react/lib/rules/no-multi-comp' { 270 | declare module.exports: any; 271 | } 272 | 273 | declare module 'eslint-plugin-react/lib/rules/no-namespace' { 274 | declare module.exports: any; 275 | } 276 | 277 | declare module 'eslint-plugin-react/lib/rules/no-redundant-should-component-update' { 278 | declare module.exports: any; 279 | } 280 | 281 | declare module 'eslint-plugin-react/lib/rules/no-render-return-value' { 282 | declare module.exports: any; 283 | } 284 | 285 | declare module 'eslint-plugin-react/lib/rules/no-set-state' { 286 | declare module.exports: any; 287 | } 288 | 289 | declare module 'eslint-plugin-react/lib/rules/no-string-refs' { 290 | declare module.exports: any; 291 | } 292 | 293 | declare module 'eslint-plugin-react/lib/rules/no-this-in-sfc' { 294 | declare module.exports: any; 295 | } 296 | 297 | declare module 'eslint-plugin-react/lib/rules/no-typos' { 298 | declare module.exports: any; 299 | } 300 | 301 | declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities' { 302 | declare module.exports: any; 303 | } 304 | 305 | declare module 'eslint-plugin-react/lib/rules/no-unknown-property' { 306 | declare module.exports: any; 307 | } 308 | 309 | declare module 'eslint-plugin-react/lib/rules/no-unsafe' { 310 | declare module.exports: any; 311 | } 312 | 313 | declare module 'eslint-plugin-react/lib/rules/no-unstable-nested-components' { 314 | declare module.exports: any; 315 | } 316 | 317 | declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types' { 318 | declare module.exports: any; 319 | } 320 | 321 | declare module 'eslint-plugin-react/lib/rules/no-unused-state' { 322 | declare module.exports: any; 323 | } 324 | 325 | declare module 'eslint-plugin-react/lib/rules/no-will-update-set-state' { 326 | declare module.exports: any; 327 | } 328 | 329 | declare module 'eslint-plugin-react/lib/rules/prefer-es6-class' { 330 | declare module.exports: any; 331 | } 332 | 333 | declare module 'eslint-plugin-react/lib/rules/prefer-exact-props' { 334 | declare module.exports: any; 335 | } 336 | 337 | declare module 'eslint-plugin-react/lib/rules/prefer-read-only-props' { 338 | declare module.exports: any; 339 | } 340 | 341 | declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function' { 342 | declare module.exports: any; 343 | } 344 | 345 | declare module 'eslint-plugin-react/lib/rules/prop-types' { 346 | declare module.exports: any; 347 | } 348 | 349 | declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope' { 350 | declare module.exports: any; 351 | } 352 | 353 | declare module 'eslint-plugin-react/lib/rules/require-default-props' { 354 | declare module.exports: any; 355 | } 356 | 357 | declare module 'eslint-plugin-react/lib/rules/require-optimization' { 358 | declare module.exports: any; 359 | } 360 | 361 | declare module 'eslint-plugin-react/lib/rules/require-render-return' { 362 | declare module.exports: any; 363 | } 364 | 365 | declare module 'eslint-plugin-react/lib/rules/self-closing-comp' { 366 | declare module.exports: any; 367 | } 368 | 369 | declare module 'eslint-plugin-react/lib/rules/sort-comp' { 370 | declare module.exports: any; 371 | } 372 | 373 | declare module 'eslint-plugin-react/lib/rules/sort-prop-types' { 374 | declare module.exports: any; 375 | } 376 | 377 | declare module 'eslint-plugin-react/lib/rules/state-in-constructor' { 378 | declare module.exports: any; 379 | } 380 | 381 | declare module 'eslint-plugin-react/lib/rules/static-property-placement' { 382 | declare module.exports: any; 383 | } 384 | 385 | declare module 'eslint-plugin-react/lib/rules/style-prop-object' { 386 | declare module.exports: any; 387 | } 388 | 389 | declare module 'eslint-plugin-react/lib/rules/void-dom-elements-no-children' { 390 | declare module.exports: any; 391 | } 392 | 393 | declare module 'eslint-plugin-react/lib/util/annotations' { 394 | declare module.exports: any; 395 | } 396 | 397 | declare module 'eslint-plugin-react/lib/util/ast' { 398 | declare module.exports: any; 399 | } 400 | 401 | declare module 'eslint-plugin-react/lib/util/Components' { 402 | declare module.exports: any; 403 | } 404 | 405 | declare module 'eslint-plugin-react/lib/util/defaultProps' { 406 | declare module.exports: any; 407 | } 408 | 409 | declare module 'eslint-plugin-react/lib/util/docsUrl' { 410 | declare module.exports: any; 411 | } 412 | 413 | declare module 'eslint-plugin-react/lib/util/error' { 414 | declare module.exports: any; 415 | } 416 | 417 | declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket' { 418 | declare module.exports: any; 419 | } 420 | 421 | declare module 'eslint-plugin-react/lib/util/isCreateElement' { 422 | declare module.exports: any; 423 | } 424 | 425 | declare module 'eslint-plugin-react/lib/util/isDestructuredFromPragmaImport' { 426 | declare module.exports: any; 427 | } 428 | 429 | declare module 'eslint-plugin-react/lib/util/isFirstLetterCapitalized' { 430 | declare module.exports: any; 431 | } 432 | 433 | declare module 'eslint-plugin-react/lib/util/jsx' { 434 | declare module.exports: any; 435 | } 436 | 437 | declare module 'eslint-plugin-react/lib/util/linkComponents' { 438 | declare module.exports: any; 439 | } 440 | 441 | declare module 'eslint-plugin-react/lib/util/log' { 442 | declare module.exports: any; 443 | } 444 | 445 | declare module 'eslint-plugin-react/lib/util/makeNoMethodSetStateRule' { 446 | declare module.exports: any; 447 | } 448 | 449 | declare module 'eslint-plugin-react/lib/util/pragma' { 450 | declare module.exports: any; 451 | } 452 | 453 | declare module 'eslint-plugin-react/lib/util/props' { 454 | declare module.exports: any; 455 | } 456 | 457 | declare module 'eslint-plugin-react/lib/util/propTypes' { 458 | declare module.exports: any; 459 | } 460 | 461 | declare module 'eslint-plugin-react/lib/util/propTypesSort' { 462 | declare module.exports: any; 463 | } 464 | 465 | declare module 'eslint-plugin-react/lib/util/propWrapper' { 466 | declare module.exports: any; 467 | } 468 | 469 | declare module 'eslint-plugin-react/lib/util/report' { 470 | declare module.exports: any; 471 | } 472 | 473 | declare module 'eslint-plugin-react/lib/util/usedPropTypes' { 474 | declare module.exports: any; 475 | } 476 | 477 | declare module 'eslint-plugin-react/lib/util/variable' { 478 | declare module.exports: any; 479 | } 480 | 481 | declare module 'eslint-plugin-react/lib/util/version' { 482 | declare module.exports: any; 483 | } 484 | 485 | // Filename aliases 486 | declare module 'eslint-plugin-react/index' { 487 | declare module.exports: $Exports<'eslint-plugin-react'>; 488 | } 489 | declare module 'eslint-plugin-react/index.js' { 490 | declare module.exports: $Exports<'eslint-plugin-react'>; 491 | } 492 | declare module 'eslint-plugin-react/lib/rules/boolean-prop-naming.js' { 493 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/boolean-prop-naming'>; 494 | } 495 | declare module 'eslint-plugin-react/lib/rules/button-has-type.js' { 496 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/button-has-type'>; 497 | } 498 | declare module 'eslint-plugin-react/lib/rules/default-props-match-prop-types.js' { 499 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/default-props-match-prop-types'>; 500 | } 501 | declare module 'eslint-plugin-react/lib/rules/destructuring-assignment.js' { 502 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/destructuring-assignment'>; 503 | } 504 | declare module 'eslint-plugin-react/lib/rules/display-name.js' { 505 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/display-name'>; 506 | } 507 | declare module 'eslint-plugin-react/lib/rules/forbid-component-props.js' { 508 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-component-props'>; 509 | } 510 | declare module 'eslint-plugin-react/lib/rules/forbid-dom-props.js' { 511 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-dom-props'>; 512 | } 513 | declare module 'eslint-plugin-react/lib/rules/forbid-elements.js' { 514 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-elements'>; 515 | } 516 | declare module 'eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js' { 517 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-foreign-prop-types'>; 518 | } 519 | declare module 'eslint-plugin-react/lib/rules/forbid-prop-types.js' { 520 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-prop-types'>; 521 | } 522 | declare module 'eslint-plugin-react/lib/rules/function-component-definition.js' { 523 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/function-component-definition'>; 524 | } 525 | declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value.js' { 526 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-boolean-value'>; 527 | } 528 | declare module 'eslint-plugin-react/lib/rules/jsx-child-element-spacing.js' { 529 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-child-element-spacing'>; 530 | } 531 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js' { 532 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-closing-bracket-location'>; 533 | } 534 | declare module 'eslint-plugin-react/lib/rules/jsx-closing-tag-location.js' { 535 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-closing-tag-location'>; 536 | } 537 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js' { 538 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-brace-presence'>; 539 | } 540 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-newline.js' { 541 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-newline'>; 542 | } 543 | declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing.js' { 544 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-spacing'>; 545 | } 546 | declare module 'eslint-plugin-react/lib/rules/jsx-equals-spacing.js' { 547 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-equals-spacing'>; 548 | } 549 | declare module 'eslint-plugin-react/lib/rules/jsx-filename-extension.js' { 550 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-filename-extension'>; 551 | } 552 | declare module 'eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js' { 553 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-first-prop-new-line'>; 554 | } 555 | declare module 'eslint-plugin-react/lib/rules/jsx-fragments.js' { 556 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-fragments'>; 557 | } 558 | declare module 'eslint-plugin-react/lib/rules/jsx-handler-names.js' { 559 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-handler-names'>; 560 | } 561 | declare module 'eslint-plugin-react/lib/rules/jsx-indent-props.js' { 562 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-indent-props'>; 563 | } 564 | declare module 'eslint-plugin-react/lib/rules/jsx-indent.js' { 565 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-indent'>; 566 | } 567 | declare module 'eslint-plugin-react/lib/rules/jsx-key.js' { 568 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-key'>; 569 | } 570 | declare module 'eslint-plugin-react/lib/rules/jsx-max-depth.js' { 571 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-max-depth'>; 572 | } 573 | declare module 'eslint-plugin-react/lib/rules/jsx-max-props-per-line.js' { 574 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-max-props-per-line'>; 575 | } 576 | declare module 'eslint-plugin-react/lib/rules/jsx-newline.js' { 577 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-newline'>; 578 | } 579 | declare module 'eslint-plugin-react/lib/rules/jsx-no-bind.js' { 580 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-bind'>; 581 | } 582 | declare module 'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js' { 583 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-comment-textnodes'>; 584 | } 585 | declare module 'eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js' { 586 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-constructed-context-values'>; 587 | } 588 | declare module 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js' { 589 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-duplicate-props'>; 590 | } 591 | declare module 'eslint-plugin-react/lib/rules/jsx-no-literals.js' { 592 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-literals'>; 593 | } 594 | declare module 'eslint-plugin-react/lib/rules/jsx-no-script-url.js' { 595 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-script-url'>; 596 | } 597 | declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank.js' { 598 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-target-blank'>; 599 | } 600 | declare module 'eslint-plugin-react/lib/rules/jsx-no-undef.js' { 601 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-undef'>; 602 | } 603 | declare module 'eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js' { 604 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-useless-fragment'>; 605 | } 606 | declare module 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js' { 607 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-one-expression-per-line'>; 608 | } 609 | declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case.js' { 610 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-pascal-case'>; 611 | } 612 | declare module 'eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js' { 613 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces'>; 614 | } 615 | declare module 'eslint-plugin-react/lib/rules/jsx-props-no-spreading.js' { 616 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-props-no-spreading'>; 617 | } 618 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props.js' { 619 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-sort-default-props'>; 620 | } 621 | declare module 'eslint-plugin-react/lib/rules/jsx-sort-props.js' { 622 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-sort-props'>; 623 | } 624 | declare module 'eslint-plugin-react/lib/rules/jsx-space-before-closing.js' { 625 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-space-before-closing'>; 626 | } 627 | declare module 'eslint-plugin-react/lib/rules/jsx-tag-spacing.js' { 628 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-tag-spacing'>; 629 | } 630 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-react.js' { 631 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-uses-react'>; 632 | } 633 | declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars.js' { 634 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-uses-vars'>; 635 | } 636 | declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines.js' { 637 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-wrap-multilines'>; 638 | } 639 | declare module 'eslint-plugin-react/lib/rules/no-access-state-in-setstate.js' { 640 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-access-state-in-setstate'>; 641 | } 642 | declare module 'eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js' { 643 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-adjacent-inline-elements'>; 644 | } 645 | declare module 'eslint-plugin-react/lib/rules/no-array-index-key.js' { 646 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-array-index-key'>; 647 | } 648 | declare module 'eslint-plugin-react/lib/rules/no-children-prop.js' { 649 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-children-prop'>; 650 | } 651 | declare module 'eslint-plugin-react/lib/rules/no-danger-with-children.js' { 652 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-danger-with-children'>; 653 | } 654 | declare module 'eslint-plugin-react/lib/rules/no-danger.js' { 655 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-danger'>; 656 | } 657 | declare module 'eslint-plugin-react/lib/rules/no-deprecated.js' { 658 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-deprecated'>; 659 | } 660 | declare module 'eslint-plugin-react/lib/rules/no-did-mount-set-state.js' { 661 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-did-mount-set-state'>; 662 | } 663 | declare module 'eslint-plugin-react/lib/rules/no-did-update-set-state.js' { 664 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-did-update-set-state'>; 665 | } 666 | declare module 'eslint-plugin-react/lib/rules/no-direct-mutation-state.js' { 667 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-direct-mutation-state'>; 668 | } 669 | declare module 'eslint-plugin-react/lib/rules/no-find-dom-node.js' { 670 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-find-dom-node'>; 671 | } 672 | declare module 'eslint-plugin-react/lib/rules/no-is-mounted.js' { 673 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-is-mounted'>; 674 | } 675 | declare module 'eslint-plugin-react/lib/rules/no-multi-comp.js' { 676 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-multi-comp'>; 677 | } 678 | declare module 'eslint-plugin-react/lib/rules/no-namespace.js' { 679 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-namespace'>; 680 | } 681 | declare module 'eslint-plugin-react/lib/rules/no-redundant-should-component-update.js' { 682 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-redundant-should-component-update'>; 683 | } 684 | declare module 'eslint-plugin-react/lib/rules/no-render-return-value.js' { 685 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-render-return-value'>; 686 | } 687 | declare module 'eslint-plugin-react/lib/rules/no-set-state.js' { 688 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-set-state'>; 689 | } 690 | declare module 'eslint-plugin-react/lib/rules/no-string-refs.js' { 691 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-string-refs'>; 692 | } 693 | declare module 'eslint-plugin-react/lib/rules/no-this-in-sfc.js' { 694 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-this-in-sfc'>; 695 | } 696 | declare module 'eslint-plugin-react/lib/rules/no-typos.js' { 697 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-typos'>; 698 | } 699 | declare module 'eslint-plugin-react/lib/rules/no-unescaped-entities.js' { 700 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unescaped-entities'>; 701 | } 702 | declare module 'eslint-plugin-react/lib/rules/no-unknown-property.js' { 703 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unknown-property'>; 704 | } 705 | declare module 'eslint-plugin-react/lib/rules/no-unsafe.js' { 706 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unsafe'>; 707 | } 708 | declare module 'eslint-plugin-react/lib/rules/no-unstable-nested-components.js' { 709 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unstable-nested-components'>; 710 | } 711 | declare module 'eslint-plugin-react/lib/rules/no-unused-prop-types.js' { 712 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unused-prop-types'>; 713 | } 714 | declare module 'eslint-plugin-react/lib/rules/no-unused-state.js' { 715 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-unused-state'>; 716 | } 717 | declare module 'eslint-plugin-react/lib/rules/no-will-update-set-state.js' { 718 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-will-update-set-state'>; 719 | } 720 | declare module 'eslint-plugin-react/lib/rules/prefer-es6-class.js' { 721 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-es6-class'>; 722 | } 723 | declare module 'eslint-plugin-react/lib/rules/prefer-exact-props.js' { 724 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-exact-props'>; 725 | } 726 | declare module 'eslint-plugin-react/lib/rules/prefer-read-only-props.js' { 727 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-read-only-props'>; 728 | } 729 | declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function.js' { 730 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-stateless-function'>; 731 | } 732 | declare module 'eslint-plugin-react/lib/rules/prop-types.js' { 733 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prop-types'>; 734 | } 735 | declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope.js' { 736 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/react-in-jsx-scope'>; 737 | } 738 | declare module 'eslint-plugin-react/lib/rules/require-default-props.js' { 739 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-default-props'>; 740 | } 741 | declare module 'eslint-plugin-react/lib/rules/require-optimization.js' { 742 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-optimization'>; 743 | } 744 | declare module 'eslint-plugin-react/lib/rules/require-render-return.js' { 745 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-render-return'>; 746 | } 747 | declare module 'eslint-plugin-react/lib/rules/self-closing-comp.js' { 748 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/self-closing-comp'>; 749 | } 750 | declare module 'eslint-plugin-react/lib/rules/sort-comp.js' { 751 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/sort-comp'>; 752 | } 753 | declare module 'eslint-plugin-react/lib/rules/sort-prop-types.js' { 754 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/sort-prop-types'>; 755 | } 756 | declare module 'eslint-plugin-react/lib/rules/state-in-constructor.js' { 757 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/state-in-constructor'>; 758 | } 759 | declare module 'eslint-plugin-react/lib/rules/static-property-placement.js' { 760 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/static-property-placement'>; 761 | } 762 | declare module 'eslint-plugin-react/lib/rules/style-prop-object.js' { 763 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/style-prop-object'>; 764 | } 765 | declare module 'eslint-plugin-react/lib/rules/void-dom-elements-no-children.js' { 766 | declare module.exports: $Exports<'eslint-plugin-react/lib/rules/void-dom-elements-no-children'>; 767 | } 768 | declare module 'eslint-plugin-react/lib/util/annotations.js' { 769 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/annotations'>; 770 | } 771 | declare module 'eslint-plugin-react/lib/util/ast.js' { 772 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/ast'>; 773 | } 774 | declare module 'eslint-plugin-react/lib/util/Components.js' { 775 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/Components'>; 776 | } 777 | declare module 'eslint-plugin-react/lib/util/defaultProps.js' { 778 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/defaultProps'>; 779 | } 780 | declare module 'eslint-plugin-react/lib/util/docsUrl.js' { 781 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/docsUrl'>; 782 | } 783 | declare module 'eslint-plugin-react/lib/util/error.js' { 784 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/error'>; 785 | } 786 | declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js' { 787 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket'>; 788 | } 789 | declare module 'eslint-plugin-react/lib/util/isCreateElement.js' { 790 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/isCreateElement'>; 791 | } 792 | declare module 'eslint-plugin-react/lib/util/isDestructuredFromPragmaImport.js' { 793 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/isDestructuredFromPragmaImport'>; 794 | } 795 | declare module 'eslint-plugin-react/lib/util/isFirstLetterCapitalized.js' { 796 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/isFirstLetterCapitalized'>; 797 | } 798 | declare module 'eslint-plugin-react/lib/util/jsx.js' { 799 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/jsx'>; 800 | } 801 | declare module 'eslint-plugin-react/lib/util/linkComponents.js' { 802 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/linkComponents'>; 803 | } 804 | declare module 'eslint-plugin-react/lib/util/log.js' { 805 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/log'>; 806 | } 807 | declare module 'eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js' { 808 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/makeNoMethodSetStateRule'>; 809 | } 810 | declare module 'eslint-plugin-react/lib/util/pragma.js' { 811 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/pragma'>; 812 | } 813 | declare module 'eslint-plugin-react/lib/util/props.js' { 814 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/props'>; 815 | } 816 | declare module 'eslint-plugin-react/lib/util/propTypes.js' { 817 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/propTypes'>; 818 | } 819 | declare module 'eslint-plugin-react/lib/util/propTypesSort.js' { 820 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/propTypesSort'>; 821 | } 822 | declare module 'eslint-plugin-react/lib/util/propWrapper.js' { 823 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/propWrapper'>; 824 | } 825 | declare module 'eslint-plugin-react/lib/util/report.js' { 826 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/report'>; 827 | } 828 | declare module 'eslint-plugin-react/lib/util/usedPropTypes.js' { 829 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/usedPropTypes'>; 830 | } 831 | declare module 'eslint-plugin-react/lib/util/variable.js' { 832 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/variable'>; 833 | } 834 | declare module 'eslint-plugin-react/lib/util/version.js' { 835 | declare module.exports: $Exports<'eslint-plugin-react/lib/util/version'>; 836 | } 837 | -------------------------------------------------------------------------------- /flow-typed/npm/flow-bin_v0.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 28fdff7f110e1c75efab63ff205dda30 2 | // flow-typed version: c6154227d1/flow-bin_v0.x.x/flow_>=v0.104.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: 462357ce50d0b6650a8f0a753457c185 2 | // flow-typed version: <>/flow-copy-source_vhttps://github.com/jedwards1211/flow-copy-source#no-watch/flow_v0.161.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/index.test' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'flow-copy-source/src/kefir-copy-file' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'flow-copy-source/src/kefir-glob' { 42 | declare module.exports: any; 43 | } 44 | 45 | // Filename aliases 46 | declare module 'flow-copy-source/bin/flow-copy-source.js' { 47 | declare module.exports: $Exports<'flow-copy-source/bin/flow-copy-source'>; 48 | } 49 | declare module 'flow-copy-source/src/index' { 50 | declare module.exports: $Exports<'flow-copy-source/src'>; 51 | } 52 | declare module 'flow-copy-source/src/index.js' { 53 | declare module.exports: $Exports<'flow-copy-source/src'>; 54 | } 55 | declare module 'flow-copy-source/src/index.test.js' { 56 | declare module.exports: $Exports<'flow-copy-source/src/index.test'>; 57 | } 58 | declare module 'flow-copy-source/src/kefir-copy-file.js' { 59 | declare module.exports: $Exports<'flow-copy-source/src/kefir-copy-file'>; 60 | } 61 | declare module 'flow-copy-source/src/kefir-glob.js' { 62 | declare module.exports: $Exports<'flow-copy-source/src/kefir-glob'>; 63 | } 64 | -------------------------------------------------------------------------------- /flow-typed/npm/husky_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 75e5d712162d6361e53e309e2b7a05c5 2 | // flow-typed version: <>/husky_v^7.0.2/flow_v0.161.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/lib/bin' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'husky/lib' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'husky/lib/bin.js' { 35 | declare module.exports: $Exports<'husky/lib/bin'>; 36 | } 37 | declare module 'husky/lib/index' { 38 | declare module.exports: $Exports<'husky/lib'>; 39 | } 40 | declare module 'husky/lib/index.js' { 41 | declare module.exports: $Exports<'husky/lib'>; 42 | } 43 | -------------------------------------------------------------------------------- /flow-typed/npm/jsdom-global_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 9d66cb31c07d8cd24a96d83b4bf67f6f 2 | // flow-typed version: <>/jsdom-global_v^3.0.2/flow_v0.161.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'jsdom-global' 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 'jsdom-global' { 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 'jsdom-global/browser' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'jsdom-global/keys' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'jsdom-global/register' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'jsdom-global/test' { 38 | declare module.exports: any; 39 | } 40 | 41 | // Filename aliases 42 | declare module 'jsdom-global/browser.js' { 43 | declare module.exports: $Exports<'jsdom-global/browser'>; 44 | } 45 | declare module 'jsdom-global/index' { 46 | declare module.exports: $Exports<'jsdom-global'>; 47 | } 48 | declare module 'jsdom-global/index.js' { 49 | declare module.exports: $Exports<'jsdom-global'>; 50 | } 51 | declare module 'jsdom-global/keys.js' { 52 | declare module.exports: $Exports<'jsdom-global/keys'>; 53 | } 54 | declare module 'jsdom-global/register.js' { 55 | declare module.exports: $Exports<'jsdom-global/register'>; 56 | } 57 | declare module 'jsdom-global/test.js' { 58 | declare module.exports: $Exports<'jsdom-global/test'>; 59 | } 60 | -------------------------------------------------------------------------------- /flow-typed/npm/lint-staged_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 1e04901fdaeb438e52216c7ac3541f90 2 | // flow-typed version: <>/lint-staged_v^11.1.2/flow_v0.161.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/bin/lint-staged' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'lint-staged/lib/chunkFiles' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'lint-staged/lib/execGit' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'lint-staged/lib/file' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'lint-staged/lib/generateTasks' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'lint-staged/lib/getRenderer' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'lint-staged/lib/getStagedFiles' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'lint-staged/lib/gitWorkflow' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'lint-staged/lib' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'lint-staged/lib/makeCmdTasks' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'lint-staged/lib/messages' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'lint-staged/lib/printTaskOutput' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'lint-staged/lib/resolveGitRepo' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'lint-staged/lib/resolveTaskFn' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'lint-staged/lib/runAll' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'lint-staged/lib/state' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'lint-staged/lib/symbols' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'lint-staged/lib/validateBraces' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'lint-staged/lib/validateConfig' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'lint-staged/lib/validateOptions' { 102 | declare module.exports: any; 103 | } 104 | 105 | // Filename aliases 106 | declare module 'lint-staged/bin/lint-staged.js' { 107 | declare module.exports: $Exports<'lint-staged/bin/lint-staged'>; 108 | } 109 | declare module 'lint-staged/lib/chunkFiles.js' { 110 | declare module.exports: $Exports<'lint-staged/lib/chunkFiles'>; 111 | } 112 | declare module 'lint-staged/lib/execGit.js' { 113 | declare module.exports: $Exports<'lint-staged/lib/execGit'>; 114 | } 115 | declare module 'lint-staged/lib/file.js' { 116 | declare module.exports: $Exports<'lint-staged/lib/file'>; 117 | } 118 | declare module 'lint-staged/lib/generateTasks.js' { 119 | declare module.exports: $Exports<'lint-staged/lib/generateTasks'>; 120 | } 121 | declare module 'lint-staged/lib/getRenderer.js' { 122 | declare module.exports: $Exports<'lint-staged/lib/getRenderer'>; 123 | } 124 | declare module 'lint-staged/lib/getStagedFiles.js' { 125 | declare module.exports: $Exports<'lint-staged/lib/getStagedFiles'>; 126 | } 127 | declare module 'lint-staged/lib/gitWorkflow.js' { 128 | declare module.exports: $Exports<'lint-staged/lib/gitWorkflow'>; 129 | } 130 | declare module 'lint-staged/lib/index' { 131 | declare module.exports: $Exports<'lint-staged/lib'>; 132 | } 133 | declare module 'lint-staged/lib/index.js' { 134 | declare module.exports: $Exports<'lint-staged/lib'>; 135 | } 136 | declare module 'lint-staged/lib/makeCmdTasks.js' { 137 | declare module.exports: $Exports<'lint-staged/lib/makeCmdTasks'>; 138 | } 139 | declare module 'lint-staged/lib/messages.js' { 140 | declare module.exports: $Exports<'lint-staged/lib/messages'>; 141 | } 142 | declare module 'lint-staged/lib/printTaskOutput.js' { 143 | declare module.exports: $Exports<'lint-staged/lib/printTaskOutput'>; 144 | } 145 | declare module 'lint-staged/lib/resolveGitRepo.js' { 146 | declare module.exports: $Exports<'lint-staged/lib/resolveGitRepo'>; 147 | } 148 | declare module 'lint-staged/lib/resolveTaskFn.js' { 149 | declare module.exports: $Exports<'lint-staged/lib/resolveTaskFn'>; 150 | } 151 | declare module 'lint-staged/lib/runAll.js' { 152 | declare module.exports: $Exports<'lint-staged/lib/runAll'>; 153 | } 154 | declare module 'lint-staged/lib/state.js' { 155 | declare module.exports: $Exports<'lint-staged/lib/state'>; 156 | } 157 | declare module 'lint-staged/lib/symbols.js' { 158 | declare module.exports: $Exports<'lint-staged/lib/symbols'>; 159 | } 160 | declare module 'lint-staged/lib/validateBraces.js' { 161 | declare module.exports: $Exports<'lint-staged/lib/validateBraces'>; 162 | } 163 | declare module 'lint-staged/lib/validateConfig.js' { 164 | declare module.exports: $Exports<'lint-staged/lib/validateConfig'>; 165 | } 166 | declare module 'lint-staged/lib/validateOptions.js' { 167 | declare module.exports: $Exports<'lint-staged/lib/validateOptions'>; 168 | } 169 | -------------------------------------------------------------------------------- /flow-typed/npm/mocha_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 9b2aaeae2db8fe6e62eec1d2e7a4c8fd 2 | // flow-typed version: <>/mocha_v^9.1.2/flow_v0.161.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '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 '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 'mocha/browser-entry' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'mocha/lib/browser/growl' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'mocha/lib/browser/highlight-tags' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'mocha/lib/browser/parse-query' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'mocha/lib/browser/progress' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'mocha/lib/cli/cli' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'mocha/lib/cli/collect-files' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'mocha/lib/cli/commands' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'mocha/lib/cli/config' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'mocha/lib/cli' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'mocha/lib/cli/init' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'mocha/lib/cli/lookup-files' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'mocha/lib/cli/node-flags' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'mocha/lib/cli/one-and-dones' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'mocha/lib/cli/options' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'mocha/lib/cli/run-helpers' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'mocha/lib/cli/run-option-metadata' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'mocha/lib/cli/run' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'mocha/lib/cli/watch-run' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'mocha/lib/context' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'mocha/lib/errors' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'mocha/lib/hook' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'mocha/lib/interfaces/bdd' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'mocha/lib/interfaces/common' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'mocha/lib/interfaces/exports' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'mocha/lib/interfaces' { 126 | declare module.exports: any; 127 | } 128 | 129 | declare module 'mocha/lib/interfaces/qunit' { 130 | declare module.exports: any; 131 | } 132 | 133 | declare module 'mocha/lib/interfaces/tdd' { 134 | declare module.exports: any; 135 | } 136 | 137 | declare module 'mocha/lib/mocha' { 138 | declare module.exports: any; 139 | } 140 | 141 | declare module 'mocha/lib/nodejs/buffered-worker-pool' { 142 | declare module.exports: any; 143 | } 144 | 145 | declare module 'mocha/lib/nodejs/esm-utils' { 146 | declare module.exports: any; 147 | } 148 | 149 | declare module 'mocha/lib/nodejs/file-unloader' { 150 | declare module.exports: any; 151 | } 152 | 153 | declare module 'mocha/lib/nodejs/growl' { 154 | declare module.exports: any; 155 | } 156 | 157 | declare module 'mocha/lib/nodejs/parallel-buffered-runner' { 158 | declare module.exports: any; 159 | } 160 | 161 | declare module 'mocha/lib/nodejs/reporters/parallel-buffered' { 162 | declare module.exports: any; 163 | } 164 | 165 | declare module 'mocha/lib/nodejs/serializer' { 166 | declare module.exports: any; 167 | } 168 | 169 | declare module 'mocha/lib/nodejs/worker' { 170 | declare module.exports: any; 171 | } 172 | 173 | declare module 'mocha/lib/pending' { 174 | declare module.exports: any; 175 | } 176 | 177 | declare module 'mocha/lib/plugin-loader' { 178 | declare module.exports: any; 179 | } 180 | 181 | declare module 'mocha/lib/reporters/base' { 182 | declare module.exports: any; 183 | } 184 | 185 | declare module 'mocha/lib/reporters/doc' { 186 | declare module.exports: any; 187 | } 188 | 189 | declare module 'mocha/lib/reporters/dot' { 190 | declare module.exports: any; 191 | } 192 | 193 | declare module 'mocha/lib/reporters/html' { 194 | declare module.exports: any; 195 | } 196 | 197 | declare module 'mocha/lib/reporters' { 198 | declare module.exports: any; 199 | } 200 | 201 | declare module 'mocha/lib/reporters/json-stream' { 202 | declare module.exports: any; 203 | } 204 | 205 | declare module 'mocha/lib/reporters/json' { 206 | declare module.exports: any; 207 | } 208 | 209 | declare module 'mocha/lib/reporters/landing' { 210 | declare module.exports: any; 211 | } 212 | 213 | declare module 'mocha/lib/reporters/list' { 214 | declare module.exports: any; 215 | } 216 | 217 | declare module 'mocha/lib/reporters/markdown' { 218 | declare module.exports: any; 219 | } 220 | 221 | declare module 'mocha/lib/reporters/min' { 222 | declare module.exports: any; 223 | } 224 | 225 | declare module 'mocha/lib/reporters/nyan' { 226 | declare module.exports: any; 227 | } 228 | 229 | declare module 'mocha/lib/reporters/progress' { 230 | declare module.exports: any; 231 | } 232 | 233 | declare module 'mocha/lib/reporters/spec' { 234 | declare module.exports: any; 235 | } 236 | 237 | declare module 'mocha/lib/reporters/tap' { 238 | declare module.exports: any; 239 | } 240 | 241 | declare module 'mocha/lib/reporters/xunit' { 242 | declare module.exports: any; 243 | } 244 | 245 | declare module 'mocha/lib/runnable' { 246 | declare module.exports: any; 247 | } 248 | 249 | declare module 'mocha/lib/runner' { 250 | declare module.exports: any; 251 | } 252 | 253 | declare module 'mocha/lib/stats-collector' { 254 | declare module.exports: any; 255 | } 256 | 257 | declare module 'mocha/lib/suite' { 258 | declare module.exports: any; 259 | } 260 | 261 | declare module 'mocha/lib/test' { 262 | declare module.exports: any; 263 | } 264 | 265 | declare module 'mocha/lib/utils' { 266 | declare module.exports: any; 267 | } 268 | 269 | declare module 'mocha/mocha-es2018' { 270 | declare module.exports: any; 271 | } 272 | 273 | declare module 'mocha/mocha' { 274 | declare module.exports: any; 275 | } 276 | 277 | // Filename aliases 278 | declare module 'mocha/browser-entry.js' { 279 | declare module.exports: $Exports<'mocha/browser-entry'>; 280 | } 281 | declare module 'mocha/index' { 282 | declare module.exports: $Exports<'mocha'>; 283 | } 284 | declare module 'mocha/index.js' { 285 | declare module.exports: $Exports<'mocha'>; 286 | } 287 | declare module 'mocha/lib/browser/growl.js' { 288 | declare module.exports: $Exports<'mocha/lib/browser/growl'>; 289 | } 290 | declare module 'mocha/lib/browser/highlight-tags.js' { 291 | declare module.exports: $Exports<'mocha/lib/browser/highlight-tags'>; 292 | } 293 | declare module 'mocha/lib/browser/parse-query.js' { 294 | declare module.exports: $Exports<'mocha/lib/browser/parse-query'>; 295 | } 296 | declare module 'mocha/lib/browser/progress.js' { 297 | declare module.exports: $Exports<'mocha/lib/browser/progress'>; 298 | } 299 | declare module 'mocha/lib/cli/cli.js' { 300 | declare module.exports: $Exports<'mocha/lib/cli/cli'>; 301 | } 302 | declare module 'mocha/lib/cli/collect-files.js' { 303 | declare module.exports: $Exports<'mocha/lib/cli/collect-files'>; 304 | } 305 | declare module 'mocha/lib/cli/commands.js' { 306 | declare module.exports: $Exports<'mocha/lib/cli/commands'>; 307 | } 308 | declare module 'mocha/lib/cli/config.js' { 309 | declare module.exports: $Exports<'mocha/lib/cli/config'>; 310 | } 311 | declare module 'mocha/lib/cli/index' { 312 | declare module.exports: $Exports<'mocha/lib/cli'>; 313 | } 314 | declare module 'mocha/lib/cli/index.js' { 315 | declare module.exports: $Exports<'mocha/lib/cli'>; 316 | } 317 | declare module 'mocha/lib/cli/init.js' { 318 | declare module.exports: $Exports<'mocha/lib/cli/init'>; 319 | } 320 | declare module 'mocha/lib/cli/lookup-files.js' { 321 | declare module.exports: $Exports<'mocha/lib/cli/lookup-files'>; 322 | } 323 | declare module 'mocha/lib/cli/node-flags.js' { 324 | declare module.exports: $Exports<'mocha/lib/cli/node-flags'>; 325 | } 326 | declare module 'mocha/lib/cli/one-and-dones.js' { 327 | declare module.exports: $Exports<'mocha/lib/cli/one-and-dones'>; 328 | } 329 | declare module 'mocha/lib/cli/options.js' { 330 | declare module.exports: $Exports<'mocha/lib/cli/options'>; 331 | } 332 | declare module 'mocha/lib/cli/run-helpers.js' { 333 | declare module.exports: $Exports<'mocha/lib/cli/run-helpers'>; 334 | } 335 | declare module 'mocha/lib/cli/run-option-metadata.js' { 336 | declare module.exports: $Exports<'mocha/lib/cli/run-option-metadata'>; 337 | } 338 | declare module 'mocha/lib/cli/run.js' { 339 | declare module.exports: $Exports<'mocha/lib/cli/run'>; 340 | } 341 | declare module 'mocha/lib/cli/watch-run.js' { 342 | declare module.exports: $Exports<'mocha/lib/cli/watch-run'>; 343 | } 344 | declare module 'mocha/lib/context.js' { 345 | declare module.exports: $Exports<'mocha/lib/context'>; 346 | } 347 | declare module 'mocha/lib/errors.js' { 348 | declare module.exports: $Exports<'mocha/lib/errors'>; 349 | } 350 | declare module 'mocha/lib/hook.js' { 351 | declare module.exports: $Exports<'mocha/lib/hook'>; 352 | } 353 | declare module 'mocha/lib/interfaces/bdd.js' { 354 | declare module.exports: $Exports<'mocha/lib/interfaces/bdd'>; 355 | } 356 | declare module 'mocha/lib/interfaces/common.js' { 357 | declare module.exports: $Exports<'mocha/lib/interfaces/common'>; 358 | } 359 | declare module 'mocha/lib/interfaces/exports.js' { 360 | declare module.exports: $Exports<'mocha/lib/interfaces/exports'>; 361 | } 362 | declare module 'mocha/lib/interfaces/index' { 363 | declare module.exports: $Exports<'mocha/lib/interfaces'>; 364 | } 365 | declare module 'mocha/lib/interfaces/index.js' { 366 | declare module.exports: $Exports<'mocha/lib/interfaces'>; 367 | } 368 | declare module 'mocha/lib/interfaces/qunit.js' { 369 | declare module.exports: $Exports<'mocha/lib/interfaces/qunit'>; 370 | } 371 | declare module 'mocha/lib/interfaces/tdd.js' { 372 | declare module.exports: $Exports<'mocha/lib/interfaces/tdd'>; 373 | } 374 | declare module 'mocha/lib/mocha.js' { 375 | declare module.exports: $Exports<'mocha/lib/mocha'>; 376 | } 377 | declare module 'mocha/lib/nodejs/buffered-worker-pool.js' { 378 | declare module.exports: $Exports<'mocha/lib/nodejs/buffered-worker-pool'>; 379 | } 380 | declare module 'mocha/lib/nodejs/esm-utils.js' { 381 | declare module.exports: $Exports<'mocha/lib/nodejs/esm-utils'>; 382 | } 383 | declare module 'mocha/lib/nodejs/file-unloader.js' { 384 | declare module.exports: $Exports<'mocha/lib/nodejs/file-unloader'>; 385 | } 386 | declare module 'mocha/lib/nodejs/growl.js' { 387 | declare module.exports: $Exports<'mocha/lib/nodejs/growl'>; 388 | } 389 | declare module 'mocha/lib/nodejs/parallel-buffered-runner.js' { 390 | declare module.exports: $Exports<'mocha/lib/nodejs/parallel-buffered-runner'>; 391 | } 392 | declare module 'mocha/lib/nodejs/reporters/parallel-buffered.js' { 393 | declare module.exports: $Exports<'mocha/lib/nodejs/reporters/parallel-buffered'>; 394 | } 395 | declare module 'mocha/lib/nodejs/serializer.js' { 396 | declare module.exports: $Exports<'mocha/lib/nodejs/serializer'>; 397 | } 398 | declare module 'mocha/lib/nodejs/worker.js' { 399 | declare module.exports: $Exports<'mocha/lib/nodejs/worker'>; 400 | } 401 | declare module 'mocha/lib/pending.js' { 402 | declare module.exports: $Exports<'mocha/lib/pending'>; 403 | } 404 | declare module 'mocha/lib/plugin-loader.js' { 405 | declare module.exports: $Exports<'mocha/lib/plugin-loader'>; 406 | } 407 | declare module 'mocha/lib/reporters/base.js' { 408 | declare module.exports: $Exports<'mocha/lib/reporters/base'>; 409 | } 410 | declare module 'mocha/lib/reporters/doc.js' { 411 | declare module.exports: $Exports<'mocha/lib/reporters/doc'>; 412 | } 413 | declare module 'mocha/lib/reporters/dot.js' { 414 | declare module.exports: $Exports<'mocha/lib/reporters/dot'>; 415 | } 416 | declare module 'mocha/lib/reporters/html.js' { 417 | declare module.exports: $Exports<'mocha/lib/reporters/html'>; 418 | } 419 | declare module 'mocha/lib/reporters/index' { 420 | declare module.exports: $Exports<'mocha/lib/reporters'>; 421 | } 422 | declare module 'mocha/lib/reporters/index.js' { 423 | declare module.exports: $Exports<'mocha/lib/reporters'>; 424 | } 425 | declare module 'mocha/lib/reporters/json-stream.js' { 426 | declare module.exports: $Exports<'mocha/lib/reporters/json-stream'>; 427 | } 428 | declare module 'mocha/lib/reporters/json.js' { 429 | declare module.exports: $Exports<'mocha/lib/reporters/json'>; 430 | } 431 | declare module 'mocha/lib/reporters/landing.js' { 432 | declare module.exports: $Exports<'mocha/lib/reporters/landing'>; 433 | } 434 | declare module 'mocha/lib/reporters/list.js' { 435 | declare module.exports: $Exports<'mocha/lib/reporters/list'>; 436 | } 437 | declare module 'mocha/lib/reporters/markdown.js' { 438 | declare module.exports: $Exports<'mocha/lib/reporters/markdown'>; 439 | } 440 | declare module 'mocha/lib/reporters/min.js' { 441 | declare module.exports: $Exports<'mocha/lib/reporters/min'>; 442 | } 443 | declare module 'mocha/lib/reporters/nyan.js' { 444 | declare module.exports: $Exports<'mocha/lib/reporters/nyan'>; 445 | } 446 | declare module 'mocha/lib/reporters/progress.js' { 447 | declare module.exports: $Exports<'mocha/lib/reporters/progress'>; 448 | } 449 | declare module 'mocha/lib/reporters/spec.js' { 450 | declare module.exports: $Exports<'mocha/lib/reporters/spec'>; 451 | } 452 | declare module 'mocha/lib/reporters/tap.js' { 453 | declare module.exports: $Exports<'mocha/lib/reporters/tap'>; 454 | } 455 | declare module 'mocha/lib/reporters/xunit.js' { 456 | declare module.exports: $Exports<'mocha/lib/reporters/xunit'>; 457 | } 458 | declare module 'mocha/lib/runnable.js' { 459 | declare module.exports: $Exports<'mocha/lib/runnable'>; 460 | } 461 | declare module 'mocha/lib/runner.js' { 462 | declare module.exports: $Exports<'mocha/lib/runner'>; 463 | } 464 | declare module 'mocha/lib/stats-collector.js' { 465 | declare module.exports: $Exports<'mocha/lib/stats-collector'>; 466 | } 467 | declare module 'mocha/lib/suite.js' { 468 | declare module.exports: $Exports<'mocha/lib/suite'>; 469 | } 470 | declare module 'mocha/lib/test.js' { 471 | declare module.exports: $Exports<'mocha/lib/test'>; 472 | } 473 | declare module 'mocha/lib/utils.js' { 474 | declare module.exports: $Exports<'mocha/lib/utils'>; 475 | } 476 | declare module 'mocha/mocha-es2018.js' { 477 | declare module.exports: $Exports<'mocha/mocha-es2018'>; 478 | } 479 | declare module 'mocha/mocha.js' { 480 | declare module.exports: $Exports<'mocha/mocha'>; 481 | } 482 | -------------------------------------------------------------------------------- /flow-typed/npm/nyc_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 46c2f582f3e22efd7a18f98ab8c385b8 2 | // flow-typed version: <>/nyc_v^15.1.0/flow_v0.161.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/helpers' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'nyc/lib/commands/instrument' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'nyc/lib/commands/merge' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'nyc/lib/commands/report' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'nyc/lib/config-util' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'nyc/lib/fs-promises' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'nyc/lib/hash' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'nyc/lib/instrumenters/istanbul' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'nyc/lib/instrumenters/noop' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'nyc/lib/process-args' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'nyc/lib/register-env' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'nyc/lib/source-maps' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'nyc/lib/wrap' { 86 | declare module.exports: any; 87 | } 88 | 89 | // Filename aliases 90 | declare module 'nyc/bin/nyc.js' { 91 | declare module.exports: $Exports<'nyc/bin/nyc'>; 92 | } 93 | declare module 'nyc/bin/wrap.js' { 94 | declare module.exports: $Exports<'nyc/bin/wrap'>; 95 | } 96 | declare module 'nyc/index' { 97 | declare module.exports: $Exports<'nyc'>; 98 | } 99 | declare module 'nyc/index.js' { 100 | declare module.exports: $Exports<'nyc'>; 101 | } 102 | declare module 'nyc/lib/commands/check-coverage.js' { 103 | declare module.exports: $Exports<'nyc/lib/commands/check-coverage'>; 104 | } 105 | declare module 'nyc/lib/commands/helpers.js' { 106 | declare module.exports: $Exports<'nyc/lib/commands/helpers'>; 107 | } 108 | declare module 'nyc/lib/commands/instrument.js' { 109 | declare module.exports: $Exports<'nyc/lib/commands/instrument'>; 110 | } 111 | declare module 'nyc/lib/commands/merge.js' { 112 | declare module.exports: $Exports<'nyc/lib/commands/merge'>; 113 | } 114 | declare module 'nyc/lib/commands/report.js' { 115 | declare module.exports: $Exports<'nyc/lib/commands/report'>; 116 | } 117 | declare module 'nyc/lib/config-util.js' { 118 | declare module.exports: $Exports<'nyc/lib/config-util'>; 119 | } 120 | declare module 'nyc/lib/fs-promises.js' { 121 | declare module.exports: $Exports<'nyc/lib/fs-promises'>; 122 | } 123 | declare module 'nyc/lib/hash.js' { 124 | declare module.exports: $Exports<'nyc/lib/hash'>; 125 | } 126 | declare module 'nyc/lib/instrumenters/istanbul.js' { 127 | declare module.exports: $Exports<'nyc/lib/instrumenters/istanbul'>; 128 | } 129 | declare module 'nyc/lib/instrumenters/noop.js' { 130 | declare module.exports: $Exports<'nyc/lib/instrumenters/noop'>; 131 | } 132 | declare module 'nyc/lib/process-args.js' { 133 | declare module.exports: $Exports<'nyc/lib/process-args'>; 134 | } 135 | declare module 'nyc/lib/register-env.js' { 136 | declare module.exports: $Exports<'nyc/lib/register-env'>; 137 | } 138 | declare module 'nyc/lib/source-maps.js' { 139 | declare module.exports: $Exports<'nyc/lib/source-maps'>; 140 | } 141 | declare module 'nyc/lib/wrap.js' { 142 | declare module.exports: $Exports<'nyc/lib/wrap'>; 143 | } 144 | -------------------------------------------------------------------------------- /flow-typed/npm/prettier-eslint_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 9e706be30398d502630082d23ea5e7eb 2 | // flow-typed version: <>/prettier-eslint_v^13.0.0/flow_v0.161.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_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: d08d94b0e890e794e77183a0422a65fb 2 | // flow-typed version: <>/prettier_v^2.4.1/flow_v0.161.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * '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 '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 'prettier/bin-prettier' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'prettier/doc' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'prettier/parser-angular' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'prettier/parser-babel' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'prettier/parser-espree' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'prettier/parser-flow' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'prettier/parser-glimmer' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'prettier/parser-graphql' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'prettier/parser-html' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'prettier/parser-markdown' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'prettier/parser-meriyah' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'prettier/parser-postcss' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'prettier/parser-typescript' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'prettier/parser-yaml' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'prettier/standalone' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'prettier/third-party' { 86 | declare module.exports: any; 87 | } 88 | 89 | // Filename aliases 90 | declare module 'prettier/bin-prettier.js' { 91 | declare module.exports: $Exports<'prettier/bin-prettier'>; 92 | } 93 | declare module 'prettier/doc.js' { 94 | declare module.exports: $Exports<'prettier/doc'>; 95 | } 96 | declare module 'prettier/index' { 97 | declare module.exports: $Exports<'prettier'>; 98 | } 99 | declare module 'prettier/index.js' { 100 | declare module.exports: $Exports<'prettier'>; 101 | } 102 | declare module 'prettier/parser-angular.js' { 103 | declare module.exports: $Exports<'prettier/parser-angular'>; 104 | } 105 | declare module 'prettier/parser-babel.js' { 106 | declare module.exports: $Exports<'prettier/parser-babel'>; 107 | } 108 | declare module 'prettier/parser-espree.js' { 109 | declare module.exports: $Exports<'prettier/parser-espree'>; 110 | } 111 | declare module 'prettier/parser-flow.js' { 112 | declare module.exports: $Exports<'prettier/parser-flow'>; 113 | } 114 | declare module 'prettier/parser-glimmer.js' { 115 | declare module.exports: $Exports<'prettier/parser-glimmer'>; 116 | } 117 | declare module 'prettier/parser-graphql.js' { 118 | declare module.exports: $Exports<'prettier/parser-graphql'>; 119 | } 120 | declare module 'prettier/parser-html.js' { 121 | declare module.exports: $Exports<'prettier/parser-html'>; 122 | } 123 | declare module 'prettier/parser-markdown.js' { 124 | declare module.exports: $Exports<'prettier/parser-markdown'>; 125 | } 126 | declare module 'prettier/parser-meriyah.js' { 127 | declare module.exports: $Exports<'prettier/parser-meriyah'>; 128 | } 129 | declare module 'prettier/parser-postcss.js' { 130 | declare module.exports: $Exports<'prettier/parser-postcss'>; 131 | } 132 | declare module 'prettier/parser-typescript.js' { 133 | declare module.exports: $Exports<'prettier/parser-typescript'>; 134 | } 135 | declare module 'prettier/parser-yaml.js' { 136 | declare module.exports: $Exports<'prettier/parser-yaml'>; 137 | } 138 | declare module 'prettier/standalone.js' { 139 | declare module.exports: $Exports<'prettier/standalone'>; 140 | } 141 | declare module 'prettier/third-party.js' { 142 | declare module.exports: $Exports<'prettier/third-party'>; 143 | } 144 | -------------------------------------------------------------------------------- /flow-typed/npm/prop-types_v15.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: c93a723cbeb4d2f95d6a472157f6052f 2 | // flow-typed version: 61b795e5b6/prop-types_v15.x.x/flow_>=v0.104.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 elementType: React$PropType$Primitive; 24 | declare var instanceOf: React$PropType$InstanceOf; 25 | declare var node: React$PropType$Primitive; 26 | declare var objectOf: React$PropType$ObjectOf; 27 | declare var oneOf: React$PropType$OneOf; 28 | declare var oneOfType: React$PropType$OneOfType; 29 | declare var shape: React$PropType$Shape; 30 | 31 | declare function checkPropTypes( 32 | propTypes: { [key: $Keys]: $npm$propTypes$ReactPropsCheckType, ... }, 33 | values: V, 34 | location: string, 35 | componentName: string, 36 | getStack: ?() => ?string 37 | ): void; 38 | } 39 | -------------------------------------------------------------------------------- /flow-typed/npm/react-dom_v17.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: e556c06e721548417501c08b01fec911 2 | // flow-typed version: ad3adf2de8/react-dom_v17.x.x/flow_>=v0.127.x 3 | 4 | declare module 'react-dom' { 5 | declare var version: string; 6 | 7 | declare function findDOMNode( 8 | componentOrElement: Element | ?React$Component 9 | ): null | Element | Text; 10 | 11 | declare function render( 12 | element: React$Element, 13 | container: Element, 14 | callback?: () => void 15 | ): React$ElementRef; 16 | 17 | declare function hydrate( 18 | element: React$Element, 19 | container: Element, 20 | callback?: () => void 21 | ): React$ElementRef; 22 | 23 | declare function createPortal( 24 | node: React$Node, 25 | container: Element 26 | ): React$Portal; 27 | 28 | declare function unmountComponentAtNode(container: any): boolean; 29 | 30 | declare function unstable_batchedUpdates( 31 | callback: (a: A, b: B, c: C, d: D, e: E) => mixed, 32 | a: A, 33 | b: B, 34 | c: C, 35 | d: D, 36 | e: E 37 | ): void; 38 | 39 | declare function unstable_renderSubtreeIntoContainer< 40 | ElementType: React$ElementType 41 | >( 42 | parentComponent: React$Component, 43 | nextElement: React$Element, 44 | container: any, 45 | callback?: () => void 46 | ): React$ElementRef; 47 | } 48 | 49 | declare module 'react-dom/server' { 50 | declare var version: string; 51 | 52 | declare function renderToString(element: React$Node): string; 53 | 54 | declare function renderToStaticMarkup(element: React$Node): string; 55 | 56 | declare function renderToNodeStream(element: React$Node): stream$Readable; 57 | 58 | declare function renderToStaticNodeStream( 59 | element: React$Node 60 | ): stream$Readable; 61 | } 62 | 63 | declare module 'react-dom/test-utils' { 64 | declare interface Thenable { 65 | then(resolve: () => mixed, reject?: () => mixed): mixed, 66 | } 67 | 68 | declare var Simulate: { 69 | [eventName: string]: ( 70 | element: Element, 71 | eventData?: { [key: string]: mixed, ... } 72 | ) => void, 73 | ... 74 | }; 75 | 76 | declare function renderIntoDocument( 77 | instance: React$Element 78 | ): React$Component; 79 | 80 | declare function mockComponent( 81 | componentClass: React$ElementType, 82 | mockTagName?: string 83 | ): { [key: string]: mixed, ... }; 84 | 85 | declare function isElement(element: React$Element): boolean; 86 | 87 | declare function isElementOfType( 88 | element: React$Element, 89 | componentClass: React$ElementType 90 | ): boolean; 91 | 92 | declare function isDOMComponent(instance: any): boolean; 93 | 94 | declare function isCompositeComponent( 95 | instance: React$Component 96 | ): boolean; 97 | 98 | declare function isCompositeComponentWithType( 99 | instance: React$Component, 100 | componentClass: React$ElementType 101 | ): boolean; 102 | 103 | declare function findAllInRenderedTree( 104 | tree: React$Component, 105 | test: (child: React$Component) => boolean 106 | ): Array>; 107 | 108 | declare function scryRenderedDOMComponentsWithClass( 109 | tree: React$Component, 110 | className: string 111 | ): Array; 112 | 113 | declare function findRenderedDOMComponentWithClass( 114 | tree: React$Component, 115 | className: string 116 | ): ?Element; 117 | 118 | declare function scryRenderedDOMComponentsWithTag( 119 | tree: React$Component, 120 | tagName: string 121 | ): Array; 122 | 123 | declare function findRenderedDOMComponentWithTag( 124 | tree: React$Component, 125 | tagName: string 126 | ): ?Element; 127 | 128 | declare function scryRenderedComponentsWithType( 129 | tree: React$Component, 130 | componentClass: React$ElementType 131 | ): Array>; 132 | 133 | declare function findRenderedComponentWithType( 134 | tree: React$Component, 135 | componentClass: React$ElementType 136 | ): ?React$Component; 137 | 138 | declare function act(callback: () => void | Thenable): Thenable; 139 | } 140 | -------------------------------------------------------------------------------- /flow-typed/npm/rimraf_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 4346ebbe85bb79254f9b9efb0189bcf2 2 | // flow-typed version: <>/rimraf_v^3.0.2/flow_v0.161.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'rimraf' 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 'rimraf' { 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 'rimraf/bin' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'rimraf/rimraf' { 30 | declare module.exports: any; 31 | } 32 | 33 | // Filename aliases 34 | declare module 'rimraf/bin.js' { 35 | declare module.exports: $Exports<'rimraf/bin'>; 36 | } 37 | declare module 'rimraf/rimraf.js' { 38 | declare module.exports: $Exports<'rimraf/rimraf'>; 39 | } 40 | -------------------------------------------------------------------------------- /flow-typed/npm/semantic-release_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 5a733a666d0edff77aee714a72eb72af 2 | // flow-typed version: <>/semantic-release_v^18.0.0/flow_v0.161.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/branches/expand' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'semantic-release/lib/branches/get-tags' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'semantic-release/lib/branches' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'semantic-release/lib/branches/normalize' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'semantic-release/lib/definitions/branches' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'semantic-release/lib/definitions/constants' { 54 | declare module.exports: any; 55 | } 56 | 57 | declare module 'semantic-release/lib/definitions/errors' { 58 | declare module.exports: any; 59 | } 60 | 61 | declare module 'semantic-release/lib/definitions/plugins' { 62 | declare module.exports: any; 63 | } 64 | 65 | declare module 'semantic-release/lib/get-commits' { 66 | declare module.exports: any; 67 | } 68 | 69 | declare module 'semantic-release/lib/get-config' { 70 | declare module.exports: any; 71 | } 72 | 73 | declare module 'semantic-release/lib/get-error' { 74 | declare module.exports: any; 75 | } 76 | 77 | declare module 'semantic-release/lib/get-git-auth-url' { 78 | declare module.exports: any; 79 | } 80 | 81 | declare module 'semantic-release/lib/get-last-release' { 82 | declare module.exports: any; 83 | } 84 | 85 | declare module 'semantic-release/lib/get-logger' { 86 | declare module.exports: any; 87 | } 88 | 89 | declare module 'semantic-release/lib/get-next-version' { 90 | declare module.exports: any; 91 | } 92 | 93 | declare module 'semantic-release/lib/get-release-to-add' { 94 | declare module.exports: any; 95 | } 96 | 97 | declare module 'semantic-release/lib/git' { 98 | declare module.exports: any; 99 | } 100 | 101 | declare module 'semantic-release/lib/hide-sensitive' { 102 | declare module.exports: any; 103 | } 104 | 105 | declare module 'semantic-release/lib/plugins' { 106 | declare module.exports: any; 107 | } 108 | 109 | declare module 'semantic-release/lib/plugins/normalize' { 110 | declare module.exports: any; 111 | } 112 | 113 | declare module 'semantic-release/lib/plugins/pipeline' { 114 | declare module.exports: any; 115 | } 116 | 117 | declare module 'semantic-release/lib/plugins/utils' { 118 | declare module.exports: any; 119 | } 120 | 121 | declare module 'semantic-release/lib/utils' { 122 | declare module.exports: any; 123 | } 124 | 125 | declare module 'semantic-release/lib/verify' { 126 | declare module.exports: any; 127 | } 128 | 129 | // Filename aliases 130 | declare module 'semantic-release/bin/semantic-release.js' { 131 | declare module.exports: $Exports<'semantic-release/bin/semantic-release'>; 132 | } 133 | declare module 'semantic-release/cli.js' { 134 | declare module.exports: $Exports<'semantic-release/cli'>; 135 | } 136 | declare module 'semantic-release/index' { 137 | declare module.exports: $Exports<'semantic-release'>; 138 | } 139 | declare module 'semantic-release/index.js' { 140 | declare module.exports: $Exports<'semantic-release'>; 141 | } 142 | declare module 'semantic-release/lib/branches/expand.js' { 143 | declare module.exports: $Exports<'semantic-release/lib/branches/expand'>; 144 | } 145 | declare module 'semantic-release/lib/branches/get-tags.js' { 146 | declare module.exports: $Exports<'semantic-release/lib/branches/get-tags'>; 147 | } 148 | declare module 'semantic-release/lib/branches/index' { 149 | declare module.exports: $Exports<'semantic-release/lib/branches'>; 150 | } 151 | declare module 'semantic-release/lib/branches/index.js' { 152 | declare module.exports: $Exports<'semantic-release/lib/branches'>; 153 | } 154 | declare module 'semantic-release/lib/branches/normalize.js' { 155 | declare module.exports: $Exports<'semantic-release/lib/branches/normalize'>; 156 | } 157 | declare module 'semantic-release/lib/definitions/branches.js' { 158 | declare module.exports: $Exports<'semantic-release/lib/definitions/branches'>; 159 | } 160 | declare module 'semantic-release/lib/definitions/constants.js' { 161 | declare module.exports: $Exports<'semantic-release/lib/definitions/constants'>; 162 | } 163 | declare module 'semantic-release/lib/definitions/errors.js' { 164 | declare module.exports: $Exports<'semantic-release/lib/definitions/errors'>; 165 | } 166 | declare module 'semantic-release/lib/definitions/plugins.js' { 167 | declare module.exports: $Exports<'semantic-release/lib/definitions/plugins'>; 168 | } 169 | declare module 'semantic-release/lib/get-commits.js' { 170 | declare module.exports: $Exports<'semantic-release/lib/get-commits'>; 171 | } 172 | declare module 'semantic-release/lib/get-config.js' { 173 | declare module.exports: $Exports<'semantic-release/lib/get-config'>; 174 | } 175 | declare module 'semantic-release/lib/get-error.js' { 176 | declare module.exports: $Exports<'semantic-release/lib/get-error'>; 177 | } 178 | declare module 'semantic-release/lib/get-git-auth-url.js' { 179 | declare module.exports: $Exports<'semantic-release/lib/get-git-auth-url'>; 180 | } 181 | declare module 'semantic-release/lib/get-last-release.js' { 182 | declare module.exports: $Exports<'semantic-release/lib/get-last-release'>; 183 | } 184 | declare module 'semantic-release/lib/get-logger.js' { 185 | declare module.exports: $Exports<'semantic-release/lib/get-logger'>; 186 | } 187 | declare module 'semantic-release/lib/get-next-version.js' { 188 | declare module.exports: $Exports<'semantic-release/lib/get-next-version'>; 189 | } 190 | declare module 'semantic-release/lib/get-release-to-add.js' { 191 | declare module.exports: $Exports<'semantic-release/lib/get-release-to-add'>; 192 | } 193 | declare module 'semantic-release/lib/git.js' { 194 | declare module.exports: $Exports<'semantic-release/lib/git'>; 195 | } 196 | declare module 'semantic-release/lib/hide-sensitive.js' { 197 | declare module.exports: $Exports<'semantic-release/lib/hide-sensitive'>; 198 | } 199 | declare module 'semantic-release/lib/plugins/index' { 200 | declare module.exports: $Exports<'semantic-release/lib/plugins'>; 201 | } 202 | declare module 'semantic-release/lib/plugins/index.js' { 203 | declare module.exports: $Exports<'semantic-release/lib/plugins'>; 204 | } 205 | declare module 'semantic-release/lib/plugins/normalize.js' { 206 | declare module.exports: $Exports<'semantic-release/lib/plugins/normalize'>; 207 | } 208 | declare module 'semantic-release/lib/plugins/pipeline.js' { 209 | declare module.exports: $Exports<'semantic-release/lib/plugins/pipeline'>; 210 | } 211 | declare module 'semantic-release/lib/plugins/utils.js' { 212 | declare module.exports: $Exports<'semantic-release/lib/plugins/utils'>; 213 | } 214 | declare module 'semantic-release/lib/utils.js' { 215 | declare module.exports: $Exports<'semantic-release/lib/utils'>; 216 | } 217 | declare module 'semantic-release/lib/verify.js' { 218 | declare module.exports: $Exports<'semantic-release/lib/verify'>; 219 | } 220 | -------------------------------------------------------------------------------- /flow-typed/npm/typescript_vx.x.x.js: -------------------------------------------------------------------------------- 1 | // flow-typed signature: 300e4eff2ca2ed2576e2ddfb1264f146 2 | // flow-typed version: <>/typescript_v^4.4.3/flow_v0.161.0 3 | 4 | /** 5 | * This is an autogenerated libdef stub for: 6 | * 7 | * 'typescript' 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 'typescript' { 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 'typescript/lib/cancellationToken' { 26 | declare module.exports: any; 27 | } 28 | 29 | declare module 'typescript/lib/tsc' { 30 | declare module.exports: any; 31 | } 32 | 33 | declare module 'typescript/lib/tsserver' { 34 | declare module.exports: any; 35 | } 36 | 37 | declare module 'typescript/lib/tsserverlibrary' { 38 | declare module.exports: any; 39 | } 40 | 41 | declare module 'typescript/lib/typescript' { 42 | declare module.exports: any; 43 | } 44 | 45 | declare module 'typescript/lib/typescriptServices' { 46 | declare module.exports: any; 47 | } 48 | 49 | declare module 'typescript/lib/typingsInstaller' { 50 | declare module.exports: any; 51 | } 52 | 53 | declare module 'typescript/lib/watchGuard' { 54 | declare module.exports: any; 55 | } 56 | 57 | // Filename aliases 58 | declare module 'typescript/lib/cancellationToken.js' { 59 | declare module.exports: $Exports<'typescript/lib/cancellationToken'>; 60 | } 61 | declare module 'typescript/lib/tsc.js' { 62 | declare module.exports: $Exports<'typescript/lib/tsc'>; 63 | } 64 | declare module 'typescript/lib/tsserver.js' { 65 | declare module.exports: $Exports<'typescript/lib/tsserver'>; 66 | } 67 | declare module 'typescript/lib/tsserverlibrary.js' { 68 | declare module.exports: $Exports<'typescript/lib/tsserverlibrary'>; 69 | } 70 | declare module 'typescript/lib/typescript.js' { 71 | declare module.exports: $Exports<'typescript/lib/typescript'>; 72 | } 73 | declare module 'typescript/lib/typescriptServices.js' { 74 | declare module.exports: $Exports<'typescript/lib/typescriptServices'>; 75 | } 76 | declare module 'typescript/lib/typingsInstaller.js' { 77 | declare module.exports: $Exports<'typescript/lib/typingsInstaller'>; 78 | } 79 | declare module 'typescript/lib/watchGuard.js' { 80 | declare module.exports: $Exports<'typescript/lib/watchGuard'>; 81 | } 82 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-interval-rerender", 3 | "version": "0.0.0-development", 4 | "description": "render props component that rerenders its children at regular intervals", 5 | "main": "index.js", 6 | "sideEffects": false, 7 | "scripts": { 8 | "lint": "eslint $npm_package_config_eslint", 9 | "lint:fix": "eslint --fix $npm_package_config_eslint", 10 | "prettier": "prettier --write $npm_package_config_prettier", 11 | "prettier:check": "prettier --list-different $npm_package_config_prettier", 12 | "flow": "flow", 13 | "flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done", 14 | "clean": "rimraf es lib $(cd src; ls) *.js.flow *.d.ts", 15 | "build": "npm run clean && babel src --out-dir es && flow-copy-source -v src/ es && copy src/**/*.d.ts es && cross-env BABEL_ENV=es5 babel src --out-dir . && flow-copy-source -v src/ . && copy src/**/*.d.ts .", 16 | "test": "cross-env NODE_ENV=test BABEL_ENV=es5 mocha $npm_package_config_mocha --exit && cross-env NODE_ENV=test BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha --exit", 17 | "test:watch": "cross-env NODE_ENV=test BABEL_ENV=test mocha --watch $npm_package_config_mocha", 18 | "test:debug": "cross-env NODE_ENV=test BABEL_ENV=test mocha --inspect-brk $npm_package_config_mocha --exit", 19 | "codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov", 20 | "prepublishOnly": "npm run clean && npm run prettier:check && npm run lint && flow && tsc && npm test && npm run build", 21 | "open:coverage": "open coverage/lcov-report/index.html", 22 | "semantic-release": "semantic-release", 23 | "storybook": "start-storybook -p 6006", 24 | "build-storybook": "build-storybook" 25 | }, 26 | "husky": { 27 | "hooks": { 28 | "pre-commit": "lint-staged && npm run lint && flow && tsc", 29 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", 30 | "pre-push": "npm test" 31 | } 32 | }, 33 | "lint-staged": { 34 | "*.{js,json,css,md,ts}": [ 35 | "prettier --write" 36 | ] 37 | }, 38 | "commitlint": { 39 | "extends": [ 40 | "@jedwards1211/commitlint-config" 41 | ] 42 | }, 43 | "prettier": { 44 | "semi": false, 45 | "singleQuote": true, 46 | "trailingComma": "es5" 47 | }, 48 | "config": { 49 | "mocha": "-r @babel/register -r jsdom-global/register test/configure.js 'test/**/*.js'", 50 | "eslint": "src test --cache", 51 | "prettier": "*.{json,md,js} {src,test}/**/*.{js,ts}", 52 | "commitizen": { 53 | "path": "cz-conventional-changelog" 54 | } 55 | }, 56 | "nyc": { 57 | "include": [ 58 | "src/**/*.js" 59 | ], 60 | "require": [ 61 | "@babel/register" 62 | ], 63 | "sourceMap": false, 64 | "instrument": false 65 | }, 66 | "repository": { 67 | "type": "git", 68 | "url": "https://github.com/jcoreio/react-interval-rerender.git" 69 | }, 70 | "keywords": [ 71 | "es2015", 72 | "react", 73 | "skeleton" 74 | ], 75 | "author": "Andy Edwards", 76 | "license": "MIT", 77 | "bugs": { 78 | "url": "https://github.com/jcoreio/react-interval-rerender/issues" 79 | }, 80 | "homepage": "https://github.com/jcoreio/react-interval-rerender#readme", 81 | "devDependencies": { 82 | "@babel/cli": "^7.15.7", 83 | "@babel/core": "^7.15.5", 84 | "@babel/eslint-parser": "^7.15.7", 85 | "@babel/plugin-proposal-export-default-from": "^7.14.5", 86 | "@babel/plugin-proposal-export-namespace-from": "^7.14.5", 87 | "@babel/plugin-transform-runtime": "^7.15.0", 88 | "@babel/preset-env": "^7.15.6", 89 | "@babel/preset-flow": "^7.14.5", 90 | "@babel/preset-react": "^7.14.5", 91 | "@babel/register": "^7.15.3", 92 | "@commitlint/cli": "^13.2.0", 93 | "@commitlint/config-conventional": "^13.2.0", 94 | "@jedwards1211/commitlint-config": "^1.0.2", 95 | "@jedwards1211/eslint-config": "^2.0.2", 96 | "@jedwards1211/eslint-config-flow": "^3.0.1", 97 | "@jedwards1211/eslint-config-react": "^4.0.0", 98 | "@types/react": "^17.0.37", 99 | "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3", 100 | "babel-plugin-flow-react-proptypes": "^26.0.0", 101 | "babel-plugin-istanbul": "^6.0.0", 102 | "chai": "^4.3.4", 103 | "codecov": "^3.8.3", 104 | "copy": "^0.3.2", 105 | "cross-env": "^7.0.3", 106 | "enzyme": "^3.11.0", 107 | "eslint": "^7.32.0", 108 | "eslint-config-prettier": "^8.3.0", 109 | "eslint-plugin-flowtype": "^6.1.0", 110 | "eslint-plugin-react": "^7.26.1", 111 | "flow-bin": "^0.161.0", 112 | "flow-copy-source": "https://github.com/jedwards1211/flow-copy-source#no-watch", 113 | "husky": "^7.0.2", 114 | "jsdom": "^17.0.0", 115 | "jsdom-global": "^3.0.2", 116 | "lint-staged": "^11.1.2", 117 | "mocha": "^9.1.2", 118 | "nyc": "^15.1.0", 119 | "prettier": "^2.4.1", 120 | "prettier-eslint": "^13.0.0", 121 | "react": "^17.0.2", 122 | "react-dom": "^17.0.2", 123 | "rimraf": "^3.0.2", 124 | "semantic-release": "^18.0.0", 125 | "sinon": "^12.0.1", 126 | "typescript": "^4.4.3" 127 | }, 128 | "dependencies": { 129 | "@babel/runtime": "^7.15.4", 130 | "prop-types": "^15.7.2" 131 | }, 132 | "peerDependencies": { 133 | "react": "^15.0.0 || ^16.0.0" 134 | } 135 | } 136 | -------------------------------------------------------------------------------- /src/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "es6": true, 4 | "shared-node-browser": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/index.d.ts: -------------------------------------------------------------------------------- 1 | import * as React from 'react' 2 | import { ReactNode } from 'react' 3 | 4 | export type Props = { 5 | delay?: number | null | undefined 6 | render?: () => ReactNode | null | undefined 7 | children?: () => ReactNode | null | undefined 8 | } 9 | 10 | export default class Interval extends React.Component {} 11 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | import * as React from 'react' 4 | 5 | export type Props = { 6 | delay?: ?number, 7 | render?: () => ?React.Node, 8 | children?: () => ?React.Node, 9 | } 10 | 11 | export default class Interval extends React.Component { 12 | _intervalID: any = null 13 | 14 | _stop() { 15 | if (this._intervalID != null) { 16 | clearInterval(this._intervalID) 17 | this._intervalID = null 18 | } 19 | } 20 | 21 | _start(delay: ?number) { 22 | if (delay != null && Number.isFinite(delay)) { 23 | this._intervalID = setInterval(() => this.forceUpdate(), delay) 24 | } 25 | } 26 | 27 | componentDidMount() { 28 | this._start(this.props.delay) 29 | } 30 | 31 | componentDidUpdate(prevProps: Props) { 32 | if (prevProps.delay !== this.props.delay) { 33 | this._stop() 34 | this._start(this.props.delay) 35 | } 36 | } 37 | 38 | componentWillUnmount() { 39 | this._stop() 40 | } 41 | 42 | render(): React.Node | null { 43 | const { render, children } = this.props 44 | if (children) return normalizeNull(children()) 45 | if (render) return normalizeNull(render()) 46 | return null 47 | } 48 | } 49 | 50 | function normalizeNull(value: ?T): T | null { 51 | if (value == null) return null 52 | return value 53 | } 54 | -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "mocha": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /test/configure.js: -------------------------------------------------------------------------------- 1 | import { before } from 'mocha' 2 | import { configure } from 'enzyme' 3 | import Adapter from '@wojtekmaj/enzyme-adapter-react-17' 4 | configure({ adapter: new Adapter() }) 5 | 6 | /* eslint-env node */ 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 { describe, it, beforeEach, afterEach } from 'mocha' 4 | import * as React from 'react' 5 | import sinon from 'sinon' 6 | import { mount } from 'enzyme' 7 | import { expect } from 'chai' 8 | 9 | import Interval from '../src' 10 | 11 | describe('Interval', () => { 12 | let clock 13 | 14 | beforeEach(() => (clock = sinon.useFakeTimers())) 15 | afterEach(() => clock.restore()) 16 | 17 | it('rerenders on fixed interval', async function (): Promise { 18 | let count = 0 19 | const comp = mount( ++count} />) 20 | expect(comp.text()).to.equal('1') 21 | await clock.tickAsync(1200) 22 | expect(comp.update().text()).to.equal('2') 23 | await clock.tickAsync(1000) 24 | expect(comp.update().text()).to.equal('3') 25 | comp.unmount() 26 | }) 27 | it('supports child function', async function (): Promise { 28 | let count = 0 29 | const comp = mount({() => ++count}) 30 | expect(comp.text()).to.equal('1') 31 | await clock.tickAsync(1200) 32 | expect(comp.update().text()).to.equal('2') 33 | await clock.tickAsync(1000) 34 | expect(comp.update().text()).to.equal('3') 35 | comp.unmount() 36 | }) 37 | it('supports no rendering', async function (): Promise { 38 | const comp = mount() 39 | comp.unmount() 40 | }) 41 | it('resets interval when delay is changed', async function (): Promise { 42 | let count = 0 43 | const comp = mount( ++count} />) 44 | expect(comp.text()).to.equal('1') 45 | await clock.tickAsync(1200) 46 | expect(comp.update().text()).to.equal('2') 47 | 48 | comp.setProps({ 49 | delay: 500, 50 | }) 51 | 52 | await clock.tickAsync(1200) 53 | expect(comp.update().text()).to.equal('5') 54 | comp.unmount() 55 | }) 56 | it('clears interval when delay becomes non-finite', async function (): Promise { 57 | let count = 0 58 | const comp = mount( ++count} />) 59 | expect(comp.text()).to.equal('1') 60 | await clock.tickAsync(1200) 61 | expect(comp.update().text()).to.equal('2') 62 | 63 | comp.setProps({ 64 | delay: NaN, 65 | }) 66 | 67 | await clock.tickAsync(1200) 68 | expect(comp.update().text()).to.equal('3') 69 | comp.unmount() 70 | }) 71 | it('stats interval when delay becomes finite', async function (): Promise { 72 | let count = 0 73 | const comp = mount( ++count} />) 74 | expect(comp.text()).to.equal('1') 75 | await clock.tickAsync(1200) 76 | expect(comp.update().text()).to.equal('1') 77 | 78 | comp.setProps({ 79 | delay: 1000, 80 | }) 81 | 82 | await clock.tickAsync(1200) 83 | expect(comp.update().text()).to.equal('3') 84 | comp.unmount() 85 | }) 86 | }) 87 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "include": ["./src/**/*.ts"], 3 | "exclude": ["node_modules"], 4 | "compilerOptions": { 5 | /* Basic Options */ 6 | "target": "es2019" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */, 7 | "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, 8 | "lib": [ 9 | "es2019" 10 | ] /* Specify library files to be included in the compilation. */, 11 | // "allowJs": true, /* Allow javascript files to be compiled. */ 12 | // "checkJs": true, /* Report errors in .js files. */ 13 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ 14 | // "declaration": true /* Generates corresponding '.d.ts' file. */, 15 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ 16 | // "sourceMap": true, /* Generates corresponding '.map' file. */ 17 | // "outFile": "./", /* Concatenate and emit output to single file. */ 18 | "outDir": "./" /* Redirect output structure to the directory. */, 19 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 20 | // "composite": true, /* Enable project compilation */ 21 | // "removeComments": true, /* Do not emit comments to output. */ 22 | "noEmit": true /* Do not emit outputs. */, 23 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ 24 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ 25 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ 26 | 27 | /* Strict Type-Checking Options */ 28 | "strict": true /* Enable all strict type-checking options. */, 29 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ 30 | // "strictNullChecks": true, /* Enable strict null checks. */ 31 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ 32 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ 33 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ 34 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ 35 | 36 | /* Additional Checks */ 37 | // "noUnusedLocals": true, /* Report errors on unused locals. */ 38 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 39 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 40 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 41 | 42 | /* Module Resolution Options */ 43 | // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ 44 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ 45 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ 46 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ 47 | // "typeRoots": [], /* List of folders to include type definitions from. */ 48 | // "types": [], /* Type declaration files to be included in compilation. */ 49 | "allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */, 50 | "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ 51 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ 52 | 53 | /* Source Map Options */ 54 | // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ 55 | // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */ 56 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ 57 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ 58 | 59 | /* Experimental Options */ 60 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ 61 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ 62 | 63 | /* Advanced Options */ 64 | // "declarationDir": "lib" /* Output directory for generated declaration files. */ 65 | } 66 | } 67 | --------------------------------------------------------------------------------