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

@lezer/common

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lezer/common - npm Package Versions

23

1.2.3

Diff

Changelog

Source

1.2.3 (2024-10-16)

Bug fixes

Fix an issue in TreeCursor.iterate that made it iterate through siblings of the current node.

marijn
published 1.2.2 •

Changelog

Source

1.2.2 (2024-10-02)

Bug fixes

Fix a bug in TreeCursor.matchContext where, if the context fell partially in a buffer node and partially in tree nodes, it could return incorrect results.

marijn
published 1.2.1 •

Changelog

Source

1.2.1 (2024-01-16)

Bug fixes

Fix a bug where getChild and getChildren would, if the first and second arguments matched the same node, return incorrect results.

marijn
published 1.2.0 •

Changelog

Source

1.2.0 (2023-12-28)

New features

The new NodeProp.isolate can be used by parser to signal that a given node should be treated as isolated when it comes to bidirectional text rendering.

marijn
published 1.1.2 •

Changelog

Source

1.1.2 (2023-12-07)

Bug fixes

Fix a crash that could happen in mixed-language parsing when mounting a tree to a zero-length node.

marijn
published 1.1.1 •

Changelog

Source

1.1.1 (2023-11-10)

Bug fixes

Fix a bug where resolveStack could sometimes yield the same node multiple times.

Allow mixed-parsing trees to be mounted for zero-length nodes.

Fix a bug in mixed-language parsing that could some parts of an inner language to be missed when incrementally reparsing from a stopped parse.

In Tree.build, when given an extremely deeply nested tree structure, flatten it instead of overflowing the stack.

marijn
published 1.1.0 •

Changelog

Source

1.1.0 (2023-09-19)

New features

The new Tree.resolveStack method returns an iterator through the nodes covering a position, including those from overlays not active at that point.

marijn
published 1.0.4 •

Changelog

Source

1.0.4 (2023-08-17)

Bug fixes

Make the package usable in TypeScript with node16/nodenext resolution.

marijn
published 1.0.3 •

Changelog

Source

1.0.3 (2023-06-02)

Bug fixes

Tree.iterate now properly includes anonymous nodes when IterMode.IncludeAnonymous is enabled.

marijn
published 1.0.2 •

Changelog

Source

1.0.2 (2022-11-23)

Bug fixes

Fix a bug in mixed parsing that would sometimes produce invalid trees.

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