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

23

1.7.1

Diff

Changelog

Source

1.7.1 (2024-06-19)

Bug fixes

Fix a bug that broken references to tokens in local token groups.

marijn
published 1.7.0 •

Changelog

Source

1.7.0 (2024-03-12)

Bug fixes

Include type declarations for the Rollup plugin.

Named or @export-ed specialized tokens are now available in the terms file.

New features

The generator now emits a warning when rules generate a lot of different variants (usually due to a combinatory explosion of ? and | operators).

marijn
published 1.6.0 •

Changelog

Source

1.6.0 (2024-01-08)

Bug fixes

Fix an issue where the generator could output invalid JavaScript when a specialization used a string that started with a number.

Adjust TypeScript output to compile with recent tsc versions. Add a test for zero-length node mounts

New features

Support an exportName option to the Rollup plugin.

marijn
published 1.5.1 •

Changelog

Source

1.5.1 (2023-09-15)

Bug fixes

Fix a quadratic complexity in state merging.

marijn
published 1.5.0 •

Changelog

Source

1.5.0 (2023-08-20)

Bug fixes

Fix a build issue that made the ES version of the Rollup plugin fail to load.

New features

The new typeScript option to buildParserFile (and --typeScript option to lezer-generator) makes the tool emit TypeScript code.

marijn
published 1.4.2 •

Changelog

Source

1.4.2 (2023-08-17)

Bug fixes

Fix a regression in the build process that caused the Rollup plugin to not be part of the npm package.

marijn
published 1.4.1 •

Changelog

Source

1.4.1 (2023-08-17)

Bug fixes

Make this package usable in TypeScript setups with node16/nodenext resolution.

marijn
published 1.4.0 •

Changelog

Source

1.4.0 (2023-08-11)

New features

BuildOptions.contextTracker now takes a function, so that the code that produces it has access to the term IDs.

marijn
published 1.3.0 •

Changelog

Source

1.3.0 (2023-06-15)

New features

The test utilities can now be imported as "@lezer/generator/test".

marijn
published 1.2.4 •

Changelog

Source

1.2.4 (2023-06-12)

Bug fixes

Fix a bug where precedences specified for local tokens were not properly applied.

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