Skip to content

v6.6.5

Compare
Choose a tag to compare
@hzoo hzoo released this 04 Mar 23:20
· 9610 commits to main since this release

6.6.5 (2016-03-04)

And.. some more bug fixes!

Bug Fix

  • babel-plugin-transform-es2015-computed-properties
// lead to `ReferenceError: b is not defined` at runtime
var obj = {
  ["a"]: 5,
  set b(x) { console.log('set b', x); }
};

obj.b = 55;
  • babel-plugin-transform-object-rest-spread, babel-types
import props from 'props';
console.log(props);

(function(){
  const { ...props } = this.props;

  console.log(props); // props was referencing the imported props rather than in object spread
})();
  • babel-plugin-transform-es2015-block-scoping
    • #3389 Update scope binding info after transforming block-scoped bindings. (@amasad)

Scope binding info wasn't updated after converting const/let/block bindings to var which could lead to errors with other transforms.

Internal

  • #3398 Revert "Remove flow". (@amasad)
  • #3397 Make sure lib is clean before publishing. (@hzoo)
  • babel-core, babel-plugin-transform-es2015-block-scoping, babel-plugin-transform-es2015-classes
    • #3399 use flow instead of flow-comments. (@hzoo)
  • babel-plugin-transform-es2015-modules-amd, babel-plugin-transform-es2015-modules-commonjs, babel-plugin-transform-es2015-modules-umd

Commiters: 5

AgentME, amasad, benjamn, hzoo, loganfsmyth