mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-09-11 14:46:37 +03:00
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
354 lines
9.8 KiB
JavaScript
354 lines
9.8 KiB
JavaScript
// 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'>;
|
|
}
|