v6.0.0-alpha.1
Pre-release
Pre-release
This is a pre-release that is under heavy development. Please report any issues you might encounter here: #576
Bug Fixes
- Fix for expressionTo with Spread and Methods (5f3da8c)
- Remove obsolete id check (66961d8)
- Remove usage of ast-type builders (17c8a9c)
Features
- Migrate to TypeScript (7b35e6f)
- Remove building out of scope AST Nodes from resolveToValue (5bcf56c)
BREAKING CHANGES
resolveToValue
will not create aMemberExpression
for targets ending in destructuring. It will now simply resolve to theIdentifier
inside the destructuring. Use new helperisDestructuringAssignment
to further check this identifier.- The helpers
resolveObjectValuesToArray
andresolveObjectKeysToArray
return nowstring[]
instead of aNodePath