Upgrade Prepack to Babel 7 (#2256)

Summary:
Release notes: upgrades Prepack to use Babel 7.0.0-beta.53

This is a big PR that updates all of Prepack to Babel 7. Babylon is now `babel/parser` and pretty much all of the the previous Babel packages are now located in scoped packages. I had to make a bunch of changes around Jest/Flow/Webpack to get this all working. The build times of building Prepack itself seem considerably faster (easily twice as fast locally). I followed most of the Babel 6 -> 7 upgrade guide from the Babel site in terms of changing nodes and type definitions to match the new ones.
Pull Request resolved: https://github.com/facebook/prepack/pull/2256

Differential Revision: D8850583

Pulled By: trueadm

fbshipit-source-id: 2d2aaec25c6a1ccd1ec0c08c5e7e2a71f78ac2d8
This commit is contained in:
Dominic Gannaway 2018-07-14 09:50:06 -07:00 committed by Facebook Github Bot
parent 37d692480b
commit e170c37aaa
256 changed files with 16725 additions and 2163 deletions

View File

@ -1,17 +0,0 @@
{
"presets": [
["env", {
"targets": {
"node": "6.10"
}
}]
],
"plugins": [
"syntax-jsx",
"transform-flow-strip-types",
"transform-react-jsx",
"transform-react-display-name",
"transform-class-properties",
"transform-object-rest-spread"
]
}

View File

@ -60,7 +60,7 @@ jobs:
yarn test-sourcemaps
yarn test-std-in
yarn test-residual
yarn test-test262 --expectedCounts 11945,5566,0 --statusFile ~/artifacts/test262-status.txt --timeout 120 --cpuScale 0.25 --verbose
yarn test-test262 --expectedCounts 11944,5566,0 --statusFile ~/artifacts/test262-status.txt --timeout 120 --cpuScale 0.25 --verbose
#yarn test-test262-new --statusFile ~/artifacts/test262-new-status.txt --timeout 120 --verbose
- store_artifacts:
path: ~/artifacts/

View File

@ -4,3 +4,4 @@ lib
underscore-with-tests.js
flow-typed
test/**/*.js
babel.config.js

View File

@ -1,5 +1,5 @@
[ignore]
.*/node_modules/babel.*
.*/node_modules/@babel/.*
.*/test262/.*
.*/node_modules/.*\.json
.*/lib/.*
@ -8,6 +8,7 @@
.*/test/serializer/.*
.*/scripts/prettier.js
.*/tmp_website_build/.*
babel.config.js
[include]

50
babel.config.js Normal file
View File

@ -0,0 +1,50 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
module.exports = function (api) {
api.cache(true);
const plugins = [
"@babel/plugin-syntax-flow",
"@babel/plugin-syntax-jsx",
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-transform-react-jsx",
"@babel/plugin-transform-react-display-name",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
];
// Webpack bundle
if (process.env.NODE_ENV === "production") {
return {
presets: [
["@babel/env", {
"targets": {
"ie": "10",
},
forceAllTransforms: true,
}],
"@babel/preset-flow",
],
plugins,
};
}
// Default
return {
presets: [
["@babel/env", {
"targets": {
"node": "6.10",
}
}],
"@babel/preset-flow",
],
plugins,
};
};

87
flow-typed/npm/@babel/cli_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,87 @@
// flow-typed signature: 88e150a250102d8b47b86c4a28175644
// flow-typed version: <<STUB>>/@babel/cli_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/cli'
*
* 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 '@babel/cli' {
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 '@babel/cli/bin/babel-external-helpers' {
declare module.exports: any;
}
declare module '@babel/cli/bin/babel' {
declare module.exports: any;
}
declare module '@babel/cli/lib/babel-external-helpers' {
declare module.exports: any;
}
declare module '@babel/cli/lib/babel/dir' {
declare module.exports: any;
}
declare module '@babel/cli/lib/babel/file' {
declare module.exports: any;
}
declare module '@babel/cli/lib/babel/index' {
declare module.exports: any;
}
declare module '@babel/cli/lib/babel/options' {
declare module.exports: any;
}
declare module '@babel/cli/lib/babel/util' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/cli/bin/babel-external-helpers.js' {
declare module.exports: $Exports<'@babel/cli/bin/babel-external-helpers'>;
}
declare module '@babel/cli/bin/babel.js' {
declare module.exports: $Exports<'@babel/cli/bin/babel'>;
}
declare module '@babel/cli/index' {
declare module.exports: $Exports<'@babel/cli'>;
}
declare module '@babel/cli/index.js' {
declare module.exports: $Exports<'@babel/cli'>;
}
declare module '@babel/cli/lib/babel-external-helpers.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel-external-helpers'>;
}
declare module '@babel/cli/lib/babel/dir.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/dir'>;
}
declare module '@babel/cli/lib/babel/file.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/file'>;
}
declare module '@babel/cli/lib/babel/index.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/index'>;
}
declare module '@babel/cli/lib/babel/options.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/options'>;
}
declare module '@babel/cli/lib/babel/util.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/util'>;
}

298
flow-typed/npm/@babel/core_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,298 @@
// flow-typed signature: 452003906fe2b34678ff70b013729409
// flow-typed version: <<STUB>>/@babel/core_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/core'
*
* 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 '@babel/core' {
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 '@babel/core/lib/config/caching' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/config-chain' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/config-descriptors' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/files/configuration' {
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.exports: any;
}
declare module '@babel/core/lib/config/files/package' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/files/plugins' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/files/types' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/files/utils' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/full' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/helpers/config-api' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/helpers/environment' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/index' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/item' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/partial' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/plugin' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/util' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/validation/option-assertions' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/validation/options' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/validation/plugins' {
declare module.exports: any;
}
declare module '@babel/core/lib/config/validation/removed' {
declare module.exports: any;
}
declare module '@babel/core/lib/index' {
declare module.exports: any;
}
declare module '@babel/core/lib/parse' {
declare module.exports: any;
}
declare module '@babel/core/lib/tools/build-external-helpers' {
declare module.exports: any;
}
declare module '@babel/core/lib/transform-ast' {
declare module.exports: any;
}
declare module '@babel/core/lib/transform-file-browser' {
declare module.exports: any;
}
declare module '@babel/core/lib/transform-file-sync-browser' {
declare module.exports: any;
}
declare module '@babel/core/lib/transform-file' {
declare module.exports: any;
}
declare module '@babel/core/lib/transform' {
declare module.exports: any;
}
declare module '@babel/core/lib/transformation/block-hoist-plugin' {
declare module.exports: any;
}
declare module '@babel/core/lib/transformation/file/file' {
declare module.exports: any;
}
declare module '@babel/core/lib/transformation/file/generate' {
declare module.exports: any;
}
declare module '@babel/core/lib/transformation/file/merge-map' {
declare module.exports: any;
}
declare module '@babel/core/lib/transformation/index' {
declare module.exports: any;
}
declare module '@babel/core/lib/transformation/normalize-file' {
declare module.exports: any;
}
declare module '@babel/core/lib/transformation/normalize-opts' {
declare module.exports: any;
}
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'>;
}
declare module '@babel/core/lib/config/config-chain.js' {
declare module.exports: $Exports<'@babel/core/lib/config/config-chain'>;
}
declare module '@babel/core/lib/config/config-descriptors.js' {
declare module.exports: $Exports<'@babel/core/lib/config/config-descriptors'>;
}
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/index-browser.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/index-browser'>;
}
declare module '@babel/core/lib/config/files/index.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/index'>;
}
declare module '@babel/core/lib/config/files/package.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/package'>;
}
declare module '@babel/core/lib/config/files/plugins.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/plugins'>;
}
declare module '@babel/core/lib/config/files/types.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/types'>;
}
declare module '@babel/core/lib/config/files/utils.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/utils'>;
}
declare module '@babel/core/lib/config/full.js' {
declare module.exports: $Exports<'@babel/core/lib/config/full'>;
}
declare module '@babel/core/lib/config/helpers/config-api.js' {
declare module.exports: $Exports<'@babel/core/lib/config/helpers/config-api'>;
}
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.js' {
declare module.exports: $Exports<'@babel/core/lib/config/index'>;
}
declare module '@babel/core/lib/config/item.js' {
declare module.exports: $Exports<'@babel/core/lib/config/item'>;
}
declare module '@babel/core/lib/config/partial.js' {
declare module.exports: $Exports<'@babel/core/lib/config/partial'>;
}
declare module '@babel/core/lib/config/plugin.js' {
declare module.exports: $Exports<'@babel/core/lib/config/plugin'>;
}
declare module '@babel/core/lib/config/util.js' {
declare module.exports: $Exports<'@babel/core/lib/config/util'>;
}
declare module '@babel/core/lib/config/validation/option-assertions.js' {
declare module.exports: $Exports<'@babel/core/lib/config/validation/option-assertions'>;
}
declare module '@babel/core/lib/config/validation/options.js' {
declare module.exports: $Exports<'@babel/core/lib/config/validation/options'>;
}
declare module '@babel/core/lib/config/validation/plugins.js' {
declare module.exports: $Exports<'@babel/core/lib/config/validation/plugins'>;
}
declare module '@babel/core/lib/config/validation/removed.js' {
declare module.exports: $Exports<'@babel/core/lib/config/validation/removed'>;
}
declare module '@babel/core/lib/index.js' {
declare module.exports: $Exports<'@babel/core/lib/index'>;
}
declare module '@babel/core/lib/parse.js' {
declare module.exports: $Exports<'@babel/core/lib/parse'>;
}
declare module '@babel/core/lib/tools/build-external-helpers.js' {
declare module.exports: $Exports<'@babel/core/lib/tools/build-external-helpers'>;
}
declare module '@babel/core/lib/transform-ast.js' {
declare module.exports: $Exports<'@babel/core/lib/transform-ast'>;
}
declare module '@babel/core/lib/transform-file-browser.js' {
declare module.exports: $Exports<'@babel/core/lib/transform-file-browser'>;
}
declare module '@babel/core/lib/transform-file-sync-browser.js' {
declare module.exports: $Exports<'@babel/core/lib/transform-file-sync-browser'>;
}
declare module '@babel/core/lib/transform-file.js' {
declare module.exports: $Exports<'@babel/core/lib/transform-file'>;
}
declare module '@babel/core/lib/transform.js' {
declare module.exports: $Exports<'@babel/core/lib/transform'>;
}
declare module '@babel/core/lib/transformation/block-hoist-plugin.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/block-hoist-plugin'>;
}
declare module '@babel/core/lib/transformation/file/file.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/file/file'>;
}
declare module '@babel/core/lib/transformation/file/generate.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/file/generate'>;
}
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.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/index'>;
}
declare module '@babel/core/lib/transformation/normalize-file.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-file'>;
}
declare module '@babel/core/lib/transformation/normalize-opts.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-opts'>;
}
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

@ -0,0 +1,158 @@
// flow-typed signature: 14710e733fa392245cb84e68ee4c89a0
// flow-typed version: <<STUB>>/@babel/generator_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/generator'
*
* 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 '@babel/generator' {
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 '@babel/generator/lib/buffer' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/base' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/classes' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/expressions' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/flow' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/index' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/jsx' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/methods' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/modules' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/statements' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/template-literals' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/types' {
declare module.exports: any;
}
declare module '@babel/generator/lib/generators/typescript' {
declare module.exports: any;
}
declare module '@babel/generator/lib/index' {
declare module.exports: any;
}
declare module '@babel/generator/lib/node/index' {
declare module.exports: any;
}
declare module '@babel/generator/lib/node/parentheses' {
declare module.exports: any;
}
declare module '@babel/generator/lib/node/whitespace' {
declare module.exports: any;
}
declare module '@babel/generator/lib/printer' {
declare module.exports: any;
}
declare module '@babel/generator/lib/source-map' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/generator/lib/buffer.js' {
declare module.exports: $Exports<'@babel/generator/lib/buffer'>;
}
declare module '@babel/generator/lib/generators/base.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/base'>;
}
declare module '@babel/generator/lib/generators/classes.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/classes'>;
}
declare module '@babel/generator/lib/generators/expressions.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/expressions'>;
}
declare module '@babel/generator/lib/generators/flow.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/flow'>;
}
declare module '@babel/generator/lib/generators/index.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/index'>;
}
declare module '@babel/generator/lib/generators/jsx.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/jsx'>;
}
declare module '@babel/generator/lib/generators/methods.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/methods'>;
}
declare module '@babel/generator/lib/generators/modules.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/modules'>;
}
declare module '@babel/generator/lib/generators/statements.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/statements'>;
}
declare module '@babel/generator/lib/generators/template-literals.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/template-literals'>;
}
declare module '@babel/generator/lib/generators/types.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/types'>;
}
declare module '@babel/generator/lib/generators/typescript.js' {
declare module.exports: $Exports<'@babel/generator/lib/generators/typescript'>;
}
declare module '@babel/generator/lib/index.js' {
declare module.exports: $Exports<'@babel/generator/lib/index'>;
}
declare module '@babel/generator/lib/node/index.js' {
declare module.exports: $Exports<'@babel/generator/lib/node/index'>;
}
declare module '@babel/generator/lib/node/parentheses.js' {
declare module.exports: $Exports<'@babel/generator/lib/node/parentheses'>;
}
declare module '@babel/generator/lib/node/whitespace.js' {
declare module.exports: $Exports<'@babel/generator/lib/node/whitespace'>;
}
declare module '@babel/generator/lib/printer.js' {
declare module.exports: $Exports<'@babel/generator/lib/printer'>;
}
declare module '@babel/generator/lib/source-map.js' {
declare module.exports: $Exports<'@babel/generator/lib/source-map'>;
}

46
flow-typed/npm/@babel/node_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,46 @@
// flow-typed signature: e6bc151ed1aadbc8df76d137336ee3dd
// flow-typed version: <<STUB>>/@babel/node_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/node'
*
* 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 '@babel/node' {
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 '@babel/node/bin/babel-node' {
declare module.exports: any;
}
declare module '@babel/node/lib/_babel-node' {
declare module.exports: any;
}
declare module '@babel/node/lib/babel-node' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/node/bin/babel-node.js' {
declare module.exports: $Exports<'@babel/node/bin/babel-node'>;
}
declare module '@babel/node/lib/_babel-node.js' {
declare module.exports: $Exports<'@babel/node/lib/_babel-node'>;
}
declare module '@babel/node/lib/babel-node.js' {
declare module.exports: $Exports<'@babel/node/lib/babel-node'>;
}

