Socket
Socket
Sign inDemoInstall

@lezer/javascript

Package Overview
Dependencies
3
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous124Next

1.3.0

Diff

Changelog

Source

1.3.0 (2022-11-28)

New features

Add support for decorator syntax.

marijn
published 1.2.0 •

Changelog

Source

1.2.0 (2022-11-24)

New features

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

marijn
published 1.1.1 •

Changelog

Source

1.1.1 (2022-11-19)

Bug fixes

Fix parsing of computed properties in class declarations.

marijn
published 1.1.0 •

Changelog

Source

1.1.0 (2022-11-17)

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.

marijn
published 1.0.2 •

Changelog

Source

1.0.2 (2022-07-21)

Bug fixes

Properly assign a highlighting tag to the super keyword.

marijn
published 1.0.1 •

Changelog

Source

1.0.1 (2022-06-27)

Bug fixes

Fix parsing of TypeScript conditional types.

Support type parameters in TypeScript function type syntax.

marijn
published 1.0.0 •

Changelog

Source

1.0.0 (2022-06-06)

New features

First stable version.

marijn
published 0.16.0 •

Changelog

Source

0.16.0 (2022-04-20)

Breaking changes

Move to 0.16 serialized parser format.

Bug fixes

Allow commas as separators in TypeScript object type syntax.

New features

Add CatchClause and FinallyClause nodes wrapping parts of TryStatement.

The parser now includes syntax highlighting information in its node types.

marijn
published 0.15.3 •

Changelog

Source

0.15.3 (2022-01-26)

Bug fixes

Support missing values in array pattern syntax.

Support quoted module export names.

New features

Template string interpolations now get their own nodes in the syntax tree.

marijn
published 0.15.2 •

Changelog

Source

0.15.2 (2021-12-08)

Bug fixes

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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc