v2.0.0
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
andFunction
but you can no longer use things likeNumberLiteral|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)