39
flow-typed/npm/@babel/parser_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,39 @@
// flow-typed signature: 1f224679c72df69bc1a83214bdcd84b3
// flow-typed version: <<STUB>>/@babel/parser_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/parser'
*
* 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 '@babel/parser' {
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 '@babel/parser/bin/babel-parser' {
declare module.exports: any;
}
declare module '@babel/parser/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/parser/bin/babel-parser.js' {
declare module.exports: $Exports<'@babel/parser/bin/babel-parser'>;
}
declare module '@babel/parser/lib/index.js' {
declare module.exports: $Exports<'@babel/parser/lib/index'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: 83df03cc398d7b8e8b44e95e7ee8b5f3
// flow-typed version: <<STUB>>/@babel/plugin-proposal-class-properties_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-proposal-class-properties'
*
* 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 '@babel/plugin-proposal-class-properties' {
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 '@babel/plugin-proposal-class-properties/lib/index' {
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'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: c0525799a7f3fe4fa2f7f8222226590d
// flow-typed version: <<STUB>>/@babel/plugin-proposal-export-default-from_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-proposal-export-default-from'
*
* 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 '@babel/plugin-proposal-export-default-from' {
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 '@babel/plugin-proposal-export-default-from/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-proposal-export-default-from/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-proposal-export-default-from/lib/index'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: b11d576ca33e869b67e87d3031edbda2
// flow-typed version: <<STUB>>/@babel/plugin-proposal-object-rest-spread_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-proposal-object-rest-spread'
*
* 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 '@babel/plugin-proposal-object-rest-spread' {
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 '@babel/plugin-proposal-object-rest-spread/lib/index' {
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'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: 5dfb0ad96c92f4f384c9529bd39e0188
// flow-typed version: <<STUB>>/@babel/plugin-syntax-flow_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-syntax-flow'
*
* 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 '@babel/plugin-syntax-flow' {
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 '@babel/plugin-syntax-flow/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-syntax-flow/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-syntax-flow/lib/index'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: b92f6ddfb42052b92d5e5360291b06f3
// flow-typed version: <<STUB>>/@babel/plugin-transform-flow-strip-types_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-transform-flow-strip-types'
*
* 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 '@babel/plugin-transform-flow-strip-types' {
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 '@babel/plugin-transform-flow-strip-types/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-transform-flow-strip-types/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-transform-flow-strip-types/lib/index'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: c23dd6d679255581300a2c6a1da17b2c
// flow-typed version: <<STUB>>/@babel/plugin-transform-modules-commonjs_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-transform-modules-commonjs'
*
* 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 '@babel/plugin-transform-modules-commonjs' {
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 '@babel/plugin-transform-modules-commonjs/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-transform-modules-commonjs/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-transform-modules-commonjs/lib/index'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: 38f417a8d521428256be3fcbcea40031
// flow-typed version: <<STUB>>/@babel/plugin-transform-react-jsx_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-transform-react-jsx'
*
* 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 '@babel/plugin-transform-react-jsx' {
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 '@babel/plugin-transform-react-jsx/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-transform-react-jsx/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-transform-react-jsx/lib/index'>;
}

View File

@ -0,0 +1,144 @@
// flow-typed signature: 1d1f10974da327836a8a8761e7c4ed01
// flow-typed version: <<STUB>>/@babel/preset-env_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/preset-env'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/
declare module '@babel/preset-env' {
declare module.exports: any;
}
/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/preset-env/data/built-in-features' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/plugin-features' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/shipped-proposals' {
declare module.exports: any;
}
declare module '@babel/preset-env/data/unreleased-labels' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/available-plugins' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/built-in-definitions' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/debug' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/default-includes' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/defaults' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/index' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/module-transformations' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/normalize-options' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/options' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/targets-parser' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/use-built-ins-entry-plugin' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/use-built-ins-plugin' {
declare module.exports: any;
}
declare module '@babel/preset-env/lib/utils' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/preset-env/data/built-in-features.js' {
declare module.exports: $Exports<'@babel/preset-env/data/built-in-features'>;
}
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/shipped-proposals.js' {
declare module.exports: $Exports<'@babel/preset-env/data/shipped-proposals'>;
}
declare module '@babel/preset-env/data/unreleased-labels.js' {
declare module.exports: $Exports<'@babel/preset-env/data/unreleased-labels'>;
}
declare module '@babel/preset-env/lib/available-plugins.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/available-plugins'>;
}
declare module '@babel/preset-env/lib/built-in-definitions.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/built-in-definitions'>;
}
declare module '@babel/preset-env/lib/debug.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/debug'>;
}
declare module '@babel/preset-env/lib/default-includes.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/default-includes'>;
}
declare module '@babel/preset-env/lib/defaults.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/defaults'>;
}
declare module '@babel/preset-env/lib/index.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/index'>;
}
declare module '@babel/preset-env/lib/module-transformations.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/module-transformations'>;
}
declare module '@babel/preset-env/lib/normalize-options.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/normalize-options'>;
}
declare module '@babel/preset-env/lib/options.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/options'>;
}
declare module '@babel/preset-env/lib/targets-parser.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/targets-parser'>;
}
declare module '@babel/preset-env/lib/use-built-ins-entry-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/use-built-ins-entry-plugin'>;
}
declare module '@babel/preset-env/lib/use-built-ins-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/use-built-ins-plugin'>;
}
declare module '@babel/preset-env/lib/utils.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/utils'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: 2257b5d93c569a2365772ed531a8a9a7
// flow-typed version: <<STUB>>/@babel/preset-flow_v7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/preset-flow'
*
* 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 '@babel/preset-flow' {
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 '@babel/preset-flow/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/preset-flow/lib/index.js' {
declare module.exports: $Exports<'@babel/preset-flow/lib/index'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: c7881c92495e1a8d652c9443241d6abe
// flow-typed version: <<STUB>>/@babel/preset-react_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/preset-react'
*
* 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 '@babel/preset-react' {
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 '@babel/preset-react/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/preset-react/lib/index.js' {
declare module.exports: $Exports<'@babel/preset-react/lib/index'>;
}

View File

@ -0,0 +1,53 @@
// flow-typed signature: 0588d3f96fe247210bcba05ea43f8d5d
// flow-typed version: <<STUB>>/@babel/register_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/register'
*
* 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 '@babel/register' {
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 '@babel/register/lib/browser' {
declare module.exports: any;
}
declare module '@babel/register/lib/cache' {
declare module.exports: any;
}
declare module '@babel/register/lib/index' {
declare module.exports: any;
}
declare module '@babel/register/lib/node' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/register/lib/browser.js' {
declare module.exports: $Exports<'@babel/register/lib/browser'>;
}
declare module '@babel/register/lib/cache.js' {
declare module.exports: $Exports<'@babel/register/lib/cache'>;
}
declare module '@babel/register/lib/index.js' {
declare module.exports: $Exports<'@babel/register/lib/index'>;
}
declare module '@babel/register/lib/node.js' {
declare module.exports: $Exports<'@babel/register/lib/node'>;
}

View File

@ -0,0 +1,81 @@
// flow-typed signature: b5676378d55f7376bc725520ab242644
// flow-typed version: <<STUB>>/@babel/template_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/template'
*
* 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 '@babel/template' {
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 '@babel/template/lib/builder' {
declare module.exports: any;
}
declare module '@babel/template/lib/formatters' {
declare module.exports: any;
}
declare module '@babel/template/lib/index' {
declare module.exports: any;
}
declare module '@babel/template/lib/literal' {
declare module.exports: any;
}
declare module '@babel/template/lib/options' {
declare module.exports: any;
}
declare module '@babel/template/lib/parse' {
declare module.exports: any;
}
declare module '@babel/template/lib/populate' {
declare module.exports: any;
}
declare module '@babel/template/lib/string' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/template/lib/builder.js' {
declare module.exports: $Exports<'@babel/template/lib/builder'>;
}
declare module '@babel/template/lib/formatters.js' {
declare module.exports: $Exports<'@babel/template/lib/formatters'>;
}
declare module '@babel/template/lib/index.js' {
declare module.exports: $Exports<'@babel/template/lib/index'>;
}
declare module '@babel/template/lib/literal.js' {
declare module.exports: $Exports<'@babel/template/lib/literal'>;
}
declare module '@babel/template/lib/options.js' {
declare module.exports: $Exports<'@babel/template/lib/options'>;
}
declare module '@babel/template/lib/parse.js' {
declare module.exports: $Exports<'@babel/template/lib/parse'>;
}
declare module '@babel/template/lib/populate.js' {
declare module.exports: $Exports<'@babel/template/lib/populate'>;
}
declare module '@babel/template/lib/string.js' {
declare module.exports: $Exports<'@babel/template/lib/string'>;
}

200
flow-typed/npm/@babel/traverse_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,200 @@
// flow-typed signature: 81d29dd140776ffb4e2075ed0b37f16e
// flow-typed version: <<STUB>>/@babel/traverse_v^7.0.0-beta.53/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/traverse'
*
* 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 '@babel/traverse' {
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 '@babel/traverse/lib/cache' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/context' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/hub' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/index' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/ancestry' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/comments' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/context' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/conversion' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/evaluation' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/family' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/index' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/inference/index' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/inference/inferer-reference' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/inference/inferers' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/introspection' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/lib/hoister' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/lib/removal-hooks' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/lib/virtual-types' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/modification' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/removal' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/path/replacement' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/scope/binding' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/scope/index' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/scope/lib/renamer' {
declare module.exports: any;
}
declare module '@babel/traverse/lib/visitors' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/traverse/lib/cache.js' {
declare module.exports: $Exports<'@babel/traverse/lib/cache'>;
}
declare module '@babel/traverse/lib/context.js' {
declare module.exports: $Exports<'@babel/traverse/lib/context'>;
}
declare module '@babel/traverse/lib/hub.js' {
declare module.exports: $Exports<'@babel/traverse/lib/hub'>;
}
declare module '@babel/traverse/lib/index.js' {
declare module.exports: $Exports<'@babel/traverse/lib/index'>;
}
declare module '@babel/traverse/lib/path/ancestry.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/ancestry'>;
}
declare module '@babel/traverse/lib/path/comments.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/comments'>;
}
declare module '@babel/traverse/lib/path/context.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/context'>;
}
declare module '@babel/traverse/lib/path/conversion.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/conversion'>;
}
declare module '@babel/traverse/lib/path/evaluation.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/evaluation'>;
}
declare module '@babel/traverse/lib/path/family.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/family'>;
}
declare module '@babel/traverse/lib/path/index.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/index'>;
}
declare module '@babel/traverse/lib/path/inference/index.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/inference/index'>;
}
declare module '@babel/traverse/lib/path/inference/inferer-reference.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/inference/inferer-reference'>;
}
declare module '@babel/traverse/lib/path/inference/inferers.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/inference/inferers'>;
}
declare module '@babel/traverse/lib/path/introspection.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/introspection'>;
}
declare module '@babel/traverse/lib/path/lib/hoister.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/lib/hoister'>;
}
declare module '@babel/traverse/lib/path/lib/removal-hooks.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/lib/removal-hooks'>;
}
declare module '@babel/traverse/lib/path/lib/virtual-types.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/lib/virtual-types'>;
}
declare module '@babel/traverse/lib/path/modification.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/modification'>;
}
declare module '@babel/traverse/lib/path/removal.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/removal'>;
}
declare module '@babel/traverse/lib/path/replacement.js' {
declare module.exports: $Exports<'@babel/traverse/lib/path/replacement'>;
}
declare module '@babel/traverse/lib/scope/binding.js' {
declare module.exports: $Exports<'@babel/traverse/lib/scope/binding'>;
}
declare module '@babel/traverse/lib/scope/index.js' {
declare module.exports: $Exports<'@babel/traverse/lib/scope/index'>;
}
declare module '@babel/traverse/lib/scope/lib/renamer.js' {
declare module.exports: $Exports<'@babel/traverse/lib/scope/lib/renamer'>;
}
declare module '@babel/traverse/lib/visitors.js' {
declare module.exports: $Exports<'@babel/traverse/lib/visitors'>;
}

View File

@ -1,5 +1,5 @@
// flow-typed signature: be15c169257c600185cd9f44aa54c4be
// flow-typed version: <<STUB>>/babel-core_v^6.8.0/flow_v0.38.0
// flow-typed signature: 7540130584c1e9577ca2798f7b6328d6
// flow-typed version: <<STUB>>/babel-core_v7.0.0-bridge.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/
@ -22,97 +22,7 @@ declare module 'babel-core' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'babel-core/lib/api/browser' {
declare module.exports: any;
}
declare module 'babel-core/lib/api/node' {
declare module.exports: any;
}
declare module 'babel-core/lib/helpers/merge' {
declare module.exports: any;
}
declare module 'babel-core/lib/helpers/normalize-ast' {
declare module.exports: any;
}
declare module 'babel-core/lib/helpers/resolve' {
declare module.exports: any;
}
declare module 'babel-core/lib/store' {
declare module.exports: any;
}
declare module 'babel-core/lib/tools/build-external-helpers' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/file/index' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/file/logger' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/file/metadata' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/file/options/build-config-chain' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/file/options/config' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/file/options/index' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/file/options/option-manager' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/file/options/parsers' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/file/options/removed' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/internal-plugins/block-hoist' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/internal-plugins/shadow-functions' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/pipeline' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/plugin-pass' {
declare module.exports: any;
}
declare module 'babel-core/lib/transformation/plugin' {
declare module.exports: any;
}
declare module 'babel-core/lib/util' {
declare module.exports: any;
}
declare module 'babel-core/register' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-core/index' {
@ -121,72 +31,3 @@ declare module 'babel-core/index' {
declare module 'babel-core/index.js' {
declare module.exports: $Exports<'babel-core'>;
}
declare module 'babel-core/lib/api/browser.js' {
declare module.exports: $Exports<'babel-core/lib/api/browser'>;
}
declare module 'babel-core/lib/api/node.js' {
declare module.exports: $Exports<'babel-core/lib/api/node'>;
}
declare module 'babel-core/lib/helpers/merge.js' {
declare module.exports: $Exports<'babel-core/lib/helpers/merge'>;
}
declare module 'babel-core/lib/helpers/normalize-ast.js' {
declare module.exports: $Exports<'babel-core/lib/helpers/normalize-ast'>;
}
declare module 'babel-core/lib/helpers/resolve.js' {
declare module.exports: $Exports<'babel-core/lib/helpers/resolve'>;
}
declare module 'babel-core/lib/store.js' {
declare module.exports: $Exports<'babel-core/lib/store'>;
}
declare module 'babel-core/lib/tools/build-external-helpers.js' {
declare module.exports: $Exports<'babel-core/lib/tools/build-external-helpers'>;
}
declare module 'babel-core/lib/transformation/file/index.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/file/index'>;
}
declare module 'babel-core/lib/transformation/file/logger.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/file/logger'>;
}
declare module 'babel-core/lib/transformation/file/metadata.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/file/metadata'>;
}
declare module 'babel-core/lib/transformation/file/options/build-config-chain.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/file/options/build-config-chain'>;
}
declare module 'babel-core/lib/transformation/file/options/config.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/file/options/config'>;
}
declare module 'babel-core/lib/transformation/file/options/index.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/file/options/index'>;
}
declare module 'babel-core/lib/transformation/file/options/option-manager.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/file/options/option-manager'>;
}
declare module 'babel-core/lib/transformation/file/options/parsers.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/file/options/parsers'>;
}
declare module 'babel-core/lib/transformation/file/options/removed.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/file/options/removed'>;
}
declare module 'babel-core/lib/transformation/internal-plugins/block-hoist.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/internal-plugins/block-hoist'>;
}
declare module 'babel-core/lib/transformation/internal-plugins/shadow-functions.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/internal-plugins/shadow-functions'>;
}
declare module 'babel-core/lib/transformation/pipeline.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/pipeline'>;
}
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/plugin.js' {
declare module.exports: $Exports<'babel-core/lib/transformation/plugin'>;
}
declare module 'babel-core/lib/util.js' {
declare module.exports: $Exports<'babel-core/lib/util'>;
}
declare module 'babel-core/register.js' {
declare module.exports: $Exports<'babel-core/register'>;
}

View File

