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
- #3395 Recognize object rest properties as binding identifiers - Fixes T7178. (@loganfsmyth)
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
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
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