Releases: SBoudrias/AST-query
Releases · SBoudrias/AST-query
v2.0.0
10 Jun 04:28
Compare
Sorry, something went wrong.
No results found
Update AST parser to Acorn
Added tree.verbatim() function to allow inserting unparsed code like JSX syntax, etc
v1.2.0
15 Mar 07:23
Compare
Sorry, something went wrong.
No results found
Capacity to match assignment, var and callExpression with RegEx.
Example:
tree . var ( / ^ s e l e c t e d [ A - Z ] + / ) ;
v1.1.1
15 Mar 07:15
Compare
Sorry, something went wrong.
No results found
Esprima options passed are now also correctly applied to code appended/modified on the three object.
v1.1.0
23 Dec 19:14
Compare
Sorry, something went wrong.
No results found
Allow passing Esprima options to the tree object in order to parse modules as ES6 (by defining the sourceType).
v1.0.1
18 Feb 07:16
Compare
Sorry, something went wrong.
No results found
Fix bug where a CallExpression object couldn't be empty.
v1.0.0
18 Feb 06:55
Compare
Sorry, something went wrong.
No results found
Add ArrayExpression#value() method.
ArrayExpression items are now available on the elements property
Major bump mostly to follow semver and better match npm version semantic. Also this module interface have been pretty stable for a while now.
v0.3.1
25 Jan 22:50
Compare
Sorry, something went wrong.
No results found
Maintenance update: code/build cleanup and dependencies bump
v0.3.0
19 Sep 06:34
Compare
Sorry, something went wrong.
No results found
Feature
Add ability to pass escodegen options (output code formatting) to the program constructor.
v0.2.5
19 Sep 06:23
Compare
Sorry, something went wrong.
No results found
Fix bug with prepend losing order. See #12
0.2.4
07 May 06:05
Compare
Sorry, something went wrong.
No results found
Keep comments in the AST
Allow Buffer as input
Fix bugs