@ -13,7 +13,7 @@
* https://github.com/flowtype/flow-typed
*/
import { BabelNode } from "babel-types";
import { BabelNode } from "@babel/types";
type SourceMap = {
sources: Array<string>,

32
flow-typed/npm/babel-jest_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,32 @@
// flow-typed signature: fd955224b4ff20689118b3df4ec748c1
// flow-typed version: <<STUB>>/babel-jest_v^23.4.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-jest'
*
* 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 'babel-jest' {
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 'babel-jest/build/index' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-jest/build/index.js' {
declare module.exports: $Exports<'babel-jest/build/index'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: fe7e54a98300f409fd3c32a79a2e317f
// flow-typed version: <<STUB>>/babel-plugin-jest-hoist_v^23.2.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-jest-hoist'
*
* 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 'babel-plugin-jest-hoist' {
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 'babel-plugin-jest-hoist/build/index' {
declare module.exports: any;
}
// Filename aliases
declare module 'babel-plugin-jest-hoist/build/index.js' {
declare module.exports: $Exports<'babel-plugin-jest-hoist/build/index'>;
}

View File

@ -13,7 +13,7 @@
* https://github.com/flowtype/flow-typed
*/
import { BabelNodeStatement } from "babel-types";
import { BabelNodeStatement } from "@babel/types";
declare module 'babel-template' {
declare module.exports: (code: string, opts?: Object) => Object => BabelNodeStatement;

View File

@ -13,7 +13,7 @@
* https://github.com/flowtype/flow-typed
*/
import type { BabelNode, BabelNodeIdentifier } from "babel-types";
import type { BabelNode, BabelNodeIdentifier } from "@babel/types";
declare module 'babel-traverse' {
declare export class BabelTraversePath {

File diff suppressed because it is too large Load Diff

View File

@ -1,74 +1,76 @@
// flow-typed signature: f8f8af9c4192e9e159c56fb23ec4efb3
// flow-typed version: 94e9f7e0a4/chalk_v1.x.x/flow_>=v0.21.x
// flow-typed signature: f965116cdb881170be8c42b10554e195
// flow-typed version: da30fe6876/chalk_v1.x.x/flow_>=v0.25.x
type $npm$chalk$StyleElement = {
open: string;
close: string;
open: string,
close: string
};
type $npm$chalk$Chain = $npm$chalk$Style & (...text: string[]) => string;
type $npm$chalk$Chain = $npm$chalk$Style & ((...text: any[]) => string);
type $npm$chalk$Style = {
// General
reset: $npm$chalk$Chain;
bold: $npm$chalk$Chain;
italic: $npm$chalk$Chain;
underline: $npm$chalk$Chain;
inverse: $npm$chalk$Chain;
strikethrough: $npm$chalk$Chain;
reset: $npm$chalk$Chain,
bold: $npm$chalk$Chain,
dim: $npm$chalk$Chain,
italic: $npm$chalk$Chain,
underline: $npm$chalk$Chain,
inverse: $npm$chalk$Chain,
strikethrough: $npm$chalk$Chain,
// Text colors
black: $npm$chalk$Chain;
red: $npm$chalk$Chain;
green: $npm$chalk$Chain;
yellow: $npm$chalk$Chain;
blue: $npm$chalk$Chain;
magenta: $npm$chalk$Chain;
cyan: $npm$chalk$Chain;
white: $npm$chalk$Chain;
gray: $npm$chalk$Chain;
grey: $npm$chalk$Chain;
black: $npm$chalk$Chain,
red: $npm$chalk$Chain,
green: $npm$chalk$Chain,
yellow: $npm$chalk$Chain,
blue: $npm$chalk$Chain,
magenta: $npm$chalk$Chain,
cyan: $npm$chalk$Chain,
white: $npm$chalk$Chain,
gray: $npm$chalk$Chain,
grey: $npm$chalk$Chain,
// Background colors
bgBlack: $npm$chalk$Chain;
bgRed: $npm$chalk$Chain;
bgGreen: $npm$chalk$Chain;
bgYellow: $npm$chalk$Chain;
bgBlue: $npm$chalk$Chain;
bgMagenta: $npm$chalk$Chain;
bgCyan: $npm$chalk$Chain;
bgWhite: $npm$chalk$Chain;
bgBlack: $npm$chalk$Chain,
bgRed: $npm$chalk$Chain,
bgGreen: $npm$chalk$Chain,
bgYellow: $npm$chalk$Chain,
bgBlue: $npm$chalk$Chain,
bgMagenta: $npm$chalk$Chain,
bgCyan: $npm$chalk$Chain,
bgWhite: $npm$chalk$Chain
};
type $npm$chalk$StyleMap = {
// General
reset: $npm$chalk$StyleElement;
bold: $npm$chalk$StyleElement;
italic: $npm$chalk$StyleElement;
underline: $npm$chalk$StyleElement;
inverse: $npm$chalk$StyleElement;
strikethrough: $npm$chalk$StyleElement;
reset: $npm$chalk$StyleElement,
bold: $npm$chalk$StyleElement,
dim: $npm$chalk$StyleElement,
italic: $npm$chalk$StyleElement,
underline: $npm$chalk$StyleElement,
inverse: $npm$chalk$StyleElement,
strikethrough: $npm$chalk$StyleElement,
// Text colors
black: $npm$chalk$StyleElement;
red: $npm$chalk$StyleElement;
green: $npm$chalk$StyleElement;
yellow: $npm$chalk$StyleElement;
blue: $npm$chalk$StyleElement;
magenta: $npm$chalk$StyleElement;
cyan: $npm$chalk$StyleElement;
white: $npm$chalk$StyleElement;
gray: $npm$chalk$StyleElement;
black: $npm$chalk$StyleElement,
red: $npm$chalk$StyleElement,
green: $npm$chalk$StyleElement,
yellow: $npm$chalk$StyleElement,
blue: $npm$chalk$StyleElement,
magenta: $npm$chalk$StyleElement,
cyan: $npm$chalk$StyleElement,
white: $npm$chalk$StyleElement,
gray: $npm$chalk$StyleElement,
// Background colors
bgBlack: $npm$chalk$StyleElement;
bgRed: $npm$chalk$StyleElement;
bgGreen: $npm$chalk$StyleElement;
bgYellow: $npm$chalk$StyleElement;
bgBlue: $npm$chalk$StyleElement;
bgMagenta: $npm$chalk$StyleElement;
bgCyan: $npm$chalk$StyleElement;
bgWhite: $npm$chalk$StyleElement;
bgBlack: $npm$chalk$StyleElement,
bgRed: $npm$chalk$StyleElement,
bgGreen: $npm$chalk$StyleElement,
bgYellow: $npm$chalk$StyleElement,
bgBlue: $npm$chalk$StyleElement,
bgMagenta: $npm$chalk$StyleElement,
bgCyan: $npm$chalk$StyleElement,
bgWhite: $npm$chalk$StyleElement
};
declare module "chalk" {
@ -82,6 +84,7 @@ declare module "chalk" {
// General
declare var reset: $npm$chalk$Chain;
declare var bold: $npm$chalk$Chain;
declare var dim: $npm$chalk$Chain;
declare var italic: $npm$chalk$Chain;
declare var underline: $npm$chalk$Chain;
declare var inverse: $npm$chalk$Chain;

View File

@ -1,5 +1,5 @@
// flow-typed signature: 7c5ac13e602c779e233d563f6c9b8133
// flow-typed version: <<STUB>>/eslint-plugin-babel_v^3.3.0/flow_v0.38.0
// flow-typed signature: 39d8e3656d5637c82acf64987fba7b5e
// flow-typed version: <<STUB>>/eslint-plugin-babel_v^3.3.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/

View File

@ -0,0 +1,46 @@
// flow-typed signature: 14f33c04f690dde93b4cc43045e81b6b
// flow-typed version: <<STUB>>/eslint-plugin-flow-header_v^0.1.1/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'eslint-plugin-flow-header'
*
* 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 'eslint-plugin-flow-header' {
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 'eslint-plugin-flow-header/lib/index' {
declare module.exports: any;
}
declare module 'eslint-plugin-flow-header/lib/rules/flow-header' {
declare module.exports: any;
}
declare module 'eslint-plugin-flow-header/tests/lib/rules/flow-header' {
declare module.exports: any;
}
// Filename aliases
declare module 'eslint-plugin-flow-header/lib/index.js' {
declare module.exports: $Exports<'eslint-plugin-flow-header/lib/index'>;
}
declare module 'eslint-plugin-flow-header/lib/rules/flow-header.js' {
declare module.exports: $Exports<'eslint-plugin-flow-header/lib/rules/flow-header'>;
}
declare module 'eslint-plugin-flow-header/tests/lib/rules/flow-header.js' {
declare module.exports: $Exports<'eslint-plugin-flow-header/tests/lib/rules/flow-header'>;
}

View File

@ -1,5 +1,5 @@
// flow-typed signature: a7e259b771b43a3e880a0506e6f9ecab
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.20.0/flow_v0.38.0
// flow-typed signature: fac94262a2bf7f7b11e84411804f8fa6
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.40.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/
@ -46,14 +46,38 @@ declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes' {
declare module.exports: any;
}
@ -62,6 +86,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireExactType' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType' {
declare module.exports: any;
}
@ -70,6 +98,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation' {
declare module.exports: any;
}
@ -134,6 +166,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle' {
declare module.exports: any;
}
declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing' {
declare module.exports: any;
}
@ -209,24 +245,48 @@ declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle.js' {
declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/genericSpacing'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noDupeKeys'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noExistentialType'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noMutableArray'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noUnusedExpressions'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noWeakTypes'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireExactType.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireExactType'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireParameterType'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireReturnType'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireTypesAtTop'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation'>;
}
@ -275,6 +335,9 @@ declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter.js'
declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeIdMatch'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeImportStyle'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing'>;
}

View File

@ -0,0 +1,73 @@
// flow-typed signature: ae49f73baa6e38423f28cfaa56cde4b6
// flow-typed version: <<STUB>>/eslint-plugin-header_v^1.0.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'eslint-plugin-header'
*
* 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 'eslint-plugin-header' {
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 'eslint-plugin-header/lib/comment-parser' {
declare module.exports: any;
}
declare module 'eslint-plugin-header/lib/rules/header' {
declare module.exports: any;
}
declare module 'eslint-plugin-header/tests/lib/comment-parser-test' {
declare module.exports: any;
}
declare module 'eslint-plugin-header/tests/lib/rules/header' {
declare module.exports: any;
}
declare module 'eslint-plugin-header/tests/support/block' {
declare module.exports: any;
}
declare module 'eslint-plugin-header/tests/support/line' {
declare module.exports: any;
}
// Filename aliases
declare module 'eslint-plugin-header/index' {
declare module.exports: $Exports<'eslint-plugin-header'>;
}
declare module 'eslint-plugin-header/index.js' {
declare module.exports: $Exports<'eslint-plugin-header'>;
}
declare module 'eslint-plugin-header/lib/comment-parser.js' {
declare module.exports: $Exports<'eslint-plugin-header/lib/comment-parser'>;
}
declare module 'eslint-plugin-header/lib/rules/header.js' {
declare module.exports: $Exports<'eslint-plugin-header/lib/rules/header'>;
}
declare module 'eslint-plugin-header/tests/lib/comment-parser-test.js' {
declare module.exports: $Exports<'eslint-plugin-header/tests/lib/comment-parser-test'>;
}
declare module 'eslint-plugin-header/tests/lib/rules/header.js' {
declare module.exports: $Exports<'eslint-plugin-header/tests/lib/rules/header'>;
}
declare module 'eslint-plugin-header/tests/support/block.js' {
declare module.exports: $Exports<'eslint-plugin-header/tests/support/block'>;
}
declare module 'eslint-plugin-header/tests/support/line.js' {
declare module.exports: $Exports<'eslint-plugin-header/tests/support/line'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: 70634101622a522f3dadf6402bddc6cf
// flow-typed version: <<STUB>>/eslint-plugin-prettier_v^2.1.2/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'eslint-plugin-prettier'
*
* 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 'eslint-plugin-prettier' {
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 'eslint-plugin-prettier/eslint-plugin-prettier' {
declare module.exports: any;
}
// Filename aliases
declare module 'eslint-plugin-prettier/eslint-plugin-prettier.js' {
declare module.exports: $Exports<'eslint-plugin-prettier/eslint-plugin-prettier'>;
}

View File

@ -1,5 +1,5 @@
// flow-typed signature: 8a98edce5368bf9e4b089299a4ec9b1b
// flow-typed version: <<STUB>>/eslint_v^3.8.1/flow_v0.38.0
// flow-typed signature: 5e0ea0fef73f4809eec046a100e9b8dd
// flow-typed version: <<STUB>>/eslint_v^4.18.2/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/
@ -26,7 +26,11 @@ declare module 'eslint/bin/eslint' {
declare module.exports: any;
}
declare module 'eslint/conf/cli-options' {
declare module 'eslint/conf/config-schema' {
declare module.exports: any;
}
declare module 'eslint/conf/default-cli-options' {
declare module.exports: any;
}
@ -38,6 +42,10 @@ declare module 'eslint/conf/eslint-all' {
declare module.exports: any;
}
declare module 'eslint/conf/eslint-recommended' {
declare module.exports: any;
}
declare module 'eslint/lib/api' {
declare module.exports: any;
}
@ -90,6 +98,10 @@ declare module 'eslint/lib/config/autoconfig' {
declare module.exports: any;
}
declare module 'eslint/lib/config/config-cache' {
declare module.exports: any;
}
declare module 'eslint/lib/config/config-file' {
declare module.exports: any;
}
@ -118,10 +130,6 @@ declare module 'eslint/lib/config/plugins' {
declare module.exports: any;
}
declare module 'eslint/lib/eslint' {
declare module.exports: any;
}
declare module 'eslint/lib/file-finder' {
declare module.exports: any;
}
@ -178,11 +186,7 @@ declare module 'eslint/lib/ignored-paths' {
declare module.exports: any;
}
declare module 'eslint/lib/internal-rules/internal-consistent-docs-description' {
declare module.exports: any;
}
declare module 'eslint/lib/internal-rules/internal-no-invalid-meta' {
declare module 'eslint/lib/linter' {
declare module.exports: any;
}
@ -198,7 +202,7 @@ declare module 'eslint/lib/options' {
declare module.exports: any;
}
declare module 'eslint/lib/rule-context' {
declare module 'eslint/lib/report-translator' {
declare module.exports: any;
}
@ -210,6 +214,10 @@ declare module 'eslint/lib/rules/accessor-pairs' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/array-bracket-newline' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/array-bracket-spacing' {
declare module.exports: any;
}
@ -218,6 +226,10 @@ declare module 'eslint/lib/rules/array-callback-return' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/array-element-newline' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/arrow-body-style' {
declare module.exports: any;
}
@ -314,6 +326,10 @@ declare module 'eslint/lib/rules/eqeqeq' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/for-direction' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/func-call-spacing' {
declare module.exports: any;
}
@ -330,10 +346,18 @@ declare module 'eslint/lib/rules/func-style' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/function-paren-newline' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/generator-star-spacing' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/getter-return' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/global-require' {
declare module.exports: any;
}
@ -358,6 +382,14 @@ declare module 'eslint/lib/rules/id-match' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/implicit-arrow-linebreak' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/indent-legacy' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/indent' {
declare module.exports: any;
}
@ -394,6 +426,10 @@ declare module 'eslint/lib/rules/lines-around-directive' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/lines-between-class-members' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/max-depth' {
declare module.exports: any;
}
@ -422,6 +458,10 @@ declare module 'eslint/lib/rules/max-statements' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/multiline-comment-style' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/multiline-ternary' {
declare module.exports: any;
}
@ -462,6 +502,10 @@ declare module 'eslint/lib/rules/no-bitwise' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/no-buffer-constructor' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/no-caller' {
declare module.exports: any;
}
@ -478,6 +522,10 @@ declare module 'eslint/lib/rules/no-class-assign' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/no-compare-neg-zero' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/no-cond-assign' {
declare module.exports: any;
}
@ -978,6 +1026,10 @@ declare module 'eslint/lib/rules/no-with' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/nonblock-statement-body-position' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/object-curly-newline' {
declare module.exports: any;
}
@ -1014,6 +1066,10 @@ declare module 'eslint/lib/rules/padded-blocks' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/padding-line-between-statements' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/prefer-arrow-callback' {
declare module.exports: any;
}
@ -1082,6 +1138,10 @@ declare module 'eslint/lib/rules/semi-spacing' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/semi-style' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/semi' {
declare module.exports: any;
}
@ -1126,6 +1186,10 @@ declare module 'eslint/lib/rules/strict' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/switch-colon-spacing' {
declare module.exports: any;
}
declare module 'eslint/lib/rules/symbol-description' {
declare module.exports: any;
}
@ -1174,10 +1238,6 @@ declare module 'eslint/lib/rules/yoda' {
declare module.exports: any;
}
declare module 'eslint/lib/testers/event-generator-tester' {
declare module.exports: any;
}
declare module 'eslint/lib/testers/rule-tester' {
declare module.exports: any;
}
@ -1186,11 +1246,67 @@ declare module 'eslint/lib/timing' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store' {
declare module 'eslint/lib/token-store/backward-token-comment-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/util/comment-event-generator' {
declare module 'eslint/lib/token-store/backward-token-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/cursors' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/decorative-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/filter-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/forward-token-comment-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/forward-token-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/index' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/limit-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/padded-token-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/skip-cursor' {
declare module.exports: any;
}
declare module 'eslint/lib/token-store/utils' {
declare module.exports: any;
}
declare module 'eslint/lib/util/ajv' {
declare module.exports: any;
}
declare module 'eslint/lib/util/apply-disable-directives' {
declare module.exports: any;
}
declare module 'eslint/lib/util/fix-tracker' {
declare module.exports: any;
}
@ -1206,6 +1322,10 @@ declare module 'eslint/lib/util/hash' {
declare module.exports: any;
}
declare module 'eslint/lib/util/interpolate' {
declare module.exports: any;
}
declare module 'eslint/lib/util/keywords' {
declare module.exports: any;
}
@ -1214,6 +1334,10 @@ declare module 'eslint/lib/util/module-resolver' {
declare module.exports: any;
}
declare module 'eslint/lib/util/naming' {
declare module.exports: any;
}
declare module 'eslint/lib/util/node-event-generator' {
declare module.exports: any;
}
@ -1234,6 +1358,10 @@ declare module 'eslint/lib/util/rule-fixer' {
declare module.exports: any;
}
declare module 'eslint/lib/util/safe-emitter' {
declare module.exports: any;
}
declare module 'eslint/lib/util/source-code-fixer' {
declare module.exports: any;
}
@ -1258,8 +1386,11 @@ declare module 'eslint/lib/util/xml-escape' {
declare module 'eslint/bin/eslint.js' {
declare module.exports: $Exports<'eslint/bin/eslint'>;
}
declare module 'eslint/conf/cli-options.js' {
declare module.exports: $Exports<'eslint/conf/cli-options'>;
declare module 'eslint/conf/config-schema.js' {
declare module.exports: $Exports<'eslint/conf/config-schema'>;
}
declare module 'eslint/conf/default-cli-options.js' {
declare module.exports: $Exports<'eslint/conf/default-cli-options'>;
}
declare module 'eslint/conf/environments.js' {
declare module.exports: $Exports<'eslint/conf/environments'>;
@ -1267,6 +1398,9 @@ declare module 'eslint/conf/environments.js' {
declare module 'eslint/conf/eslint-all.js' {
declare module.exports: $Exports<'eslint/conf/eslint-all'>;
}
declare module 'eslint/conf/eslint-recommended.js' {
declare module.exports: $Exports<'eslint/conf/eslint-recommended'>;
}
declare module 'eslint/lib/api.js' {
declare module.exports: $Exports<'eslint/lib/api'>;
}
@ -1306,6 +1440,9 @@ declare module 'eslint/lib/config.js' {
declare module 'eslint/lib/config/autoconfig.js' {
declare module.exports: $Exports<'eslint/lib/config/autoconfig'>;
}
declare module 'eslint/lib/config/config-cache.js' {
declare module.exports: $Exports<'eslint/lib/config/config-cache'>;
}
declare module 'eslint/lib/config/config-file.js' {
declare module.exports: $Exports<'eslint/lib/config/config-file'>;
}
@ -1327,9 +1464,6 @@ declare module 'eslint/lib/config/environments.js' {
declare module 'eslint/lib/config/plugins.js' {
declare module.exports: $Exports<'eslint/lib/config/plugins'>;
}
declare module 'eslint/lib/eslint.js' {
declare module.exports: $Exports<'eslint/lib/eslint'>;
}
declare module 'eslint/lib/file-finder.js' {
declare module.exports: $Exports<'eslint/lib/file-finder'>;
}
@ -1372,11 +1506,8 @@ declare module 'eslint/lib/formatters/visualstudio.js' {
declare module 'eslint/lib/ignored-paths.js' {
declare module.exports: $Exports<'eslint/lib/ignored-paths'>;
}
declare module 'eslint/lib/internal-rules/internal-consistent-docs-description.js' {
declare module.exports: $Exports<'eslint/lib/internal-rules/internal-consistent-docs-description'>;
}
declare module 'eslint/lib/internal-rules/internal-no-invalid-meta.js' {
declare module.exports: $Exports<'eslint/lib/internal-rules/internal-no-invalid-meta'>;
declare module 'eslint/lib/linter.js' {
declare module.exports: $Exports<'eslint/lib/linter'>;
}
declare module 'eslint/lib/load-rules.js' {
declare module.exports: $Exports<'eslint/lib/load-rules'>;
@ -1387,8 +1518,8 @@ declare module 'eslint/lib/logging.js' {
declare module 'eslint/lib/options.js' {
declare module.exports: $Exports<'eslint/lib/options'>;
}
declare module 'eslint/lib/rule-context.js' {
declare module.exports: $Exports<'eslint/lib/rule-context'>;
declare module 'eslint/lib/report-translator.js' {
declare module.exports: $Exports<'eslint/lib/report-translator'>;
}
declare module 'eslint/lib/rules.js' {
declare module.exports: $Exports<'eslint/lib/rules'>;
@ -1396,12 +1527,18 @@ declare module 'eslint/lib/rules.js' {
declare module 'eslint/lib/rules/accessor-pairs.js' {
declare module.exports: $Exports<'eslint/lib/rules/accessor-pairs'>;
}
declare module 'eslint/lib/rules/array-bracket-newline.js' {
declare module.exports: $Exports<'eslint/lib/rules/array-bracket-newline'>;
}
declare module 'eslint/lib/rules/array-bracket-spacing.js' {
declare module.exports: $Exports<'eslint/lib/rules/array-bracket-spacing'>;
}
declare module 'eslint/lib/rules/array-callback-return.js' {
declare module.exports: $Exports<'eslint/lib/rules/array-callback-return'>;
}
declare module 'eslint/lib/rules/array-element-newline.js' {
declare module.exports: $Exports<'eslint/lib/rules/array-element-newline'>;
}
declare module 'eslint/lib/rules/arrow-body-style.js' {
declare module.exports: $Exports<'eslint/lib/rules/arrow-body-style'>;
}
@ -1474,6 +1611,9 @@ declare module 'eslint/lib/rules/eol-last.js' {
declare module 'eslint/lib/rules/eqeqeq.js' {
declare module.exports: $Exports<'eslint/lib/rules/eqeqeq'>;
}
declare module 'eslint/lib/rules/for-direction.js' {
declare module.exports: $Exports<'eslint/lib/rules/for-direction'>;
}
declare module 'eslint/lib/rules/func-call-spacing.js' {
declare module.exports: $Exports<'eslint/lib/rules/func-call-spacing'>;
}
@ -1486,9 +1626,15 @@ declare module 'eslint/lib/rules/func-names.js' {
declare module 'eslint/lib/rules/func-style.js' {
declare module.exports: $Exports<'eslint/lib/rules/func-style'>;
}
declare module 'eslint/lib/rules/function-paren-newline.js' {
declare module.exports: $Exports<'eslint/lib/rules/function-paren-newline'>;
}
declare module 'eslint/lib/rules/generator-star-spacing.js' {
declare module.exports: $Exports<'eslint/lib/rules/generator-star-spacing'>;
}
declare module 'eslint/lib/rules/getter-return.js' {
declare module.exports: $Exports<'eslint/lib/rules/getter-return'>;
}
declare module 'eslint/lib/rules/global-require.js' {
declare module.exports: $Exports<'eslint/lib/rules/global-require'>;
}
@ -1507,6 +1653,12 @@ declare module 'eslint/lib/rules/id-length.js' {
declare module 'eslint/lib/rules/id-match.js' {
declare module.exports: $Exports<'eslint/lib/rules/id-match'>;
}
declare module 'eslint/lib/rules/implicit-arrow-linebreak.js' {
declare module.exports: $Exports<'eslint/lib/rules/implicit-arrow-linebreak'>;
}
declare module 'eslint/lib/rules/indent-legacy.js' {
declare module.exports: $Exports<'eslint/lib/rules/indent-legacy'>;
}
declare module 'eslint/lib/rules/indent.js' {
declare module.exports: $Exports<'eslint/lib/rules/indent'>;
}
@ -1534,6 +1686,9 @@ declare module 'eslint/lib/rules/lines-around-comment.js' {
declare module 'eslint/lib/rules/lines-around-directive.js' {
declare module.exports: $Exports<'eslint/lib/rules/lines-around-directive'>;
}
declare module 'eslint/lib/rules/lines-between-class-members.js' {
declare module.exports: $Exports<'eslint/lib/rules/lines-between-class-members'>;
}
declare module 'eslint/lib/rules/max-depth.js' {
declare module.exports: $Exports<'eslint/lib/rules/max-depth'>;
}
@ -1555,6 +1710,9 @@ declare module 'eslint/lib/rules/max-statements-per-line.js' {
declare module 'eslint/lib/rules/max-statements.js' {
declare module.exports: $Exports<'eslint/lib/rules/max-statements'>;
}
declare module 'eslint/lib/rules/multiline-comment-style.js' {
declare module.exports: $Exports<'eslint/lib/rules/multiline-comment-style'>;
}
declare module 'eslint/lib/rules/multiline-ternary.js' {
declare module.exports: $Exports<'eslint/lib/rules/multiline-ternary'>;
}
@ -1585,6 +1743,9 @@ declare module 'eslint/lib/rules/no-await-in-loop.js' {
declare module 'eslint/lib/rules/no-bitwise.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-bitwise'>;
}
declare module 'eslint/lib/rules/no-buffer-constructor.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-buffer-constructor'>;
}
declare module 'eslint/lib/rules/no-caller.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-caller'>;
}
@ -1597,6 +1758,9 @@ declare module 'eslint/lib/rules/no-catch-shadow.js' {
declare module 'eslint/lib/rules/no-class-assign.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-class-assign'>;
}
declare module 'eslint/lib/rules/no-compare-neg-zero.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-compare-neg-zero'>;
}
declare module 'eslint/lib/rules/no-cond-assign.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-cond-assign'>;
}
@ -1972,6 +2136,9 @@ declare module 'eslint/lib/rules/no-whitespace-before-property.js' {
declare module 'eslint/lib/rules/no-with.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-with'>;
}
declare module 'eslint/lib/rules/nonblock-statement-body-position.js' {
declare module.exports: $Exports<'eslint/lib/rules/nonblock-statement-body-position'>;
}
declare module 'eslint/lib/rules/object-curly-newline.js' {
declare module.exports: $Exports<'eslint/lib/rules/object-curly-newline'>;
}
@ -1999,6 +2166,9 @@ declare module 'eslint/lib/rules/operator-linebreak.js' {
declare module 'eslint/lib/rules/padded-blocks.js' {
declare module.exports: $Exports<'eslint/lib/rules/padded-blocks'>;
}
declare module 'eslint/lib/rules/padding-line-between-statements.js' {
declare module.exports: $Exports<'eslint/lib/rules/padding-line-between-statements'>;
}
declare module 'eslint/lib/rules/prefer-arrow-callback.js' {
declare module.exports: $Exports<'eslint/lib/rules/prefer-arrow-callback'>;
}
@ -2050,6 +2220,9 @@ declare module 'eslint/lib/rules/rest-spread-spacing.js' {
declare module 'eslint/lib/rules/semi-spacing.js' {
declare module.exports: $Exports<'eslint/lib/rules/semi-spacing'>;
}
declare module 'eslint/lib/rules/semi-style.js' {
declare module.exports: $Exports<'eslint/lib/rules/semi-style'>;
}
declare module 'eslint/lib/rules/semi.js' {
declare module.exports: $Exports<'eslint/lib/rules/semi'>;
}
@ -2083,6 +2256,9 @@ declare module 'eslint/lib/rules/spaced-comment.js' {
declare module 'eslint/lib/rules/strict.js' {
declare module.exports: $Exports<'eslint/lib/rules/strict'>;
}
declare module 'eslint/lib/rules/switch-colon-spacing.js' {
declare module.exports: $Exports<'eslint/lib/rules/switch-colon-spacing'>;
}
declare module 'eslint/lib/rules/symbol-description.js' {
declare module.exports: $Exports<'eslint/lib/rules/symbol-description'>;
}
@ -2119,20 +2295,59 @@ declare module 'eslint/lib/rules/yield-star-spacing.js' {
declare module 'eslint/lib/rules/yoda.js' {
declare module.exports: $Exports<'eslint/lib/rules/yoda'>;
}
declare module 'eslint/lib/testers/event-generator-tester.js' {
declare module.exports: $Exports<'eslint/lib/testers/event-generator-tester'>;
}
declare module 'eslint/lib/testers/rule-tester.js' {
declare module.exports: $Exports<'eslint/lib/testers/rule-tester'>;
}
declare module 'eslint/lib/timing.js' {
declare module.exports: $Exports<'eslint/lib/timing'>;
}
declare module 'eslint/lib/token-store.js' {
declare module.exports: $Exports<'eslint/lib/token-store'>;
declare module 'eslint/lib/token-store/backward-token-comment-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/backward-token-comment-cursor'>;
}
declare module 'eslint/lib/util/comment-event-generator.js' {
declare module.exports: $Exports<'eslint/lib/util/comment-event-generator'>;
declare module 'eslint/lib/token-store/backward-token-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/backward-token-cursor'>;
}
declare module 'eslint/lib/token-store/cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/cursor'>;
}
declare module 'eslint/lib/token-store/cursors.js' {
declare module.exports: $Exports<'eslint/lib/token-store/cursors'>;
}
declare module 'eslint/lib/token-store/decorative-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/decorative-cursor'>;
}
declare module 'eslint/lib/token-store/filter-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/filter-cursor'>;
}
declare module 'eslint/lib/token-store/forward-token-comment-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/forward-token-comment-cursor'>;
}
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.js' {
declare module.exports: $Exports<'eslint/lib/token-store/index'>;
}
declare module 'eslint/lib/token-store/limit-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/limit-cursor'>;
}
declare module 'eslint/lib/token-store/padded-token-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/padded-token-cursor'>;
}
declare module 'eslint/lib/token-store/skip-cursor.js' {
declare module.exports: $Exports<'eslint/lib/token-store/skip-cursor'>;
}
declare module 'eslint/lib/token-store/utils.js' {
declare module.exports: $Exports<'eslint/lib/token-store/utils'>;
}
declare module 'eslint/lib/util/ajv.js' {
declare module.exports: $Exports<'eslint/lib/util/ajv'>;
}
declare module 'eslint/lib/util/apply-disable-directives.js' {
declare module.exports: $Exports<'eslint/lib/util/apply-disable-directives'>;
}
declare module 'eslint/lib/util/fix-tracker.js' {
declare module.exports: $Exports<'eslint/lib/util/fix-tracker'>;
}
declare module 'eslint/lib/util/glob-util.js' {
declare module.exports: $Exports<'eslint/lib/util/glob-util'>;
@ -2143,12 +2358,18 @@ declare module 'eslint/lib/util/glob.js' {
declare module 'eslint/lib/util/hash.js' {
declare module.exports: $Exports<'eslint/lib/util/hash'>;
}
declare module 'eslint/lib/util/interpolate.js' {
declare module.exports: $Exports<'eslint/lib/util/interpolate'>;
}
declare module 'eslint/lib/util/keywords.js' {
declare module.exports: $Exports<'eslint/lib/util/keywords'>;
}
declare module 'eslint/lib/util/module-resolver.js' {
declare module.exports: $Exports<'eslint/lib/util/module-resolver'>;
}
declare module 'eslint/lib/util/naming.js' {
declare module.exports: $Exports<'eslint/lib/util/naming'>;
}
declare module 'eslint/lib/util/node-event-generator.js' {
declare module.exports: $Exports<'eslint/lib/util/node-event-generator'>;
}
@ -2164,6 +2385,9 @@ declare module 'eslint/lib/util/patterns/letters.js' {
declare module 'eslint/lib/util/rule-fixer.js' {
declare module.exports: $Exports<'eslint/lib/util/rule-fixer'>;
}
declare module 'eslint/lib/util/safe-emitter.js' {
declare module.exports: $Exports<'eslint/lib/util/safe-emitter'>;
}
declare module 'eslint/lib/util/source-code-fixer.js' {
declare module.exports: $Exports<'eslint/lib/util/source-code-fixer'>;
}

193
flow-typed/npm/flow-typed_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,193 @@
// flow-typed signature: ec72cd943af888764fdb66e85aa5c067
// flow-typed version: <<STUB>>/flow-typed_v^2.3.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'flow-typed'
*
* 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 'flow-typed' {
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 'flow-typed/dist/cli' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/create-stub' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/install' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/runTests' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/search' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/update-cache' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/update' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/validateDefs' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/version' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/cacheRepoUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/codeSign' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/fileUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/flowProjectUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/flowVersion' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/git' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/github' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/isInFlowTypedRepo' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/libDefs' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/node' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/npm/npmLibDefs' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/npm/npmProjectUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/semver' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/stubUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/validationErrors' {
declare module.exports: any;
}
// Filename aliases
declare module 'flow-typed/dist/cli.js' {
declare module.exports: $Exports<'flow-typed/dist/cli'>;
}
declare module 'flow-typed/dist/commands/create-stub.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/create-stub'>;
}
declare module 'flow-typed/dist/commands/install.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/install'>;
}
declare module 'flow-typed/dist/commands/runTests.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/runTests'>;
}
declare module 'flow-typed/dist/commands/search.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/search'>;
}
declare module 'flow-typed/dist/commands/update-cache.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/update-cache'>;
}
declare module 'flow-typed/dist/commands/update.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/update'>;
}
declare module 'flow-typed/dist/commands/validateDefs.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/validateDefs'>;
}
declare module 'flow-typed/dist/commands/version.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/version'>;
}
declare module 'flow-typed/dist/lib/cacheRepoUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/cacheRepoUtils'>;
}
declare module 'flow-typed/dist/lib/codeSign.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/codeSign'>;
}
declare module 'flow-typed/dist/lib/fileUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/fileUtils'>;
}
declare module 'flow-typed/dist/lib/flowProjectUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/flowProjectUtils'>;
}
declare module 'flow-typed/dist/lib/flowVersion.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/flowVersion'>;
}
declare module 'flow-typed/dist/lib/git.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/git'>;
}
declare module 'flow-typed/dist/lib/github.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/github'>;
}
declare module 'flow-typed/dist/lib/isInFlowTypedRepo.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/isInFlowTypedRepo'>;
}
declare module 'flow-typed/dist/lib/libDefs.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/libDefs'>;
}
declare module 'flow-typed/dist/lib/node.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/node'>;
}
declare module 'flow-typed/dist/lib/npm/npmLibDefs.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/npm/npmLibDefs'>;
}
declare module 'flow-typed/dist/lib/npm/npmProjectUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/npm/npmProjectUtils'>;
}
declare module 'flow-typed/dist/lib/semver.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/semver'>;
}
declare module 'flow-typed/dist/lib/stubUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/stubUtils'>;
}
declare module 'flow-typed/dist/lib/validationErrors.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/validationErrors'>;
}

