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

@lezer/lr

Package Overview
Dependencies
Maintainers
1
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

134

1.3.7

Diff

Changelog

Source

1.3.7 (2023-06-22)

Bug fixes

Fix a bug where the parser could skip characters while tokenizing in a local token group.

marijn
published 1.3.6 •

Changelog

Source

1.3.6 (2023-06-02)

Bug fixes

Fix an issue where context-tracking parsers, in specific circumstances, could create incorrectly nested trees.

marijn
published 1.3.5 •

Changelog

Source

1.3.5 (2023-05-25)

Bug fixes

Fix an issue where some grammars could make the parser unable to force reductions on invalid input, leading to trees that were missing some wrapping nodes around the broken input.

marijn
published 1.3.4 •

Changelog

Source

1.3.4 (2023-04-24)

Bug fixes

Fix tokenizing of @else tokens that span separate input ranges.

marijn
published 1.3.3 •

Changelog

Source

1.3.3 (2023-02-02)

Bug fixes

Fix a crash when parsing a non-atomic skippable at the top of a nested parse.

Fix a bug that caused the tree-depth limit on left-associative rules to be applied to rules generated for repeat operators.

marijn
published 1.3.2 •

Changelog

Source

1.3.2 (2023-01-31)

Bug fixes

Place a limit on the amount of (non-recovering) parse stacks active at the same time to avoid exponential slowdown on inputs that nest ambiguous constructs.

Reduce the maximum left-associative nesting depth, since the old value could still cause Chrome (but not Firefox) to overflow its call stack.

marijn
published 1.3.1 •

Changelog

Source

1.3.1 (2023-01-13)

Bug fixes

Fix a bug that could corrupt the parse stack when parsing a non-single-token skippable expression from the initial parse state.

marijn
published 1.3.0 •

Changelog

Source

1.3.0 (2023-01-09)

Bug fixes

Avoid the problem of huge numbers of repeated left-associative operator applications creating a stack too deep to recurse on by detecting such parses and force-reducing out of them.

New features

Add support for grammars that use @local tokens declarations.

marijn
published 1.2.5 •

Changelog

Source

1.2.5 (2022-11-16)

Bug fixes

Fix a bug that made Stack.canShift incorrectly return true in some circumstances.

marijn
published 1.2.4 •

Changelog

Source

1.2.4 (2022-11-05)

Bug fixes

Fix a tokenizer bug that broke tokenizing of the character \uffff.

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