- update
esprima
to 4.0.1 to handle async/await. - remote
test/
files from deploy.
- Ignore TryStatement's "handlers" property in favor of "handler"
- allow custom parser. (#27)
- make it compatible with esprima@2.1 (don't loop through the same CatchClause twice).
- updated
esprima
to v2.0 because of ES6 features and to avoidesprima-fb
bug related to RegExp.
- aliased
rocambole.recursive
asrocambole.walk
to avoid confusions. - switched
esprima
dependency toesprima-fb
because of ES6 features.
- really handle sparse arrays (eg.
[,]
), fixes moonwalk. (#15)
- handle sparse arrays (eg.
[,]
). (#15)
- only add
BlockComment.originalIndent
ifWhiteSpace
is on the start of a line.
- add
toString
to empty programs AST (#16)
- exports
BYPASS_RECURSION
(#8) - fix error if input is empty (#12)
- support anything that implements
toString()
as input (#13)
- fix
originalIndent
onBlockComment
when prev token is notWhiteSpace
.
- add
originalIndent
toBlockComment
(#11)
- improve
rocambole.parse()
performance by 4500%. (#4) - improve
rocambole.moonwalk()
performance by 11000%.
- fix consecutive comments before start of program. (#3)
- fix
loc
info onWhiteSpace
andLineBreak
tokens. (#2)
- Deprecated:
token.before()
token.after()
token.remove()
node.getTokens()
ast.nodes
- avoid recursion over comments.
- fix weird bug on esformatter introduced on v0.1.1 related to
token._ast
property.
- Improve token manipulation methods behavior (
before
,after
,remove
)
- Initial release