6.8.0 (2016-05-02)
Babel is now compiled with Babel 6!
Why this is relevant
TLDR: This fixes the npm deduping issues regarding babel-runtime 5 and 6.
- Because all Babel packages were compiled with Babel 5 and using babel-runtime@5, npm can't dedupe any of them given if a consumer of Babel also added a dependency on babel-runtime@6.
Example:
└─┬ babel-plugin-transform-exponentiation-operator@6.5.0
├─┬ babel-helper-builder-binary-assignment-operator-visitor@6.6.5
│ ├─┬ babel-helper-explode-assignable-expression@6.6.5
│ │ └── babel-runtime@5.8.38
│ └── babel-runtime@5.8.38
├─┬ babel-plugin-syntax-exponentiation-operator@6.5.0
│ └── babel-runtime@5.8.38
└── babel-runtime@5.8.38
Now it should be more like:
└─┬ babel-runtime@6.8.0
└─┬ babel-plugin-transform-exponentiation-operator@6.8.0
├─┬ babel-helper-builder-binary-assignment-operator-visitor@6.8.0
│ ├─┬ babel-helper-explode-assignable-expression@6.8.0
├─┬ babel-plugin-syntax-exponentiation-operator@6.8.0
Related issues: T7252, T7275, T6689, sindresorhus/ava#660, vuejs/vue-loader#96, etc.
Internal
- #3438 Self host on babel6. (@hzoo)
- #3477 turn transform into a simple
for
loop. (@mattkrick)