Skip to content

Releases: babel/babel

v6.3.2

04 Dec 19:12
Compare
Choose a tag to compare
  • Bug Fix
    • babel-core:
      • #3108 Omit sourcemaps that cannot be used and fix source path.
    • babel-register:
      • #3116 Disable processing .babelrc a second time.
    • babel-traverse:
      • #3127 Ensure we always push into a BlockStatement (fixes a babel-plugin-transform-class-properties issue).
    • babel-plugin-transform-class-properties:
      • #3113 Fix issue with using static class properties.
    • babel-plugin-transform-es2015-classes:
      • #3112 Fix issue with return super() in class constructor causing a super() hasn't been called error.
    • babel-plugin-transform-inline-environment-variables:
      • Fix typo with replaceWith.
    • babel-plugin-transform-regenerator:
      • #3119 Ensure that generator functions always have an Identifier (fixes an issue with exporting a generator as a default).

v6.3.1

04 Dec 19:13
Compare
Choose a tag to compare
  • Bug Fix
    • babel-generator:
      • #3121 Fix spacing in binary expression when right is a binary expression and has a unary on the left in compact mode. Ex: (a+(+b*2)) should be -> a+ +b*2

v6.3.0

04 Dec 19:13
Compare
Choose a tag to compare
  • Bug Fix
    • Fix use of old literal to use stringLiteral in babel-types.
    • Fix issue with babel-template crashing in IE due to unpopulated error stack.
    • Check for empty decorators list in transform-class-properties
    • Fix babylon parser not allowing multiple parameters in arrow functions with flow types
    • Fix exported async functions being hoisted and as a result being undefined.
  • Polish
    • Add validation to more JSX node types.
    • Add validation for CallExpression, NewExpression, SequenceExpression, ArrayExpression, and TemplateLiteral.
    • Add ObjectMember abstract type to AST for ObjectProperty and ObjectMethod.
    • Optimize asyncToGenerator helper template.
    • Respect spacing for assignment, binary expressions, and while loop in compact mode.
    • Fix up semicolon omission in compact mode.