6
flow-typed/npm/invariant_v2.x.x.js vendored Normal file
View File

@ -0,0 +1,6 @@
// flow-typed signature: 60de437d85342dea19dcd82c5a50f88a
// flow-typed version: da30fe6876/invariant_v2.x.x/flow_>=v0.33.x
declare module invariant {
declare module.exports: (condition: boolean, message: string) => void;
}

353
flow-typed/npm/istanbul_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,353 @@
// flow-typed signature: d49f4afb0982435dce495db8f5e8752f
// flow-typed version: <<STUB>>/istanbul_v^0.4.5/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'istanbul'
*
* 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 'istanbul' {
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 'istanbul/lib/assets/sorter' {
declare module.exports: any;
}
declare module 'istanbul/lib/assets/vendor/prettify' {
declare module.exports: any;
}
declare module 'istanbul/lib/cli' {
declare module.exports: any;
}
declare module 'istanbul/lib/collector' {
declare module.exports: any;
}
declare module 'istanbul/lib/command/check-coverage' {
declare module.exports: any;
}
declare module 'istanbul/lib/command/common/run-with-cover' {
declare module.exports: any;
}
declare module 'istanbul/lib/command/cover' {
declare module.exports: any;
}
declare module 'istanbul/lib/command/help' {
declare module.exports: any;
}
declare module 'istanbul/lib/command/index' {
declare module.exports: any;
}
declare module 'istanbul/lib/command/instrument' {
declare module.exports: any;
}
declare module 'istanbul/lib/command/report' {
declare module.exports: any;
}
declare module 'istanbul/lib/command/test' {
declare module.exports: any;
}
declare module 'istanbul/lib/config' {
declare module.exports: any;
}
declare module 'istanbul/lib/hook' {
declare module.exports: any;
}
declare module 'istanbul/lib/instrumenter' {
declare module.exports: any;
}
declare module 'istanbul/lib/object-utils' {
declare module.exports: any;
}
declare module 'istanbul/lib/register-plugins' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/clover' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/cobertura' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/common/defaults' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/html' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/index' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/json-summary' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/json' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/lcov' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/lcovonly' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/none' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/teamcity' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/text-lcov' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/text-summary' {
declare module.exports: any;
}
declare module 'istanbul/lib/report/text' {
declare module.exports: any;
}
declare module 'istanbul/lib/reporter' {
declare module.exports: any;
}
declare module 'istanbul/lib/store/fslookup' {
declare module.exports: any;
}
declare module 'istanbul/lib/store/index' {
declare module.exports: any;
}
declare module 'istanbul/lib/store/memory' {
declare module.exports: any;
}
declare module 'istanbul/lib/store/tmp' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/factory' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/file-matcher' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/file-writer' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/help-formatter' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/input-error' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/insertion-text' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/meta' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/tree-summarizer' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/writer' {
declare module.exports: any;
}
declare module 'istanbul/lib/util/yui-load-hook' {
declare module.exports: any;
}
// Filename aliases
declare module 'istanbul/index' {
declare module.exports: $Exports<'istanbul'>;
}
declare module 'istanbul/index.js' {
declare module.exports: $Exports<'istanbul'>;
}
declare module 'istanbul/lib/assets/sorter.js' {
declare module.exports: $Exports<'istanbul/lib/assets/sorter'>;
}
declare module 'istanbul/lib/assets/vendor/prettify.js' {
declare module.exports: $Exports<'istanbul/lib/assets/vendor/prettify'>;
}
declare module 'istanbul/lib/cli.js' {
declare module.exports: $Exports<'istanbul/lib/cli'>;
}
declare module 'istanbul/lib/collector.js' {
declare module.exports: $Exports<'istanbul/lib/collector'>;
}
declare module 'istanbul/lib/command/check-coverage.js' {
declare module.exports: $Exports<'istanbul/lib/command/check-coverage'>;
}
declare module 'istanbul/lib/command/common/run-with-cover.js' {
declare module.exports: $Exports<'istanbul/lib/command/common/run-with-cover'>;
}
declare module 'istanbul/lib/command/cover.js' {
declare module.exports: $Exports<'istanbul/lib/command/cover'>;
}
declare module 'istanbul/lib/command/help.js' {
declare module.exports: $Exports<'istanbul/lib/command/help'>;
}
declare module 'istanbul/lib/command/index.js' {
declare module.exports: $Exports<'istanbul/lib/command/index'>;
}
declare module 'istanbul/lib/command/instrument.js' {
declare module.exports: $Exports<'istanbul/lib/command/instrument'>;
}
declare module 'istanbul/lib/command/report.js' {
declare module.exports: $Exports<'istanbul/lib/command/report'>;
}
declare module 'istanbul/lib/command/test.js' {
declare module.exports: $Exports<'istanbul/lib/command/test'>;
}
declare module 'istanbul/lib/config.js' {
declare module.exports: $Exports<'istanbul/lib/config'>;
}
declare module 'istanbul/lib/hook.js' {
declare module.exports: $Exports<'istanbul/lib/hook'>;
}
declare module 'istanbul/lib/instrumenter.js' {
declare module.exports: $Exports<'istanbul/lib/instrumenter'>;
}
declare module 'istanbul/lib/object-utils.js' {
declare module.exports: $Exports<'istanbul/lib/object-utils'>;
}
declare module 'istanbul/lib/register-plugins.js' {
declare module.exports: $Exports<'istanbul/lib/register-plugins'>;
}
declare module 'istanbul/lib/report/clover.js' {
declare module.exports: $Exports<'istanbul/lib/report/clover'>;
}
declare module 'istanbul/lib/report/cobertura.js' {
declare module.exports: $Exports<'istanbul/lib/report/cobertura'>;
}
declare module 'istanbul/lib/report/common/defaults.js' {
declare module.exports: $Exports<'istanbul/lib/report/common/defaults'>;
}
declare module 'istanbul/lib/report/html.js' {
declare module.exports: $Exports<'istanbul/lib/report/html'>;
}
declare module 'istanbul/lib/report/index.js' {
declare module.exports: $Exports<'istanbul/lib/report/index'>;
}
declare module 'istanbul/lib/report/json-summary.js' {
declare module.exports: $Exports<'istanbul/lib/report/json-summary'>;
}
declare module 'istanbul/lib/report/json.js' {
declare module.exports: $Exports<'istanbul/lib/report/json'>;
}
declare module 'istanbul/lib/report/lcov.js' {
declare module.exports: $Exports<'istanbul/lib/report/lcov'>;
}
declare module 'istanbul/lib/report/lcovonly.js' {
declare module.exports: $Exports<'istanbul/lib/report/lcovonly'>;
}
declare module 'istanbul/lib/report/none.js' {
declare module.exports: $Exports<'istanbul/lib/report/none'>;
}
declare module 'istanbul/lib/report/teamcity.js' {
declare module.exports: $Exports<'istanbul/lib/report/teamcity'>;
}
declare module 'istanbul/lib/report/text-lcov.js' {
declare module.exports: $Exports<'istanbul/lib/report/text-lcov'>;
}
declare module 'istanbul/lib/report/text-summary.js' {
declare module.exports: $Exports<'istanbul/lib/report/text-summary'>;
}
declare module 'istanbul/lib/report/text.js' {
declare module.exports: $Exports<'istanbul/lib/report/text'>;
}
declare module 'istanbul/lib/reporter.js' {
declare module.exports: $Exports<'istanbul/lib/reporter'>;
}
declare module 'istanbul/lib/store/fslookup.js' {
declare module.exports: $Exports<'istanbul/lib/store/fslookup'>;
}
declare module 'istanbul/lib/store/index.js' {
declare module.exports: $Exports<'istanbul/lib/store/index'>;
}
declare module 'istanbul/lib/store/memory.js' {
declare module.exports: $Exports<'istanbul/lib/store/memory'>;
}
declare module 'istanbul/lib/store/tmp.js' {
declare module.exports: $Exports<'istanbul/lib/store/tmp'>;
}
declare module 'istanbul/lib/util/factory.js' {
declare module.exports: $Exports<'istanbul/lib/util/factory'>;
}
declare module 'istanbul/lib/util/file-matcher.js' {
declare module.exports: $Exports<'istanbul/lib/util/file-matcher'>;
}
declare module 'istanbul/lib/util/file-writer.js' {
declare module.exports: $Exports<'istanbul/lib/util/file-writer'>;
}
declare module 'istanbul/lib/util/help-formatter.js' {
declare module.exports: $Exports<'istanbul/lib/util/help-formatter'>;
}
declare module 'istanbul/lib/util/input-error.js' {
declare module.exports: $Exports<'istanbul/lib/util/input-error'>;
}
declare module 'istanbul/lib/util/insertion-text.js' {
declare module.exports: $Exports<'istanbul/lib/util/insertion-text'>;
}
declare module 'istanbul/lib/util/meta.js' {
declare module.exports: $Exports<'istanbul/lib/util/meta'>;
}
declare module 'istanbul/lib/util/tree-summarizer.js' {
declare module.exports: $Exports<'istanbul/lib/util/tree-summarizer'>;
}
declare module 'istanbul/lib/util/writer.js' {
declare module.exports: $Exports<'istanbul/lib/util/writer'>;
}
declare module 'istanbul/lib/util/yui-load-hook.js' {
declare module.exports: $Exports<'istanbul/lib/util/yui-load-hook'>;
}

