Update babel monorepo
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @babel/cli (source) | devDependencies | minor | 7.2.3 -> 7.8.4 |
| @babel/core (source) | devDependencies | minor | 7.3.4 -> 7.9.0 |
| @babel/plugin-proposal-class-properties | devDependencies | minor | 7.3.4 -> 7.8.3 |
| @babel/plugin-transform-modules-commonjs | devDependencies | minor | 7.2.0 -> 7.9.0 |
| @babel/preset-env (source) | devDependencies | minor | 7.3.4 -> 7.9.5 |
| @babel/preset-react (source) | devDependencies | minor | 7.0.0 -> 7.9.4 |
| @babel/preset-typescript | devDependencies | minor | 7.3.3 -> 7.9.0 |
Release Notes
babel/babel
v7.8.4
:warning: In Babel 7.8.0 we introduced the
--copy-ignoredoption for@babel/cli, defaulting tofalse. However, previous versions behaved as if that option was present: for this reason, we changed its default value totrue(when--copy-filesis provided) and introduced a--no-copy-ignoredoption to disable it.:eyeglasses: Spec Compliance
babel-parser:bug: Bug Fix
babel-cli
- #11063 [@babel/cli] Copy ignored files by default (@nicolo-ribaudo)
babel-compat-datababel-helpers,babel-plugin-proposal-class-properties,babel-plugin-proposal-decorators,babel-plugin-transform-classes,babel-plugin-transform-parameters,babel-plugin-transform-typeof-symbol,babel-preset-env
- #11049 Avoid compiling the _typeof helper with itself (@nicolo-ribaudo)
babel-traverse
- #11011 Bug/missing references after crawl (@regiontog)
babel-plugin-transform-parameters
- #9714 Fix rest parameters indexing with TypeScript 'this parameter' (@BenoitZugmeyer)
babel-plugin-transform-for-ofbabel-compat-data,babel-preset-env
- #11016 Re-generate preset-env fixtures (@nicolo-ribaudo)
babel-generator
- #11014 Fix parentheses removal in nullish-coalescing operation (@sidntrivedi012)
babel-helper-compilation-targets:nail_care: Polish
babel-core:memo: Documentation
:house: Internal
babel-compat-data
- #11039 Update compat table (@nicolo-ribaudo)
- #11041 Delete duplicated file in
@babel/compat-data(@nicolo-ribaudo)- #10814 chore: map mobile browser data to their desktop version (@JLHwung)
- #11024 Check that generated compat-data is up to date on CI (@nicolo-ribaudo)
babel-parser
- #11032 refactor: simplify toAssignable routine (@JLHwung)
- #11026 chore: use @babel/eslint-config-internal (@JLHwung)
babel-preset-envbabel-compat-data,babel-node,babel-parser,babel-preset-env- Other
- #11021 chore: replace yarn-upgrade by bump-babel-dependencies in vuejs e2e tests (@JLHwung)
- #11004 chore: test against @vue/babel-preset-app (@JLHwung)
babel-core
- #10995 Exclude
import()tests from pubilsh build (@nicolo-ribaudo):running_woman: Performance
v7.8.3
:bug: Bug Fix
:house: Internal
-
babel-preset-env-standalone,babel-standalone- #10994 Ignore .map files in standalone packages (@nicolo-ribaudo)
-
babel-plugin-proposal-decorators,babel-plugin-proposal-dynamic-import,babel-plugin-proposal-logical-assignment-operators,babel-plugin-proposal-object-rest-spread,babel-plugin-syntax-async-generators,babel-plugin-syntax-bigint,babel-plugin-syntax-dynamic-import,babel-plugin-syntax-json-strings,babel-plugin-syntax-nullish-coalescing-operator,babel-plugin-syntax-object-rest-spread,babel-plugin-syntax-optional-catch-binding,babel-plugin-syntax-optional-chaining,babel-plugin-transform-flow-strip-types,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-react-constant-elements,babel-preset-env-standalone,babel-preset-env,babel-standalone- #10820 Archive syntax plugins enabled by default (@nicolo-ribaudo)
:leftwards_arrow_with_hook: Revert
-
Every package
- #11003 Revert "chore: specify package type (#10849)" (@nicolo-ribaudo)
v7.8.0
:eyeglasses: Spec Compliance
-
babel-parser- #10980 Disallow private name in object elements and TS type elements (@JLHwung)
- #10955 LiteralPropertyName should allow BigIntLiteral (@JLHwung)
- #10953 fix: check await when parsing AsyncArrowBindingIdentifier (@JLHwung)
- #10947 Fix: TopLevelAwait should respect await identifiers defined in sub scope. (@JLHwung)
- #10946 fix: Class Field Initializer should not allow await expression as immediate child (@JLHwung)
-
babel-plugin-proposal-numeric-separator -
babel-generator,babel-parser,babel-plugin-proposal-private-methods- #10456 [parser] Disallow duplicate and undeclared private names (@nicolo-ribaudo)
:boom: Breaking Change
-
babel-types- #10917 (opt-in) Improve @babel/types with env.BABEL_TYPES_8_BREAKING (@nicolo-ribaudo)
:rocket: New Feature
-
babel-standalone -
babel-core- #10783 Add babelrc.json support (@yordis)
- #10903 Add support for babel.config.mjs and .babelrc.mjs (@nicolo-ribaudo)
-
babel-compat-data,babel-preset-env-standalone,babel-preset-env -
babel-helper-module-transforms,babel-plugin-transform-modules-systemjs -
babel-parser- #10817 enable optional chaining by default in @babel/parser (@jackisherwood)
-
babel-cli- #10887 --copy-ignored flag added to CLI (@rajasekarm)
- #9144 Add --out-file-extension option to babel-cli (@eps1lon)
-
babel-core,babel-generator,babel-parser- #10819 Enable nullish coalescing by default in @babel/parser (@layershifter)
-
babel-core,babel-parser- #10843 [parser] enable dynamic import by default (@AbdulAli19)
:bug: Bug Fix
-
babel-node -
babel-plugin-proposal-numeric-separator -
babel-preset-env -
babel-parser -
babel-traverse- #10949 Override toString in case this function is printed (@jayenashar)
-
babel-helper-module-transforms,babel-plugin-transform-modules-commonjs -
babel-traverse,babel-types -
babel-core- #10914 @babel-core: parse should parse only (@kaicataldo)
-
babel-helpers
:nail_care: Polish
-
babel-node -
babel-parser
:memo: Documentation
-
babel-preset-env - Other
- #10973 Added instructions to fork the repo in order to setup. (@sidntrivedi012)
:house: Internal
-
babel-preset-env -
babel-core- #10507 Prepare @babel/core for asynchronicity (@nicolo-ribaudo)
- Other
- #10979 Reduce false negative cases of typescript parser tests (@JLHwung)
- #10976 Update Test262, Flow and TS parser tests (@nicolo-ribaudo)
- #10964 Bump coverage target from 80% to 90% (@nicolo-ribaudo)
- #10958 Fix recent e2e-vuejs-cli error (@JLHwung)
- #10919 Add integration test: e2e-vue-cli (@JLHwung)
- #10943 chore: update test262 (@JLHwung)
- #10918 chore: refine e2e test scripts (@JLHwung)
- #10905 chore: separate build-standalone with coverage (@JLHwung)
- #10898 Move coverage to GitHub actions (@JLHwung)
-
babel-compat-data,babel-helper-compilation-targets,babel-preset-env- #10899 Extract targets parser and compat data from preset-env (@nicolo-ribaudo)
-
babel-parser- #10950 test: add invalid-lone-import test (@JLHwung)
- #10936 refactor: remove unecessary checkYieldAwaitInDefaultParams (@JLHwung)
- #10935 refactor: remove unused invalidTemplateEscapePosition tokenizer state (@JLHwung)
- #10939 TSTypeCastExpression should not be inside call parameters (@JLHwung)
- #10942 Remove unused parser methods (@JLHwung)
- Every package
:leftwards_arrow_with_hook: Revert
v7.7.7
:eyeglasses: Spec Compliance
-
babel-parser- #10576 [parser] validation for parentheses in the left-hand side of assignment expressions (@boweihan)
:bug: Bug Fix
-
babel-plugin-proposal-object-rest-spread -
babel-core -
babel-node- #10871 Allow -r from node_modules with @babel/node (@nicolo-ribaudo)
-
babel-plugin-transform-parameters -
babel-parser- #10828 @babel/parser: fix ImportExpression node to match ESTree spec (@kaicataldo)
- #10827 @babel/parser: fix BigIntLiteral node to match ESTree spec (@kaicataldo)
:nail_care: Polish
:house: Internal
-
babel-generator,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-unicode-property-regex,babel-plugin-syntax-pipeline-operator,babel-plugin-transform-dotall-regex,babel-preset-env-standalone,babel-preset-typescript,babel-standalone - Other
-
babel-preset-env -
babel-parser- #10858 Properly serialize non-json values in parser tests (@nicolo-ribaudo)
-
babel-cli,babel-node,babel-register
:leftwards_arrow_with_hook: Revert
-
babel-plugin-transform-classes,babel-plugin-transform-regenerator,babel-preset-env-
#10839 Use
async-to-generatoreven whenregeneratoris enabled (@nicolo-ribaudo)
-
#10839 Use
v7.7.5
:bug: Bug Fix
-
babel-plugin-transform-modules-commonjs,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2- #10549 Add ".js" extension to injected polyfill imports (@shimataro)
-
babel-cli -
babel-parser- #10801 Use scope flags to check arguments (@JLHwung)
- #10800 Allow tuple rest trailing comma (@yeonjuan)
- #10475 Correctly disambiguate / after async fuctions (@nicolo-ribaudo)
-
babel-parser,babel-plugin-proposal-optional-chaining,babel-plugin-transform-modules-amd- #10806 fix(optional chaining): Optional delete returns true with nullish base (@mpaarating)
-
babel-helper-module-transforms,babel-plugin-transform-modules-amd
:nail_care: Polish
-
babel-plugin-transform-runtime- #10788 Do not transpile typeof helper with itself in babel/runtime (@nicolo-ribaudo)
-
babel-core- #10778 refactor: Improve error message in @babel/core (@jaroslav-kubicek)
:house: Internal
-
babel-preset-env-standalone - Other
-
babel-helper-transform-fixture-test-runner
v7.7.4
:bug: Bug Fix
-
babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #10748 Add support for native esm to @babel/runtime. (@nicolo-ribaudo)
-
babel-preset-env- #10742 Update preset-env mappings. (@existentialism)
-
babel-parser- #10737 Flow enums: fix enum body location. (@gkz)
- #10657 Fix some incorrect typeof parsing in flow. (@existentialism)
- #10582 [parser] Allow optional async methods. (@gonzarodriguezt)
- #10710 register import equals specifier. (@JLHwung)
- #10592 Allow TypeScript type assertions in array destructuring. (@SakibulMowla)
-
babel-preset-env-standalone -
babel-plugin-transform-function-name,babel-plugin-transform-modules-umd,babel-preset-env -
babel-cli -
babel-plugin-proposal-optional-chaining- #10694 Fix optional method chaining in derived classes. (@Shriram-Balaji)
-
babel-parser,babel-types -
babel-traverse- #10598 Fix parentheses on replaceWithMultiple for JSX. (@khoumani)
-
babel-helpers,babel-plugin-proposal-object-rest-spread,babel-preset-env- #10683 Fix: Don't call Object.keys on non-objects (babel#10482). (@chrishinrichs)
:nail_care: Polish
-
babel-plugin-proposal-nullish-coalescing-operator
:house: Internal
- Other
- #10731 Removed duplicate key in package.json. (@rajasekarm)
- #10718 chore: use loose mode of transform. (@JLHwung)
- #10579 Implement PR workflow for running test262 on babel PRs. (@jbhoosreddy)
- #10648 bump @babel/* dev dependencies. (@JLHwung)
- #10569 E2E test Babel with itself before publishing. (@nicolo-ribaudo)
-
babel-core -
babel-plugin-transform-literals,babel-preset-env-standalone -
babel-cli
v7.7.0
:eyeglasses: Spec Compliance
-
babel-types- #10621 throw a TypeError if identifier validation fails. (@dentrado)
-
babel-parser
:rocket: New Feature
-
babel-generator,babel-helper-create-class-features-plugin,babel-parser,babel-plugin-transform-typescript,babel-preset-typescript,babel-types- #10545 Add support for TS declare modifier on fields. (@nicolo-ribaudo)
-
babel-core,babel-parser,babel-preset-typescript- #10363 @babel/parser error recovery. (@nicolo-ribaudo)
-
babel-core- #10599 Add support for .cjs config files. (@nicolo-ribaudo)
- #10501 Add support for babel.config.json. (@devongovett)
- #10361 feat: if code frame error is on a single line, highlight the whole path. (@SimenB)
-
babel-plugin-syntax-top-level-await,babel-preset-env -
babel-helper-builder-react-jsx,babel-plugin-transform-react-jsx,babel-preset-react- #10572 [transform-react-jsx] Add useSpread option to transform JSX. (@ivandevp)
-
babel-generator,babel-parser,babel-plugin-proposal-decorators,babel-plugin-syntax-flow,babel-types -
babel-plugin-transform-function-name,babel-plugin-transform-modules-umd,babel-preset-env- #10477 Changes UMD callsite to be more likely to pass in the intended object.. (@MicahZoltu)
-
babel-parser- #10449 Create parser plugin "topLevelAwait". (@nicolo-ribaudo)
- #10521 [parser] Enable "exportNamespaceFrom" by default. (@nicolo-ribaudo)
- #10483 [parser] Add support for private fields in TypeScript. (@nicolo-ribaudo)
-
babel-generator,babel-parser,babel-types- #10543 add assertions signature for TypeScript. (@tanhauhau)
-
babel-cli,babel-register- #8622 Make dir for babel --out-file. (@TrySound)
-
babel-cli- #10399 Closes #8326, add back --quiet option.. (@chris-peng-1244)
:bug: Bug Fix
-
babel-helpers,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-function-sent,babel-preset-env- #10422 Correctly delegate .return() in async generator. (@nicolo-ribaudo)
-
babel-helper-module-transforms,babel-plugin-transform-modules-commonjs- #10628 Don't throw when destructuring into a var named as an import. (@nicolo-ribaudo)
-
babel-plugin-transform-modules-systemjs -
babel-parser- #10631 [TS] Parse calls with type args in optional chains. (@nicolo-ribaudo)
- #10607 fixed missing errors on assignment pattern in object expression. (@vivek12345)
- #10594 [parser] Parse only modifiers of actual methods. (@gonzarodriguezt)
-
babel-plugin-transform-typescript- #10555 [TS] Correctly transform computed strings and templates in enums. (@nicolo-ribaudo)
-
babel-core -
babel-plugin-proposal-decorators- #10578 [decorators] fix: support string literal properties. (@mwhitworth)
-
babel-helpers,babel-plugin-proposal-dynamic-import,babel-plugin-transform-modules-commonjs,babel-preset-env -
babel-traverse- #9777 [traverse] Allow skipping nodes inserted with .replaceWith(). (@nicolo-ribaudo)
-
babel-preset-env- #10146 Inject core-js@3 imports in Program:exit instead of on post(). (@nicolo-ribaudo)
-
babel-generator- #10519 Fix generator missing parens around an arrow returning function type. (@existentialism)
-
babel-plugin-transform-async-to-generator,babel-preset-env,babel-traverse- #9939 Don't use args rest/spread to hoist super method calls. (@nicolo-ribaudo)
:nail_care: Polish
-
babel-plugin-transform-classes,babel-plugin-transform-regenerator,babel-preset-env- #9481 [preset-env] Don't use async-to-generator when already using regenerator. (@nicolo-ribaudo)
-
babel-helpers,babel-plugin-transform-modules-commonjs,babel-preset-env- #10585 fix(babel‑helpers/interopRequireWildcard): Avoid double nullish check. (@ExE-Boss)
-
babel-register
:house: Internal
-
babel-cli,babel-node -
babel-register -
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 -
babel-preset-env -
babel-helper-module-imports- #10608 Use .find instead of .filter to get targetPath in ImportInjector. (@Andarist)
- Other
- #10600 Test node@13 on circle. (@existentialism)
- #10593 chore: replace outdated travis-ci.org badges [ci skip]. (@JLHwung)
- #10591 chore: test against Node.js 13. (@JLHwung)
- #10556 Add master branch workflow for test262 tests. (@jbhoosreddy)
- #10553 chore: introduce envinfo into environment section. (@JLHwung)
-
babel-runtime- #10418 docs: add homepage link. (@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
:running_woman: Performance
v7.6.4
:eyeglasses: Spec Compliance
-
babel-parser- #10491 Trailing comma after rest - The final fix (@nicolo-ribaudo)
:bug: Bug Fix
-
babel-cli,babel-core,babel-generator,babel-helper-transform-fixture-test-runner- #10536 Revert "chore: Upgrade source-map to 0.6.1 (#10446)" (@nicolo-ribaudo)
v7.6.3
:eyeglasses: Spec Compliance
-
babel-parser- #10469 Disallow await inside async arrow params (@nicolo-ribaudo)
- #10493 [parser] Disallow numeric separators in legacy octal like integers (@gonzarodriguezt)
:rocket: New Feature
-
babel-types- #10504 Add declarations for more of @babel/types exports (@Jessidhia)
:bug: Bug Fix
-
babel-plugin-transform-block-scoping -
babel-parser- #10119 add scope to TSModuleDeclaration (@tanhauhau)
- #10332 Do not allow member expressions to start async arrows (@nicolo-ribaudo)
- #10490 [parser] Don't crash on comment after trailing comma after elision (@nicolo-ribaudo)
-
babel-plugin-transform-react-constant-elements,babel-traverse- #10529 Do not hoist jsx referencing a mutable binding (@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
:nail_care: Polish
-
babel-core
:house: Internal
- Other
-
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 Add windows to travis (@nicolo-ribaudo)
:running_woman: Performance
-
babel-parser - Other
v7.6.2
:eyeglasses: Spec Compliance
-
babel-parser- #10472 added check to disallow super.private variable access and test case added. (@vivek12345)
- #10468 [parser] Disallow numeric separator in unicode scape sequences. (@ivandevp)
- #10467 [parser] Invalid NonOctal Decimal. (@gonzarodriguezt)
-
#10461 [parser] Disallow static fields named
constructor. (@guywaldman) - #10455 [parser] Report escapes in kws only if they won't be used as identifiers. (@nicolo-ribaudo)
:bug: Bug Fix
-
babel-parser- #10445 Leave trailing comments after handling a possible trailing comma. (@nicolo-ribaudo)
-
babel-cli -
babel-core -
babel-plugin-transform-block-scoping,babel-plugin-transform-spread,babel-traverse- #10417 Do not guess relative execution status for exported fns. (@nicolo-ribaudo)
-
babel-plugin-proposal-object-rest-spread,babel-preset-env- #10275 fix object rest in array pattern. (@tanhauhau)
:house: Internal
-
babel-plugin-transform-named-capturing-groups-regex - Other
- #10441 Update GitHub actions to v2. (@nicolo-ribaudo)
- #10427 chore: add lint-ts rule. (@JLHwung)
-
babel-helper-fixtures -
babel-node -
babel-generator,babel-helper-fixtures -
babel-core,babel-plugin-transform-runtime,babel-register- #10405 Remove circular dependency. (@nicolo-ribaudo)
:running_woman: Performance
v7.6.0
:eyeglasses: Spec Compliance
-
babel-generator,babel-parser- #10269 Fix parenthesis for nullish coalescing (@vivek12345)
-
babel-helpers,babel-plugin-transform-block-scoping,babel-traverse- #9498 Fix tdz checks in transform-block-scoping plugin (@nicolo-ribaudo)
:rocket: New Feature
-
babel-core -
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-private-methods -
babel-generator,babel-parser,babel-types -
babel-preset-typescript- #10382 Allow setting 'allowNamespaces' in typescript preset (@dsgkirkby)
-
babel-parser- #10352 Do not register ambient classes to the TS scope (@nicolo-ribaudo)
-
babel-types- #10248 Add static to class property builder (@yuri-karadzhov)
:bug: Bug Fix
-
babel-helpers,babel-plugin-transform-destructuring,babel-plugin-transform-modules-commonjs,babel-preset-env -
babel-plugin-transform-runtime -
babel-preset-env- #10397 Don't polyfill when evaluation is not confident (@rhyzx)
- #10218 [preset-env] Include / exclude module plugins properly (@AdamRamberg)
- #10284 Replace es.string.reverse with es.array.reverse (@epicfaace)
-
babel-plugin-transform-named-capturing-groups-regex -
babel-types- #10098 fix typescript for babel-types (@tanhauhau)
- #10319 Add a builder definition including name for tsTypeParameter (@deificx)
-
babel-parser -
babel-parser,babel-types- #10366 Don't allow JSXNamespacedName to chain (@jridgewell)
-
babel-generator,babel-plugin-transform-typescript,babel-types- #10341 Add TSBigIntKeyword to @babel/types (@nicolo-ribaudo)
-
babel-core,babel-types- #9960 Do not delete "fake" source map comments from strings (@nicolo-ribaudo)
-
babel-plugin-transform-flow-comments- #10329 Fix flow comments plugin issues (@zaygraveyard)
-
babel-helpers,babel-plugin-transform-react-constant-elements -
babel-plugin-proposal-decorators- #10302 fix: register inserted class declaration (@thiagoarrais)
-
babel-plugin-proposal-do-expressions,babel-traverse- #10070 Do expressions transform for switch statements ([@tanhauhau](https://to
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.