Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 May 20:10
8ac8131

Breaking Changes

  • babel-walk no longer supports node ` 10.0.0 (#4)

  • babel-walk has been renamed (from babylon-walk) (#4)

  • babel-walk no longer supports the union style syntax for defining walkers (#4)

    You can still uses aliases e.g. Expression and Function but you can no longer use things like NumberLiteral|StringLiteral. This is because they are incompatible with TypeScript and (slightly) reduce performance.

  • ancestors no longer replace falsy state in the ancestor walk. You are always passed all 3 parameters (#4)

New Features

  • TypeScript definitions for all 3 walk functions (#4)

Bug Fixes

  • No longer depends on the out of date version of @babel/runtime (#4)