@lezer/javascript
Advanced tools
Changelog
1.2.0 (2022-11-24)
The grammar now supports top: "SingleExpression"
to parse an expression rather than a script.
Changelog
1.1.1 (2022-11-19)
Fix parsing of computed properties in class declarations.
Changelog
1.1.0 (2022-11-17)
Fix parsing of 'null' as type in TypeScript.
Allow computed properties in object destructuring patterns.
Add TypeScript 4.9's satisfies
operator.
Support accessor
syntax on class properties.
Add support for optional call syntax.
Distinguish lower-case JSX element names syntactically, give them a standard(tagName)
highlight tag.
Changelog
1.0.1 (2022-06-27)
Fix parsing of TypeScript conditional types.
Support type parameters in TypeScript function type syntax.
Changelog
0.16.0 (2022-04-20)
Move to 0.16 serialized parser format.
Allow commas as separators in TypeScript object type syntax.
Add CatchClause
and FinallyClause
nodes wrapping parts of TryStatement
.
The parser now includes syntax highlighting information in its node types.
Changelog
0.15.3 (2022-01-26)
Support missing values in array pattern syntax.
Support quoted module export names.
Template string interpolations now get their own nodes in the syntax tree.