Fix inverted relative precedence of &
, |
, and ^
bitwise operators.
Add an explicit dependency on @lezer/common ^1.2.0.
Mark strings, comments, and interpolations as isolating for bidirectional text.
In TSX mode, parse <T,>
or <T extends U>
as type parameters, not JSX tags.
Support |
and &
as prefixes in TypeScript types.
Allow default
to be used in import
/export
binding sets.
Properly highlight using
as a keyword.
Properly parse hashbang comments.
Make sure that, in TypeScript, type argument lists are prefered over comparison operators when both produce valid parses.
Allow the index in a TypeScript indexed type to be any kind of type.
Add support for using
syntax.
Make the package work with new TS resolution styles.
Properly parse this: Type
within parameter lists for TypeScript.
Properly parse declare
in front of class properties and methods in TypeScript.
Fix a bug where something like yield [1]
(or await
) was parsed as a member expression.
Add support for yield*
syntax.
Escapes in strings are now parsed as their own tokens (and styled with the escape
tag).
The new "SingleClassItem"
top-level rule can be used to parse only a class item (method, property, or static block).
Typescript allows override
on all class elements, not just methods.
Allow expressions in class extends clauses in TypeScript.
Actually emit a tree node for the @
characters in decorators.
Add support for decorator syntax.
The grammar now supports top: "SingleExpression"
to parse an expression rather than a script.
Fix parsing of computed properties in class declarations.
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.
Properly assign a highlighting tag to the super
keyword.
Fix parsing of TypeScript conditional types.
Support type parameters in TypeScript function type syntax.
First stable version.
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.
Support missing values in array pattern syntax.
Support quoted module export names.
Template string interpolations now get their own nodes in the syntax tree.
Fix a typo in the TaggedTemplateExpression
node name. Support n suffixes after non-decimal integers
Add support for non-decimal bignum literals ().
Add support for static class initialization blocks.
Add support for TypeScript import {type X} from y
syntax.
Indexed TypeScript types can now take type parameters.
Add support for private field syntax.
Rename PropertyNameDefinition node to PropertyDefinition for consistency with other names.
Recognize TypeScript 4.3's override
keyword.
The module's name changed from lezer-javascript
to @lezer/javascript
.
Upgrade to the 0.15.0 lezer interfaces.
Fixes a bug where arrow functions with expression bodies would include commas after the expression.
Wrap escaped JSX attribute values in a JSXEscape
node.
Fix parsing of async function expressions.
Fix versions of lezer packages depended on.
Adjust to changed serialized parser format.
Fix lezer depencency versions
Follow change in serialized parser format.
Fix associativity of else
and ternary operators.
Work around accidental ambiguity of TypeScript method and constructor signatures.
Properly parse ??=
as an update operator.
Upgrade to 0.10 parser serialization
The gammar now supports TypeScript (use the "ts"
dialect).
The grammar can now parse JSX syntax (use the "jsx"
dialect).
Fix accidental use of non-ES5 library methods.
Upgrade to 0.9 parser serialization
Fix the package.json main
field pointing at the wrong file, breaking the library in node versions older than 13.
Regenerate parser with a fix in lezer-generator so that the top node prop is properly assigned.
Make the package load as an ES module on node
Provide an ES module file.
Add support for the spread ... operator in array literals.
Follow 0.8.0 release of the library.
Add support for nullish coalescing and optional chaining.
Use the lezer 0.7.0 parser format.
Regenerate with lezer-generator 0.5.2 to avoid cyclic forced reductions.
Fix top prop missing from build output.
Move from lang
to top
prop on document node.
Adjust to 0.4.0 parse table format.
Go back to node names, add props, follow changes in grammar syntax.
Use tags rather than names.
First documented release.