Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lezer/generator

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lezer/generator - npm Package Versions

13

1.2.3

Diff

Changelog

Source

1.2.3 (2023-04-28)

Bug fixes

Make sure the Rollup plugin imports the rest of the library using a full file path.

Make --help show the correct executable name.

marijn
published 1.2.2 •

Changelog

Source

1.2.2 (2023-01-18)

Bug fixes

Make sure require isn't used as an identifier in generator output.

marijn
published 1.2.1 •

Changelog

Source

1.2.1 (2023-01-13)

Bug fixes

Fix an invalid optimization that sometimes led to incomplete token precedence tables, leading to incorrect tokenization.

marijn
published 1.2.0 •

Changelog

Source

1.2.0 (2023-01-09)

Bug fixes

Fix a bug where the error to use () to denote empty options in a choice expression was signalled even when that is what the input did.

New features

Grammars can now declare @local tokens blocks defining all the tokens that may appear in a set of state, and allowing @else tokens that match everything else.

marijn
published 1.1.3 •

Changelog

Source

1.1.3 (2022-11-07)

Bug fixes

Fix broken Rollup plugin due to a bad import.

marijn
published 1.1.2 •

Changelog

Source

1.1.2 (2022-11-07)

Bug fixes

Fix a bug where the _ notation in tokens would match only half of a surrogate pair.

Fix a bug that caused invalid tokenizer data to be generated for character ranges ending in \uffff.

marijn
published 1.1.1 •

Changelog

Source

1.1.1 (2022-08-03)

Bug fixes

Emit enough information about external specializers to make ParserConfig.specializers fixable.

marijn
published 1.1.0 •

Changelog

Source

1.1.0 (2022-06-27)

New features

Things that used to be written like std.digit are now written @digit. The old notation will remain available until a breaking release.

The new @eof marker can be used in tokens to match the end of the input.

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)

Bug fixes

Fix an issue in the tokenizer for grammars that could cause it to run very slowly on some inputs.

New features

A grammar can now include an @external propSource a from "b" declaration to import a programmatically defined node prop source.

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc