Skip to content

Commit

Permalink
fix(flow): address flow issues
Browse files Browse the repository at this point in the history
Pin flow version and address deprecations.
  • Loading branch information
bhough committed Feb 1, 2024
1 parent 8c2cb98 commit f397b7a
Show file tree
Hide file tree
Showing 43 changed files with 3,447 additions and 7,433 deletions.
18 changes: 14 additions & 4 deletions flow-typed/npm/@babel/cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: cc1d1a2ec09f3b899ef47a856742f08f
// flow-typed version: <<STUB>>/@babel/cli_v^7.4.4/flow_v0.101.0
// flow-typed signature: efc62e79f292b01784cf4e701f49d07c
// flow-typed version: <<STUB>>/@babel/cli_v^7.23.9/flow_v0.227.0

/**
* This is an autogenerated libdef stub for:
Expand Down Expand Up @@ -42,7 +42,7 @@ declare module '@babel/cli/lib/babel/file' {
declare module.exports: any;
}

declare module '@babel/cli/lib/babel/index' {
declare module '@babel/cli/lib/babel' {
declare module.exports: any;
}

Expand All @@ -54,6 +54,10 @@ declare module '@babel/cli/lib/babel/util' {
declare module.exports: any;
}

declare module '@babel/cli/lib/babel/watcher' {
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'>;
Expand All @@ -76,12 +80,18 @@ declare module '@babel/cli/lib/babel/dir.js' {
declare module '@babel/cli/lib/babel/file.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/file'>;
}
declare module '@babel/cli/lib/babel/index' {
declare module.exports: $Exports<'@babel/cli/lib/babel'>;
}
declare module '@babel/cli/lib/babel/index.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/index'>;
declare module.exports: $Exports<'@babel/cli/lib/babel'>;
}
declare module '@babel/cli/lib/babel/options.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/options'>;
}
declare module '@babel/cli/lib/babel/util.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/util'>;
}
declare module '@babel/cli/lib/babel/watcher.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/watcher'>;
}
139 changes: 126 additions & 13 deletions flow-typed/npm/@babel/core_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 2b173c73804c7b43d7d6c738802c5ad0
// flow-typed version: <<STUB>>/@babel/core_v^7.4.5/flow_v0.101.0
// flow-typed signature: dd1648fbd2198982e05076028105a23e
// flow-typed version: <<STUB>>/@babel/core_v^7.23.9/flow_v0.227.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -22,6 +22,10 @@ declare module '@babel/core' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/core/lib/config/cache-contexts' {
declare module.exports: any;
}

declare module '@babel/core/lib/config/caching' {
declare module.exports: any;
}
Expand All @@ -42,7 +46,11 @@ declare module '@babel/core/lib/config/files/index-browser' {
declare module.exports: any;
}

declare module '@babel/core/lib/config/files/index' {
declare module '@babel/core/lib/config/files' {
declare module.exports: any;
}

declare module '@babel/core/lib/config/files/module-types' {
declare module.exports: any;
}

Expand Down Expand Up @@ -70,11 +78,15 @@ declare module '@babel/core/lib/config/helpers/config-api' {
declare module.exports: any;
}

declare module '@babel/core/lib/config/helpers/deep-array' {
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 '@babel/core/lib/config' {
declare module.exports: any;
}

Expand All @@ -94,6 +106,18 @@ declare module '@babel/core/lib/config/plugin' {
declare module.exports: any;
}

declare module '@babel/core/lib/config/printer' {
declare module.exports: any;
}

declare module '@babel/core/lib/config/resolve-targets-browser' {
declare module.exports: any;
}

declare module '@babel/core/lib/config/resolve-targets' {
declare module.exports: any;
}

declare module '@babel/core/lib/config/util' {
declare module.exports: any;
}
Expand All @@ -114,14 +138,42 @@ declare module '@babel/core/lib/config/validation/removed' {
declare module.exports: any;
}

declare module '@babel/core/lib/index' {
declare module '@babel/core/lib/errors/config-error' {
declare module.exports: any;
}

declare module '@babel/core/lib/errors/rewrite-stack-trace' {
declare module.exports: any;
}

declare module '@babel/core/lib/gensync-utils/async' {
declare module.exports: any;
}

declare module '@babel/core/lib/gensync-utils/fs' {
declare module.exports: any;
}

declare module '@babel/core/lib/gensync-utils/functional' {
declare module.exports: any;
}

declare module '@babel/core/lib' {
declare module.exports: any;
}

declare module '@babel/core/lib/parse' {
declare module.exports: any;
}

declare module '@babel/core/lib/parser' {
declare module.exports: any;
}

declare module '@babel/core/lib/parser/util/missing-plugin-helper' {
declare module.exports: any;
}

declare module '@babel/core/lib/tools/build-external-helpers' {
declare module.exports: any;
}
Expand Down Expand Up @@ -158,7 +210,7 @@ declare module '@babel/core/lib/transformation/file/merge-map' {
declare module.exports: any;
}

declare module '@babel/core/lib/transformation/index' {
declare module '@babel/core/lib/transformation' {
declare module.exports: any;
}

Expand All @@ -174,11 +226,18 @@ declare module '@babel/core/lib/transformation/plugin-pass' {
declare module.exports: any;
}

declare module '@babel/core/lib/transformation/util/missing-plugin-helper' {
declare module '@babel/core/lib/transformation/util/clone-deep' {
declare module.exports: any;
}

declare module '@babel/core/lib/vendor/import-meta-resolve' {
declare module.exports: any;
}

// Filename aliases
declare module '@babel/core/lib/config/cache-contexts.js' {
declare module.exports: $Exports<'@babel/core/lib/config/cache-contexts'>;
}
declare module '@babel/core/lib/config/caching.js' {
declare module.exports: $Exports<'@babel/core/lib/config/caching'>;
}
Expand All @@ -194,8 +253,14 @@ declare module '@babel/core/lib/config/files/configuration.js' {
declare module '@babel/core/lib/config/files/index-browser.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/index-browser'>;
}
declare module '@babel/core/lib/config/files/index' {
declare module.exports: $Exports<'@babel/core/lib/config/files'>;
}
declare module '@babel/core/lib/config/files/index.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/index'>;
declare module.exports: $Exports<'@babel/core/lib/config/files'>;
}
declare module '@babel/core/lib/config/files/module-types.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/module-types'>;
}
declare module '@babel/core/lib/config/files/package.js' {
declare module.exports: $Exports<'@babel/core/lib/config/files/package'>;
Expand All @@ -215,11 +280,17 @@ declare module '@babel/core/lib/config/full.js' {
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/deep-array.js' {
declare module.exports: $Exports<'@babel/core/lib/config/helpers/deep-array'>;
}
declare module '@babel/core/lib/config/helpers/environment.js' {
declare module.exports: $Exports<'@babel/core/lib/config/helpers/environment'>;
}
declare module '@babel/core/lib/config/index' {
declare module.exports: $Exports<'@babel/core/lib/config'>;
}
declare module '@babel/core/lib/config/index.js' {
declare module.exports: $Exports<'@babel/core/lib/config/index'>;
declare module.exports: $Exports<'@babel/core/lib/config'>;
}
declare module '@babel/core/lib/config/item.js' {
declare module.exports: $Exports<'@babel/core/lib/config/item'>;
Expand All @@ -233,6 +304,15 @@ declare module '@babel/core/lib/config/pattern-to-regex.js' {
declare module '@babel/core/lib/config/plugin.js' {
declare module.exports: $Exports<'@babel/core/lib/config/plugin'>;
}
declare module '@babel/core/lib/config/printer.js' {
declare module.exports: $Exports<'@babel/core/lib/config/printer'>;
}
declare module '@babel/core/lib/config/resolve-targets-browser.js' {
declare module.exports: $Exports<'@babel/core/lib/config/resolve-targets-browser'>;
}
declare module '@babel/core/lib/config/resolve-targets.js' {
declare module.exports: $Exports<'@babel/core/lib/config/resolve-targets'>;
}
declare module '@babel/core/lib/config/util.js' {
declare module.exports: $Exports<'@babel/core/lib/config/util'>;
}
Expand All @@ -248,12 +328,39 @@ declare module '@babel/core/lib/config/validation/plugins.js' {
declare module '@babel/core/lib/config/validation/removed.js' {
declare module.exports: $Exports<'@babel/core/lib/config/validation/removed'>;
}
declare module '@babel/core/lib/errors/config-error.js' {
declare module.exports: $Exports<'@babel/core/lib/errors/config-error'>;
}
declare module '@babel/core/lib/errors/rewrite-stack-trace.js' {
declare module.exports: $Exports<'@babel/core/lib/errors/rewrite-stack-trace'>;
}
declare module '@babel/core/lib/gensync-utils/async.js' {
declare module.exports: $Exports<'@babel/core/lib/gensync-utils/async'>;
}
declare module '@babel/core/lib/gensync-utils/fs.js' {
declare module.exports: $Exports<'@babel/core/lib/gensync-utils/fs'>;
}
declare module '@babel/core/lib/gensync-utils/functional.js' {
declare module.exports: $Exports<'@babel/core/lib/gensync-utils/functional'>;
}
declare module '@babel/core/lib/index' {
declare module.exports: $Exports<'@babel/core/lib'>;
}
declare module '@babel/core/lib/index.js' {
declare module.exports: $Exports<'@babel/core/lib/index'>;
declare module.exports: $Exports<'@babel/core/lib'>;
}
declare module '@babel/core/lib/parse.js' {
declare module.exports: $Exports<'@babel/core/lib/parse'>;
}
declare module '@babel/core/lib/parser/index' {
declare module.exports: $Exports<'@babel/core/lib/parser'>;
}
declare module '@babel/core/lib/parser/index.js' {
declare module.exports: $Exports<'@babel/core/lib/parser'>;
}
declare module '@babel/core/lib/parser/util/missing-plugin-helper.js' {
declare module.exports: $Exports<'@babel/core/lib/parser/util/missing-plugin-helper'>;
}
declare module '@babel/core/lib/tools/build-external-helpers.js' {
declare module.exports: $Exports<'@babel/core/lib/tools/build-external-helpers'>;
}
Expand Down Expand Up @@ -281,8 +388,11 @@ declare module '@babel/core/lib/transformation/file/generate.js' {
declare module '@babel/core/lib/transformation/file/merge-map.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/file/merge-map'>;
}
declare module '@babel/core/lib/transformation/index' {
declare module.exports: $Exports<'@babel/core/lib/transformation'>;
}
declare module '@babel/core/lib/transformation/index.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/index'>;
declare module.exports: $Exports<'@babel/core/lib/transformation'>;
}
declare module '@babel/core/lib/transformation/normalize-file.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-file'>;
Expand All @@ -293,6 +403,9 @@ declare module '@babel/core/lib/transformation/normalize-opts.js' {
declare module '@babel/core/lib/transformation/plugin-pass.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/plugin-pass'>;
}
declare module '@babel/core/lib/transformation/util/missing-plugin-helper.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/util/missing-plugin-helper'>;
declare module '@babel/core/lib/transformation/util/clone-deep.js' {
declare module.exports: $Exports<'@babel/core/lib/transformation/util/clone-deep'>;
}
declare module '@babel/core/lib/vendor/import-meta-resolve.js' {
declare module.exports: $Exports<'@babel/core/lib/vendor/import-meta-resolve'>;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@babel/eslint-parser_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 4a75f65fe1b387bea4ad936551288188
// flow-typed version: <<STUB>>/@babel/eslint-parser_v^7.23.10/flow_v0.227.0

/**
* This is an autogenerated libdef stub for:
*
* '@babel/eslint-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/eslint-parser' {
declare module.exports: any;
}
39 changes: 26 additions & 13 deletions flow-typed/npm/@babel/plugin-transform-runtime_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: fc3f45535d1387236a5fa25031c434e1
// flow-typed version: <<STUB>>/@babel/plugin-transform-runtime_v^7.4.4/flow_v0.101.0
// flow-typed signature: 1af30441d8afee1d63c9260561315c26
// flow-typed version: <<STUB>>/@babel/plugin-transform-runtime_v^7.23.9/flow_v0.227.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -22,32 +22,45 @@ declare module '@babel/plugin-transform-runtime' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/plugin-transform-runtime/lib/helpers' {
declare module '@babel/plugin-transform-runtime/lib/core-js' {
declare module.exports: any;
}

declare module '@babel/plugin-transform-runtime/lib/index' {
declare module '@babel/plugin-transform-runtime/lib/get-runtime-path/browser' {
declare module.exports: any;
}

declare module '@babel/plugin-transform-runtime/lib/runtime-corejs2-definitions' {
declare module '@babel/plugin-transform-runtime/lib/get-runtime-path' {
declare module.exports: any;
}

declare module '@babel/plugin-transform-runtime/lib/runtime-corejs3-definitions' {
declare module '@babel/plugin-transform-runtime/lib/helpers' {
declare module.exports: any;
}

declare module '@babel/plugin-transform-runtime/lib' {
declare module.exports: any;
}

// Filename aliases
declare module '@babel/plugin-transform-runtime/lib/core-js.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/core-js'>;
}
declare module '@babel/plugin-transform-runtime/lib/get-runtime-path/browser.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/get-runtime-path/browser'>;
}
declare module '@babel/plugin-transform-runtime/lib/get-runtime-path/index' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/get-runtime-path'>;
}
declare module '@babel/plugin-transform-runtime/lib/get-runtime-path/index.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/get-runtime-path'>;
}
declare module '@babel/plugin-transform-runtime/lib/helpers.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/helpers'>;
}
declare module '@babel/plugin-transform-runtime/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/index'>;
}
declare module '@babel/plugin-transform-runtime/lib/runtime-corejs2-definitions.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/runtime-corejs2-definitions'>;
declare module '@babel/plugin-transform-runtime/lib/index' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib'>;
}
declare module '@babel/plugin-transform-runtime/lib/runtime-corejs3-definitions.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/runtime-corejs3-definitions'>;
declare module '@babel/plugin-transform-runtime/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib'>;
}
4 changes: 2 additions & 2 deletions flow-typed/npm/@babel/polyfill_v7.x.x.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// flow-typed signature: ebc6e7724cd1da0d1a8b10de36bd7a94
// flow-typed version: 7b122e75af/@babel/polyfill_v7.x.x/flow_>=v0.30.x
// flow-typed signature: 70ae65c95b3420e3469c9c30171c1835
// flow-typed version: c6154227d1/@babel/polyfill_v7.x.x/flow_>=v0.104.x

declare module '@babel/polyfill' {}
Loading

0 comments on commit f397b7a

Please sign in to comment.