1104
flow-typed/npm/jest_v23.x.x.js vendored Normal file

File diff suppressed because it is too large Load Diff

75
flow-typed/npm/js-beautify_v1.6.x.js vendored Normal file
View File

@ -0,0 +1,75 @@
// flow-typed signature: 3e4bea59bad05fc51a94a6c3d0c65f75
// flow-typed version: 11460f58fa/js-beautify_v1.6.x/flow_>=v0.25.x
declare module 'js-beautify' {
declare type JSBeautifyJSOptions = {
indent_size?: number,
indent_char?: string,
indent_with_tabs?: boolean,
eol?: string,
end_with_newline?: boolean,
indent_level?: number,
preserve_newlines?: boolean,
max_preserve_newlines?: number,
space_in_paren?: boolean,
space_in_empty_paren?: boolean,
jslint_happy?: boolean,
space_after_anon_function?: boolean,
brace_style?: "collapse"
|"collapse,preserve-inline"
|"expand"
|"expand,preserve-inline"
|"end-expand"
|"end-expand,preserve-inline"
|"none"
|"none,preserve-inline",
break_chained_methods?: boolean,
keep_array_indentation?: boolean,
unescape_strings?: boolean,
wrap_line_length?: number,
e4x?: boolean,
comma_first?: boolean,
operator_position?: "before-newline"|"after-newline"|"preserve-newline",
eval_code?: boolean,
space_before_conditional?: boolean
};
declare type JSBeautifyCSSOptions = {
indent_size?: number,
indent_char?: string,
indent_with_tabs?: boolean,
eol?: string,
end_with_newline?: boolean,
selector_separator_newline?: boolean,
newline_between_rules?: boolean
};
declare type JSBeautifyHTMLOptions = {
indent_size?: number,
indent_char?: string,
indent_with_tabs?: boolean,
eol?: string,
end_with_newline?: boolean,
preserve_newlines?: boolean,
max_preserve_newlines?: number,
indent_inner_html?: boolean,
brace_style?: string,
indent_scripts?: "keep"|"separate"|"normal",
wrap_line_length?: number,
wrap_attributes?: "auto"|"force"|"force-aligned",
wrap_attributes_indent_size?: number,
unformatted?: string|Array<string>,
content_unformatted?: string|Array<string>,
extra_liners?: string|Array<string>,
};
declare module.exports: {
(code: string, options?: JSBeautifyJSOptions): string,
js: (code: string, options?: JSBeautifyJSOptions) => string,
css: (code: string, options?: JSBeautifyCSSOptions) => string,
html: (code: string, options?: JSBeautifyHTMLOptions) => string,
js_beautify: (code: string, options?: JSBeautifyJSOptions) => string,
css_beautify: (code: string, options?: JSBeautifyCSSOptions) => string,
html_beautify: (code: string, options?: JSBeautifyHTMLOptions) => string
};
}

View File

@ -1,5 +1,5 @@
// flow-typed signature: ba6650588a9314e4d13809966c5e04a3
// flow-typed version: <<STUB>>/js-yaml_v^3.6.1/flow_v0.38.0
// flow-typed signature: 835ef6309457d7c95d7291f5c9c71d1f
// flow-typed version: <<STUB>>/js-yaml_v^3.6.1/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/

View File

@ -1,5 +1,5 @@
// flow-typed signature: c5a710530cd7a4760cf0482f82ec0260
// flow-typed version: <<STUB>>/jsdom_v^9.2.1/flow_v0.38.0
// flow-typed signature: a418fd1b3dcf753c803d7c085363569d
// flow-typed version: <<STUB>>/jsdom_v^9.2.1/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/
@ -74,14 +74,6 @@ declare module 'jsdom/lib/jsdom/living/attributes/Attr-impl' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/blob-symbols' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/blob' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/dom-token-list' {
declare module.exports: any;
}
@ -142,23 +134,19 @@ declare module 'jsdom/lib/jsdom/living/events/UIEvent-impl' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/file-reader' {
declare module 'jsdom/lib/jsdom/living/file-api/Blob-impl' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/file-symbols' {
declare module 'jsdom/lib/jsdom/living/file-api/File-impl' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/file' {
declare module 'jsdom/lib/jsdom/living/file-api/FileList-impl' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/filelist-symbols' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/filelist' {
declare module 'jsdom/lib/jsdom/living/file-api/FileReader-impl' {
declare module.exports: any;
}
@ -174,6 +162,14 @@ declare module 'jsdom/lib/jsdom/living/generated/Attr' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/Blob' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/BlobPropertyBag' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/CDATASection' {
declare module.exports: any;
}
@ -258,6 +254,22 @@ declare module 'jsdom/lib/jsdom/living/generated/EventTarget' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/File' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/FileList' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/FilePropertyBag' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/FileReader' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/FocusEvent' {
declare module.exports: any;
}
@ -602,6 +614,10 @@ declare module 'jsdom/lib/jsdom/living/generated/MouseEventInit' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/MutationEvent' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/Navigator' {
declare module.exports: any;
}
@ -698,10 +714,6 @@ declare module 'jsdom/lib/jsdom/living/generated/utils' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/Window' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/generated/WindowEventHandlers' {
declare module.exports: any;
}
@ -742,6 +754,10 @@ declare module 'jsdom/lib/jsdom/living/helpers/selectors' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/helpers/strings' {
declare module.exports: any;
}
declare module 'jsdom/lib/jsdom/living/helpers/stylesheets' {
declare module.exports: any;
}
@ -1298,12 +1314,6 @@ declare module 'jsdom/lib/jsdom/living/attributes.js' {
declare module 'jsdom/lib/jsdom/living/attributes/Attr-impl.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/attributes/Attr-impl'>;
}
declare module 'jsdom/lib/jsdom/living/blob-symbols.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/blob-symbols'>;
}
declare module 'jsdom/lib/jsdom/living/blob.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/blob'>;
}
declare module 'jsdom/lib/jsdom/living/dom-token-list.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/dom-token-list'>;
}
@ -1349,20 +1359,17 @@ declare module 'jsdom/lib/jsdom/living/events/TouchEvent-impl.js' {
declare module 'jsdom/lib/jsdom/living/events/UIEvent-impl.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/events/UIEvent-impl'>;
}
declare module 'jsdom/lib/jsdom/living/file-reader.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/file-reader'>;
declare module 'jsdom/lib/jsdom/living/file-api/Blob-impl.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/file-api/Blob-impl'>;
}
declare module 'jsdom/lib/jsdom/living/file-symbols.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/file-symbols'>;
declare module 'jsdom/lib/jsdom/living/file-api/File-impl.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/file-api/File-impl'>;
}
declare module 'jsdom/lib/jsdom/living/file.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/file'>;
declare module 'jsdom/lib/jsdom/living/file-api/FileList-impl.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/file-api/FileList-impl'>;
}
declare module 'jsdom/lib/jsdom/living/filelist-symbols.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/filelist-symbols'>;
}
declare module 'jsdom/lib/jsdom/living/filelist.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/filelist'>;
declare module 'jsdom/lib/jsdom/living/file-api/FileReader-impl.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/file-api/FileReader-impl'>;
}
declare module 'jsdom/lib/jsdom/living/form-data-symbols.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/form-data-symbols'>;
@ -1373,6 +1380,12 @@ declare module 'jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js' {
declare module 'jsdom/lib/jsdom/living/generated/Attr.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/Attr'>;
}
declare module 'jsdom/lib/jsdom/living/generated/Blob.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/Blob'>;
}
declare module 'jsdom/lib/jsdom/living/generated/BlobPropertyBag.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/BlobPropertyBag'>;
}
declare module 'jsdom/lib/jsdom/living/generated/CDATASection.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/CDATASection'>;
}
@ -1436,6 +1449,18 @@ declare module 'jsdom/lib/jsdom/living/generated/EventModifierInit.js' {
declare module 'jsdom/lib/jsdom/living/generated/EventTarget.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/EventTarget'>;
}
declare module 'jsdom/lib/jsdom/living/generated/File.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/File'>;
}
declare module 'jsdom/lib/jsdom/living/generated/FileList.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/FileList'>;
}
declare module 'jsdom/lib/jsdom/living/generated/FilePropertyBag.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/FilePropertyBag'>;
}
declare module 'jsdom/lib/jsdom/living/generated/FileReader.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/FileReader'>;
}
declare module 'jsdom/lib/jsdom/living/generated/FocusEvent.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/FocusEvent'>;
}
@ -1694,6 +1719,9 @@ declare module 'jsdom/lib/jsdom/living/generated/MouseEvent.js' {
declare module 'jsdom/lib/jsdom/living/generated/MouseEventInit.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/MouseEventInit'>;
}
declare module 'jsdom/lib/jsdom/living/generated/MutationEvent.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/MutationEvent'>;
}
declare module 'jsdom/lib/jsdom/living/generated/Navigator.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/Navigator'>;
}
@ -1766,9 +1794,6 @@ declare module 'jsdom/lib/jsdom/living/generated/UIEventInit.js' {
declare module 'jsdom/lib/jsdom/living/generated/utils.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/utils'>;
}
declare module 'jsdom/lib/jsdom/living/generated/Window.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/Window'>;
}
declare module 'jsdom/lib/jsdom/living/generated/WindowEventHandlers.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/generated/WindowEventHandlers'>;
}
@ -1799,6 +1824,9 @@ declare module 'jsdom/lib/jsdom/living/helpers/runtime-script-errors.js' {
declare module 'jsdom/lib/jsdom/living/helpers/selectors.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/helpers/selectors'>;
}
declare module 'jsdom/lib/jsdom/living/helpers/strings.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/helpers/strings'>;
}
declare module 'jsdom/lib/jsdom/living/helpers/stylesheets.js' {
declare module.exports: $Exports<'jsdom/lib/jsdom/living/helpers/stylesheets'>;
}

View File

@ -1,5 +1,5 @@
// flow-typed signature: 32868b4ac1295c82a95fdb7416c1ac3f
// flow-typed version: <<STUB>>/madge_v^1.6.0/flow_v0.44.0
// flow-typed signature: 691184973888acc24da609e46f85c0c9
// flow-typed version: <<STUB>>/madge_v^1.6.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/

View File

@ -1,5 +1,5 @@
// flow-typed signature: 72eb6a7c0db3f93b0e571122bfc4dbce
// flow-typed version: <<STUB>>/node-zip_v1.1.1/flow_v0.61.0
// flow-typed signature: c7a3b2fc0f3ed597543216830a7c5c47
// flow-typed version: <<STUB>>/node-zip_v^1.1.1/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:

178
flow-typed/npm/prettier_v1.x.x.js vendored Normal file
View File

