npm babel-traverse 6.6.4

latest releases: 7.0.0-beta.3, 7.0.0-beta.2, 7.0.0-beta.1...
8 years ago

6.6.4 (2016-03-02)

Some more fixes!

Bug Fix

  • babel-plugin-transform-es2015-duplicate-keys
    • #3388 Partial T7173 Fix: Prevent accessors being seen as duplicates of each other. (@AgentME)
// sample code that was erroring
const obj = {
  set a (a) {
    values.a = a;   
  },
  get a () {
    return values.a;
  }
};
  • babel-core
    • #3350 Make Babel actually resolve plugins relative to where they were specified (via .babelrc).. (@skevy)
// .babelrc
{
  "plugins": ["./myPluginDir/somePlugin.js"]
}

Babel will now resolve the plugin above relative to the directory that contains the .babelrc file rather than the process.cwd().

Internal

Users were getting error reports with flow when running on Babel's codebase. (Ref T7114) - Will be adding it back into the codebase itself soon.

Don't miss a new babel-traverse release

NewReleases is sending notifications on new releases.