github babel/babel v7.12.13

latest releases: v7.26.2, v7.26.1, v8.0.0-alpha.13...
3 years ago

v7.12.13 (2021-02-03)

Thanks @bradzacher, @bz2, @ChALkeR, @FauxFaux, @fedeci, @karansapolia, @panzarino, @shrinktofit, and @Zalathar for your first PRs!

👓 Spec Compliance

  • babel-parser
    • #12661 spec: disable await binding identifier within static block (@JLHwung)
  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-private-methods, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
    • #12689 fix: throw error when accessing private method without a getter (@fedeci)
  • babel-plugin-transform-computed-properties, babel-plugin-transform-shorthand-properties

🐛 Bug Fix

  • babel-plugin-proposal-class-properties, babel-traverse
  • babel-plugin-proposal-class-properties, babel-plugin-transform-classes
  • babel-parser, babel-template
    • #12725 Permit %%placeholder%% in left-hand-side of a let declaration (@Zalathar)
  • babel-core, babel-helper-transform-fixture-test-runner, babel-register
  • babel-parser
    • #12686 (ts) Raise syntax error for an abstract method in non-abstract class (@sosukesuzuki)
    • #12684 fix(parser): throw error with wrong typescript 'export declare' (@fedeci)
    • #12520 Raise recoverable error for await expressions in sync functions (@sosukesuzuki)
    • #12678 fix: start TypePredicate node after returnToken (@JLHwung)
    • #12599 @babel/preset-typescript: fix tsx assigment issue (@Zzzen)
    • #12562 [ts]Add optional property to OptionalCallExpression node that has type arguments (@sosukesuzuki)
  • babel-helpers, babel-plugin-transform-classes
  • babel-generator
    • #12653 fix: avoid line breaks between class members head and key (@JLHwung)
  • babel-register
  • babel-node
  • babel-types
    • #12602 fix: cloneNode(deep, withoutLoc) handles absent comments (@FauxFaux)
    • #12575 Use isIdentifierChar instead of regex for toIdentifier (@mischnic)
  • babel-plugin-transform-modules-systemjs
  • babel-plugin-transform-for-of
  • babel-helper-create-class-features-plugin, babel-helper-replace-supers, babel-plugin-transform-classes
    • #12544 Correctly access shadowed class binding in super.* (@Zzzen)
  • babel-helper-module-imports, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx

💅 Polish

  • babel-helper-transform-fixture-test-runner, babel-parser, babel-preset-env
    • #12716 refactor: raise AwaitNotInAsyncContext when an AwaitExpression will be parsed (@JLHwung)
  • babel-cli, babel-core, babel-parser
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-private-methods
  • babel-helper-compilation-targets, babel-preset-env
  • babel-code-frame
    • #12567 fix(code-frame): do not pad gutter of empty lines (@SimenB)

📝 Documentation

🏠 Internal

  • babel-traverse, babel-types
  • babel-register
  • Other
  • babel-generator, babel-preset-env
  • babel-core, babel-helper-compilation-targets, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-regenerator, babel-preset-env

🔬 Output optimization

  • babel-plugin-transform-modules-commonjs, babel-plugin-transform-template-literals, babel-plugin-transform-unicode-escapes, babel-preset-env
  • babel-plugin-transform-react-jsx
    • #12557 Optimize jsx spreads of object expressions (@bz2)

Committers: 22

Don't miss a new babel release

NewReleases is sending notifications on new releases.