amilajack / eslint-plugin-flowtype-errors

Run Flow as an ESLint plugin
MIT License
402 stars 32 forks source link

Update babel monorepo to ^7.7.4 #190

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
@babel/cli (source) devDependencies minor ^7.6.2 -> ^7.7.4
@babel/core (source) devDependencies minor ^7.6.2 -> ^7.7.4
@babel/plugin-proposal-class-properties devDependencies minor ^7.5.5 -> ^7.7.4
@babel/preset-env (source) devDependencies minor ^7.6.2 -> ^7.7.4
@babel/preset-flow devDependencies minor ^7.0.0 -> ^7.7.4
@babel/register devDependencies minor ^7.6.2 -> ^7.7.4
@babel/runtime (source) dependencies minor ^7.6.2 -> ^7.7.4

Release Notes

babel/babel ### [`v7.7.4`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v774-2019-11-23) [Compare Source](https://togithub.com/babel/babel/compare/v7.7.0...v7.7.4) ##### :bug: Bug Fix - `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​10748](https://togithub.com/babel/babel/pull/10748) Add support for native esm to [@​babel/runtime](https://togithub.com/babel/runtime). ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-preset-env` - [#​10742](https://togithub.com/babel/babel/pull/10742) Update preset-env mappings. ([@​existentialism](https://togithub.com/existentialism)) - `babel-parser` - [#​10737](https://togithub.com/babel/babel/pull/10737) Flow enums: fix enum body location. ([@​gkz](https://togithub.com/gkz)) - [#​10657](https://togithub.com/babel/babel/pull/10657) Fix some incorrect typeof parsing in flow. ([@​existentialism](https://togithub.com/existentialism)) - [#​10582](https://togithub.com/babel/babel/pull/10582) [parser] Allow optional async methods. ([@​gonzarodriguezt](https://togithub.com/gonzarodriguezt)) - [#​10710](https://togithub.com/babel/babel/pull/10710) register import equals specifier. ([@​JLHwung](https://togithub.com/JLHwung)) - [#​10592](https://togithub.com/babel/babel/pull/10592) Allow TypeScript type assertions in array destructuring. ([@​SakibulMowla](https://togithub.com/SakibulMowla)) - `babel-preset-env-standalone` - [#​10732](https://togithub.com/babel/babel/pull/10732) fix: add missing available plugins to babel-preset-env-standalone. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-umd`, `babel-preset-env` - [#​10701](https://togithub.com/babel/babel/pull/10701) Circumvent typeof transform for umd build template. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-cli` - [#​10698](https://togithub.com/babel/babel/pull/10698) Babel should not silently remove unknown options after commander arguments. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-proposal-optional-chaining` - [#​10694](https://togithub.com/babel/babel/pull/10694) Fix optional method chaining in derived classes. ([@​Shriram-Balaji](https://togithub.com/Shriram-Balaji)) - `babel-parser`, `babel-types` - [#​10677](https://togithub.com/babel/babel/pull/10677) Add `asserts this [is type]` parsing support. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-traverse` - [#​10598](https://togithub.com/babel/babel/pull/10598) Fix parentheses on replaceWithMultiple for JSX. ([@​khoumani](https://togithub.com/khoumani)) - `babel-helpers`, `babel-plugin-proposal-object-rest-spread`, `babel-preset-env` - [#​10683](https://togithub.com/babel/babel/pull/10683) Fix: Don't call Object.keys on non-objects ([babel#​10482](https://togithub.com/babel/babel/issues/10482)). ([@​chrishinrichs](https://togithub.com/chrishinrichs)) ##### :nail_care: Polish - `babel-plugin-proposal-nullish-coalescing-operator` - [#​10720](https://togithub.com/babel/babel/pull/10720) polish: skip creating extra reference for safely re-used node. ([@​JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - Other - [#​10731](https://togithub.com/babel/babel/pull/10731) Removed duplicate key in package.json. ([@​rajasekarm](https://togithub.com/rajasekarm)) - [#​10718](https://togithub.com/babel/babel/pull/10718) chore: use loose mode of transform. ([@​JLHwung](https://togithub.com/JLHwung)) - [#​10579](https://togithub.com/babel/babel/pull/10579) Implement PR workflow for running test262 on babel PRs. ([@​jbhoosreddy](https://togithub.com/jbhoosreddy)) - [#​10648](https://togithub.com/babel/babel/pull/10648) bump @​babel/\* dev dependencies. ([@​JLHwung](https://togithub.com/JLHwung)) - [#​10569](https://togithub.com/babel/babel/pull/10569) E2E test Babel with itself before publishing. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core` - [#​10668](https://togithub.com/babel/babel/pull/10668) Reduce standalone build size. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-literals`, `babel-preset-env-standalone` - [#​10725](https://togithub.com/babel/babel/pull/10725) fix typo [ci-skip]. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-cli` - [#​10692](https://togithub.com/babel/babel/pull/10692) Add missing flow type to babel-cli for consistency. ([@​ZYSzys](https://togithub.com/ZYSzys)) ### [`v7.7.0`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v770-2019-11-05) [Compare Source](https://togithub.com/babel/babel/compare/v7.6.4...v7.7.0) ##### :eyeglasses: Spec Compliance - `babel-types` - [#​10621](https://togithub.com/babel/babel/pull/10621) throw a TypeError if identifier validation fails. ([@​dentrado](https://togithub.com/dentrado)) - `babel-parser` - [#​10559](https://togithub.com/babel/babel/pull/10559) fix: Exclude catch clause from let identifier error. ([@​gonzarodriguezt](https://togithub.com/gonzarodriguezt)) - [#​10567](https://togithub.com/babel/babel/pull/10567) [parser] Exception to 8 and 9 in tagged template. ([@​pnowak](https://togithub.com/pnowak)) - [#​10532](https://togithub.com/babel/babel/pull/10532) Allow duplicate **proto** keys in patterns, simple case ([#​6705](https://togithub.com/babel/babel/issues/6705)). ([@​alejo90](https://togithub.com/alejo90)) ##### :rocket: New Feature - `babel-generator`, `babel-helper-create-class-features-plugin`, `babel-parser`, `babel-plugin-transform-typescript`, `babel-preset-typescript`, `babel-types` - [#​10545](https://togithub.com/babel/babel/pull/10545) Add support for TS declare modifier on fields. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-parser`, `babel-preset-typescript` - [#​10363](https://togithub.com/babel/babel/pull/10363) [@​babel/parser](https://togithub.com/babel/parser) error recovery. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core` - [#​10599](https://togithub.com/babel/babel/pull/10599) Add support for .cjs config files. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​10501](https://togithub.com/babel/babel/pull/10501) Add support for babel.config.json. ([@​devongovett](https://togithub.com/devongovett)) - [#​10361](https://togithub.com/babel/babel/pull/10361) feat: if code frame error is on a single line, highlight the whole path. ([@​SimenB](https://togithub.com/SimenB)) - `babel-plugin-syntax-top-level-await`, `babel-preset-env` - [#​10573](https://togithub.com/babel/babel/pull/10573) Create [@​babel/plugin-syntax-top-level-await](https://togithub.com/babel/plugin-syntax-top-level-await). ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-builder-react-jsx`, `babel-plugin-transform-react-jsx`, `babel-preset-react` - [#​10572](https://togithub.com/babel/babel/pull/10572) [transform-react-jsx] Add useSpread option to transform JSX. ([@​ivandevp](https://togithub.com/ivandevp)) - `babel-generator`, `babel-parser`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-flow`, `babel-types` - [#​10344](https://togithub.com/babel/babel/pull/10344) Flow enums parsing. ([@​gkz](https://togithub.com/gkz)) - `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-umd`, `babel-preset-env` - [#​10477](https://togithub.com/babel/babel/pull/10477) Changes UMD callsite to be more likely to pass in the intended object.. ([@​MicahZoltu](https://togithub.com/MicahZoltu)) - `babel-parser` - [#​10449](https://togithub.com/babel/babel/pull/10449) Create parser plugin "topLevelAwait". ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​10521](https://togithub.com/babel/babel/pull/10521) [parser] Enable "exportNamespaceFrom" by default. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​10483](https://togithub.com/babel/babel/pull/10483) [parser] Add support for private fields in TypeScript. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-parser`, `babel-types` - [#​10543](https://togithub.com/babel/babel/pull/10543) add assertions signature for TypeScript. ([@​tanhauhau](https://togithub.com/tanhauhau)) - `babel-cli`, `babel-register` - [#​8622](https://togithub.com/babel/babel/pull/8622) Make dir for babel --out-file. ([@​TrySound](https://togithub.com/TrySound)) - `babel-cli` - [#​10399](https://togithub.com/babel/babel/pull/10399) Closes [#​8326](https://togithub.com/babel/babel/issues/8326), add back --quiet option.. ([@​chris-peng-1244](https://togithub.com/chris-peng-1244)) ##### :bug: Bug Fix - `babel-helpers`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-function-sent`, `babel-preset-env` - [#​10422](https://togithub.com/babel/babel/pull/10422) Correctly delegate .return() in async generator. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs` - [#​10628](https://togithub.com/babel/babel/pull/10628) Don't throw when destructuring into a var named as an import. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-modules-systemjs` - [#​10638](https://togithub.com/babel/babel/pull/10638) fix: remove ExportNamedDeclaration when the specifier is empty. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#​10631](https://togithub.com/babel/babel/pull/10631) [TS] Parse calls with type args in optional chains. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​10607](https://togithub.com/babel/babel/pull/10607) fixed missing errors on assignment pattern in object expression. ([@​vivek12345](https://togithub.com/vivek12345)) - [#​10594](https://togithub.com/babel/babel/pull/10594) [parser] Parse only modifiers of actual methods. ([@​gonzarodriguezt](https://togithub.com/gonzarodriguezt)) - `babel-plugin-transform-typescript` - [#​10555](https://togithub.com/babel/babel/pull/10555) [TS] Correctly transform computed strings and templates in enums. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core` - [#​10623](https://togithub.com/babel/babel/pull/10623) Fix: inputSourceMap should work when it is an external file. ([@​JLHwung](https://togithub.com/JLHwung)) - [#​10539](https://togithub.com/babel/babel/pull/10539) fix: remove filename annotation in buildCodeFrameError. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-proposal-decorators` - [#​10578](https://togithub.com/babel/babel/pull/10578) [decorators] fix: support string literal properties. ([@​mwhitworth](https://togithub.com/mwhitworth)) - `babel-helpers`, `babel-plugin-proposal-dynamic-import`, `babel-plugin-transform-modules-commonjs`, `babel-preset-env` - [#​10574](https://togithub.com/babel/babel/pull/10574) fix: \_interopRequireWildcard should only cache objects. ([@​samMeow](https://togithub.com/samMeow)) - `babel-traverse` - [#​9777](https://togithub.com/babel/babel/pull/9777) [traverse] Allow skipping nodes inserted with .replaceWith(). ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-preset-env` - [#​10146](https://togithub.com/babel/babel/pull/10146) Inject core-js@3 imports in Program:exit instead of on post(). ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator` - [#​10519](https://togithub.com/babel/babel/pull/10519) Fix generator missing parens around an arrow returning function type. ([@​existentialism](https://togithub.com/existentialism)) - `babel-plugin-transform-async-to-generator`, `babel-preset-env`, `babel-traverse` - [#​9939](https://togithub.com/babel/babel/pull/9939) Don't use args rest/spread to hoist super method calls. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-plugin-transform-classes`, `babel-plugin-transform-regenerator`, `babel-preset-env` - [#​9481](https://togithub.com/babel/babel/pull/9481) [preset-env] Don't use async-to-generator when already using regenerator. ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-transform-modules-commonjs`, `babel-preset-env` - [#​10585](https://togithub.com/babel/babel/pull/10585) fix(babel‑helpers/interopRequireWildcard): Avoid double nullish check. ([@​ExE-Boss](https://togithub.com/ExE-Boss)) - `babel-register` - [#​10557](https://togithub.com/babel/babel/pull/10557) fix: disable caching when babel could not read/write cache. ([@​JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - `babel-cli`, `babel-node` - [#​10619](https://togithub.com/babel/babel/pull/10619) chore: remove output-file-sync dependency. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-register` - [#​10614](https://togithub.com/babel/babel/pull/10614) chore: bump source-map-support to 0.5.14. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-regexp-features-plugin`, `babel-plugin-proposal-unicode-property-regex`, `babel-plugin-transform-dotall-regex`, `babel-plugin-transform-named-capturing-groups-regex`, `babel-plugin-transform-unicode-regex`, `babel-preset-env` - [#​10447](https://togithub.com/babel/babel/pull/10447) Merge multiple regex transform plugin. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-preset-env` - [#​10612](https://togithub.com/babel/babel/pull/10612) chore: update web.immediate support fixtures. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-module-imports` - [#​10608](https://togithub.com/babel/babel/pull/10608) Use .find instead of .filter to get targetPath in ImportInjector. ([@​Andarist](https://togithub.com/Andarist)) - Other - [#​10600](https://togithub.com/babel/babel/pull/10600) Test node@13 on circle. ([@​existentialism](https://togithub.com/existentialism)) - [#​10593](https://togithub.com/babel/babel/pull/10593) chore: replace outdated travis-ci.org badges [ci skip]. ([@​JLHwung](https://togithub.com/JLHwung)) - [#​10591](https://togithub.com/babel/babel/pull/10591) chore: test against Node.js 13. ([@​JLHwung](https://togithub.com/JLHwung)) - [#​10556](https://togithub.com/babel/babel/pull/10556) Add master branch workflow for test262 tests. ([@​jbhoosreddy](https://togithub.com/jbhoosreddy)) - [#​10553](https://togithub.com/babel/babel/pull/10553) chore: introduce envinfo into environment section. ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-runtime` - [#​10418](https://togithub.com/babel/babel/pull/10418) docs: add homepage link. ([@​DanArthurGallagher](https://togithub.com/DanArthurGallagher)) - `babel-helper-annotate-as-pure`, `babel-helper-bindify-decorators`, `babel-helper-builder-binary-assignment-operator-visitor`, `babel-helper-builder-react-jsx`, `babel-helper-call-delegate`, `babel-helper-define-map`, `babel-helper-explode-assignable-expression`, `babel-helper-explode-class`, `babel-helper-function-name`, `babel-helper-get-function-arity`, `babel-helper-hoist-variables`, `babel-helper-member-expression-to-functions`, `babel-helper-module-imports`, `babel-helper-module-transforms`, `babel-helper-optimise-call-expression`, `babel-helper-remap-async-to-generator`, `babel-helper-replace-supers`, `babel-helper-simple-access`, `babel-helper-split-export-declaration`, `babel-helper-wrap-function`, `babel-helpers`, `babel-template` - [#​10568](https://togithub.com/babel/babel/pull/10568) Bump babel-types to ^7.6.3. ([@​JLHwung](https://togithub.com/JLHwung)) ##### :running_woman: Performance - `babel-traverse` - [#​10480](https://togithub.com/babel/babel/pull/10480) Traverse performance. ([@​JLHwung](https://togithub.com/JLHwung)) ### [`v7.6.4`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v764-2019-10-10) [Compare Source](https://togithub.com/babel/babel/compare/v7.6.3...v7.6.4) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#​10491](https://togithub.com/babel/babel/pull/10491) Trailing comma after rest - The final fix ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :bug: Bug Fix - `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-transform-fixture-test-runner` - [#​10536](https://togithub.com/babel/babel/pull/10536) Revert "chore: Upgrade source-map to 0.6.1 ([#​10446](https://togithub.com/babel/babel/issues/10446))" ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.6.3`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v763-2019-10-08) [Compare Source](https://togithub.com/babel/babel/compare/v7.6.2...v7.6.3) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#​10469](https://togithub.com/babel/babel/pull/10469) Disallow await inside async arrow params ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​10493](https://togithub.com/babel/babel/pull/10493) [parser] Disallow numeric separators in legacy octal like integers ([@​gonzarodriguezt](https://togithub.com/gonzarodriguezt)) ##### :rocket: New Feature - `babel-types` - [#​10504](https://togithub.com/babel/babel/pull/10504) Add declarations for more of [@​babel/types](https://togithub.com/babel/types) exports ([@​Jessidhia](https://togithub.com/Jessidhia)) ##### :bug: Bug Fix - `babel-plugin-transform-block-scoping` - [#​10343](https://togithub.com/babel/babel/pull/10343) Do not remove let bindings even they are wrapped in closure ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#​10119](https://togithub.com/babel/babel/pull/10119) add scope to TSModuleDeclaration ([@​tanhauhau](https://togithub.com/tanhauhau)) - [#​10332](https://togithub.com/babel/babel/pull/10332) Do not allow member expressions to start async arrows ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#​10490](https://togithub.com/babel/babel/pull/10490) [parser] Don't crash on comment after trailing comma after elision ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-react-constant-elements`, `babel-traverse` - [#​10529](https://togithub.com/babel/babel/pull/10529) Do not hoist jsx referencing a mutable binding ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-parser`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-flow-comments`, `babel-plugin-transform-flow-strip-types`, `babel-plugin-transform-typescript` - [#​10220](https://togithub.com/babel/babel/pull/10220) Flow: interface identifier should be declared in the scope ([@​JLHwung](https://togithub.com/JLHwung)) ##### :nail_care: Polish - `babel-core` - [#​10419](https://togithub.com/babel/babel/pull/10419) assertNoDuplicates throw with more context ([@​hjdivad](https://togithub.com/hjdivad)) - [#​10511](https://togithub.com/babel/babel/pull/10511) Add filename to transform error ([@​JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - Other - [#​10506](https://togithub.com/babel/babel/pull/10506) Use `make -j` for parallel build ([@​JLHwung](https://togithub.com/JLHwung)) - [#​10443](https://togithub.com/babel/babel/pull/10443) perf: only apply lazy cjs module transform on cli and core ([@​JLHwung](https://togithub.com/JLHwung)) - [#​10494](https://togithub.com/babel/babel/pull/10494) Enable optional chaining and nullish coalescing plugins ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-fixtures`, `babel-helper-transform-fixture-test-runner`, `babel-node`, `babel-plugin-transform-react-jsx-source`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-preset-react` - [#​10249](https://togithub.com/babel/babel/pull/10249) Add windows to travis ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-parser` - [#​10371](https://togithub.com/babel/babel/pull/10371) perf: replace lookahead by lookaheadCharCode ([@​JLHwung](https://togithub.com/JLHwung)) - Other - [#​10443](https://togithub.com/babel/babel/pull/10443) perf: only apply lazy cjs module transform on cli and core ([@​JLHwung](https://togithub.com/JLHwung))

Renovate configuration

:date: Schedule: "before 3am on the first day of the month" (UTC).

:vertical_traffic_light: Automerge: Enabled.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.



Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.