@ -0,0 +1,178 @@
// flow-typed signature: 4eed8da2dc730dc33e7710b465eaa44b
// flow-typed version: cc7a557b34/prettier_v1.x.x/flow_>=v0.56.x
declare module "prettier" {
declare type AST = Object;
declare type Doc = Object;
declare type FastPath = Object;
declare type PrettierParserName =
| "babylon"
| "flow"
| "typescript"
| "postcss"
| "css"
| "less"
| "scss"
| "json"
| "graphql"
| "markdown"
| "vue";
declare type PrettierParser = {
[name: PrettierParserName]: (text: string, options?: Object) => AST
};
declare type CustomParser = (
text: string,
parsers: PrettierParser,
options: Options
) => AST;
declare type Options = {|
printWidth?: number,
tabWidth?: number,
useTabs?: boolean,
semi?: boolean,
singleQuote?: boolean,
trailingComma?: "none" | "es5" | "all",
bracketSpacing?: boolean,
jsxBracketSameLine?: boolean,
arrowParens?: "avoid" | "always",
rangeStart?: number,
rangeEnd?: number,
parser?: PrettierParserName | CustomParser,
filepath?: string,
requirePragma?: boolean,
insertPragma?: boolean,
proseWrap?: "always" | "never" | "preserve",
plugins?: Array<string | Plugin>
|};
declare type Plugin = {
languages: SupportLanguage,
parsers: { [parserName: string]: Parser },
printers: { [astFormat: string]: Printer }
};
declare type Parser = {
parse: (
text: string,
parsers: { [parserName: string]: Parser },
options: Object
) => AST,
astFormat: string
};
declare type Printer = {
print: (
path: FastPath,
options: Object,
print: (path: FastPath) => Doc
) => Doc,
embed: (
path: FastPath,
print: (path: FastPath) => Doc,
textToDoc: (text: string, options: Object) => Doc,
options: Object
) => ?Doc
};
declare type CursorOptions = {|
cursorOffset: number,
printWidth?: $PropertyType<Options, "printWidth">,
tabWidth?: $PropertyType<Options, "tabWidth">,
useTabs?: $PropertyType<Options, "useTabs">,
semi?: $PropertyType<Options, "semi">,
singleQuote?: $PropertyType<Options, "singleQuote">,
trailingComma?: $PropertyType<Options, "trailingComma">,
bracketSpacing?: $PropertyType<Options, "bracketSpacing">,
jsxBracketSameLine?: $PropertyType<Options, "jsxBracketSameLine">,
arrowParens?: $PropertyType<Options, "arrowParens">,
parser?: $PropertyType<Options, "parser">,
filepath?: $PropertyType<Options, "filepath">,
requirePragma?: $PropertyType<Options, "requirePragma">,
insertPragma?: $PropertyType<Options, "insertPragma">,
proseWrap?: $PropertyType<Options, "proseWrap">,
plugins?: $PropertyType<Options, "plugins">
|};
declare type CursorResult = {|
formatted: string,
cursorOffset: number
|};
declare type ResolveConfigOptions = {|
useCache?: boolean,
config?: string,
editorconfig?: boolean
|};
declare type SupportLanguage = {
name: string,
since: string,
parsers: Array<string>,
group?: string,
tmScope: string,
aceMode: string,
codemirrorMode: string,
codemirrorMimeType: string,
aliases?: Array<string>,
extensions: Array<string>,
filenames?: Array<string>,
linguistLanguageId: number,
vscodeLanguageIds: Array<string>
};
declare type SupportOption = {|
since: string,
type: "int" | "boolean" | "choice" | "path",
deprecated?: string,
redirect?: SupportOptionRedirect,
description: string,
oppositeDescription?: string,
default: SupportOptionValue,
range?: SupportOptionRange,
choices?: SupportOptionChoice
|};
declare type SupportOptionRedirect = {|
options: string,
value: SupportOptionValue
|};
declare type SupportOptionRange = {|
start: number,
end: number,
step: number
|};
declare type SupportOptionChoice = {|
value: boolean | string,
description?: string,
since?: string,
deprecated?: string,
redirect?: SupportOptionValue
|};
declare type SupportOptionValue = number | boolean | string;
declare type SupportInfo = {|
languages: Array<SupportLanguage>,
options: Array<SupportOption>
|};
declare type Prettier = {|
format: (source: string, options?: Options) => string,
check: (source: string, options?: Options) => boolean,
formatWithCursor: (source: string, options: CursorOptions) => CursorResult,
resolveConfig: {
(filePath: string, options?: ResolveConfigOptions): Promise<?Options>,
sync(filePath: string, options?: ResolveConfigOptions): Promise<?Options>
},
clearConfigCache: () => void,
getSupportInfo: (version?: string) => SupportInfo
|};
declare export default Prettier;
}

35
flow-typed/npm/prop-types_v15.x.x.js vendored Normal file
View File

@ -0,0 +1,35 @@
// flow-typed signature: d9a983bb1ac458a256c31c139047bdbb
// flow-typed version: 927687984d/prop-types_v15.x.x/flow_>=v0.41.x
type $npm$propTypes$ReactPropsCheckType = (
props: any,
propName: string,
componentName: string,
href?: string) => ?Error;
declare module 'prop-types' {
declare var array: React$PropType$Primitive<Array<any>>;
declare var bool: React$PropType$Primitive<boolean>;
declare var func: React$PropType$Primitive<Function>;
declare var number: React$PropType$Primitive<number>;
declare var object: React$PropType$Primitive<Object>;
declare var string: React$PropType$Primitive<string>;
declare var symbol: React$PropType$Primitive<Symbol>;
declare var any: React$PropType$Primitive<any>;
declare var arrayOf: React$PropType$ArrayOf;
declare var element: React$PropType$Primitive<any>; /* TODO */
declare var instanceOf: React$PropType$InstanceOf;
declare var node: React$PropType$Primitive<any>; /* TODO */
declare var objectOf: React$PropType$ObjectOf;
declare var oneOf: React$PropType$OneOf;
declare var oneOfType: React$PropType$OneOfType;
declare var shape: React$PropType$Shape;
declare function checkPropTypes<V>(
propTypes: $Subtype<{[_: $Keys<V>]: $npm$propTypes$ReactPropsCheckType}>,
values: V,
location: string,
componentName: string,
getStack: ?(() => ?string)
) : void;
}

