Merge pull request #3248 from styled-components/memo-if-static

update flow, rework types for StyledComponent model
This commit is contained in:
Evan Jacobs
2020-09-22 13:38:26 -04:00
committed by GitHub
61 changed files with 2847 additions and 1549 deletions

View File

@@ -6,7 +6,7 @@
"react-hooks/rules-of-hooks": "error",
"class-methods-use-this": 0,
"curly": [2, "multi-line"],
"import/namespace": [2, {"allowComputed": true}],
"import/namespace": [2, { "allowComputed": true }],
"no-confusing-arrow": 0,
"no-continue": 0,
"no-duplicate-imports": 0,
@@ -50,5 +50,10 @@
"react": {
"version": "detect"
}
},
"globals": {
"$Call": true,
"$Keys": true,
"$PropertyType": true
}
}

View File

@@ -29,7 +29,3 @@
.*/example/.*
.*/integration-test/.*
.*/sandbox/.*
[options]
suppress_comment=.*\\$FlowFixMe
suppress_comment=.*\\$FlowInvalidInputTest

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 8ccfb338986a99afdb818f67135c3c8d
// flow-typed version: <<STUB>>/@babel/cli_v^7.0.0/flow_v0.100.0
// flow-typed signature: bd4ed93980a5639a56ed372dfe4b67a7
// flow-typed version: <<STUB>>/@babel/cli_v^7.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -42,7 +42,7 @@ declare module '@babel/cli/lib/babel/file' {
declare module.exports: any;
}
declare module '@babel/cli/lib/babel/index' {
declare module '@babel/cli/lib/babel' {
declare module.exports: any;
}
@@ -76,8 +76,11 @@ declare module '@babel/cli/lib/babel/dir.js' {
declare module '@babel/cli/lib/babel/file.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/file'>;
}
declare module '@babel/cli/lib/babel/index' {
declare module.exports: $Exports<'@babel/cli/lib/babel'>;
}
declare module '@babel/cli/lib/babel/index.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/index'>;
declare module.exports: $Exports<'@babel/cli/lib/babel'>;
}
declare module '@babel/cli/lib/babel/options.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/options'>;

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 465c588e492a6a8ef705c778a7d2c101
// flow-typed version: <<STUB>>/@babel/core_v^7.0.0/flow_v0.100.0
// flow-typed signature: 5389110ff8ca252795557d4ea0d48147
// flow-typed version: <<STUB>>/@babel/core_v^7.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -38,11 +38,19 @@ declare module '@babel/core/lib/config/files/configuration' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/files/import' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/files/index-browser' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/files/index' {
declare module '@babel/core/lib/config/files' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/files/module-types' {
declare module.exports: any;
}
@@ -74,7 +82,7 @@ declare module '@babel/core/lib/config/helpers/environment' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/index' {
declare module '@babel/core/lib/config' {
declare module.exports: any;
}
@@ -114,7 +122,19 @@ declare module '@babel/core/lib/config/validation/removed' {
declare module.exports: any;
}
declare module '@babel/core/lib/index' {
declare module '@babel/core/lib/gensync-utils/async' {
declare module.exports: any;
}
declare module '@babel/core/lib/gensync-utils/fs' {
declare module.exports: any;
}
declare module '@babel/core/lib/gensync-utils/resolve' {
declare module.exports: any;
}
declare module '@babel/core/lib' {
declare module.exports: any;
}
@@ -122,6 +142,14 @@ declare module '@babel/core/lib/parse' {
declare module.exports: any;
}
declare module '@babel/core/lib/parser' {
declare module.exports: any;
}
declare module '@babel/core/lib/parser/util/missing-plugin-helper' {
declare module.exports: any;
}
declare module '@babel/core/lib/tools/build-external-helpers' {
declare module.exports: any;
}
@@ -158,7 +186,7 @@ declare module '@babel/core/lib/transformation/file/merge-map' {
declare module.exports: any;
}
declare module '@babel/core/lib/transformation/index' {
declare module '@babel/core/lib/transformation' {
declare module.exports: any;
}
@@ -174,10 +202,6 @@ declare module '@babel/core/lib/transformation/plugin-pass' {
declare module.exports: any;
}
declare module '@babel/core/lib/transformation/util/missing-plugin-helper' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/core/lib/config/caching.js' {
declare module.exports: $Exports<'@babel/core/lib/config/caching'>;
@@ -191,11 +215,20 @@ declare module '@babel/core/lib/config/config-descriptors.js' {
declare module '@babel/core/lib/config/files/configuration.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/configuration'>;
}
declare module '@babel/core/lib/config/files/import.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/import'>;
}
declare module '@babel/core/lib/config/files/index-browser.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/index-browser'>;
}
declare module '@babel/core/lib/config/files/index' {
declare module.exports: $Exports<'@babel/core/lib/config/files'>;
}
declare module '@babel/core/lib/config/files/index.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/index'>;
declare module.exports: $Exports<'@babel/core/lib/config/files'>;
}
declare module '@babel/core/lib/config/files/module-types.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/module-types'>;
}
declare module '@babel/core/lib/config/files/package.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/package'>;
@@ -218,8 +251,11 @@ declare module '@babel/core/lib/config/helpers/config-api.js' {
declare module '@babel/core/lib/config/helpers/environment.js' {
declare module.exports: $Exports<'@babel/core/lib/config/helpers/environment'>;
}
declare module '@babel/core/lib/config/index' {
declare module.exports: $Exports<'@babel/core/lib/config'>;
}
declare module '@babel/core/lib/config/index.js' {
declare module.exports: $Exports<'@babel/core/lib/config/index'>;
declare module.exports: $Exports<'@babel/core/lib/config'>;
}
declare module '@babel/core/lib/config/item.js' {
declare module.exports: $Exports<'@babel/core/lib/config/item'>;
@@ -248,12 +284,33 @@ declare module '@babel/core/lib/config/validation/plugins.js' {
declare module '@babel/core/lib/config/validation/removed.js' {
declare module.exports: $Exports<'@babel/core/lib/config/validation/removed'>;
}
declare module '@babel/core/lib/gensync-utils/async.js' {
declare module.exports: $Exports<'@babel/core/lib/gensync-utils/async'>;
}
declare module '@babel/core/lib/gensync-utils/fs.js' {
declare module.exports: $Exports<'@babel/core/lib/gensync-utils/fs'>;
}
declare module '@babel/core/lib/gensync-utils/resolve.js' {
declare module.exports: $Exports<'@babel/core/lib/gensync-utils/resolve'>;
}
declare module '@babel/core/lib/index' {
declare module.exports: $Exports<'@babel/core/lib'>;
}
declare module '@babel/core/lib/index.js' {
declare module.exports: $Exports<'@babel/core/lib/index'>;
declare module.exports: $Exports<'@babel/core/lib'>;
}
declare module '@babel/core/lib/parse.js' {
declare module.exports: $Exports<'@babel/core/lib/parse'>;
}
declare module '@babel/core/lib/parser/index' {
declare module.exports: $Exports<'@babel/core/lib/parser'>;
}
declare module '@babel/core/lib/parser/index.js' {
declare module.exports: $Exports<'@babel/core/lib/parser'>;
}
declare module '@babel/core/lib/parser/util/missing-plugin-helper.js' {
declare module.exports: $Exports<'@babel/core/lib/parser/util/missing-plugin-helper'>;
}
declare module '@babel/core/lib/tools/build-external-helpers.js' {
declare module.exports: $Exports<'@babel/core/lib/tools/build-external-helpers'>;
}
@@ -281,8 +338,11 @@ declare module '@babel/core/lib/transformation/file/generate.js' {
declare module '@babel/core/lib/transformation/file/merge-map.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/file/merge-map'>;
}
declare module '@babel/core/lib/transformation/index' {
declare module.exports: $Exports<'@babel/core/lib/transformation'>;
}
declare module '@babel/core/lib/transformation/index.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/index'>;
declare module.exports: $Exports<'@babel/core/lib/transformation'>;
}
declare module '@babel/core/lib/transformation/normalize-file.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-file'>;
@@ -293,6 +353,3 @@ declare module '@babel/core/lib/transformation/normalize-opts.js' {
declare module '@babel/core/lib/transformation/plugin-pass.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/plugin-pass'>;
}
declare module '@babel/core/lib/transformation/util/missing-plugin-helper.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/util/missing-plugin-helper'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 813e91be4763a1a4718e5aa547aec5b6
// flow-typed version: <<STUB>>/@babel/plugin-external-helpers_v^7.0.0/flow_v0.100.0
// flow-typed signature: 9ad27f1f34e17ce1289b35749795ede0
// flow-typed version: <<STUB>>/@babel/plugin-external-helpers_v^7.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,11 +22,14 @@ declare module '@babel/plugin-external-helpers' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/plugin-external-helpers/lib/index' {
declare module '@babel/plugin-external-helpers/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-external-helpers/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-external-helpers/lib/index'>;
declare module '@babel/plugin-external-helpers/lib/index' {
declare module.exports: $Exports<'@babel/plugin-external-helpers/lib'>;
}
declare module '@babel/plugin-external-helpers/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-external-helpers/lib'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 7429a2ab0097bfc7f0f4a750ad63f165
// flow-typed version: <<STUB>>/@babel/plugin-proposal-class-properties_v^7.0.0/flow_v0.100.0
// flow-typed signature: 220b9df9e3aa35bad45d7b5c25b9e969
// flow-typed version: <<STUB>>/@babel/plugin-proposal-class-properties_v^7.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,11 +22,14 @@ declare module '@babel/plugin-proposal-class-properties' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/plugin-proposal-class-properties/lib/index' {
declare module '@babel/plugin-proposal-class-properties/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-proposal-class-properties/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-proposal-class-properties/lib/index'>;
declare module '@babel/plugin-proposal-class-properties/lib/index' {
declare module.exports: $Exports<'@babel/plugin-proposal-class-properties/lib'>;
}
declare module '@babel/plugin-proposal-class-properties/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-proposal-class-properties/lib'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: aa14074048303b8e070a7a9b6d090a04
// flow-typed version: <<STUB>>/@babel/plugin-proposal-object-rest-spread_v^7.0.0/flow_v0.100.0
// flow-typed signature: f883af02d69c53dc3ce7b99ce11d5925
// flow-typed version: <<STUB>>/@babel/plugin-proposal-object-rest-spread_v^7.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,11 +22,14 @@ declare module '@babel/plugin-proposal-object-rest-spread' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/plugin-proposal-object-rest-spread/lib/index' {
declare module '@babel/plugin-proposal-object-rest-spread/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-proposal-object-rest-spread/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-proposal-object-rest-spread/lib/index'>;
declare module '@babel/plugin-proposal-object-rest-spread/lib/index' {
declare module.exports: $Exports<'@babel/plugin-proposal-object-rest-spread/lib'>;
}
declare module '@babel/plugin-proposal-object-rest-spread/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-proposal-object-rest-spread/lib'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: ba3839893686e751c31cbf411aa42ce6
// flow-typed version: <<STUB>>/@babel/preset-env_v^7.0.0/flow_v0.100.0
// flow-typed signature: 3cce8847f618f734bf033adda6693c51
// flow-typed version: <<STUB>>/@babel/preset-env_v^7.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,15 +22,35 @@ declare module '@babel/preset-env' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/preset-env/data/built-in-modules' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/built-in-modules.json' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/built-ins' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/built-ins.json' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/corejs2-built-in-features' {
declare module '@babel/preset-env/data/corejs2-built-ins' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/plugin-features' {
declare module '@babel/preset-env/data/corejs2-built-ins.json' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/plugins' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/plugins.json' {
declare module.exports: any;
}
@@ -58,7 +78,7 @@ declare module '@babel/preset-env/lib/get-option-specific-excludes' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/index' {
declare module '@babel/preset-env/lib' {
declare module.exports: any;
}
@@ -74,6 +94,10 @@ declare module '@babel/preset-env/lib/options' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/plugins-compat-data' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/polyfills/corejs2/built-in-definitions' {
declare module.exports: any;
}
@@ -98,10 +122,6 @@ declare module '@babel/preset-env/lib/polyfills/corejs3/entry-plugin' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/polyfills/corejs3/shipped-proposals' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/polyfills/corejs3/usage-plugin' {
declare module.exports: any;
}
@@ -123,14 +143,29 @@ declare module '@babel/preset-env/lib/utils' {
}
// Filename aliases
declare module '@babel/preset-env/data/built-in-modules.js' {
declare module.exports: $Exports<'@babel/preset-env/data/built-in-modules'>;
}
declare module '@babel/preset-env/data/built-in-modules.json.js' {
declare module.exports: $Exports<'@babel/preset-env/data/built-in-modules.json'>;
}
declare module '@babel/preset-env/data/built-ins.js' {
declare module.exports: $Exports<'@babel/preset-env/data/built-ins'>;
}
declare module '@babel/preset-env/data/built-ins.json.js' {
declare module.exports: $Exports<'@babel/preset-env/data/built-ins.json'>;
}
declare module '@babel/preset-env/data/corejs2-built-in-features.js' {
declare module.exports: $Exports<'@babel/preset-env/data/corejs2-built-in-features'>;
declare module '@babel/preset-env/data/corejs2-built-ins.js' {
declare module.exports: $Exports<'@babel/preset-env/data/corejs2-built-ins'>;
}
declare module '@babel/preset-env/data/plugin-features.js' {
declare module.exports: $Exports<'@babel/preset-env/data/plugin-features'>;
declare module '@babel/preset-env/data/corejs2-built-ins.json.js' {
declare module.exports: $Exports<'@babel/preset-env/data/corejs2-built-ins.json'>;
}
declare module '@babel/preset-env/data/plugins.js' {
declare module.exports: $Exports<'@babel/preset-env/data/plugins'>;
}
declare module '@babel/preset-env/data/plugins.json.js' {
declare module.exports: $Exports<'@babel/preset-env/data/plugins.json'>;
}
declare module '@babel/preset-env/data/shipped-proposals.js' {
declare module.exports: $Exports<'@babel/preset-env/data/shipped-proposals'>;
@@ -150,8 +185,11 @@ declare module '@babel/preset-env/lib/filter-items.js' {
declare module '@babel/preset-env/lib/get-option-specific-excludes.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/get-option-specific-excludes'>;
}
declare module '@babel/preset-env/lib/index' {
declare module.exports: $Exports<'@babel/preset-env/lib'>;
}
declare module '@babel/preset-env/lib/index.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/index'>;
declare module.exports: $Exports<'@babel/preset-env/lib'>;
}
declare module '@babel/preset-env/lib/module-transformations.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/module-transformations'>;
@@ -162,6 +200,9 @@ declare module '@babel/preset-env/lib/normalize-options.js' {
declare module '@babel/preset-env/lib/options.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/options'>;
}
declare module '@babel/preset-env/lib/plugins-compat-data.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/plugins-compat-data'>;
}
declare module '@babel/preset-env/lib/polyfills/corejs2/built-in-definitions.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs2/built-in-definitions'>;
}
@@ -180,9 +221,6 @@ declare module '@babel/preset-env/lib/polyfills/corejs3/built-in-definitions.js'
declare module '@babel/preset-env/lib/polyfills/corejs3/entry-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs3/entry-plugin'>;
}
declare module '@babel/preset-env/lib/polyfills/corejs3/shipped-proposals.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs3/shipped-proposals'>;
}
declare module '@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs3/usage-plugin'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 00933c598e8c09eb712670ebda0a2fda
// flow-typed version: <<STUB>>/@babel/preset-flow_v^7.0.0/flow_v0.100.0
// flow-typed signature: 7b83cd0849a39db958d5660201d5f366
// flow-typed version: <<STUB>>/@babel/preset-flow_v^7.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,11 +22,14 @@ declare module '@babel/preset-flow' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/preset-flow/lib/index' {
declare module '@babel/preset-flow/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/preset-flow/lib/index.js' {
declare module.exports: $Exports<'@babel/preset-flow/lib/index'>;
declare module '@babel/preset-flow/lib/index' {
declare module.exports: $Exports<'@babel/preset-flow/lib'>;
}
declare module '@babel/preset-flow/lib/index.js' {
declare module.exports: $Exports<'@babel/preset-flow/lib'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: dd61ca0e600212515393f7613b4a60c1
// flow-typed version: <<STUB>>/@babel/preset-react_v^7.0.0/flow_v0.100.0
// flow-typed signature: fc8c42a51050c67ca1c1e62f7a7535f1
// flow-typed version: <<STUB>>/@babel/preset-react_v^7.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,11 +22,14 @@ declare module '@babel/preset-react' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/preset-react/lib/index' {
declare module '@babel/preset-react/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/preset-react/lib/index.js' {
declare module.exports: $Exports<'@babel/preset-react/lib/index'>;
declare module '@babel/preset-react/lib/index' {
declare module.exports: $Exports<'@babel/preset-react/lib'>;
}
declare module '@babel/preset-react/lib/index.js' {
declare module.exports: $Exports<'@babel/preset-react/lib'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 24c3ba141e10789cfb8fcea09e15919e
// flow-typed version: <<STUB>>/babel-core_v^7.0.0-bridge.0/flow_v0.100.0
// flow-typed signature: 6600be927ad1b7b21b79dd847355d2d9
// flow-typed version: <<STUB>>/babel-core_v^7.0.0-bridge.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 1b3c06f2d20b0b0dba21d781882e8561
// flow-typed version: <<STUB>>/babel-eslint_v^10.0.1/flow_v0.100.0
// flow-typed signature: a10eeaca489e7ca998c883fcd8945e61
// flow-typed version: <<STUB>>/babel-eslint_v^10.0.1/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -38,7 +38,7 @@ declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType' {
declare module.exports: any;
}
declare module 'babel-eslint/lib/babylon-to-espree/index' {
declare module 'babel-eslint/lib/babylon-to-espree' {
declare module.exports: any;
}
@@ -54,7 +54,7 @@ declare module 'babel-eslint/lib/babylon-to-espree/toTokens' {
declare module.exports: any;
}
declare module 'babel-eslint/lib/index' {
declare module 'babel-eslint/lib' {
declare module.exports: any;
}
@@ -66,6 +66,10 @@ declare module 'babel-eslint/lib/parse' {
declare module.exports: any;
}
declare module 'babel-eslint/lib/require-from-eslint' {
declare module.exports: any;
}
declare module 'babel-eslint/lib/visitor-keys' {
declare module.exports: any;
}
@@ -83,8 +87,11 @@ declare module 'babel-eslint/lib/babylon-to-espree/convertComments.js' {
declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType.js' {
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/convertTemplateType'>;
}
declare module 'babel-eslint/lib/babylon-to-espree/index' {
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree'>;
}
declare module 'babel-eslint/lib/babylon-to-espree/index.js' {
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/index'>;
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree'>;
}
declare module 'babel-eslint/lib/babylon-to-espree/toAST.js' {
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toAST'>;
@@ -95,8 +102,11 @@ declare module 'babel-eslint/lib/babylon-to-espree/toToken.js' {
declare module 'babel-eslint/lib/babylon-to-espree/toTokens.js' {
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toTokens'>;
}
declare module 'babel-eslint/lib/index' {
declare module.exports: $Exports<'babel-eslint/lib'>;
}
declare module 'babel-eslint/lib/index.js' {
declare module.exports: $Exports<'babel-eslint/lib/index'>;
declare module.exports: $Exports<'babel-eslint/lib'>;
}
declare module 'babel-eslint/lib/parse-with-scope.js' {
declare module.exports: $Exports<'babel-eslint/lib/parse-with-scope'>;
@@ -104,6 +114,9 @@ declare module 'babel-eslint/lib/parse-with-scope.js' {
declare module 'babel-eslint/lib/parse.js' {
declare module.exports: $Exports<'babel-eslint/lib/parse'>;
}
declare module 'babel-eslint/lib/require-from-eslint.js' {
declare module.exports: $Exports<'babel-eslint/lib/require-from-eslint'>;
}
declare module 'babel-eslint/lib/visitor-keys.js' {
declare module.exports: $Exports<'babel-eslint/lib/visitor-keys'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 3ba859c625426918539c40873c1cb02d
// flow-typed version: <<STUB>>/babel-jest_v^24.8.0/flow_v0.100.0
// flow-typed signature: 31ffbef000bd65843e000e906d6909f4
// flow-typed version: <<STUB>>/babel-jest_v^24.8.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,11 +22,14 @@ declare module 'babel-jest' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'babel-jest/build/index' {
declare module 'babel-jest/build' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-jest/build/index.js' {
declare module.exports: $Exports<'babel-jest/build/index'>;
declare module 'babel-jest/build/index' {
declare module.exports: $Exports<'babel-jest/build'>;
}
declare module 'babel-jest/build/index.js' {
declare module.exports: $Exports<'babel-jest/build'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: eee04c0c136a7d1c85ecf45e4ca307e5
// flow-typed version: <<STUB>>/babel-plugin-add-module-exports_v^1.0.2/flow_v0.100.0
// flow-typed signature: e0c3ae1f0e8638d8a3356219bd2ab442
// flow-typed version: <<STUB>>/babel-plugin-add-module-exports_v^1.0.2/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,11 +22,14 @@ declare module 'babel-plugin-add-module-exports' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'babel-plugin-add-module-exports/lib/index' {
declare module 'babel-plugin-add-module-exports/lib' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-plugin-add-module-exports/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-add-module-exports/lib/index'>;
declare module 'babel-plugin-add-module-exports/lib/index' {
declare module.exports: $Exports<'babel-plugin-add-module-exports/lib'>;
}
declare module 'babel-plugin-add-module-exports/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-add-module-exports/lib'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: b98d2b4e31607810c9803acbffcc8428
// flow-typed version: <<STUB>>/babel-plugin-macros_v^2.5.1/flow_v0.100.0
// flow-typed signature: 4300b4cc9504b1751814ca6bce2b010a
// flow-typed version: <<STUB>>/babel-plugin-macros_v^2.5.1/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,116 +22,14 @@ declare module 'babel-plugin-macros' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'babel-plugin-macros/dist/__tests__/create-macros' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/config/babel-plugin-macros.config' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/config/code' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/config/configurable.macro' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/emotion-esm.macro' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/emotion.macro' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/error-thrower.macro' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/eval.macro' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/jsx-id-prefix.macro' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/jsx-id-prefix.plugin' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/keep-imports.macro' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/non-wrapped.macro' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/path-replace-issue/variable-assignment' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/__tests__/index' {
declare module.exports: any;
}
declare module 'babel-plugin-macros/dist/index' {
declare module 'babel-plugin-macros/dist' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-plugin-macros/dist/__tests__/create-macros.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/create-macros'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/config/babel-plugin-macros.config.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/config/babel-plugin-macros.config'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/config/code.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/config/code'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/config/configurable.macro.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/config/configurable.macro'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/emotion-esm.macro.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/emotion-esm.macro'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/emotion.macro.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/emotion.macro'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/error-thrower.macro.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/error-thrower.macro'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/eval.macro.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/eval.macro'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/jsx-id-prefix.macro.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/jsx-id-prefix.macro'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/jsx-id-prefix.plugin.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/jsx-id-prefix.plugin'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/keep-imports.macro.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/keep-imports.macro'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/non-wrapped.macro.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/non-wrapped.macro'>;
}
declare module 'babel-plugin-macros/dist/__tests__/fixtures/path-replace-issue/variable-assignment.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/fixtures/path-replace-issue/variable-assignment'>;
}
declare module 'babel-plugin-macros/dist/__tests__/index.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/__tests__/index'>;
declare module 'babel-plugin-macros/dist/index' {
declare module.exports: $Exports<'babel-plugin-macros/dist'>;
}
declare module 'babel-plugin-macros/dist/index.js' {
declare module.exports: $Exports<'babel-plugin-macros/dist/index'>;
declare module.exports: $Exports<'babel-plugin-macros/dist'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: eed5600049365a92858c0b11e6fb667e
// flow-typed version: <<STUB>>/babel-plugin-tester_v^6.0.1/flow_v0.100.0
// flow-typed signature: 5b50fec697accd58a8a4cc3c87c2719d
// flow-typed version: <<STUB>>/babel-plugin-tester_v^6.0.1/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -46,6 +46,10 @@ declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/changed/out
declare module.exports: any;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/jsx-support/code' {
declare module.exports: any;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/nested/nested-a/code' {
declare module.exports: any;
}
@@ -70,6 +74,22 @@ declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/unchanged/o
declare module.exports: any;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-with-option/code' {
declare module.exports: any;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-with-option/output' {
declare module.exports: any;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-without-option/code' {
declare module.exports: any;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-without-option/output' {
declare module.exports: any;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/without-output-file/code' {
declare module.exports: any;
}
@@ -82,11 +102,11 @@ declare module 'babel-plugin-tester/dist/__tests__/helpers/identifier-reverse-pl
declare module.exports: any;
}
declare module 'babel-plugin-tester/dist/__tests__/index' {
declare module 'babel-plugin-tester/dist/__tests__' {
declare module.exports: any;
}
declare module 'babel-plugin-tester/dist/index' {
declare module 'babel-plugin-tester/dist' {
declare module.exports: any;
}
@@ -109,6 +129,9 @@ declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/changed/cod
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/changed/output.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/fixtures/fixtures/changed/output'>;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/jsx-support/code.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/fixtures/fixtures/jsx-support/code'>;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/nested/nested-a/code.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/fixtures/fixtures/nested/nested-a/code'>;
}
@@ -127,6 +150,18 @@ declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/unchanged/c
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/unchanged/output.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/fixtures/fixtures/unchanged/output'>;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-with-option/code.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-with-option/code'>;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-with-option/output.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-with-option/output'>;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-without-option/code.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-without-option/code'>;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-without-option/output.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/fixtures/fixtures/with-options/nested-without-option/output'>;
}
declare module 'babel-plugin-tester/dist/__tests__/fixtures/fixtures/without-output-file/code.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/fixtures/fixtures/without-output-file/code'>;
}
@@ -136,9 +171,15 @@ declare module 'babel-plugin-tester/dist/__tests__/fixtures/outure1.js' {
declare module 'babel-plugin-tester/dist/__tests__/helpers/identifier-reverse-plugin.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/helpers/identifier-reverse-plugin'>;
}
declare module 'babel-plugin-tester/dist/__tests__/index' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__'>;
}
declare module 'babel-plugin-tester/dist/__tests__/index.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__/index'>;
declare module.exports: $Exports<'babel-plugin-tester/dist/__tests__'>;
}
declare module 'babel-plugin-tester/dist/index' {
declare module.exports: $Exports<'babel-plugin-tester/dist'>;
}
declare module 'babel-plugin-tester/dist/index.js' {
declare module.exports: $Exports<'babel-plugin-tester/dist/index'>;
declare module.exports: $Exports<'babel-plugin-tester/dist'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 23000f09d20431fad28cbfc4481c34f3
// flow-typed version: <<STUB>>/babel-plugin-transform-react-remove-prop-types_v0.4.24/flow_v0.100.0
// flow-typed signature: 4019948303e0269aa00048ad6322fbe9
// flow-typed version: <<STUB>>/babel-plugin-transform-react-remove-prop-types_v0.4.24/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,7 +22,7 @@ declare module 'babel-plugin-transform-react-remove-prop-types' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'babel-plugin-transform-react-remove-prop-types/lib/index' {
declare module 'babel-plugin-transform-react-remove-prop-types/lib' {
declare module.exports: any;
}
@@ -38,7 +38,7 @@ declare module 'babel-plugin-transform-react-remove-prop-types/lib/remove' {
declare module.exports: any;
}
declare module 'babel-plugin-transform-react-remove-prop-types/src/index' {
declare module 'babel-plugin-transform-react-remove-prop-types/src' {
declare module.exports: any;
}
@@ -55,8 +55,11 @@ declare module 'babel-plugin-transform-react-remove-prop-types/src/remove' {
}
// Filename aliases
declare module 'babel-plugin-transform-react-remove-prop-types/lib/index' {
declare module.exports: $Exports<'babel-plugin-transform-react-remove-prop-types/lib'>;
}
declare module 'babel-plugin-transform-react-remove-prop-types/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-transform-react-remove-prop-types/lib/index'>;
declare module.exports: $Exports<'babel-plugin-transform-react-remove-prop-types/lib'>;
}
declare module 'babel-plugin-transform-react-remove-prop-types/lib/isAnnotatedForRemoval.js' {
declare module.exports: $Exports<'babel-plugin-transform-react-remove-prop-types/lib/isAnnotatedForRemoval'>;
@@ -67,8 +70,11 @@ declare module 'babel-plugin-transform-react-remove-prop-types/lib/isStatelessCo
declare module 'babel-plugin-transform-react-remove-prop-types/lib/remove.js' {
declare module.exports: $Exports<'babel-plugin-transform-react-remove-prop-types/lib/remove'>;
}
declare module 'babel-plugin-transform-react-remove-prop-types/src/index' {
declare module.exports: $Exports<'babel-plugin-transform-react-remove-prop-types/src'>;
}
declare module 'babel-plugin-transform-react-remove-prop-types/src/index.js' {
declare module.exports: $Exports<'babel-plugin-transform-react-remove-prop-types/src/index'>;
declare module.exports: $Exports<'babel-plugin-transform-react-remove-prop-types/src'>;
}
declare module 'babel-plugin-transform-react-remove-prop-types/src/isAnnotatedForRemoval.js' {
declare module.exports: $Exports<'babel-plugin-transform-react-remove-prop-types/src/isAnnotatedForRemoval'>;

168
flow-typed/npm/bundlewatch_vx.x.x.js vendored Normal file
View File

@@ -0,0 +1,168 @@
// flow-typed signature: 3b1dc74ca71ae9b1efa9a7c81d721f3a
// flow-typed version: <<STUB>>/bundlewatch_v^0.2.7/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
*
* 'bundlewatch'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/
declare module 'bundlewatch' {
declare module.exports: any;
}
/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'bundlewatch/lib/app/analyze/analyze.test.mockdata' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/analyze/analyzeFiles' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/analyze' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/config/ensureValid' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/config/getCIVars' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/config/getConfig' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/errors/ValidationError' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/getLocalFileDetails/getSize' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/getLocalFileDetails' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/reporting/BundleWatchService' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/reporting/GitHubService' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/resultsPage/createURL' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/app/resultsPage/shortenURL' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/bin/determineConfig' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/bin' {
declare module.exports: any;
}
declare module 'bundlewatch/lib/logger' {
declare module.exports: any;
}
// Filename aliases
declare module 'bundlewatch/lib/app/analyze/analyze.test.mockdata.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/analyze/analyze.test.mockdata'>;
}
declare module 'bundlewatch/lib/app/analyze/analyzeFiles/index' {
declare module.exports: $Exports<'bundlewatch/lib/app/analyze/analyzeFiles'>;
}
declare module 'bundlewatch/lib/app/analyze/analyzeFiles/index.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/analyze/analyzeFiles'>;
}
declare module 'bundlewatch/lib/app/analyze/index' {
declare module.exports: $Exports<'bundlewatch/lib/app/analyze'>;
}
declare module 'bundlewatch/lib/app/analyze/index.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/analyze'>;
}
declare module 'bundlewatch/lib/app/config/ensureValid.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/config/ensureValid'>;
}
declare module 'bundlewatch/lib/app/config/getCIVars.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/config/getCIVars'>;
}
declare module 'bundlewatch/lib/app/config/getConfig.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/config/getConfig'>;
}
declare module 'bundlewatch/lib/app/errors/ValidationError.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/errors/ValidationError'>;
}
declare module 'bundlewatch/lib/app/getLocalFileDetails/getSize.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/getLocalFileDetails/getSize'>;
}
declare module 'bundlewatch/lib/app/getLocalFileDetails/index' {
declare module.exports: $Exports<'bundlewatch/lib/app/getLocalFileDetails'>;
}
declare module 'bundlewatch/lib/app/getLocalFileDetails/index.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/getLocalFileDetails'>;
}
declare module 'bundlewatch/lib/app/index' {
declare module.exports: $Exports<'bundlewatch/lib/app'>;
}
declare module 'bundlewatch/lib/app/index.js' {
declare module.exports: $Exports<'bundlewatch/lib/app'>;
}
declare module 'bundlewatch/lib/app/reporting/BundleWatchService/index' {
declare module.exports: $Exports<'bundlewatch/lib/app/reporting/BundleWatchService'>;
}
declare module 'bundlewatch/lib/app/reporting/BundleWatchService/index.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/reporting/BundleWatchService'>;
}
declare module 'bundlewatch/lib/app/reporting/GitHubService/index' {
declare module.exports: $Exports<'bundlewatch/lib/app/reporting/GitHubService'>;
}
declare module 'bundlewatch/lib/app/reporting/GitHubService/index.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/reporting/GitHubService'>;
}
declare module 'bundlewatch/lib/app/resultsPage/createURL.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/resultsPage/createURL'>;
}
declare module 'bundlewatch/lib/app/resultsPage/shortenURL.js' {
declare module.exports: $Exports<'bundlewatch/lib/app/resultsPage/shortenURL'>;
}
declare module 'bundlewatch/lib/bin/determineConfig.js' {
declare module.exports: $Exports<'bundlewatch/lib/bin/determineConfig'>;
}
declare module 'bundlewatch/lib/bin/index' {
declare module.exports: $Exports<'bundlewatch/lib/bin'>;
}
declare module 'bundlewatch/lib/bin/index.js' {
declare module.exports: $Exports<'bundlewatch/lib/bin'>;
}
declare module 'bundlewatch/lib/logger/index' {
declare module.exports: $Exports<'bundlewatch/lib/logger'>;
}
declare module 'bundlewatch/lib/logger/index.js' {
declare module.exports: $Exports<'bundlewatch/lib/logger'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 2df9c293fa3077fba2ebbc8e8696c904
// flow-typed version: <<STUB>>/cross-env_v^5.1.3/flow_v0.100.0
// flow-typed signature: daad0b229ec088f560c2a7f7ed59d518
// flow-typed version: <<STUB>>/cross-env_v^5.1.3/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -34,7 +34,11 @@ declare module 'cross-env/dist/command' {
declare module.exports: any;
}
declare module 'cross-env/dist/index' {
declare module 'cross-env/dist' {
declare module.exports: any;
}
declare module 'cross-env/dist/is-windows' {
declare module.exports: any;
}
@@ -52,8 +56,14 @@ declare module 'cross-env/dist/bin/cross-env.js' {
declare module 'cross-env/dist/command.js' {
declare module.exports: $Exports<'cross-env/dist/command'>;
}
declare module 'cross-env/dist/index' {
declare module.exports: $Exports<'cross-env/dist'>;
}
declare module 'cross-env/dist/index.js' {
declare module.exports: $Exports<'cross-env/dist/index'>;
declare module.exports: $Exports<'cross-env/dist'>;
}
declare module 'cross-env/dist/is-windows.js' {
declare module.exports: $Exports<'cross-env/dist/is-windows'>;
}
declare module 'cross-env/dist/variable.js' {
declare module.exports: $Exports<'cross-env/dist/variable'>;

View File

@@ -1,5 +1,5 @@
// flow-typed signature: c37c5d4e0ff8bdac1954ea00cdc7be4a
// flow-typed version: <<STUB>>/eslint-config-airbnb_v^17.1.0/flow_v0.100.0
// flow-typed signature: ef343ad4b1d2dd29c9f55afd02776f95
// flow-typed version: <<STUB>>/eslint-config-airbnb_v^17.1.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 71893d3aec6f63ca5769ce197d097b6a
// flow-typed version: <<STUB>>/eslint-config-prettier_v^4.1.0/flow_v0.100.0
// flow-typed signature: 44a6903c2c4e299274b3c0bbda9c7038
// flow-typed version: <<STUB>>/eslint-config-prettier_v^4.1.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 642c478e3ee1d2975696acfb2050bad4
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.17.2/flow_v0.100.0
// flow-typed signature: 34b20169c5f226ad771393a1968f462a
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.17.2/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -74,7 +74,7 @@ declare module 'eslint-plugin-import/lib/importDeclaration' {
declare module.exports: any;
}
declare module 'eslint-plugin-import/lib/index' {
declare module 'eslint-plugin-import/lib' {
declare module.exports: any;
}
@@ -242,7 +242,7 @@ declare module 'eslint-plugin-import/lib/rules/unambiguous' {
declare module.exports: any;
}
declare module 'eslint-plugin-import/memo-parser/index' {
declare module 'eslint-plugin-import/memo-parser' {
declare module.exports: any;
}
@@ -286,8 +286,11 @@ declare module 'eslint-plugin-import/lib/ExportMap.js' {
declare module 'eslint-plugin-import/lib/importDeclaration.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/importDeclaration'>;
}
declare module 'eslint-plugin-import/lib/index' {
declare module.exports: $Exports<'eslint-plugin-import/lib'>;
}
declare module 'eslint-plugin-import/lib/index.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/index'>;
declare module.exports: $Exports<'eslint-plugin-import/lib'>;
}
declare module 'eslint-plugin-import/lib/rules/default.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/default'>;
@@ -412,6 +415,9 @@ declare module 'eslint-plugin-import/lib/rules/prefer-default-export.js' {
declare module 'eslint-plugin-import/lib/rules/unambiguous.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/unambiguous'>;
}
declare module 'eslint-plugin-import/memo-parser/index.js' {
declare module.exports: $Exports<'eslint-plugin-import/memo-parser/index'>;
declare module 'eslint-plugin-import/memo-parser/index' {
declare module.exports: $Exports<'eslint-plugin-import/memo-parser'>;
}
declare module 'eslint-plugin-import/memo-parser/index.js' {
declare module.exports: $Exports<'eslint-plugin-import/memo-parser'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 2ee42148f3bd12259ec7f4d5d76e99a0
// flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^6.2.1/flow_v0.100.0
// flow-typed signature: fd8e7ab9b0f9ebb5e702ea24309267e4
// flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^6.2.1/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -274,6 +274,10 @@ declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/isNonInteractiveRole-t
declare module.exports: any;
}
declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/isNonLiteralProperty-test' {
declare module.exports: any;
}
declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/isSemanticRoleElement-test' {
declare module.exports: any;
}
@@ -294,7 +298,7 @@ declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/schemas-test' {
declare module.exports: any;
}
declare module 'eslint-plugin-jsx-a11y/lib/index' {
declare module 'eslint-plugin-jsx-a11y/lib' {
declare module.exports: any;
}
@@ -542,7 +546,7 @@ declare module 'eslint-plugin-jsx-a11y/lib/util/implicitRoles/img' {
declare module.exports: any;
}
declare module 'eslint-plugin-jsx-a11y/lib/util/implicitRoles/index' {
declare module 'eslint-plugin-jsx-a11y/lib/util/implicitRoles' {
declare module.exports: any;
}
@@ -650,6 +654,10 @@ declare module 'eslint-plugin-jsx-a11y/lib/util/isNonInteractiveRole' {
declare module.exports: any;
}
declare module 'eslint-plugin-jsx-a11y/lib/util/isNonLiteralProperty' {
declare module.exports: any;
}
declare module 'eslint-plugin-jsx-a11y/lib/util/isPresentationRole' {
declare module.exports: any;
}
@@ -880,6 +888,9 @@ declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/isNonInteractiveElemen
declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/isNonInteractiveRole-test.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/util/isNonInteractiveRole-test'>;
}
declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/isNonLiteralProperty-test.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/util/isNonLiteralProperty-test'>;
}
declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/isSemanticRoleElement-test.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/util/isSemanticRoleElement-test'>;
}
@@ -895,8 +906,11 @@ declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/parserOptionsMapper-te
declare module 'eslint-plugin-jsx-a11y/__tests__/src/util/schemas-test.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/__tests__/src/util/schemas-test'>;
}
declare module 'eslint-plugin-jsx-a11y/lib/index' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib'>;
}
declare module 'eslint-plugin-jsx-a11y/lib/index.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/index'>;
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib'>;
}
declare module 'eslint-plugin-jsx-a11y/lib/rules/accessible-emoji.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/rules/accessible-emoji'>;
@@ -1081,8 +1095,11 @@ declare module 'eslint-plugin-jsx-a11y/lib/util/implicitRoles/hr.js' {
declare module 'eslint-plugin-jsx-a11y/lib/util/implicitRoles/img.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/util/implicitRoles/img'>;
}
declare module 'eslint-plugin-jsx-a11y/lib/util/implicitRoles/index' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/util/implicitRoles'>;
}
declare module 'eslint-plugin-jsx-a11y/lib/util/implicitRoles/index.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/util/implicitRoles/index'>;
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/util/implicitRoles'>;
}
declare module 'eslint-plugin-jsx-a11y/lib/util/implicitRoles/input.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/util/implicitRoles/input'>;
@@ -1162,6 +1179,9 @@ declare module 'eslint-plugin-jsx-a11y/lib/util/isNonInteractiveElement.js' {
declare module 'eslint-plugin-jsx-a11y/lib/util/isNonInteractiveRole.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/util/isNonInteractiveRole'>;
}
declare module 'eslint-plugin-jsx-a11y/lib/util/isNonLiteralProperty.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/util/isNonLiteralProperty'>;
}
declare module 'eslint-plugin-jsx-a11y/lib/util/isPresentationRole.js' {
declare module.exports: $Exports<'eslint-plugin-jsx-a11y/lib/util/isPresentationRole'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: c0224b5baa7b23cb35067ba3da33f661
// flow-typed version: <<STUB>>/eslint-plugin-prettier_v^3.0.0/flow_v0.100.0
// flow-typed signature: c1979afe96399015d9030835c7ad9867
// flow-typed version: <<STUB>>/eslint-plugin-prettier_v^3.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,5 +1,5 @@
// flow-typed signature: f7d603961a469b00a261107316674a32
// flow-typed version: <<STUB>>/eslint-plugin-react-hooks_v^1.6.0/flow_v0.100.0
// flow-typed signature: 1a7802ccdd22989b3946d66e01e38a24
// flow-typed version: <<STUB>>/eslint-plugin-react-hooks_v^1.6.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 08c0b02d6b738243c9013eff24977a6f
// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.12.4/flow_v0.100.0
// flow-typed signature: 54d8f238e63755e8d166139bc8ea25ba
// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.12.4/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -62,6 +62,10 @@ declare module 'eslint-plugin-react/lib/rules/forbid-prop-types' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/function-component-definition' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value' {
declare module.exports: any;
}
@@ -82,6 +86,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-curly-brace-presence' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/jsx-curly-newline' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing' {
declare module.exports: any;
}
@@ -142,6 +150,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-no-literals' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/jsx-no-script-url' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank' {
declare module.exports: any;
}
@@ -150,6 +162,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-no-undef' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/jsx-no-useless-fragment' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line' {
declare module.exports: any;
}
@@ -162,6 +178,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/jsx-props-no-spreading' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props' {
declare module.exports: any;
}
@@ -194,6 +214,10 @@ declare module 'eslint-plugin-react/lib/rules/no-access-state-in-setstate' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/no-adjacent-inline-elements' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/no-array-index-key' {
declare module.exports: any;
}
@@ -290,6 +314,10 @@ declare module 'eslint-plugin-react/lib/rules/prefer-es6-class' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/prefer-read-only-props' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function' {
declare module.exports: any;
}
@@ -326,6 +354,14 @@ declare module 'eslint-plugin-react/lib/rules/sort-prop-types' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/state-in-constructor' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/static-property-placement' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/rules/style-prop-object' {
declare module.exports: any;
}
@@ -366,6 +402,10 @@ declare module 'eslint-plugin-react/lib/util/jsx' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/util/linkComponents' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/util/log' {
declare module.exports: any;
}
@@ -386,6 +426,10 @@ declare module 'eslint-plugin-react/lib/util/propTypes' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/util/propTypesSort' {
declare module.exports: any;
}
declare module 'eslint-plugin-react/lib/util/propWrapper' {
declare module.exports: any;
}
@@ -439,6 +483,9 @@ declare module 'eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js' {
declare module 'eslint-plugin-react/lib/rules/forbid-prop-types.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/forbid-prop-types'>;
}
declare module 'eslint-plugin-react/lib/rules/function-component-definition.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/function-component-definition'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-boolean-value.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-boolean-value'>;
}
@@ -454,6 +501,9 @@ declare module 'eslint-plugin-react/lib/rules/jsx-closing-tag-location.js' {
declare module 'eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-brace-presence'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-curly-newline.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-newline'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-curly-spacing.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-curly-spacing'>;
}
@@ -499,12 +549,18 @@ declare module 'eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js' {
declare module 'eslint-plugin-react/lib/rules/jsx-no-literals.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-literals'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-no-script-url.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-script-url'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-no-target-blank.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-target-blank'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-no-undef.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-undef'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-no-useless-fragment'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-one-expression-per-line'>;
}
@@ -514,6 +570,9 @@ declare module 'eslint-plugin-react/lib/rules/jsx-pascal-case.js' {
declare module 'eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-props-no-spreading.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-props-no-spreading'>;
}
declare module 'eslint-plugin-react/lib/rules/jsx-sort-default-props.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-sort-default-props'>;
}
@@ -538,6 +597,9 @@ declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines.js' {
declare module 'eslint-plugin-react/lib/rules/no-access-state-in-setstate.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-access-state-in-setstate'>;
}
declare module 'eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-adjacent-inline-elements'>;
}
declare module 'eslint-plugin-react/lib/rules/no-array-index-key.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-array-index-key'>;
}
@@ -610,6 +672,9 @@ declare module 'eslint-plugin-react/lib/rules/no-will-update-set-state.js' {
declare module 'eslint-plugin-react/lib/rules/prefer-es6-class.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-es6-class'>;
}
declare module 'eslint-plugin-react/lib/rules/prefer-read-only-props.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-read-only-props'>;
}
declare module 'eslint-plugin-react/lib/rules/prefer-stateless-function.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/prefer-stateless-function'>;
}
@@ -637,6 +702,12 @@ declare module 'eslint-plugin-react/lib/rules/sort-comp.js' {
declare module 'eslint-plugin-react/lib/rules/sort-prop-types.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/sort-prop-types'>;
}
declare module 'eslint-plugin-react/lib/rules/state-in-constructor.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/state-in-constructor'>;
}
declare module 'eslint-plugin-react/lib/rules/static-property-placement.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/static-property-placement'>;
}
declare module 'eslint-plugin-react/lib/rules/style-prop-object.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/style-prop-object'>;
}
@@ -667,6 +738,9 @@ declare module 'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js' {
declare module 'eslint-plugin-react/lib/util/jsx.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/util/jsx'>;
}
declare module 'eslint-plugin-react/lib/util/linkComponents.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/util/linkComponents'>;
}
declare module 'eslint-plugin-react/lib/util/log.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/util/log'>;
}
@@ -682,6 +756,9 @@ declare module 'eslint-plugin-react/lib/util/props.js' {
declare module 'eslint-plugin-react/lib/util/propTypes.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/util/propTypes'>;
}
declare module 'eslint-plugin-react/lib/util/propTypesSort.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/util/propTypesSort'>;
}
declare module 'eslint-plugin-react/lib/util/propWrapper.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/util/propWrapper'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 790079a0dcf5983070e3a9f100f3fb2c
// flow-typed version: <<STUB>>/eslint_v^5.16.0/flow_v0.100.0
// flow-typed signature: 8f8176757cadbc3449689256f628712c
// flow-typed version: <<STUB>>/eslint_v^5.16.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -1298,7 +1298,7 @@ declare module 'eslint/lib/token-store/forward-token-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/index' {
declare module 'eslint/lib/token-store' {
declare module.exports: any;
}
@@ -1430,7 +1430,7 @@ declare module 'eslint/lib/util/traverser' {
declare module.exports: any;
}
declare module 'eslint/lib/util/unicode/index' {
declare module 'eslint/lib/util/unicode' {
declare module.exports: any;
}
@@ -2412,8 +2412,11 @@ declare module 'eslint/lib/token-store/forward-token-comment-cursor.js' {
declare module 'eslint/lib/token-store/forward-token-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/forward-token-cursor'>;
}
declare module 'eslint/lib/token-store/index' {
declare module.exports: $Exports<'eslint/lib/token-store'>;
}
declare module 'eslint/lib/token-store/index.js' {
declare module.exports: $Exports<'eslint/lib/token-store/index'>;
declare module.exports: $Exports<'eslint/lib/token-store'>;
}
declare module 'eslint/lib/token-store/limit-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/limit-cursor'>;
@@ -2511,8 +2514,11 @@ declare module 'eslint/lib/util/timing.js' {
declare module 'eslint/lib/util/traverser.js' {
declare module.exports: $Exports<'eslint/lib/util/traverser'>;
}
declare module 'eslint/lib/util/unicode/index' {
declare module.exports: $Exports<'eslint/lib/util/unicode'>;
}
declare module 'eslint/lib/util/unicode/index.js' {
declare module.exports: $Exports<'eslint/lib/util/unicode/index'>;
declare module.exports: $Exports<'eslint/lib/util/unicode'>;
}
declare module 'eslint/lib/util/unicode/is-combining-character.js' {
declare module.exports: $Exports<'eslint/lib/util/unicode/is-combining-character'>;

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 6a5610678d4b01e13bbfbbc62bdaf583
// flow-typed version: 3817bc6980/flow-bin_v0.x.x/flow_>=v0.25.x
// flow-typed signature: 28fdff7f110e1c75efab63ff205dda30
// flow-typed version: c6154227d1/flow-bin_v0.x.x/flow_>=v0.104.x
declare module "flow-bin" {
declare module.exports: string;

View File

@@ -1,5 +1,5 @@
// flow-typed signature: f4ab1985165d1808e9da6b44a6ffa23d
// flow-typed version: <<STUB>>/flow-watch_v^1.1.1/flow_v0.100.0
// flow-typed signature: d77b997468783db026a23e0e5c27aec2
// flow-typed version: <<STUB>>/flow-watch_v^2.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,18 +22,24 @@ declare module 'flow-watch' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'flow-watch/src/flow-watch' {
declare module 'flow-watch/createNodemonArgs' {
declare module.exports: any;
}
declare module 'flow-watch/src/runFlow' {
declare module 'flow-watch/runFlow' {
declare module.exports: any;
}
// Filename aliases
declare module 'flow-watch/src/flow-watch.js' {
declare module.exports: $Exports<'flow-watch/src/flow-watch'>;
declare module 'flow-watch/createNodemonArgs.js' {
declare module.exports: $Exports<'flow-watch/createNodemonArgs'>;
}
declare module 'flow-watch/src/runFlow.js' {
declare module.exports: $Exports<'flow-watch/src/runFlow'>;
declare module 'flow-watch/index' {
declare module.exports: $Exports<'flow-watch'>;
}
declare module 'flow-watch/index.js' {
declare module.exports: $Exports<'flow-watch'>;
}
declare module 'flow-watch/runFlow.js' {
declare module.exports: $Exports<'flow-watch/runFlow'>;
}

View File

@@ -72,14 +72,9 @@ declare module 'hoist-non-react-statics' {
C
>;
/*
TP - target component props
T - target component statics
S - source component statics
*/
declare function hoistNonReactStatics<TP, T, S, C: { [key: string]: true, ... }>(
TargetComponent: React$ComponentType<TP> & T,
SourceComponent: React$ComponentType<any> & S,
declare function hoistNonReactStatics<T, S, C = { [key: string]: true, ... }>(
TargetComponent: T,
SourceComponent: S,
customStatics?: C
): React$ComponentType<TP> & $HoistedStatics<S, C> & T;

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 71931d75a0f917bba62c3133d8883af2
// flow-typed version: <<STUB>>/husky_v^1.1.3/flow_v0.100.0
// flow-typed signature: e3ccd0718d352b58a1de2ac92b23c6cb
// flow-typed version: <<STUB>>/husky_v^1.1.3/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -38,7 +38,7 @@ declare module 'husky/lib/installer/getScript' {
declare module.exports: any;
}
declare module 'husky/lib/installer/index' {
declare module 'husky/lib/installer' {
declare module.exports: any;
}
@@ -54,7 +54,7 @@ declare module 'husky/lib/runner/bin' {
declare module.exports: any;
}
declare module 'husky/lib/runner/index' {
declare module 'husky/lib/runner' {
declare module.exports: any;
}
@@ -62,7 +62,7 @@ declare module 'husky/lib/upgrader/bin' {
declare module.exports: any;
}
declare module 'husky/lib/upgrader/index' {
declare module 'husky/lib/upgrader' {
declare module.exports: any;
}
@@ -83,8 +83,11 @@ declare module 'husky/lib/installer/bin.js' {
declare module 'husky/lib/installer/getScript.js' {
declare module.exports: $Exports<'husky/lib/installer/getScript'>;
}
declare module 'husky/lib/installer/index' {
declare module.exports: $Exports<'husky/lib/installer'>;
}
declare module 'husky/lib/installer/index.js' {
declare module.exports: $Exports<'husky/lib/installer/index'>;
declare module.exports: $Exports<'husky/lib/installer'>;
}
declare module 'husky/lib/installer/is.js' {
declare module.exports: $Exports<'husky/lib/installer/is'>;
@@ -95,14 +98,20 @@ declare module 'husky/lib/installer/resolveGitDir.js' {
declare module 'husky/lib/runner/bin.js' {
declare module.exports: $Exports<'husky/lib/runner/bin'>;
}
declare module 'husky/lib/runner/index' {
declare module.exports: $Exports<'husky/lib/runner'>;
}
declare module 'husky/lib/runner/index.js' {
declare module.exports: $Exports<'husky/lib/runner/index'>;
declare module.exports: $Exports<'husky/lib/runner'>;
}
declare module 'husky/lib/upgrader/bin.js' {
declare module.exports: $Exports<'husky/lib/upgrader/bin'>;
}
declare module 'husky/lib/upgrader/index' {
declare module.exports: $Exports<'husky/lib/upgrader'>;
}
declare module 'husky/lib/upgrader/index.js' {
declare module.exports: $Exports<'husky/lib/upgrader/index'>;
declare module.exports: $Exports<'husky/lib/upgrader'>;
}
declare module 'husky/run.js' {
declare module.exports: $Exports<'husky/run'>;

View File

@@ -1,5 +1,5 @@
// flow-typed signature: f97d7767519316b741f9ba302e9d6f69
// flow-typed version: <<STUB>>/jest-image-snapshot_v^2.8.1/flow_v0.100.0
// flow-typed signature: 1c46cd991cba8d6e5e2e5c90637dc420
// flow-typed version: <<STUB>>/jest-image-snapshot_v^2.8.1/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,38 +22,6 @@ declare module 'jest-image-snapshot' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'jest-image-snapshot/__tests__/diff-snapshot.spec' {
declare module.exports: any;
}
declare module 'jest-image-snapshot/__tests__/image-composer.spec' {
declare module.exports: any;
}
declare module 'jest-image-snapshot/__tests__/index.spec' {
declare module.exports: any;
}
declare module 'jest-image-snapshot/__tests__/integration.spec' {
declare module.exports: any;
}
declare module 'jest-image-snapshot/examples/__tests__/local-image.spec' {
declare module.exports: any;
}
declare module 'jest-image-snapshot/examples/__tests__/puppeteer-example.spec' {
declare module.exports: any;
}
declare module 'jest-image-snapshot/examples/image-reporter' {
declare module.exports: any;
}
declare module 'jest-image-snapshot/examples/jest-setup' {
declare module.exports: any;
}
declare module 'jest-image-snapshot/src/diff-process' {
declare module.exports: any;
}
@@ -66,35 +34,11 @@ declare module 'jest-image-snapshot/src/image-composer' {
declare module.exports: any;
}
declare module 'jest-image-snapshot/src/index' {
declare module 'jest-image-snapshot/src' {
declare module.exports: any;
}
// Filename aliases
declare module 'jest-image-snapshot/__tests__/diff-snapshot.spec.js' {
declare module.exports: $Exports<'jest-image-snapshot/__tests__/diff-snapshot.spec'>;
}
declare module 'jest-image-snapshot/__tests__/image-composer.spec.js' {
declare module.exports: $Exports<'jest-image-snapshot/__tests__/image-composer.spec'>;
}
declare module 'jest-image-snapshot/__tests__/index.spec.js' {
declare module.exports: $Exports<'jest-image-snapshot/__tests__/index.spec'>;
}
declare module 'jest-image-snapshot/__tests__/integration.spec.js' {
declare module.exports: $Exports<'jest-image-snapshot/__tests__/integration.spec'>;
}
declare module 'jest-image-snapshot/examples/__tests__/local-image.spec.js' {
declare module.exports: $Exports<'jest-image-snapshot/examples/__tests__/local-image.spec'>;
}
declare module 'jest-image-snapshot/examples/__tests__/puppeteer-example.spec.js' {
declare module.exports: $Exports<'jest-image-snapshot/examples/__tests__/puppeteer-example.spec'>;
}
declare module 'jest-image-snapshot/examples/image-reporter.js' {
declare module.exports: $Exports<'jest-image-snapshot/examples/image-reporter'>;
}
declare module 'jest-image-snapshot/examples/jest-setup.js' {
declare module.exports: $Exports<'jest-image-snapshot/examples/jest-setup'>;
}
declare module 'jest-image-snapshot/src/diff-process.js' {
declare module.exports: $Exports<'jest-image-snapshot/src/diff-process'>;
}
@@ -104,6 +48,9 @@ declare module 'jest-image-snapshot/src/diff-snapshot.js' {
declare module 'jest-image-snapshot/src/image-composer.js' {
declare module.exports: $Exports<'jest-image-snapshot/src/image-composer'>;
}
declare module 'jest-image-snapshot/src/index.js' {
declare module.exports: $Exports<'jest-image-snapshot/src/index'>;
declare module 'jest-image-snapshot/src/index' {
declare module.exports: $Exports<'jest-image-snapshot/src'>;
}
declare module 'jest-image-snapshot/src/index.js' {
declare module.exports: $Exports<'jest-image-snapshot/src'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 9b95d50deb5da9d9d2cb59f58f1b0aa0
// flow-typed version: <<STUB>>/lint-staged_v^8.1.5/flow_v0.100.0
// flow-typed signature: adab4d062a04f2f0c22f04c0a3fecf83
// flow-typed version: <<STUB>>/lint-staged_v^8.1.5/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -30,6 +30,10 @@ declare module 'lint-staged/src/checkPkgScripts' {
declare module.exports: any;
}
declare module 'lint-staged/src/execGit' {
declare module.exports: any;
}
declare module 'lint-staged/src/findBin' {
declare module.exports: any;
}
@@ -46,7 +50,7 @@ declare module 'lint-staged/src/gitWorkflow' {
declare module.exports: any;
}
declare module 'lint-staged/src/index' {
declare module 'lint-staged/src' {
declare module.exports: any;
}
@@ -83,6 +87,9 @@ declare module 'lint-staged/src/calcChunkSize.js' {
declare module 'lint-staged/src/checkPkgScripts.js' {
declare module.exports: $Exports<'lint-staged/src/checkPkgScripts'>;
}
declare module 'lint-staged/src/execGit.js' {
declare module.exports: $Exports<'lint-staged/src/execGit'>;
}
declare module 'lint-staged/src/findBin.js' {
declare module.exports: $Exports<'lint-staged/src/findBin'>;
}
@@ -95,8 +102,11 @@ declare module 'lint-staged/src/getConfig.js' {
declare module 'lint-staged/src/gitWorkflow.js' {
declare module.exports: $Exports<'lint-staged/src/gitWorkflow'>;
}
declare module 'lint-staged/src/index' {
declare module.exports: $Exports<'lint-staged/src'>;
}
declare module 'lint-staged/src/index.js' {
declare module.exports: $Exports<'lint-staged/src/index'>;
declare module.exports: $Exports<'lint-staged/src'>;
}
declare module 'lint-staged/src/makeCmdTasks.js' {
declare module.exports: $Exports<'lint-staged/src/makeCmdTasks'>;

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 8e6cd2f42a4aa9d2c7947e42547f5b43
// flow-typed version: <<STUB>>/node-watch_v^0.5.0/flow_v0.100.0
// flow-typed signature: 777a3e272c35c5522272a6059bc24186
// flow-typed version: <<STUB>>/node-watch_v^0.5.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 40bb3da98850f14c37b3fd46a0265e8e
// flow-typed version: <<STUB>>/npm-run-all_v^4.1.2/flow_v0.100.0
// flow-typed signature: c005c2d0c009f004dc39f18c1a838563
// flow-typed version: <<STUB>>/npm-run-all_v^4.1.2/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -38,7 +38,7 @@ declare module 'npm-run-all/bin/npm-run-all/help' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/npm-run-all/index' {
declare module 'npm-run-all/bin/npm-run-all' {
declare module.exports: any;
}
@@ -50,7 +50,7 @@ declare module 'npm-run-all/bin/run-p/help' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/run-p/index' {
declare module 'npm-run-all/bin/run-p' {
declare module.exports: any;
}
@@ -62,7 +62,7 @@ declare module 'npm-run-all/bin/run-s/help' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/run-s/index' {
declare module 'npm-run-all/bin/run-s' {
declare module.exports: any;
}
@@ -78,7 +78,7 @@ declare module 'npm-run-all/lib/create-prefix-transform-stream' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/index' {
declare module 'npm-run-all/lib' {
declare module.exports: any;
}
@@ -127,8 +127,11 @@ declare module 'npm-run-all/bin/common/version.js' {
declare module 'npm-run-all/bin/npm-run-all/help.js' {
declare module.exports: $Exports<'npm-run-all/bin/npm-run-all/help'>;
}
declare module 'npm-run-all/bin/npm-run-all/index' {
declare module.exports: $Exports<'npm-run-all/bin/npm-run-all'>;
}
declare module 'npm-run-all/bin/npm-run-all/index.js' {
declare module.exports: $Exports<'npm-run-all/bin/npm-run-all/index'>;
declare module.exports: $Exports<'npm-run-all/bin/npm-run-all'>;
}
declare module 'npm-run-all/bin/npm-run-all/main.js' {
declare module.exports: $Exports<'npm-run-all/bin/npm-run-all/main'>;
@@ -136,8 +139,11 @@ declare module 'npm-run-all/bin/npm-run-all/main.js' {
declare module 'npm-run-all/bin/run-p/help.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-p/help'>;
}
declare module 'npm-run-all/bin/run-p/index' {
declare module.exports: $Exports<'npm-run-all/bin/run-p'>;
}
declare module 'npm-run-all/bin/run-p/index.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-p/index'>;
declare module.exports: $Exports<'npm-run-all/bin/run-p'>;
}
declare module 'npm-run-all/bin/run-p/main.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-p/main'>;
@@ -145,8 +151,11 @@ declare module 'npm-run-all/bin/run-p/main.js' {
declare module 'npm-run-all/bin/run-s/help.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-s/help'>;
}
declare module 'npm-run-all/bin/run-s/index' {
declare module.exports: $Exports<'npm-run-all/bin/run-s'>;
}
declare module 'npm-run-all/bin/run-s/index.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-s/index'>;
declare module.exports: $Exports<'npm-run-all/bin/run-s'>;
}
declare module 'npm-run-all/bin/run-s/main.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-s/main'>;
@@ -157,8 +166,11 @@ declare module 'npm-run-all/lib/create-header.js' {
declare module 'npm-run-all/lib/create-prefix-transform-stream.js' {
declare module.exports: $Exports<'npm-run-all/lib/create-prefix-transform-stream'>;
}
declare module 'npm-run-all/lib/index' {
declare module.exports: $Exports<'npm-run-all/lib'>;
}
declare module 'npm-run-all/lib/index.js' {
declare module.exports: $Exports<'npm-run-all/lib/index'>;
declare module.exports: $Exports<'npm-run-all/lib'>;
}
declare module 'npm-run-all/lib/match-tasks.js' {
declare module.exports: $Exports<'npm-run-all/lib/match-tasks'>;

View File

@@ -1,26 +1,48 @@
// flow-typed signature: 066c92e9ccb5f0711df8d73cbca837d6
// flow-typed version: 9e32affdbd/prettier_v1.x.x/flow_>=v0.56.x
// flow-typed signature: a18c145fa181510ba16b10d17fc3a5a8
// flow-typed version: 01acbe56d4/prettier_v1.x.x/flow_>=v0.104.x
declare module "prettier" {
declare export type AST = Object;
declare export type Doc = Object;
declare export type FastPath = Object;
declare export type AST = { [key: string]: any, ... };
declare export type Doc = {
[key: string]: any,
...
};
declare export type FastPath<T = any> = {
stack: any[],
getName(): null | string | number | Symbol,
getValue(): T,
getNode(count?: number): null | T,
getParentNode(count?: number): null | T,
call<U>(callback: (path: FastPath<T>) => U, ...names: Array<string | number | Symbol>): U,
each(callback: (path: FastPath<T>) => void, ...names: Array<string | number | Symbol>): void,
map<U>(callback: (path: FastPath<T>, index: number) => U, ...names: Array<string | number | Symbol>): U[],
...
};
declare export type PrettierParserName =
| "babylon"
| "babylon" // deprecated
| "babel"
| "babel-flow"
| "flow"
| "typescript"
| "postcss"
| "postcss" // deprecated
| "css"
| "less"
| "scss"
| "json"
| "json5"
| "json-stringify"
| "graphql"
| "markdown"
| "vue";
| "vue"
| "html"
| "angular"
| "mdx"
| "yaml";
declare export type PrettierParser = {
[name: PrettierParserName]: (text: string, options?: Object) => AST
[name: PrettierParserName]: (text: string, options?: { [key: string]: any, ... }) => AST,
...
};
declare export type CustomParser = (
@@ -51,31 +73,51 @@ declare module "prettier" {
declare export type Plugin = {
languages: SupportLanguage,
parsers: { [parserName: string]: Parser },
printers: { [astFormat: string]: Printer }
parsers: { [parserName: string]: Parser, ... },
printers: { [astFormat: string]: Printer, ... },
options?: SupportOption[],
...
};
declare export type Parser = {
parse: (
text: string,
parsers: { [parserName: string]: Parser },
options: Object
parsers: { [parserName: string]: Parser, ... },
options: { [key: string]: any, ... }
) => AST,
astFormat: string
astFormat: string,
hasPragma?: (text: string) => boolean,
locStart: (node: any) => number,
locEnd: (node: any) => number,
preprocess?: (text: string, options: { [key: string]: any, ... }) => string,
...
};
declare export type Printer = {
print: (
path: FastPath,
options: Object,
print: (path: FastPath) => Doc
path: FastPath<>,
options: { [key: string]: any, ... },
print: (path: FastPath<>) => Doc
) => Doc,
embed: (
path: FastPath,
print: (path: FastPath) => Doc,
textToDoc: (text: string, options: Object) => Doc,
options: Object
) => ?Doc
path: FastPath<>,
print: (path: FastPath<>) => Doc,
textToDoc: (text: string, options: { [key: string]: any, ... }) => Doc,
options: { [key: string]: any, ... }
) => ?Doc,
insertPragma?: (text: string) => string,
massageAstNode?: (node: any, newNode: any, parent: any) => any,
hasPrettierIgnore?: (path: FastPath<>) => boolean,
canAttachComment?: (node: any) => boolean,
willPrintOwnComments?: (path: FastPath<>) => boolean,
printComments?: (path: FastPath<>, print: (path: FastPath<>) => Doc, options: { [key: string]: any, ... }, needsSemi: boolean) => Doc,
handleComments?: {
ownLine?: (commentNode: any, text: string, options: { [key: string]: any, ... }, ast: any, isLastComment: boolean) => boolean,
endOfLine?: (commentNode: any, text: string, options: { [key: string]: any, ... }, ast: any, isLastComment: boolean) => boolean,
remaining?: (commentNode: any, text: string, options: { [key: string]: any, ... }, ast: any, isLastComment: boolean) => boolean,
...
},
...
};
declare export type CursorOptions = {|
@@ -121,7 +163,8 @@ declare module "prettier" {
extensions: Array<string>,
filenames?: Array<string>,
linguistLanguageId: number,
vscodeLanguageIds: Array<string>
vscodeLanguageIds: Array<string>,
...
};
declare export type SupportOption = {|
@@ -161,6 +204,11 @@ declare module "prettier" {
languages: Array<SupportLanguage>,
options: Array<SupportOption>
|};
declare export type FileInfo = {|
ignored: boolean,
inferredParser: PrettierParserName | null,
|};
declare export type Prettier = {|
format: (source: string, options?: Options) => string,
@@ -168,10 +216,12 @@ declare module "prettier" {
formatWithCursor: (source: string, options: CursorOptions) => CursorResult,
resolveConfig: {
(filePath: string, options?: ResolveConfigOptions): Promise<?Options>,
sync(filePath: string, options?: ResolveConfigOptions): ?Options
sync(filePath: string, options?: ResolveConfigOptions): ?Options,
...
},
clearConfigCache: () => void,
getSupportInfo: (version?: string) => SupportInfo
getSupportInfo: (version?: string) => SupportInfo,
getFileInfo: (filePath: string) => Promise<FileInfo>
|};
declare export default Prettier;

493
flow-typed/npm/puppeteer_vx.x.x.js vendored Normal file
View File

@@ -0,0 +1,493 @@
// flow-typed signature: c85dfcba752a79e5fea0b4028275d1f5
// flow-typed version: <<STUB>>/puppeteer_v^1.10.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
*
* 'puppeteer'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/
declare module 'puppeteer' {
declare module.exports: any;
}
/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'puppeteer/DeviceDescriptors' {
declare module.exports: any;
}
declare module 'puppeteer/Errors' {
declare module.exports: any;
}
declare module 'puppeteer/install' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Accessibility' {
declare module.exports: any;
}
declare module 'puppeteer/lib/api' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Browser' {
declare module.exports: any;
}
declare module 'puppeteer/lib/BrowserFetcher' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Connection' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Coverage' {
declare module.exports: any;
}
declare module 'puppeteer/lib/DeviceDescriptors' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Dialog' {
declare module.exports: any;
}
declare module 'puppeteer/lib/DOMWorld' {
declare module.exports: any;
}
declare module 'puppeteer/lib/EmulationManager' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Errors' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Events' {
declare module.exports: any;
}
declare module 'puppeteer/lib/ExecutionContext' {
declare module.exports: any;
}
declare module 'puppeteer/lib/FrameManager' {
declare module.exports: any;
}
declare module 'puppeteer/lib/helper' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Input' {
declare module.exports: any;
}
declare module 'puppeteer/lib/JSHandle' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Launcher' {
declare module.exports: any;
}
declare module 'puppeteer/lib/LifecycleWatcher' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Multimap' {
declare module.exports: any;
}
declare module 'puppeteer/lib/NetworkManager' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Page' {
declare module.exports: any;
}
declare module 'puppeteer/lib/PipeTransport' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Puppeteer' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Target' {
declare module.exports: any;
}
declare module 'puppeteer/lib/TaskQueue' {
declare module.exports: any;
}
declare module 'puppeteer/lib/TimeoutSettings' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Tracing' {
declare module.exports: any;
}
declare module 'puppeteer/lib/USKeyboardLayout' {
declare module.exports: any;
}
declare module 'puppeteer/lib/WebSocketTransport' {
declare module.exports: any;
}
declare module 'puppeteer/lib/Worker' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Accessibility' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/api' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Browser' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/BrowserFetcher' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Connection' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Coverage' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/DeviceDescriptors' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Dialog' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/DOMWorld' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/EmulationManager' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Errors' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Events' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/ExecutionContext' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/FrameManager' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/helper' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Input' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/JSHandle' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Launcher' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/LifecycleWatcher' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Multimap' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/NetworkManager' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Page' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/PipeTransport' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Puppeteer' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Target' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/TaskQueue' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/TimeoutSettings' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Tracing' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/USKeyboardLayout' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/WebSocketTransport' {
declare module.exports: any;
}
declare module 'puppeteer/node6/lib/Worker' {
declare module.exports: any;
}
declare module 'puppeteer/x' {
declare module.exports: any;
}
// Filename aliases
declare module 'puppeteer/DeviceDescriptors.js' {
declare module.exports: $Exports<'puppeteer/DeviceDescriptors'>;
}
declare module 'puppeteer/Errors.js' {
declare module.exports: $Exports<'puppeteer/Errors'>;
}
declare module 'puppeteer/index' {
declare module.exports: $Exports<'puppeteer'>;
}
declare module 'puppeteer/index.js' {
declare module.exports: $Exports<'puppeteer'>;
}
declare module 'puppeteer/install.js' {
declare module.exports: $Exports<'puppeteer/install'>;
}
declare module 'puppeteer/lib/Accessibility.js' {
declare module.exports: $Exports<'puppeteer/lib/Accessibility'>;
}
declare module 'puppeteer/lib/api.js' {
declare module.exports: $Exports<'puppeteer/lib/api'>;
}
declare module 'puppeteer/lib/Browser.js' {
declare module.exports: $Exports<'puppeteer/lib/Browser'>;
}
declare module 'puppeteer/lib/BrowserFetcher.js' {
declare module.exports: $Exports<'puppeteer/lib/BrowserFetcher'>;
}
declare module 'puppeteer/lib/Connection.js' {
declare module.exports: $Exports<'puppeteer/lib/Connection'>;
}
declare module 'puppeteer/lib/Coverage.js' {
declare module.exports: $Exports<'puppeteer/lib/Coverage'>;
}
declare module 'puppeteer/lib/DeviceDescriptors.js' {
declare module.exports: $Exports<'puppeteer/lib/DeviceDescriptors'>;
}
declare module 'puppeteer/lib/Dialog.js' {
declare module.exports: $Exports<'puppeteer/lib/Dialog'>;
}
declare module 'puppeteer/lib/DOMWorld.js' {
declare module.exports: $Exports<'puppeteer/lib/DOMWorld'>;
}
declare module 'puppeteer/lib/EmulationManager.js' {
declare module.exports: $Exports<'puppeteer/lib/EmulationManager'>;
}
declare module 'puppeteer/lib/Errors.js' {
declare module.exports: $Exports<'puppeteer/lib/Errors'>;
}
declare module 'puppeteer/lib/Events.js' {
declare module.exports: $Exports<'puppeteer/lib/Events'>;
}
declare module 'puppeteer/lib/ExecutionContext.js' {
declare module.exports: $Exports<'puppeteer/lib/ExecutionContext'>;
}
declare module 'puppeteer/lib/FrameManager.js' {
declare module.exports: $Exports<'puppeteer/lib/FrameManager'>;
}
declare module 'puppeteer/lib/helper.js' {
declare module.exports: $Exports<'puppeteer/lib/helper'>;
}
declare module 'puppeteer/lib/Input.js' {
declare module.exports: $Exports<'puppeteer/lib/Input'>;
}
declare module 'puppeteer/lib/JSHandle.js' {
declare module.exports: $Exports<'puppeteer/lib/JSHandle'>;
}
declare module 'puppeteer/lib/Launcher.js' {
declare module.exports: $Exports<'puppeteer/lib/Launcher'>;
}
declare module 'puppeteer/lib/LifecycleWatcher.js' {
declare module.exports: $Exports<'puppeteer/lib/LifecycleWatcher'>;
}
declare module 'puppeteer/lib/Multimap.js' {
declare module.exports: $Exports<'puppeteer/lib/Multimap'>;
}
declare module 'puppeteer/lib/NetworkManager.js' {
declare module.exports: $Exports<'puppeteer/lib/NetworkManager'>;
}
declare module 'puppeteer/lib/Page.js' {
declare module.exports: $Exports<'puppeteer/lib/Page'>;
}
declare module 'puppeteer/lib/PipeTransport.js' {
declare module.exports: $Exports<'puppeteer/lib/PipeTransport'>;
}
declare module 'puppeteer/lib/Puppeteer.js' {
declare module.exports: $Exports<'puppeteer/lib/Puppeteer'>;
}
declare module 'puppeteer/lib/Target.js' {
declare module.exports: $Exports<'puppeteer/lib/Target'>;
}
declare module 'puppeteer/lib/TaskQueue.js' {
declare module.exports: $Exports<'puppeteer/lib/TaskQueue'>;
}
declare module 'puppeteer/lib/TimeoutSettings.js' {
declare module.exports: $Exports<'puppeteer/lib/TimeoutSettings'>;
}
declare module 'puppeteer/lib/Tracing.js' {
declare module.exports: $Exports<'puppeteer/lib/Tracing'>;
}
declare module 'puppeteer/lib/USKeyboardLayout.js' {
declare module.exports: $Exports<'puppeteer/lib/USKeyboardLayout'>;
}
declare module 'puppeteer/lib/WebSocketTransport.js' {
declare module.exports: $Exports<'puppeteer/lib/WebSocketTransport'>;
}
declare module 'puppeteer/lib/Worker.js' {
declare module.exports: $Exports<'puppeteer/lib/Worker'>;
}
declare module 'puppeteer/node6/lib/Accessibility.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Accessibility'>;
}
declare module 'puppeteer/node6/lib/api.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/api'>;
}
declare module 'puppeteer/node6/lib/Browser.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Browser'>;
}
declare module 'puppeteer/node6/lib/BrowserFetcher.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/BrowserFetcher'>;
}
declare module 'puppeteer/node6/lib/Connection.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Connection'>;
}
declare module 'puppeteer/node6/lib/Coverage.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Coverage'>;
}
declare module 'puppeteer/node6/lib/DeviceDescriptors.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/DeviceDescriptors'>;
}
declare module 'puppeteer/node6/lib/Dialog.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Dialog'>;
}
declare module 'puppeteer/node6/lib/DOMWorld.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/DOMWorld'>;
}
declare module 'puppeteer/node6/lib/EmulationManager.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/EmulationManager'>;
}
declare module 'puppeteer/node6/lib/Errors.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Errors'>;
}
declare module 'puppeteer/node6/lib/Events.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Events'>;
}
declare module 'puppeteer/node6/lib/ExecutionContext.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/ExecutionContext'>;
}
declare module 'puppeteer/node6/lib/FrameManager.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/FrameManager'>;
}
declare module 'puppeteer/node6/lib/helper.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/helper'>;
}
declare module 'puppeteer/node6/lib/Input.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Input'>;
}
declare module 'puppeteer/node6/lib/JSHandle.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/JSHandle'>;
}
declare module 'puppeteer/node6/lib/Launcher.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Launcher'>;
}
declare module 'puppeteer/node6/lib/LifecycleWatcher.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/LifecycleWatcher'>;
}
declare module 'puppeteer/node6/lib/Multimap.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Multimap'>;
}
declare module 'puppeteer/node6/lib/NetworkManager.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/NetworkManager'>;
}
declare module 'puppeteer/node6/lib/Page.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Page'>;
}
declare module 'puppeteer/node6/lib/PipeTransport.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/PipeTransport'>;
}
declare module 'puppeteer/node6/lib/Puppeteer.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Puppeteer'>;
}
declare module 'puppeteer/node6/lib/Target.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Target'>;
}
declare module 'puppeteer/node6/lib/TaskQueue.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/TaskQueue'>;
}
declare module 'puppeteer/node6/lib/TimeoutSettings.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/TimeoutSettings'>;
}
declare module 'puppeteer/node6/lib/Tracing.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Tracing'>;
}
declare module 'puppeteer/node6/lib/USKeyboardLayout.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/USKeyboardLayout'>;
}
declare module 'puppeteer/node6/lib/WebSocketTransport.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/WebSocketTransport'>;
}
declare module 'puppeteer/node6/lib/Worker.js' {
declare module.exports: $Exports<'puppeteer/node6/lib/Worker'>;
}
declare module 'puppeteer/x.js' {
declare module.exports: $Exports<'puppeteer/x'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: d74c44246b05bbf698b156c1053cb836
// flow-typed version: <<STUB>>/raf_v^3.4.1/flow_v0.100.0
// flow-typed signature: 549b28a0bd12f03f635896ed69dfb474
// flow-typed version: <<STUB>>/raf_v^3.4.1/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,18 +1,20 @@
// flow-typed signature: 1dff23447d5e18f5ac2b05aaec7cfb74
// flow-typed version: a453e98ea2/rimraf_v2.x.x/flow_>=v0.25.0
// flow-typed signature: 8b21843f43134917177d82a3b993b609
// flow-typed version: c6154227d1/rimraf_v2.x.x/flow_>=v0.104.x
declare module 'rimraf' {
declare type Options = {
maxBusyTries?: number,
emfileWait?: number,
glob?: boolean,
disableGlob?: boolean
maxBusyTries?: number,
emfileWait?: number,
glob?: boolean,
disableGlob?: boolean,
...
};
declare type Callback = (err: ?Error, path: ?string) => void;
declare module.exports: {
(f: string, opts?: Options | Callback, callback?: Callback): void;
sync(path: string, opts?: Options): void;
(f: string, opts?: Options | Callback, callback?: Callback): void,
sync(path: string, opts?: Options): void,
...
};
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: d88aa9ea6bf6b97f3e19905a36c16d98
// flow-typed version: <<STUB>>/rollup-plugin-babel_v^4.3.2/flow_v0.100.0
// flow-typed signature: 85ebe250d30d79ab5a5576b94e23ca11
// flow-typed version: <<STUB>>/rollup-plugin-babel_v^4.3.2/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -38,7 +38,7 @@ declare module 'rollup-plugin-babel/src/helperPlugin' {
declare module.exports: any;
}
declare module 'rollup-plugin-babel/src/index' {
declare module 'rollup-plugin-babel/src' {
declare module.exports: any;
}
@@ -63,8 +63,11 @@ declare module 'rollup-plugin-babel/src/constants.js' {
declare module 'rollup-plugin-babel/src/helperPlugin.js' {
declare module.exports: $Exports<'rollup-plugin-babel/src/helperPlugin'>;
}
declare module 'rollup-plugin-babel/src/index' {
declare module.exports: $Exports<'rollup-plugin-babel/src'>;
}
declare module 'rollup-plugin-babel/src/index.js' {
declare module.exports: $Exports<'rollup-plugin-babel/src/index'>;
declare module.exports: $Exports<'rollup-plugin-babel/src'>;
}
declare module 'rollup-plugin-babel/src/preflightCheck.js' {
declare module.exports: $Exports<'rollup-plugin-babel/src/preflightCheck'>;

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 5bd03312ad79e5266eaf21a6907d0a9c
// flow-typed version: <<STUB>>/rollup-plugin-commonjs_v^10.0.0/flow_v0.100.0
// flow-typed signature: c4ce3af6e8a00bb9289931b991021c43
// flow-typed version: <<STUB>>/rollup-plugin-commonjs_v^10.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -38,7 +38,7 @@ declare module 'rollup-plugin-commonjs/src/helpers' {
declare module.exports: any;
}
declare module 'rollup-plugin-commonjs/src/index' {
declare module 'rollup-plugin-commonjs/src' {
declare module.exports: any;
}
@@ -71,8 +71,11 @@ declare module 'rollup-plugin-commonjs/src/ast-utils.js' {
declare module 'rollup-plugin-commonjs/src/helpers.js' {
declare module.exports: $Exports<'rollup-plugin-commonjs/src/helpers'>;
}
declare module 'rollup-plugin-commonjs/src/index' {
declare module.exports: $Exports<'rollup-plugin-commonjs/src'>;
}
declare module 'rollup-plugin-commonjs/src/index.js' {
declare module.exports: $Exports<'rollup-plugin-commonjs/src/index'>;
declare module.exports: $Exports<'rollup-plugin-commonjs/src'>;
}
declare module 'rollup-plugin-commonjs/src/is-cjs.js' {
declare module.exports: $Exports<'rollup-plugin-commonjs/src/is-cjs'>;

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 8962074d6f954f3cf430d03605c1af24
// flow-typed version: <<STUB>>/rollup-plugin-flow_v^1.1.1/flow_v0.100.0
// flow-typed signature: 1249fcc132e0f2771400650288071ae0
// flow-typed version: <<STUB>>/rollup-plugin-flow_v^1.1.1/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,5 +1,5 @@
// flow-typed signature: fa1bf1321a1fa72962677f9db6609a8d
// flow-typed version: <<STUB>>/rollup-plugin-json_v^4.0.0/flow_v0.100.0
// flow-typed signature: 1d6b23bf35ad53c2dc4f5dcafac0314a
// flow-typed version: <<STUB>>/rollup-plugin-json_v^4.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -30,7 +30,7 @@ declare module 'rollup-plugin-json/dist/rollup-plugin-json.es' {
declare module.exports: any;
}
declare module 'rollup-plugin-json/src/index' {
declare module 'rollup-plugin-json/src' {
declare module.exports: any;
}
@@ -41,6 +41,9 @@ declare module 'rollup-plugin-json/dist/rollup-plugin-json.cjs.js' {
declare module 'rollup-plugin-json/dist/rollup-plugin-json.es.js' {
declare module.exports: $Exports<'rollup-plugin-json/dist/rollup-plugin-json.es'>;
}
declare module 'rollup-plugin-json/src/index.js' {
declare module.exports: $Exports<'rollup-plugin-json/src/index'>;
declare module 'rollup-plugin-json/src/index' {
declare module.exports: $Exports<'rollup-plugin-json/src'>;
}
declare module 'rollup-plugin-json/src/index.js' {
declare module.exports: $Exports<'rollup-plugin-json/src'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: e5740e9ef55f8dda5dfae9c8251cc037
// flow-typed version: <<STUB>>/rollup-plugin-node-resolve_v^5.0.1/flow_v0.100.0
// flow-typed signature: 39bfbd60271652075210eb76bfb68dfd
// flow-typed version: <<STUB>>/rollup-plugin-node-resolve_v^5.0.1/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -30,11 +30,7 @@ declare module 'rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.es' {
declare module.exports: any;
}
declare module 'rollup-plugin-node-resolve/src/empty' {
declare module.exports: any;
}
declare module 'rollup-plugin-node-resolve/src/index' {
declare module 'rollup-plugin-node-resolve/src' {
declare module.exports: any;
}
@@ -45,9 +41,9 @@ declare module 'rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.j
declare module 'rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.es.js' {
declare module.exports: $Exports<'rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.es'>;
}
declare module 'rollup-plugin-node-resolve/src/empty.js' {
declare module.exports: $Exports<'rollup-plugin-node-resolve/src/empty'>;
declare module 'rollup-plugin-node-resolve/src/index' {
declare module.exports: $Exports<'rollup-plugin-node-resolve/src'>;
}
declare module 'rollup-plugin-node-resolve/src/index.js' {
declare module.exports: $Exports<'rollup-plugin-node-resolve/src/index'>;
declare module.exports: $Exports<'rollup-plugin-node-resolve/src'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: b40a0a812d5c57ff2a851e39e4b2da4b
// flow-typed version: <<STUB>>/rollup-plugin-replace_v^2.2.0/flow_v0.100.0
// flow-typed signature: 2fe6e1e5f72b034e6d42cad894274afb
// flow-typed version: <<STUB>>/rollup-plugin-replace_v^2.2.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -30,7 +30,7 @@ declare module 'rollup-plugin-replace/dist/rollup-plugin-replace.es' {
declare module.exports: any;
}
declare module 'rollup-plugin-replace/src/index' {
declare module 'rollup-plugin-replace/src' {
declare module.exports: any;
}
@@ -41,6 +41,9 @@ declare module 'rollup-plugin-replace/dist/rollup-plugin-replace.cjs.js' {
declare module 'rollup-plugin-replace/dist/rollup-plugin-replace.es.js' {
declare module.exports: $Exports<'rollup-plugin-replace/dist/rollup-plugin-replace.es'>;
}
declare module 'rollup-plugin-replace/src/index.js' {
declare module.exports: $Exports<'rollup-plugin-replace/src/index'>;
declare module 'rollup-plugin-replace/src/index' {
declare module.exports: $Exports<'rollup-plugin-replace/src'>;
}
declare module 'rollup-plugin-replace/src/index.js' {
declare module.exports: $Exports<'rollup-plugin-replace/src'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: ec9468c780ae757e4256378df127d0b9
// flow-typed version: <<STUB>>/rollup-plugin-sourcemaps_v^0.4.2/flow_v0.100.0
// flow-typed signature: 5c5bf556a2942feb5e4d7190a2cc7225
// flow-typed version: <<STUB>>/rollup-plugin-sourcemaps_v^0.4.2/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,5 +1,5 @@
// flow-typed signature: beb4914607a424c306255ef0ceedb66a
// flow-typed version: <<STUB>>/rollup-plugin-terser_v^5.0.0/flow_v0.100.0
// flow-typed signature: b574de1c57da46e356d475a86563fdc3
// flow-typed version: <<STUB>>/rollup-plugin-terser_v^5.0.0/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 2c54fb14e9c67284e3588d462e737840
// flow-typed version: <<STUB>>/rollup_v^1.13.1/flow_v0.100.0
// flow-typed signature: fc47b5b498bacd2f952c0ab124bdfaa2
// flow-typed version: <<STUB>>/rollup_v^1.13.1/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -38,6 +38,14 @@ declare module 'rollup/dist/rollup' {
declare module.exports: any;
}
declare module 'rollup/dist/shared' {
declare module.exports: any;
}
declare module 'rollup/dist/shared/node-entry' {
declare module.exports: any;
}
// Filename aliases
declare module 'rollup/dist/rollup.browser.es.js' {
declare module.exports: $Exports<'rollup/dist/rollup.browser.es'>;
@@ -51,3 +59,12 @@ declare module 'rollup/dist/rollup.es.js' {
declare module 'rollup/dist/rollup.js' {
declare module.exports: $Exports<'rollup/dist/rollup'>;
}
declare module 'rollup/dist/shared/index' {
declare module.exports: $Exports<'rollup/dist/shared'>;
}
declare module 'rollup/dist/shared/index.js' {
declare module.exports: $Exports<'rollup/dist/shared'>;
}
declare module 'rollup/dist/shared/node-entry.js' {
declare module.exports: $Exports<'rollup/dist/shared/node-entry'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: e90c56bb3b0d5cccd406b0b1924ab93c
// flow-typed version: <<STUB>>/wsrun_v^3.6.4/flow_v0.100.0
// flow-typed signature: 74648cddcffc7b8bf929558fe93e484a
// flow-typed version: <<STUB>>/wsrun_v^5.0.2/flow_v0.132.0
/**
* This is an autogenerated libdef stub for:
@@ -22,14 +22,34 @@ declare module 'wsrun' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'wsrun/bin/wsrun' {
declare module.exports: any;
}
declare module 'wsrun/build/cmd-process' {
declare module.exports: any;
}
declare module 'wsrun/build/console' {
declare module.exports: any;
}
declare module 'wsrun/build/console.spec' {
declare module.exports: any;
}
declare module 'wsrun/build/enums' {
declare module.exports: any;
}
declare module 'wsrun/build/filter-changed-packages' {
declare module.exports: any;
}
declare module 'wsrun/build/filter-changed-packages.spec' {
declare module.exports: any;
}
declare module 'wsrun/build/fix-paths' {
declare module.exports: any;
}
@@ -38,7 +58,15 @@ declare module 'wsrun/build/fix-paths.spec' {
declare module.exports: any;
}
declare module 'wsrun/build/index' {
declare module 'wsrun/build' {
declare module.exports: any;
}
declare module 'wsrun/build/rev-deps' {
declare module.exports: any;
}
declare module 'wsrun/build/rev-deps.spec' {
declare module.exports: any;
}
@@ -55,20 +83,44 @@ declare module 'wsrun/build/workspace' {
}
// Filename aliases
declare module 'wsrun/bin/wsrun.js' {
declare module.exports: $Exports<'wsrun/bin/wsrun'>;
}
declare module 'wsrun/build/cmd-process.js' {
declare module.exports: $Exports<'wsrun/build/cmd-process'>;
}
declare module 'wsrun/build/console.js' {
declare module.exports: $Exports<'wsrun/build/console'>;
}
declare module 'wsrun/build/console.spec.js' {
declare module.exports: $Exports<'wsrun/build/console.spec'>;
}
declare module 'wsrun/build/enums.js' {
declare module.exports: $Exports<'wsrun/build/enums'>;
}
declare module 'wsrun/build/filter-changed-packages.js' {
declare module.exports: $Exports<'wsrun/build/filter-changed-packages'>;
}
declare module 'wsrun/build/filter-changed-packages.spec.js' {
declare module.exports: $Exports<'wsrun/build/filter-changed-packages.spec'>;
}
declare module 'wsrun/build/fix-paths.js' {
declare module.exports: $Exports<'wsrun/build/fix-paths'>;
}
declare module 'wsrun/build/fix-paths.spec.js' {
declare module.exports: $Exports<'wsrun/build/fix-paths.spec'>;
}
declare module 'wsrun/build/index' {
declare module.exports: $Exports<'wsrun/build'>;
}
declare module 'wsrun/build/index.js' {
declare module.exports: $Exports<'wsrun/build/index'>;
declare module.exports: $Exports<'wsrun/build'>;
}
declare module 'wsrun/build/rev-deps.js' {
declare module.exports: $Exports<'wsrun/build/rev-deps'>;
}
declare module 'wsrun/build/rev-deps.spec.js' {
declare module.exports: $Exports<'wsrun/build/rev-deps.spec'>;
}
declare module 'wsrun/build/run-graph.js' {
declare module.exports: $Exports<'wsrun/build/run-graph'>;

View File

@@ -50,8 +50,8 @@
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.6.0",
"express": "^4.16.4",
"flow-bin": "^0.100.0",
"flow-watch": "^1.1.1",
"flow-bin": "^0.132.0",
"flow-watch": "^2.0.0",
"husky": "^1.1.3",
"jest": "^24.8.0",
"jest-image-snapshot": "^2.8.1",
@@ -65,7 +65,7 @@
"rollup": "^1.13.1",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-flow": "github:probablyup/rollup-plugin-flow#breaking-update-flow-remove-types",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.0.1",
"rollup-plugin-replace": "^2.2.0",

View File

@@ -90,7 +90,7 @@
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-react": "^7.20.6",
"flow-bin": "^0.100.0",
"flow-bin": "^0.132.0",
"jest-serializer-html": "^7.0.0",
"js-beautify": "^1.13.0",
"prop-types": "^15.7.2",

View File

@@ -3,7 +3,7 @@
declare var SC_DISABLE_SPEEDY: ?boolean;
declare var __VERSION__: string;
export const SC_ATTR =
export const SC_ATTR: string =
(typeof process !== 'undefined' && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR)) ||
'data-styled';

View File

@@ -1,8 +1,9 @@
// @flow
import React, { useContext, useEffect, useMemo, useState, type Node, type Context } from 'react';
import React, { type Context, type Node, useContext, useEffect, useMemo, useState } from 'react';
import shallowequal from 'shallowequal';
import StyleSheet from '../sheet';
import createStylisInstance, { type Stringifier } from '../utils/stylis';
import type { Stringifier } from '../types';
import createStylisInstance from '../utils/stylis';
type Props = {
children?: Node,

View File

@@ -1,39 +1,37 @@
// @flow
import validAttr from '@emotion/is-prop-valid';
import React, {
createElement,
useContext,
useDebugValue,
type AbstractComponent,
type Ref,
} from 'react';
import hoist from 'hoist-non-react-statics';
import React, { createElement, type Ref, useContext, useDebugValue } from 'react';
import { SC_VERSION } from '../constants';
import merge from '../utils/mixinDeep';
import ComponentStyle from './ComponentStyle';
import createWarnTooManyClasses from '../utils/createWarnTooManyClasses';
import type {
Attrs,
IStyledComponent,
IStyledStatics,
RuleSet,
ShouldForwardProp,
Target,
} from '../types';
import { checkDynamicCreation } from '../utils/checkDynamicCreation';
import createWarnTooManyClasses from '../utils/createWarnTooManyClasses';
import determineTheme from '../utils/determineTheme';
import { EMPTY_ARRAY, EMPTY_OBJECT } from '../utils/empties';
import escape from '../utils/escape';
import generateComponentId from '../utils/generateComponentId';
import generateDisplayName from '../utils/generateDisplayName';
import getComponentName from '../utils/getComponentName';
import generateComponentId from '../utils/generateComponentId';
import isFunction from '../utils/isFunction';
import isStyledComponent from '../utils/isStyledComponent';
import isTag from '../utils/isTag';
import joinStrings from '../utils/joinStrings';
import { ThemeContext } from './ThemeProvider';
import merge from '../utils/mixinDeep';
import ComponentStyle from './ComponentStyle';
import { useStyleSheet, useStylis } from './StyleSheetManager';
import { EMPTY_ARRAY, EMPTY_OBJECT } from '../utils/empties';
import type { Attrs, RuleSet, Target } from '../types';
/* global $Call */
import { ThemeContext } from './ThemeProvider';
const identifiers = {};
/* We depend on components having unique IDs */
function generateId(displayName: string, parentComponentId: string) {
function generateId(displayName?: string, parentComponentId?: string) {
const name = typeof displayName !== 'string' ? 'sc' : escape(displayName);
// Ensure that no displayName can lead to duplicate componentIds
identifiers[name] = (identifiers[name] || 0) + 1;
@@ -75,33 +73,15 @@ function useResolvedAttrs<Config>(theme: any = EMPTY_OBJECT, props: Config, attr
return [context, resolvedAttrs];
}
interface StyledComponentWrapperProperties {
attrs: Attrs;
componentStyle: ComponentStyle;
displayName: string;
foldedComponentIds: Array<string>;
target: Target;
shouldForwardProp: ?(prop: string, isValidAttr: (prop: string) => boolean) => boolean;
styledComponentId: string;
warnTooManyClasses: $Call<typeof createWarnTooManyClasses, string, string>;
}
type StyledComponentWrapper<Config, Instance> = AbstractComponent<Config, Instance> &
StyledComponentWrapperProperties;
function useInjectedStyle<T>(
componentStyle: ComponentStyle,
hasAttrs: boolean,
isStatic: boolean,
resolvedAttrs: T,
warnTooManyClasses?: $Call<typeof createWarnTooManyClasses, string, string>
) {
const styleSheet = useStyleSheet();
const stylis = useStylis();
// statically styled-components don't need to build an execution context object,
// and shouldn't be increasing the number of class names
const isStatic = componentStyle.isStatic && !hasAttrs;
const className = isStatic
? componentStyle.generateAndInjectStyles(EMPTY_OBJECT, styleSheet, stylis)
: componentStyle.generateAndInjectStyles(resolvedAttrs, styleSheet, stylis);
@@ -116,18 +96,17 @@ function useInjectedStyle<T>(
return className;
}
function useStyledComponentImpl<Config: {}, Instance>(
forwardedComponent: StyledComponentWrapper<Config, Instance>,
function useStyledComponentImpl(
forwardedComponent: IStyledComponent,
props: Object,
forwardedRef: Ref<any>
forwardedRef: Ref<any>,
isStatic: boolean
) {
const {
attrs: componentAttrs,
componentStyle,
// $FlowFixMe
defaultProps,
foldedComponentIds,
// $FlowFixMe
shouldForwardProp,
styledComponentId,
target,
@@ -145,7 +124,7 @@ function useStyledComponentImpl<Config: {}, Instance>(
const generatedClassName = useInjectedStyle(
componentStyle,
componentAttrs.length > 0,
isStatic,
context,
process.env.NODE_ENV !== 'production' ? forwardedComponent.warnTooManyClasses : undefined
);
@@ -156,7 +135,6 @@ function useStyledComponentImpl<Config: {}, Instance>(
const isTargetTag = isTag(elementToBeCreated);
const computedProps = attrs !== props ? { ...props, ...attrs } : props;
const propFilterFn = shouldForwardProp || (isTargetTag && validAttr);
const propsForElement = {};
// eslint-disable-next-line guard-for-in
@@ -164,7 +142,9 @@ function useStyledComponentImpl<Config: {}, Instance>(
if (key[0] === '$' || key === 'as') continue;
else if (key === 'forwardedAs') {
propsForElement.as = computedProps[key];
} else if (!propFilterFn || propFilterFn(key, validAttr)) {
} else if (
shouldForwardProp ? shouldForwardProp(key, validAttr) : isTargetTag ? validAttr(key) : true
) {
// Don't pass through non HTML tags through to HTML elements
propsForElement[key] = computedProps[key];
}
@@ -191,17 +171,23 @@ function useStyledComponentImpl<Config: {}, Instance>(
}
export default function createStyledComponent(
target: Target | StyledComponentWrapper<*, *>,
options: Object,
target: $PropertyType<IStyledComponent, 'target'>,
options: {
attrs?: Attrs,
componentId: string,
displayName?: string,
parentComponentId?: string,
shouldForwardProp?: ShouldForwardProp,
},
rules: RuleSet
) {
const isTargetStyledComp = isStyledComponent(target);
const isCompositeComponent = !isTag(target);
const {
displayName = generateDisplayName(target),
componentId = generateId(options.displayName, options.parentComponentId),
attrs = EMPTY_ARRAY,
componentId = generateId(options.displayName, options.parentComponentId),
displayName = generateDisplayName(target),
} = options;
const styledComponentId =
@@ -211,24 +197,24 @@ export default function createStyledComponent(
// fold the underlying StyledComponent attrs up (implicit extend)
const finalAttrs =
// $FlowFixMe
isTargetStyledComp && target.attrs
? Array.prototype.concat(target.attrs, attrs).filter(Boolean)
isTargetStyledComp && ((target: any): IStyledComponent).attrs
? Array.prototype.concat(((target: any): IStyledComponent).attrs, attrs).filter(Boolean)
: attrs;
// eslint-disable-next-line prefer-destructuring
let shouldForwardProp = options.shouldForwardProp;
// $FlowFixMe
if (isTargetStyledComp && target.shouldForwardProp) {
if (shouldForwardProp) {
if (options.shouldForwardProp) {
// compose nested shouldForwardProp calls
shouldForwardProp = (prop, filterFn) =>
// $FlowFixMe
target.shouldForwardProp(prop, filterFn) && options.shouldForwardProp(prop, filterFn);
((((target: any): IStyledComponent).shouldForwardProp: any): ShouldForwardProp)(
prop,
filterFn
) && ((options.shouldForwardProp: any): ShouldForwardProp)(prop, filterFn);
} else {
// eslint-disable-next-line prefer-destructuring
shouldForwardProp = target.shouldForwardProp;
shouldForwardProp = ((target: any): IStyledComponent).shouldForwardProp;
}
}
@@ -238,20 +224,23 @@ export default function createStyledComponent(
isTargetStyledComp ? ((target: Object).componentStyle: ComponentStyle) : undefined
);
// statically styled-components don't need to build an execution context object,
// and shouldn't be increasing the number of class names
const isStatic = componentStyle.isStatic && attrs.length === 0;
/**
* forwardRef creates a new interim component, which we'll take advantage of
* instead of extending ParentComponent to create _another_ interim class
*/
let WrappedStyledComponent;
let WrappedStyledComponent: IStyledComponent;
// eslint-disable-next-line react-hooks/rules-of-hooks
const forwardRef = (props, ref) => useStyledComponentImpl(WrappedStyledComponent, props, ref);
const forwardRef = (props, ref) =>
// eslint-disable-next-line
useStyledComponentImpl(WrappedStyledComponent, props, ref, isStatic);
forwardRef.displayName = displayName;
// $FlowFixMe this is a forced cast to merge it StyledComponentWrapperProperties
WrappedStyledComponent = (React.forwardRef(forwardRef): StyledComponentWrapper<*, *>);
WrappedStyledComponent = ((React.forwardRef(forwardRef): any): IStyledComponent);
WrappedStyledComponent.attrs = finalAttrs;
WrappedStyledComponent.componentStyle = componentStyle;
WrappedStyledComponent.displayName = displayName;
@@ -260,19 +249,19 @@ export default function createStyledComponent(
// this static is used to preserve the cascade of static classes for component selector
// purposes; this is especially important with usage of the css prop
WrappedStyledComponent.foldedComponentIds = isTargetStyledComp
? // $FlowFixMe
Array.prototype.concat(target.foldedComponentIds, target.styledComponentId)
? Array.prototype.concat(
((target: any): IStyledComponent).foldedComponentIds,
((target: any): IStyledComponent).styledComponentId
)
: EMPTY_ARRAY;
WrappedStyledComponent.styledComponentId = styledComponentId;
// fold the underlying StyledComponent target up since we folded the styles
WrappedStyledComponent.target = isTargetStyledComp
? // $FlowFixMe
target.target
? ((target: any): IStyledComponent).target
: target;
// $FlowFixMe
WrappedStyledComponent.withComponent = function withComponent(tag: Target) {
const { componentId: previousComponentId, ...optionsToCopy } = options;
@@ -289,15 +278,15 @@ export default function createStyledComponent(
return createStyledComponent(tag, newOptions, rules);
};
// $FlowFixMe
Object.defineProperty(WrappedStyledComponent, 'defaultProps', {
get() {
return this._foldedDefaultProps;
},
set(obj) {
// $FlowFixMe
this._foldedDefaultProps = isTargetStyledComp ? merge({}, target.defaultProps, obj) : obj;
this._foldedDefaultProps = isTargetStyledComp
? merge({}, ((target: any): IStyledComponent).defaultProps, obj)
: obj;
},
});
@@ -310,18 +299,20 @@ export default function createStyledComponent(
);
}
// $FlowFixMe
WrappedStyledComponent.toString = () => `.${WrappedStyledComponent.styledComponentId}`;
if (isCompositeComponent) {
hoist(WrappedStyledComponent, (target: any), {
hoist<
IStyledStatics,
$PropertyType<IStyledComponent, 'target'>,
{ [key: $Keys<IStyledStatics>]: true }
>(WrappedStyledComponent, ((target: any): $PropertyType<IStyledComponent, 'target'>), {
// all SC-specific things should not be hoisted
attrs: true,
componentStyle: true,
displayName: true,
foldedComponentIds: true,
shouldForwardProp: true,
self: true,
styledComponentId: true,
target: true,
withComponent: true,

View File

@@ -1,10 +1,11 @@
// @flow
import { DISABLE_SPEEDY, IS_BROWSER } from '../constants';
import type { GroupedTag, Sheet, SheetOptions } from './types';
import { makeTag } from './Tag';
import { EMPTY_OBJECT } from '../utils/empties';
import { makeGroupedTag } from './GroupedTag';
import { getGroupForId } from './GroupIDAllocator';
import { outputSheet, rehydrateSheet } from './Rehydration';
import { makeTag } from './Tag';
import type { GroupedTag, Sheet, SheetOptions } from './types';
let SHOULD_REHYDRATE = IS_BROWSER;
@@ -17,7 +18,7 @@ type SheetConstructorArgs = {
type GlobalStylesAllocationMap = { [key: string]: number };
type NamesAllocationMap = Map<string, Set<string>>;
const defaultOptions = {
const defaultOptions: SheetOptions = {
isServer: !IS_BROWSER,
useCSSOMInjection: !DISABLE_SPEEDY,
};
@@ -38,7 +39,7 @@ export default class StyleSheet implements Sheet {
}
constructor(
options: SheetConstructorArgs = defaultOptions,
options: SheetConstructorArgs = EMPTY_OBJECT,
globalStyles?: GlobalStylesAllocationMap = {},
names?: NamesAllocationMap
) {

View File

@@ -1,5 +1,7 @@
// @flow
import type { ComponentType } from 'react';
import type { Component, ComponentType } from 'react';
import ComponentStyle from './models/ComponentStyle';
import createWarnTooManyClasses from './utils/createWarnTooManyClasses';
export type Attrs = Array<Function>;
@@ -32,3 +34,22 @@ export type Stringifier = {
(rules: string, selector: string, prefix: ?string, componentId: ?string): string[],
hash: string,
};
export type ShouldForwardProp = (prop: string, isValidAttr: (prop: string) => boolean) => boolean;
export interface IStyledStatics {
attrs: Attrs;
componentStyle: ComponentStyle;
displayName: string; // this is here because we want the uppermost displayName retained in a folding scenario
foldedComponentIds: Array<string>;
target: Target | IStyledComponent;
shouldForwardProp?: ShouldForwardProp;
styledComponentId: string;
warnTooManyClasses?: $Call<typeof createWarnTooManyClasses, string, string>;
withComponent: (tag: Target) => IStyledComponent;
}
export interface IStyledComponent extends Component<*>, IStyledStatics {
defaultProps?: Object;
toString: () => string;
}

View File

@@ -1,9 +1,10 @@
// @flow
import type { IStyledComponent } from '../types';
import getComponentName from './getComponentName';
import isTag from './isTag';
import type { Target } from '../types';
export default function generateDisplayName(target: Target): string {
// $FlowFixMe
export default function generateDisplayName(
target: $PropertyType<IStyledComponent, 'target'>
): string {
return isTag(target) ? `styled.${target}` : `Styled(${getComponentName(target)})`;
}

View File

@@ -1,7 +1,9 @@
// @flow
import type { ComponentType } from 'react';
import type { IStyledComponent } from '../types';
export default function getComponentName(target: ComponentType<*> | string): string {
export default function getComponentName(
target: $PropertyType<IStyledComponent, 'target'>
): string {
return (
(process.env.NODE_ENV !== 'production' ? typeof target === 'string' && target : false) ||
// $FlowFixMe

View File

@@ -1,7 +1,7 @@
// @flow
import type { Target } from '../types';
import type { IStyledComponent } from '../types';
export default function isTag(target: Target): boolean %checks {
export default function isTag(target: $PropertyType<IStyledComponent, 'target'>): boolean %checks {
return (
typeof target === 'string' &&
(process.env.NODE_ENV !== 'production'

700
yarn.lock

File diff suppressed because it is too large Load Diff