Releases: tdewolff/parse
Releases · tdewolff/parse
v2.7.5
v2.7.4
v2.7.3
v2.7.2
v2.7.1
v2.7.0
- Remove error prefix for some lexers/parsers
- JS: improve output of ast.JS
- Refactor ast.JS(), ast.JSWriteTo(), and ast.JSON() functions, removing ~50% of superfluous and duplicate code; JS and JSON now both take an io.Writer
- JS: fail if throw statement is not followed (without line terminator) by an expression
- JS: fail if arrow parameters are a valid expression but invalid as parameters
- JS: don't allow yield expression in arrow function body
- JS: fix arrow parameter conversion
- JS: fix import/export with empty named imports
- JS: throw error for unterminated comments
- JS: support Return and Default syntax parameters
- JS: fail for arrow function with BindingIdentifier as argument, where yield isn't allowed
- JS: fix bug for valid 'async()'
- JS: fix Yield, Await, Default syntax parameters for export statements
- JS: fix Await and Yield syntax parameters for ArrowFunc
- JS: fix panic when 'for(let ' has bad syntax
- Improvements in strconv
v2.6.8
v2.6.7
v2.6.6
v2.6.5
- JS: add ast JSWriteTo method
- JS: fix MethodDecl JSWriteTo method has extra spaces, add JSWriteTo test
- JS: synchronous JS method is implemented to JSWriteTo, and related test cases
- Don't replace & => & when followed by character that could be an entity (some browsers allow entities without closing semicolon)