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

@lezer/lr

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lezer/lr - npm Package Versions

234

1.4.2

Diff

Changelog

Source

1.4.2 (2024-07-27)

Bug fixes

Fix a tree corruption issue caused by lookahead records in some circumstances.

marijn
published 1.4.1 •

Changelog

Source

1.4.1 (2024-05-30)

Bug fixes

Fix a bug where incremental parsing could inappropriately reuse a node when it ended in a repeat or optional part, and was followed by a sequence of skipped nodes longer than 25 characters.

marijn
published 1.4.0 •

Changelog

Source

1.4.0 (2024-01-22)

New features

The new InputStream.acceptTokenTo method allows a tokenizer to create a token that ends at some absolute position.

marijn
published 1.3.14 •

Changelog

Source

1.3.14 (2023-11-02)

Bug fixes

Further reduce maximum parse depth—the old limit could still cause the tree building function to overflow the stack on V8 when all rules on the stack produce actual visible tree nodes.

marijn
published 1.3.13 •

Changelog

Source

1.3.13 (2023-10-03)

Bug fixes

The parser will now emit an error node when it reaches the end of the top rule but not the end of the input, and restarts parsing the top rule.

Fix an issue that could, when error-recovery happened after a skipped token, cause the parser to emit nodes whose start position was after their end position.

marijn
published 1.3.12 •

Changelog

Source

1.3.12 (2023-09-22)

Bug fixes

Reduce tree depth limit to avoid V8 overflowing its stack.

marijn
published 1.3.11 •

Changelog

Source

1.3.11 (2023-09-19)

Bug fixes

When parsing input ranges with gaps, don't treat the token after a gap as covering the entire gap.

marijn
published 1.3.10 •

Changelog

Source

1.3.10 (2023-08-17)

Bug fixes

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

marijn
published 1.3.9 •

Changelog

Source

1.3.9 (2023-07-03)

Bug fixes

Fix another issue in the way local token groups and input gaps interact.

marijn
published 1.3.8 •

Changelog

Source

1.3.8 (2023-07-03)

Bug fixes

Fix an issue that caused incorrect trees to be emitted when a forced reduction happened inside a skipped term.

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