45
flow-typed/npm/queue-fifo_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,45 @@
// flow-typed signature: 32d4e4a79ef4ec16683f87120b5178b5
// flow-typed version: <<STUB>>/queue-fifo_v^0.2.3/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'queue-fifo'
*
* 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 'queue-fifo' {
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 'queue-fifo/gulpfile' {
declare module.exports: any;
}
declare module 'queue-fifo/test/queue-test' {
declare module.exports: any;
}
// Filename aliases
declare module 'queue-fifo/gulpfile.js' {
declare module.exports: $Exports<'queue-fifo/gulpfile'>;
}
declare module 'queue-fifo/index' {
declare module.exports: $Exports<'queue-fifo'>;
}
declare module 'queue-fifo/index.js' {
declare module.exports: $Exports<'queue-fifo'>;
}
declare module 'queue-fifo/test/queue-test.js' {
declare module.exports: $Exports<'queue-fifo/test/queue-test'>;
}

4288
flow-typed/npm/react-native_vx.x.x.js vendored Normal file

File diff suppressed because it is too large Load Diff

2051
flow-typed/npm/react-relay_v1.x.x.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,46 @@
// flow-typed signature: 0d8469927dab26c92dbb328e948e2d52
// flow-typed version: <<STUB>>/regenerator-runtime_v^0.12.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'regenerator-runtime'
*
* 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 'regenerator-runtime' {
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 'regenerator-runtime/path' {
declare module.exports: any;
}
declare module 'regenerator-runtime/runtime-module' {
declare module.exports: any;
}
declare module 'regenerator-runtime/runtime' {
declare module.exports: any;
}
// Filename aliases
declare module 'regenerator-runtime/path.js' {
declare module.exports: $Exports<'regenerator-runtime/path'>;
}
declare module 'regenerator-runtime/runtime-module.js' {
declare module.exports: $Exports<'regenerator-runtime/runtime-module'>;
}
declare module 'regenerator-runtime/runtime.js' {
declare module.exports: $Exports<'regenerator-runtime/runtime'>;
}

242
flow-typed/npm/remap-istanbul_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,242 @@
// flow-typed signature: 0c39de8d00cd92cd710b4ccf6c1dbeec
// flow-typed version: <<STUB>>/remap-istanbul_v^0.9.1/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'remap-istanbul'
*
* 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 'remap-istanbul' {
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 'remap-istanbul/babel-plugin/amd-define' {
declare module.exports: any;
}
declare module 'remap-istanbul/babel-plugin/module-exports' {
declare module.exports: any;
}
declare module 'remap-istanbul/bin/remap-istanbul' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/checkThreshold' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/CoverageTransformer' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/getMapping' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/gruntRemapIstanbul' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/gulpRemapIstanbul' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/intern-reporters/JsonCoverage' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/loadCoverage' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/main' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/remap' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/remapBranch' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/remapFunction' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/SparceCoverageCollector' {
declare module.exports: any;
}
declare module 'remap-istanbul/lib/writeReport' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/checkThreshold' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/CoverageTransformer' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/getMapping' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/gruntRemapIstanbul' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/gulpRemapIstanbul' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/intern-reporters/JsonCoverage' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/loadCoverage' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/main' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/remap' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/remapBranch' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/remapFunction' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/SparceCoverageCollector' {
declare module.exports: any;
}
declare module 'remap-istanbul/src/writeReport' {
declare module.exports: any;
}
declare module 'remap-istanbul/tasks/remapIstanbul' {
declare module.exports: any;
}
declare module 'remap-istanbul/utils/node' {
declare module.exports: any;
}
// Filename aliases
declare module 'remap-istanbul/babel-plugin/amd-define.js' {
declare module.exports: $Exports<'remap-istanbul/babel-plugin/amd-define'>;
}
declare module 'remap-istanbul/babel-plugin/module-exports.js' {
declare module.exports: $Exports<'remap-istanbul/babel-plugin/module-exports'>;
}
declare module 'remap-istanbul/bin/remap-istanbul.js' {
declare module.exports: $Exports<'remap-istanbul/bin/remap-istanbul'>;
}
declare module 'remap-istanbul/lib/checkThreshold.js' {
declare module.exports: $Exports<'remap-istanbul/lib/checkThreshold'>;
}
declare module 'remap-istanbul/lib/CoverageTransformer.js' {
declare module.exports: $Exports<'remap-istanbul/lib/CoverageTransformer'>;
}
declare module 'remap-istanbul/lib/getMapping.js' {
declare module.exports: $Exports<'remap-istanbul/lib/getMapping'>;
}
declare module 'remap-istanbul/lib/gruntRemapIstanbul.js' {
declare module.exports: $Exports<'remap-istanbul/lib/gruntRemapIstanbul'>;
}
declare module 'remap-istanbul/lib/gulpRemapIstanbul.js' {
declare module.exports: $Exports<'remap-istanbul/lib/gulpRemapIstanbul'>;
}
declare module 'remap-istanbul/lib/intern-reporters/JsonCoverage.js' {
declare module.exports: $Exports<'remap-istanbul/lib/intern-reporters/JsonCoverage'>;
}
declare module 'remap-istanbul/lib/loadCoverage.js' {
declare module.exports: $Exports<'remap-istanbul/lib/loadCoverage'>;
}
declare module 'remap-istanbul/lib/main.js' {
declare module.exports: $Exports<'remap-istanbul/lib/main'>;
}
declare module 'remap-istanbul/lib/remap.js' {
declare module.exports: $Exports<'remap-istanbul/lib/remap'>;
}
declare module 'remap-istanbul/lib/remapBranch.js' {
declare module.exports: $Exports<'remap-istanbul/lib/remapBranch'>;
}
declare module 'remap-istanbul/lib/remapFunction.js' {
declare module.exports: $Exports<'remap-istanbul/lib/remapFunction'>;
}
declare module 'remap-istanbul/lib/SparceCoverageCollector.js' {
declare module.exports: $Exports<'remap-istanbul/lib/SparceCoverageCollector'>;
}
declare module 'remap-istanbul/lib/writeReport.js' {
declare module.exports: $Exports<'remap-istanbul/lib/writeReport'>;
}
declare module 'remap-istanbul/src/checkThreshold.js' {
declare module.exports: $Exports<'remap-istanbul/src/checkThreshold'>;
}
declare module 'remap-istanbul/src/CoverageTransformer.js' {
declare module.exports: $Exports<'remap-istanbul/src/CoverageTransformer'>;
}
declare module 'remap-istanbul/src/getMapping.js' {
declare module.exports: $Exports<'remap-istanbul/src/getMapping'>;
}
declare module 'remap-istanbul/src/gruntRemapIstanbul.js' {
declare module.exports: $Exports<'remap-istanbul/src/gruntRemapIstanbul'>;
}
declare module 'remap-istanbul/src/gulpRemapIstanbul.js' {
declare module.exports: $Exports<'remap-istanbul/src/gulpRemapIstanbul'>;
}
declare module 'remap-istanbul/src/intern-reporters/JsonCoverage.js' {
declare module.exports: $Exports<'remap-istanbul/src/intern-reporters/JsonCoverage'>;
}
declare module 'remap-istanbul/src/loadCoverage.js' {
declare module.exports: $Exports<'remap-istanbul/src/loadCoverage'>;
}
declare module 'remap-istanbul/src/main.js' {
declare module.exports: $Exports<'remap-istanbul/src/main'>;
}
declare module 'remap-istanbul/src/remap.js' {
declare module.exports: $Exports<'remap-istanbul/src/remap'>;
}
declare module 'remap-istanbul/src/remapBranch.js' {
declare module.exports: $Exports<'remap-istanbul/src/remapBranch'>;
}
declare module 'remap-istanbul/src/remapFunction.js' {
declare module.exports: $Exports<'remap-istanbul/src/remapFunction'>;
}
declare module 'remap-istanbul/src/SparceCoverageCollector.js' {
declare module.exports: $Exports<'remap-istanbul/src/SparceCoverageCollector'>;
}
declare module 'remap-istanbul/src/writeReport.js' {
declare module.exports: $Exports<'remap-istanbul/src/writeReport'>;
}
declare module 'remap-istanbul/tasks/remapIstanbul.js' {
declare module.exports: $Exports<'remap-istanbul/tasks/remapIstanbul'>;
}
declare module 'remap-istanbul/utils/node.js' {
declare module.exports: $Exports<'remap-istanbul/utils/node'>;
}

View File

@ -1,5 +1,5 @@
// flow-typed signature: 42be17114ca286fa4668c951e70ffe2c
// flow-typed version: <<STUB>>/seedrandom_v^2.4.2/flow_v0.38.0
// flow-typed signature: 9376a5dd476c84a27a9865d751aaf7fa
// flow-typed version: <<STUB>>/seedrandom_v^2.4.2/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/
@ -34,6 +34,10 @@ declare module 'seedrandom/lib/alea.min' {
declare module.exports: any;
}
declare module 'seedrandom/lib/crypto' {
declare module.exports: any;
}
declare module 'seedrandom/lib/tychei' {
declare module.exports: any;
}
@ -86,6 +90,10 @@ declare module 'seedrandom/test/bitgen' {
declare module.exports: any;
}
declare module 'seedrandom/test/browserified' {
declare module.exports: any;
}
declare module 'seedrandom/test/cryptotest' {
declare module.exports: any;
}
@ -106,6 +114,10 @@ declare module 'seedrandom/test/prngtest' {
declare module.exports: any;
}
declare module 'seedrandom/test/qunitassert' {
declare module.exports: any;
}
// Filename aliases
declare module 'seedrandom/Gruntfile.js' {
declare module.exports: $Exports<'seedrandom/Gruntfile'>;
@ -122,6 +134,9 @@ declare module 'seedrandom/lib/alea.js' {
declare module 'seedrandom/lib/alea.min.js' {
declare module.exports: $Exports<'seedrandom/lib/alea.min'>;
}
declare module 'seedrandom/lib/crypto.js' {
declare module.exports: $Exports<'seedrandom/lib/crypto'>;
}
declare module 'seedrandom/lib/tychei.js' {
declare module.exports: $Exports<'seedrandom/lib/tychei'>;
}
@ -161,6 +176,9 @@ declare module 'seedrandom/seedrandom.min.js' {
declare module 'seedrandom/test/bitgen.js' {
declare module.exports: $Exports<'seedrandom/test/bitgen'>;
}
declare module 'seedrandom/test/browserified.js' {
declare module.exports: $Exports<'seedrandom/test/browserified'>;
}
declare module 'seedrandom/test/cryptotest.js' {
declare module.exports: $Exports<'seedrandom/test/cryptotest'>;
}
@ -176,3 +194,6 @@ declare module 'seedrandom/test/nodetest.js' {
declare module 'seedrandom/test/prngtest.js' {
declare module.exports: $Exports<'seedrandom/test/prngtest'>;
}
declare module 'seedrandom/test/qunitassert.js' {
declare module.exports: $Exports<'seedrandom/test/qunitassert'>;
}

View File

@ -1,5 +1,5 @@
// flow-typed signature: cad3286186622759ccc788cc3b0d630b
// flow-typed version: <<STUB>>/source-map-support_v^0.4.6/flow_v0.38.0
// flow-typed signature: aa22e0c7679ebbb46325d310723b282e
// flow-typed version: <<STUB>>/source-map-support_v^0.4.6/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/
@ -26,10 +26,6 @@ declare module 'source-map-support/browser-source-map-support' {
declare module.exports: any;
}
declare module 'source-map-support/build' {
declare module.exports: any;
}
declare module 'source-map-support/register' {
declare module.exports: any;
}
@ -38,23 +34,13 @@ declare module 'source-map-support/source-map-support' {
declare module.exports: any;
}
declare module 'source-map-support/test' {
declare module.exports: any;
}
// Filename aliases
declare module 'source-map-support/browser-source-map-support.js' {
declare module.exports: $Exports<'source-map-support/browser-source-map-support'>;
}
declare module 'source-map-support/build.js' {
declare module.exports: $Exports<'source-map-support/build'>;
}
declare module 'source-map-support/register.js' {
declare module.exports: $Exports<'source-map-support/register'>;
}
declare module 'source-map-support/source-map-support.js' {
declare module.exports: $Exports<'source-map-support/source-map-support'>;
}
declare module 'source-map-support/test.js' {
declare module.exports: $Exports<'source-map-support/test'>;
}

View File

@ -1,5 +1,5 @@
// flow-typed signature: ab50ba886b4040a37e3e13c8b4d3486c
// flow-typed version: <<STUB>>/source-map_v^0.5.6/flow_v0.38.0
// flow-typed signature: 36b5a181ae05a516a711d68a54030532
// flow-typed version: <<STUB>>/source-map_v^0.5.6/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
@ -8,8 +8,8 @@
*
* 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:
* 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
*/

View File

@ -0,0 +1,74 @@
// flow-typed signature: b0105a82001632c14dcbf5fe23739b80
// flow-typed version: <<STUB>>/vscode-debugadapter_v^1.24.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'vscode-debugadapter'
*
* 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 'vscode-debugadapter' {
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 'vscode-debugadapter/lib/debugSession' {
declare module.exports: any;
}
declare module 'vscode-debugadapter/lib/handles' {
declare module.exports: any;
}
declare module 'vscode-debugadapter/lib/logger' {
declare module.exports: any;
}
declare module 'vscode-debugadapter/lib/loggingDebugSession' {
declare module.exports: any;
}
declare module 'vscode-debugadapter/lib/main' {
declare module.exports: any;
}
declare module 'vscode-debugadapter/lib/messages' {
declare module.exports: any;
}
declare module 'vscode-debugadapter/lib/protocol' {
declare module.exports: any;
}
// Filename aliases
declare module 'vscode-debugadapter/lib/debugSession.js' {
declare module.exports: $Exports<'vscode-debugadapter/lib/debugSession'>;
}
declare module 'vscode-debugadapter/lib/handles.js' {
declare module.exports: $Exports<'vscode-debugadapter/lib/handles'>;
}
declare module 'vscode-debugadapter/lib/logger.js' {
declare module.exports: $Exports<'vscode-debugadapter/lib/logger'>;
}
declare module 'vscode-debugadapter/lib/loggingDebugSession.js' {
declare module.exports: $Exports<'vscode-debugadapter/lib/loggingDebugSession'>;
}
declare module 'vscode-debugadapter/lib/main.js' {
declare module.exports: $Exports<'vscode-debugadapter/lib/main'>;
}
declare module 'vscode-debugadapter/lib/messages.js' {
declare module.exports: $Exports<'vscode-debugadapter/lib/messages'>;
}
declare module 'vscode-debugadapter/lib/protocol.js' {
declare module.exports: $Exports<'vscode-debugadapter/lib/protocol'>;
}

View File

@ -0,0 +1,32 @@
// flow-typed signature: c3d699d8e0136301c17d450964419f5f
// flow-typed version: <<STUB>>/vscode-debugprotocol_v^1.24.0/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'vscode-debugprotocol'
*
* 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 'vscode-debugprotocol' {
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 'vscode-debugprotocol/lib/debugProtocol' {
declare module.exports: any;
}
// Filename aliases
declare module 'vscode-debugprotocol/lib/debugProtocol.js' {
declare module.exports: $Exports<'vscode-debugprotocol/lib/debugProtocol'>;
}

578
flow-typed/npm/webpack-cli_vx.x.x.js vendored Normal file
View File

@ -0,0 +1,578 @@
// flow-typed signature: 9611b8636a77cb4c887f9f1155bda121
// flow-typed version: <<STUB>>/webpack-cli_v^2.0.10/flow_v0.76.0
/**
* This is an autogenerated libdef stub for:
*
* 'webpack-cli'
*
* 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 'webpack-cli' {
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 'webpack-cli/bin/config-yargs' {
declare module.exports: any;
}
declare module 'webpack-cli/bin/convert-argv' {
declare module.exports: any;
}
declare module 'webpack-cli/bin/errorHelpers' {
declare module.exports: any;
}
declare module 'webpack-cli/bin/prepareOptions' {
declare module.exports: any;
}
declare module 'webpack-cli/bin/process-options' {
declare module.exports: any;
}
declare module 'webpack-cli/bin/webpack' {
declare module.exports: any;
}
declare module 'webpack-cli/commitlint.config' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/commands/add' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/commands/init' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/commands/make' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/commands/migrate' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/commands/remove' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/commands/serve' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/commands/update' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generate-loader/index' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generate-plugin/index' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/add-generator' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/init-generator' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/loader-generator' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/plugin-generator' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/remove-generator' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/update-generator' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/utils/entry' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/utils/module' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/utils/plugins' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/utils/tooltip' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/utils/validate' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/generators/webpack-generator' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/index' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/index' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/context/context' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/devServer/devServer' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/devtool/devtool' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/entry/entry' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/externals/externals' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/index' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/mode/mode' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/module/module' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/node/node' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/other/amd' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/other/bail' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/other/cache' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/other/merge' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/other/parallelism' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/other/profile' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/other/recordsInputPath' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/other/recordsOutputPath' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/other/recordsPath' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/output/output' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/performance/performance' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/plugins/plugins' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/resolve/resolve' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/resolveLoader/resolveLoader' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/stats/stats' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/target/target' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/top-scope/top-scope' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/watch/watch' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/init/transformations/watch/watchOptions' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/bannerPlugin/bannerPlugin' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/extractTextPlugin/extractTextPlugin' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/index' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/loaderOptionsPlugin/loaderOptionsPlugin' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/loaders/loaders' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/outputPath/outputPath' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/removeDeprecatedPlugins/removeDeprecatedPlugins' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/removeJsonLoader/removeJsonLoader' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/resolve/resolve' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/migrate/uglifyJsPlugin/uglifyJsPlugin' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/ast-utils' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/copy-utils' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/defineTest' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/hashtable' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/modify-config-helper' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/npm-exists' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/npm-packages-exists' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/package-manager' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/prop-types' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/resolve-packages' {
declare module.exports: any;
}
declare module 'webpack-cli/lib/utils/run-prettier' {
declare module.exports: any;
}
// Filename aliases
declare module 'webpack-cli/bin/config-yargs.js' {
declare module.exports: $Exports<'webpack-cli/bin/config-yargs'>;
}
declare module 'webpack-cli/bin/convert-argv.js' {
declare module.exports: $Exports<'webpack-cli/bin/convert-argv'>;
}
declare module 'webpack-cli/bin/errorHelpers.js' {
declare module.exports: $Exports<'webpack-cli/bin/errorHelpers'>;
}
declare module 'webpack-cli/bin/prepareOptions.js' {
declare module.exports: $Exports<'webpack-cli/bin/prepareOptions'>;
}
declare module 'webpack-cli/bin/process-options.js' {
declare module.exports: $Exports<'webpack-cli/bin/process-options'>;
}
declare module 'webpack-cli/bin/webpack.js' {
declare module.exports: $Exports<'webpack-cli/bin/webpack'>;
}
declare module 'webpack-cli/commitlint.config.js' {
declare module.exports: $Exports<'webpack-cli/commitlint.config'>;
}
declare module 'webpack-cli/lib/commands/add.js' {
declare module.exports: $Exports<'webpack-cli/lib/commands/add'>;
}
declare module 'webpack-cli/lib/commands/init.js' {
declare module.exports: $Exports<'webpack-cli/lib/commands/init'>;
}
declare module 'webpack-cli/lib/commands/make.js' {
declare module.exports: $Exports<'webpack-cli/lib/commands/make'>;
}
declare module 'webpack-cli/lib/commands/migrate.js' {
declare module.exports: $Exports<'webpack-cli/lib/commands/migrate'>;
}
declare module 'webpack-cli/lib/commands/remove.js' {
declare module.exports: $Exports<'webpack-cli/lib/commands/remove'>;
}
declare module 'webpack-cli/lib/commands/serve.js' {
declare module.exports: $Exports<'webpack-cli/lib/commands/serve'>;
}
declare module 'webpack-cli/lib/commands/update.js' {
declare module.exports: $Exports<'webpack-cli/lib/commands/update'>;
}
declare module 'webpack-cli/lib/generate-loader/index.js' {
declare module.exports: $Exports<'webpack-cli/lib/generate-loader/index'>;
}
declare module 'webpack-cli/lib/generate-plugin/index.js' {
declare module.exports: $Exports<'webpack-cli/lib/generate-plugin/index'>;
}
declare module 'webpack-cli/lib/generators/add-generator.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/add-generator'>;
}
declare module 'webpack-cli/lib/generators/init-generator.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/init-generator'>;
}
declare module 'webpack-cli/lib/generators/loader-generator.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/loader-generator'>;
}
declare module 'webpack-cli/lib/generators/plugin-generator.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/plugin-generator'>;
}
declare module 'webpack-cli/lib/generators/remove-generator.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/remove-generator'>;
}
declare module 'webpack-cli/lib/generators/update-generator.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/update-generator'>;
}
declare module 'webpack-cli/lib/generators/utils/entry.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/utils/entry'>;
}
declare module 'webpack-cli/lib/generators/utils/module.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/utils/module'>;
}
declare module 'webpack-cli/lib/generators/utils/plugins.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/utils/plugins'>;
}
declare module 'webpack-cli/lib/generators/utils/tooltip.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/utils/tooltip'>;
}
declare module 'webpack-cli/lib/generators/utils/validate.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/utils/validate'>;
}
declare module 'webpack-cli/lib/generators/webpack-generator.js' {
declare module.exports: $Exports<'webpack-cli/lib/generators/webpack-generator'>;
}
declare module 'webpack-cli/lib/index.js' {
declare module.exports: $Exports<'webpack-cli/lib/index'>;
}
declare module 'webpack-cli/lib/init/index.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/index'>;
}
declare module 'webpack-cli/lib/init/transformations/context/context.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/context/context'>;
}
declare module 'webpack-cli/lib/init/transformations/devServer/devServer.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/devServer/devServer'>;
}
declare module 'webpack-cli/lib/init/transformations/devtool/devtool.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/devtool/devtool'>;
}
declare module 'webpack-cli/lib/init/transformations/entry/entry.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/entry/entry'>;
}
declare module 'webpack-cli/lib/init/transformations/externals/externals.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/externals/externals'>;
}
declare module 'webpack-cli/lib/init/transformations/index.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/index'>;
}
declare module 'webpack-cli/lib/init/transformations/mode/mode.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/mode/mode'>;
}
declare module 'webpack-cli/lib/init/transformations/module/module.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/module/module'>;
}
declare module 'webpack-cli/lib/init/transformations/node/node.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/node/node'>;
}
declare module 'webpack-cli/lib/init/transformations/other/amd.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/other/amd'>;
}
declare module 'webpack-cli/lib/init/transformations/other/bail.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/other/bail'>;
}
declare module 'webpack-cli/lib/init/transformations/other/cache.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/other/cache'>;
}
declare module 'webpack-cli/lib/init/transformations/other/merge.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/other/merge'>;
}
declare module 'webpack-cli/lib/init/transformations/other/parallelism.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/other/parallelism'>;
}
declare module 'webpack-cli/lib/init/transformations/other/profile.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/other/profile'>;
}
declare module 'webpack-cli/lib/init/transformations/other/recordsInputPath.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/other/recordsInputPath'>;
}
declare module 'webpack-cli/lib/init/transformations/other/recordsOutputPath.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/other/recordsOutputPath'>;
}
declare module 'webpack-cli/lib/init/transformations/other/recordsPath.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/other/recordsPath'>;
}
declare module 'webpack-cli/lib/init/transformations/output/output.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/output/output'>;
}
declare module 'webpack-cli/lib/init/transformations/performance/performance.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/performance/performance'>;
}
declare module 'webpack-cli/lib/init/transformations/plugins/plugins.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/plugins/plugins'>;
}
declare module 'webpack-cli/lib/init/transformations/resolve/resolve.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/resolve/resolve'>;
}
declare module 'webpack-cli/lib/init/transformations/resolveLoader/resolveLoader.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/resolveLoader/resolveLoader'>;
}
declare module 'webpack-cli/lib/init/transformations/stats/stats.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/stats/stats'>;
}
declare module 'webpack-cli/lib/init/transformations/target/target.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/target/target'>;
}
declare module 'webpack-cli/lib/init/transformations/top-scope/top-scope.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/top-scope/top-scope'>;
}
declare module 'webpack-cli/lib/init/transformations/watch/watch.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/watch/watch'>;
}
declare module 'webpack-cli/lib/init/transformations/watch/watchOptions.js' {
declare module.exports: $Exports<'webpack-cli/lib/init/transformations/watch/watchOptions'>;
}
declare module 'webpack-cli/lib/migrate/bannerPlugin/bannerPlugin.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/bannerPlugin/bannerPlugin'>;
}
declare module 'webpack-cli/lib/migrate/extractTextPlugin/extractTextPlugin.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/extractTextPlugin/extractTextPlugin'>;
}
declare module 'webpack-cli/lib/migrate/index.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/index'>;
}
declare module 'webpack-cli/lib/migrate/loaderOptionsPlugin/loaderOptionsPlugin.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/loaderOptionsPlugin/loaderOptionsPlugin'>;
}
declare module 'webpack-cli/lib/migrate/loaders/loaders.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/loaders/loaders'>;
}
declare module 'webpack-cli/lib/migrate/outputPath/outputPath.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/outputPath/outputPath'>;
}
declare module 'webpack-cli/lib/migrate/removeDeprecatedPlugins/removeDeprecatedPlugins.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/removeDeprecatedPlugins/removeDeprecatedPlugins'>;
}
declare module 'webpack-cli/lib/migrate/removeJsonLoader/removeJsonLoader.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/removeJsonLoader/removeJsonLoader'>;
}
declare module 'webpack-cli/lib/migrate/resolve/resolve.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/resolve/resolve'>;
}
declare module 'webpack-cli/lib/migrate/uglifyJsPlugin/uglifyJsPlugin.js' {
declare module.exports: $Exports<'webpack-cli/lib/migrate/uglifyJsPlugin/uglifyJsPlugin'>;
}
declare module 'webpack-cli/lib/utils/ast-utils.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/ast-utils'>;
}
declare module 'webpack-cli/lib/utils/copy-utils.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/copy-utils'>;
}
declare module 'webpack-cli/lib/utils/defineTest.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/defineTest'>;
}
declare module 'webpack-cli/lib/utils/hashtable.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/hashtable'>;
}
declare module 'webpack-cli/lib/utils/modify-config-helper.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/modify-config-helper'>;
}
declare module 'webpack-cli/lib/utils/npm-exists.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/npm-exists'>;
}
declare module 'webpack-cli/lib/utils/npm-packages-exists.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/npm-packages-exists'>;
}
declare module 'webpack-cli/lib/utils/package-manager.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/package-manager'>;
}
declare module 'webpack-cli/lib/utils/prop-types.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/prop-types'>;
}
declare module 'webpack-cli/lib/utils/resolve-packages.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/resolve-packages'>;
}
declare module 'webpack-cli/lib/utils/run-prettier.js' {
declare module.exports: $Exports<'webpack-cli/lib/utils/run-prettier'>;
}

2097
flow-typed/npm/webpack_vx.x.x.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,7 @@
"build-scripts": "babel scripts --out-dir lib --source-maps",
"build-bundle": "webpack-cli",
"build-prepack": "babel src --out-dir lib --source-maps",
"watch": "babel src scripts --out-dir lib --watch --source-maps",
"watch": "babel src scripts --out-dir lib --watch --source-maps --verbose",
"lint": "eslint src scripts",
"flow": "flow version; flow check --merge-timeout 0",
"test-residual": "babel-node scripts/test-residual.js",
@ -62,13 +62,14 @@
"debug-fb-www": "node --stack_trace_limit=200 --stack_size=10000 --max_old_space_size=16384 ./scripts/debug-fb-www.js"
},
"dependencies": {
"babel-core": "^6.26.0",
"babel-generator": "^6.8.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-template": "^6.9.0",
"babel-traverse": "^6.9.0",
"babel-types": "^6.9.0",
"babylon": "^6.18.0",
"@babel/core": "^7.0.0-beta.53",
"@babel/generator": "^7.0.0-beta.53",
"@babel/node": "^7.0.0-beta.53",
"@babel/parser": "^7.0.0-beta.53",
"@babel/preset-flow": "7.0.0-beta.53",
"@babel/template": "^7.0.0-beta.53",
"@babel/traverse": "^7.0.0-beta.53",
"@babel/types": "^7.0.0-beta.53",
"fbjs": "^0.8.16",
"node-zip": "^1.1.1",
"queue-fifo": "^0.2.3",
@ -78,15 +79,24 @@
"vscode-debugprotocol": "^1.24.0"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-eslint": "^8.2.2",
"babel-helper-function-name": "^6.8.0",
"babel-helper-get-function-arity": "^6.8.0",
"babel-loader": "^7.1.3",
"babel-plugin-transform-class-properties": "^6.6.0",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-preset-env": "^1.4.0",
"babel-preset-react": "^6.5.0",
"@babel/cli": "^7.0.0-beta.53",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.53",
"@babel/plugin-proposal-export-default-from": "^7.0.0-beta.53",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.53",
"@babel/plugin-syntax-flow": "^7.0.0-beta.53",
"@babel/plugin-transform-flow-strip-types": "^7.0.0-beta.53",
"@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.53",
"@babel/plugin-transform-react-display-name": "^7.0.0-beta.53",
"@babel/plugin-transform-react-jsx": "^7.0.0-beta.53",
"@babel/preset-env": "^7.0.0-beta.53",
"@babel/preset-flow": "7.0.0-beta.53",
"@babel/preset-react": "^7.0.0-beta.53",
"@babel/register": "^7.0.0-beta.53",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.4.0",
"babel-loader": "^8.0.0-beta",
"babel-plugin-jest-hoist": "^23.2.0",
"chalk": "^1.1.3",
"eslint": "^4.18.2",
"eslint-plugin-babel": "^3.3.0",
@ -99,7 +109,7 @@
"graceful-fs": "^4.1.11",
"invariant": "^2.2.0",
"istanbul": "^0.4.5",
"jest": "^23.2.0",
"jest": "^23.4.1",
"js-beautify": "^1.7.5",
"js-yaml": "^3.6.1",
"jsdom": "^9.2.1",
@ -112,11 +122,12 @@
"react-native": "^0.55.4",
"react-relay": "^1.4.1",
"react-test-renderer": "16.3.1",
"regenerator-runtime": "^0.12.0",
"remap-istanbul": "^0.9.1",
"source-map-support": "^0.4.6",
"test262-integrator": "^1.2.0",
"webpack": "^4.1.0",
"webpack-cli": "^2.0.10"
"webpack": "^4.16.0",
"webpack-cli": "^3.0.8"
},
"optionalDependencies": {
"v8-profiler": "^5.7.0"
@ -141,6 +152,9 @@
"testMatch": [
"**/test/react/*-test.js",
"**/fb-www/**/*-test.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!react-native).+\\.js$"
]
}
}

View File

@ -77,6 +77,7 @@ let prepackOptions = {
inlineExpressions: true,
invariantLevel: 0,
abstractValueImpliesMax: 1000,
stripFlow: true,
};
let inputPath = path.resolve("fb-www/input.js");
let outputPath = path.resolve("fb-www/output.js");

View File

@ -9,12 +9,12 @@
/* @flow */
import * as t from "babel-types";
import generate from "babel-generator";
import * as t from "@babel/types";
import generate from "@babel/generator";
import traverseFast from "../lib/utils/traverse-fast.js";
import { parse } from "babylon";
import { parse } from "@babel/parser";
let fs = require("fs");
import type { BabelNodeSourceLocation, BabelNodeBlockStatement } from "babel-types";
import type { BabelNodeSourceLocation, BabelNodeBlockStatement } from "@babel/types";
function createLogStatement(loc: BabelNodeSourceLocation) {
return t.expressionStatement(

View File

@ -10,7 +10,7 @@
/* @flow */
import { CompilerDiagnostic, type ErrorHandlerResult, FatalError } from "../lib/errors.js";
import type { BabelNodeSourceLocation } from "babel-types";
import type { BabelNodeSourceLocation } from "@babel/types";
import { prepackSources } from "../lib/prepack-standalone.js";
let chalk = require("chalk");

View File

@ -39,7 +39,7 @@ let fs = require("fs");
let vm = require("vm");
let os = require("os");
let minimist = require("minimist");
let babel = require("babel-core");
let babel = require("@babel/core");
let child_process = require("child_process");
const EOL = os.EOL;
let execSpec;
@ -51,6 +51,7 @@ function transformWithBabel(code, plugins, presets) {
return babel.transform(code, {
plugins: plugins,
presets: presets,
configFile: false,
}).code;
}
@ -471,14 +472,14 @@ function runTest(name, code, options: PrepackOptions, args) {
}
if (delayUnsupportedRequires) options.residual = false;
if (args.es5) {
code = transformWithBabel(code, [], [["env", { forceAllTransforms: true, modules: false }]]);
code = transformWithBabel(code, [], [["@babel/env", { forceAllTransforms: true, modules: false }]]);
}
let unique = 27277;
let oldUniqueSuffix = "";
let expectedCode = code;
let actualStack;
if (compileJSXWithBabel) {
expectedCode = transformWithBabel(expectedCode, ["transform-react-jsx"]);
expectedCode = transformWithBabel(expectedCode, ["@babel/plugin-transform-react-jsx"]);
}
return execInContext(
@ -558,7 +559,7 @@ function runTest(name, code, options: PrepackOptions, args) {
let newCode = serialized.code;
if (compileJSXWithBabel) {
newCode = transformWithBabel(newCode, ["transform-react-jsx"]);
newCode = transformWithBabel(newCode, ["@babel/plugin-transform-react-jsx"]);
}
let markersIssue = false;
for (let { positive, value } of markersToFind) {
@ -594,7 +595,11 @@ function runTest(name, code, options: PrepackOptions, args) {
if (args.verbose) console.log(codeToRun);
codeIterations.push(unescapleUniqueSuffix(codeToRun, options.uniqueSuffix));
if (args.es5) {
codeToRun = transformWithBabel(codeToRun, [], [["env", { forceAllTransforms: true, modules: false }]]);
codeToRun = transformWithBabel(
codeToRun,
[],
[["@babel/env", { forceAllTransforms: true, modules: false }]]
);
}
// lint output
lintCompiledSource(codeToRun);

View File

@ -9,7 +9,7 @@
/* @flow */
import type { BabelNodeSourceLocation } from "babel-types";
import type { BabelNodeSourceLocation } from "@babel/types";
import invariant from "./invariant.js";
import { Effects, Realm } from "./realm.js";
import { AbstractValue, EmptyValue, Value } from "./values/index.js";

View File

@ -12,7 +12,7 @@
import { PerFileBreakpointMap } from "./PerFileBreakpointMap.js";
import { Breakpoint } from "./Breakpoint.js";
import type { Breakpoint as BreakpointType } from "./../common/types.js";
import { BabelNode } from "babel-types";
import { BabelNode } from "@babel/types";
// Storing BreakpointStores for all source files
export class BreakpointManager {

View File

@ -10,8 +10,8 @@
/* @flow strict-local */
import { BreakpointManager } from "./BreakpointManager.js";
import { BabelNode } from "babel-types";
import type { BabelNodeSourceLocation } from "babel-types";
import { BabelNode } from "@babel/types";
import type { BabelNodeSourceLocation } from "@babel/types";
import invariant from "../common/invariant.js";
import type { DebugChannel } from "./channel/DebugChannel.js";
import { DebugMessage } from "./../common/channel/DebugMessage.js";

View File

@ -9,7 +9,7 @@
/* @flow strict-local */
import type { SourceData } from "./../common/types.js";
import { BabelNode } from "babel-types";
import { BabelNode } from "@babel/types";
import invariant from "./../common/invariant.js";
export class Stepper {

View File

@ -9,7 +9,7 @@
/* @flow strict-local */
import { BabelNodeSourceLocation } from "babel-types";
import { BabelNodeSourceLocation } from "@babel/types";
import invariant from "./../common/invariant.js";
import { Stepper, StepIntoStepper, StepOverStepper, StepOutStepper } from "./Stepper.js";
import type { Realm } from "./../../realm.js";

View File

@ -12,7 +12,7 @@
import invariant from "./../common/invariant.js";
import { Breakpoint } from "./Breakpoint.js";
import { Stepper, StepIntoStepper, StepOverStepper, StepOutStepper } from "./Stepper.js";
import { BabelNode } from "babel-types";
import { BabelNode } from "@babel/types";
import type { StoppedReason } from "./../common/types.js";
export type StoppableObject = Breakpoint | Stepper;

View File

@ -10,7 +10,7 @@
/* @flow strict-local */
import invariant from "../invariant.js";
import type { BabelBinaryOperator, BabelNodeLogicalOperator, BabelUnaryOperator } from "babel-types";
import type { BabelBinaryOperator, BabelNodeLogicalOperator, BabelUnaryOperator } from "@babel/types";
import {
AbstractValue,
BooleanValue,

View File

@ -9,7 +9,7 @@
/* @flow strict-local */
import type { BabelBinaryOperator, BabelNodeLogicalOperator, BabelUnaryOperator } from "babel-types";
import type { BabelBinaryOperator, BabelNodeLogicalOperator, BabelUnaryOperator } from "@babel/types";
import { AbruptCompletion } from "../completions.js";
import { FatalError } from "../errors.js";
import invariant from "../invariant.js";

View File

@ -17,7 +17,7 @@ import type {
BabelNodePosition,
BabelNodeStatement,
BabelNodeSourceLocation,
} from "babel-types";
} from "@babel/types";
import type { Realm } from "./realm.js";
import type { SourceFile, SourceMap, SourceType } from "./types.js";
@ -40,13 +40,13 @@ import {
UndefinedValue,
Value,
} from "./values/index.js";
import generate from "babel-generator";
import generate from "@babel/generator";
import parse from "./utils/parse.js";
import invariant from "./invariant.js";
import traverseFast from "./utils/traverse-fast.js";
import { HasProperty, Get, IsExtensible, HasOwnProperty, IsDataDescriptor } from "./methods/index.js";
import { Environment, Havoc, Properties, To } from "./singletons.js";
import * as t from "babel-types";
import * as t from "@babel/types";
import { TypesDomain, ValuesDomain } from "./domains/index.js";
import PrimitiveValue from "./values/PrimitiveValue";

View File

@ -9,7 +9,7 @@
/* @flow strict */
import type { BabelNodeSourceLocation } from "babel-types";
import type { BabelNodeSourceLocation } from "@babel/types";
// Information: Just an informative message with no semantic implications whatsoever.
// Warning: Prepack will produce code that matches the behavior of the original code, but the original code might have an error.

View File

@ -16,7 +16,7 @@ import { GetIterator } from "../methods/index.js";
import invariant from "../invariant.js";
import { IteratorStep, IteratorValue } from "../methods/iterator.js";
import { Create, Environment, Properties } from "../singletons.js";
import type { BabelNodeArrayExpression } from "babel-types";
import type { BabelNodeArrayExpression } from "@babel/types";
// ECMA262 2.2.5.3
export default function(

View File

@ -14,8 +14,8 @@ import type { LexicalEnvironment } from "../environment.js";
import type { Value } from "../values/index.js";
import { Functions } from "../singletons.js";
import IsStrict from "../utils/strict.js";
import * as t from "babel-types";
import type { BabelNodeArrowFunctionExpression } from "babel-types";
import * as t from "@babel/types";
import type { BabelNodeArrowFunctionExpression } from "@babel/types";
// ECMA262 14.2.16
export default function(

View File

@ -21,7 +21,7 @@ import {
} from "../methods/index.js";
import { Environment, Functions, Properties } from "../singletons.js";
import invariant from "../invariant.js";
import type { BabelNodeAssignmentExpression, BabelBinaryOperator } from "babel-types";
import type { BabelNodeAssignmentExpression, BabelBinaryOperator } from "@babel/types";
import { computeBinary } from "./BinaryExpression.js";
// ECMA262 12.15 Assignment Operators

View File

@ -13,7 +13,7 @@ import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import { FatalError } from "../errors.js";
import type { Value } from "../values/index.js";
import type { BabelNodeAwaitExpression } from "babel-types";
import type { BabelNodeAwaitExpression } from "@babel/types";
export default function(
ast: BabelNodeAwaitExpression,

View File

@ -32,8 +32,8 @@ import type {
BabelNodeBinaryExpression,
BabelNodeExpression,
BabelNodeSourceLocation,
} from "babel-types";
import * as t from "babel-types";
} from "@babel/types";
import * as t from "@babel/types";
import invariant from "../invariant.js";
export default function(

View File

@ -9,7 +9,7 @@
/* @flow strict-local */
import type { BabelNodeBlockStatement } from "babel-types";
import type { BabelNodeBlockStatement } from "@babel/types";
import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";

View File

@ -13,7 +13,7 @@ import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import type { Value } from "../values/index.js";
import { BooleanValue } from "../values/index.js";
import type { BabelNodeBooleanLiteral } from "babel-types";
import type { BabelNodeBooleanLiteral } from "@babel/types";
export default function(
ast: BabelNodeBooleanLiteral,

View File

@ -13,7 +13,7 @@ import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import type { Value } from "../values/index.js";
import { BreakCompletion } from "../completions.js";
import type { BabelNodeBreakStatement } from "babel-types";
import type { BabelNodeBreakStatement } from "@babel/types";
export default function(
ast: BabelNodeBreakStatement,

View File

@ -33,9 +33,9 @@ import {
IsInTailPosition,
SameValue,
} from "../methods/index.js";
import type { BabelNodeCallExpression, BabelNodeExpression, BabelNodeSpreadElement } from "babel-types";
import type { BabelNodeCallExpression, BabelNodeExpression, BabelNodeSpreadElement } from "@babel/types";
import invariant from "../invariant.js";
import * as t from "babel-types";
import * as t from "@babel/types";
import SuperCall from "./SuperCall";
import { memberExpressionHelper } from "../utils/babelhelpers.js";

View File

@ -15,7 +15,7 @@ import { Value } from "../values/index.js";
import { ThrowCompletion } from "../completions.js";
import invariant from "../invariant.js";
import { Environment } from "../singletons.js";
import type { BabelNodeCatchClause } from "babel-types";
import type { BabelNodeCatchClause } from "@babel/types";
// ECAM262 13.15.7
export default function(

View File

@ -19,7 +19,7 @@ import type {
BabelNodeClassExpression,
BabelNodeClassMethod,
BabelNodeExpression,
} from "babel-types";
} from "@babel/types";
import parse from "../utils/parse.js";
import {
HasOwnProperty,

View File

@ -12,7 +12,7 @@
import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import type { Value } from "../values/index.js";
import type { BabelNodeClassExpression } from "babel-types";
import type { BabelNodeClassExpression } from "@babel/types";
import { HasOwnProperty } from "../methods/index.js";
import { ClassDefinitionEvaluation } from "./ClassDeclaration";
import { Functions } from "../singletons.js";

View File

@ -14,7 +14,7 @@ import { AbstractValue, ConcreteValue, Value } from "../values/index.js";
import type { Reference } from "../environment.js";
import { construct_empty_effects } from "../realm.js";
import { Environment, To } from "../singletons.js";
import type { BabelNodeConditionalExpression } from "babel-types";
import type { BabelNodeConditionalExpression } from "@babel/types";
import invariant from "../invariant.js";
import type { Realm } from "../realm.js";

View File

@ -13,7 +13,7 @@ import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import type { Value } from "../values/index.js";
import { ContinueCompletion } from "../completions.js";
import type { BabelNodeContinueStatement } from "babel-types";
import type { BabelNodeContinueStatement } from "@babel/types";
export default function(
ast: BabelNodeContinueStatement,

View File

@ -12,7 +12,7 @@
import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import { Value } from "../values/index.js";
import type { BabelNodeDirective } from "babel-types";
import type { BabelNodeDirective } from "@babel/types";
import invariant from "../invariant.js";
export default function(ast: BabelNodeDirective, strictCode: boolean, env: LexicalEnvironment, realm: Realm): Value {

View File

@ -19,7 +19,7 @@ import { LoopContinues, InternalGetResultValue, TryToApplyEffectsOfJoiningBranch
import { AbruptCompletion, BreakCompletion, ForkedAbruptCompletion, SimpleNormalCompletion } from "../completions.js";
import { Environment, To } from "../singletons.js";
import invariant from "../invariant.js";
import type { BabelNodeDoWhileStatement } from "babel-types";
import type { BabelNodeDoWhileStatement } from "@babel/types";
export default function(
ast: BabelNodeDoWhileStatement,

View File

@ -12,7 +12,7 @@
import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import type { Value } from "../values/index.js";
import type { BabelNodeEmptyStatement } from "babel-types";
import type { BabelNodeEmptyStatement } from "@babel/types";
export default function(
ast: BabelNodeEmptyStatement,

View File

@ -13,7 +13,7 @@ import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import type { Value } from "../values/index.js";
import { Environment } from "../singletons.js";
import type { BabelNodeExpressionStatement } from "babel-types";
import type { BabelNodeExpressionStatement } from "@babel/types";
export default function(
ast: BabelNodeExpressionStatement,

View File

@ -12,7 +12,7 @@
import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import { Value } from "../values/index.js";
import type { BabelNodeFile } from "babel-types";
import type { BabelNodeFile } from "@babel/types";
import invariant from "../invariant.js";
export default function(ast: BabelNodeFile, strictCode: boolean, env: LexicalEnvironment, realm: Realm): Value {

View File

@ -24,9 +24,9 @@ import type {
BabelNodeSourceLocation,
BabelNodeStatement,
BabelNodeVariableDeclaration,
} from "babel-types";
} from "@babel/types";
import invariant from "../invariant.js";
import * as t from "babel-types";
import * as t from "@babel/types";
// helper func to report error
function reportError(realm: Realm, loc: ?BabelNodeSourceLocation) {

View File

@ -40,7 +40,7 @@ import type {
BabelNodeLVal,
BabelNodeStatement,
BabelNodeVariableDeclaration,
} from "babel-types";
} from "@babel/types";
export type IterationKind = "iterate" | "enumerate";
export type LhsKind = "lexicalBinding" | "varBinding" | "assignment";

View File

@ -29,17 +29,17 @@ import {
SimpleNormalCompletion,
ThrowCompletion,
} from "../completions.js";
import traverse from "babel-traverse";
import type { BabelTraversePath } from "babel-traverse";
import traverse from "@babel/traverse";
import type { BabelTraversePath } from "@babel/traverse";
import { TypesDomain, ValuesDomain } from "../domains/index.js";
import { CompilerDiagnostic, FatalError } from "../errors.js";
import { UpdateEmpty } from "../methods/index.js";
import { LoopContinues, InternalGetResultValue, TryToApplyEffectsOfJoiningBranches } from "./ForOfStatement.js";
import { Environment, Functions, Havoc, Join, To } from "../singletons.js";
import invariant from "../invariant.js";
import * as t from "babel-types";
import * as t from "@babel/types";
import type { FunctionBodyAstNode } from "../types.js";
import type { BabelNodeExpression, BabelNodeForStatement, BabelNodeBlockStatement } from "babel-types";
import type { BabelNodeExpression, BabelNodeForStatement, BabelNodeBlockStatement } from "@babel/types";
type BailOutWrapperInfo = {
usesArguments: boolean,
@ -422,7 +422,8 @@ function generateRuntimeForStatement(
null,
functionInfo
);
traverse.clearCache();
// Babel 7 removed clearCache
// traverse.clearCache();
let { usesReturn, usesThrow, usesArguments, usesGotoToLabel, varPatternUnsupported, usesThis } = functionInfo;
if (usesReturn || usesThrow || usesArguments || usesGotoToLabel || varPatternUnsupported) {

View File

@ -16,7 +16,7 @@ import { MakeConstructor } from "../methods/construct.js";
import { Create, Functions, Properties } from "../singletons.js";
import { StringValue } from "../values/index.js";
import IsStrict from "../utils/strict.js";
import type { BabelNodeFunctionDeclaration } from "babel-types";
import type { BabelNodeFunctionDeclaration } from "@babel/types";
// ECMA262 14.1.20
export default function(

View File

@ -16,7 +16,7 @@ import { MakeConstructor } from "../methods/index.js";
import { Create, Environment, Functions, Properties } from "../singletons.js";
import { StringValue } from "../values/index.js";
import IsStrict from "../utils/strict.js";
import type { BabelNodeFunctionExpression } from "babel-types";
import type { BabelNodeFunctionExpression } from "@babel/types";
import invariant from "../invariant.js";
export default function(

View File

@ -13,7 +13,7 @@ import type { Realm } from "../realm.js";
import type { LexicalEnvironment } from "../environment.js";
import type { Reference } from "../environment.js";
import { Environment } from "../singletons.js";
import type { BabelNodeIdentifier } from "babel-types";
import type { BabelNodeIdentifier } from "@babel/types";
// ECMA262 12.1.6
export default function(

Some files were not shown because too many files have changed in this diff Show More