Skip to content

Tags: lezer-parser/javascript

Tags

1.4.21

Version 1.4.21

### Bug fixes

Add support for `const` modifiers on TypeScript type parameters.

Allow TypeScript  syntax, where the condition is just a variable.

Fix a bug where some TypeScript `<` tokens didn't appear in the syntax tree.

1.4.20

Version 1.4.20

### Bug fixes

Use the `className` style tag for variable names used as constructors with `new`.

Add support for `asserts` syntax in function return types.

1.4.19

Version 1.4.19

### Bug fixes

Support question marks after method names in TypeScript object type notation.

Support bracketed property names in TypeScript object types.

Allow TypeScript interface declarations to extend multiple types.

1.4.18

Version 1.4.18

### Bug fixes

Support `as` syntax in mapped object types.

Make sure the parser doesn't get confused when a template interpolation is missing its expression.

1.4.17

Version 1.4.17

### Bug fixes

Add support for `{-readonly [K in T]-?: U}` TypeScript syntax.

1.4.16

Version 1.4.16

### Bug fixes

Don't consume `?.` tokens when followed by a digit.

Support type arguments on non-call expressions.

1.4.15

Version 1.4.15

### Bug fixes

Add support for `new.target` syntax.

1.4.14

Version 1.4.14

### Bug fixes

Recognize the `d` and `v` RegExp flags. Support destructured parameters in function types

Allow destructured parameters in function signature types.

1.4.13

Version 1.4.13

### Bug fixes

Fix inverted relative precedence of `&`, `|`, and `^` bitwise operators.

Add an explicit dependency on @lezer/common ^1.2.0.

1.4.12

Version 1.4.12

### Bug fixes

Mark strings, comments, and interpolations as isolating for bidirectional text.