Skip to content

Tags: NullVoxPopuli/javascript

Tags

1.4.3

Toggle 1.4.3's commit message
Version 1.4.3

### Bug fixes

Properly parse `this: Type` within parameter lists for TypeScript.

1.4.2

Toggle 1.4.2's commit message
Version 1.4.2

### Bug fixes

Properly parse `declare` in front of class properties and methods in TypeScript.

1.4.1

Toggle 1.4.1's commit message
Version 1.4.1

### Bug fixes

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).

1.4.0

Toggle 1.4.0's commit message
Version 1.4.0

### New features

The new `"SingleClassItem"` top-level rule can be used to parse only a class item (method, property, or static block).

1.3.2

Toggle 1.3.2's commit message
Version 1.3.2

### Bug fixes

Typescript allows `override` on all class elements, not just methods.

Allow expressions in class extends clauses in TypeScript.

1.3.1

Toggle 1.3.1's commit message
Version 1.3.1

### Bug fixes

Actually emit a tree node for the `@` characters in decorators.

1.3.0

Toggle 1.3.0's commit message
Version 1.3.0

### New features

Add support for decorator syntax.

1.2.0

Toggle 1.2.0's commit message
Version 1.2.0

### New features

The grammar now supports `top: "SingleExpression"` to parse an expression rather than a script.

1.1.1

Toggle 1.1.1's commit message
Version 1.1.1

### Bug fixes

Fix parsing of computed properties in class declarations.

1.1.0

Toggle 1.1.0's commit message
Version 1.1.0

### Bug fixes

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.

### New features

Add support for  optional call syntax.

Distinguish lower-case JSX element names syntactically, give them a `standard(tagName)` highlight tag.