Socket
Socket
Sign inDemoInstall

lezer-tree

Package Overview
Dependencies
0
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous13Next

0.9.0

Diff

Changelog

Source

0.9.0 (2020-06-08)

Breaking changes

Drop NodeProp.delim in favor of NodeProp.openedBy/closedBy.

marijn
published 0.8.4 •

Changelog

Source

0.8.4 (2020-04-01)

Bug fixes

Make the package load as an ES module on node

marijn
published 0.8.3 •

Changelog

Source

0.8.3 (2020-02-28)

New features

The package now provides an ES6 module.

marijn
published 0.8.2 •

Changelog

Source

0.8.2 (2020-02-26)

Bug fixes

Fix a bug that caused applyChanges to include parts of the old tree that weren't safe to reuse.

marijn
published 0.8.1 •

Changelog

Source

0.8.1 (2020-02-14)

Bug fixes

Fix bug that would cause tree balancing of deep trees to produce corrupt output.

marijn
published 0.8.0 •

Changelog

Source

0.8.0 (2020-02-03)

New features

Bump version along with the rest of the lezer packages.

marijn
published 0.7.1 •

Changelog

Source

0.7.1 (2020-01-23)

Bug fixes

In applyChanges, make sure the tree is collapsed all the way to the nearest non-error node next to the change.

marijn
published 0.7.0 •

Changelog

Source

0.7.0 (2020-01-20)

Bug fixes

Fix a bug that prevented balancing of repeat nodes when there were skipped nodes present between the repeated elements (which ruined the efficiency of incremental parses).

New features

TreeBuffer objects now have an iterate function.

Buffers can optionally be tagged with an (unnamed) node type to allow reusing them in an incremental parse without wrapping them in a tree.

Breaking changes

Tree.build now takes its arguments wrapped in an object. It also expects the buffer content to conform to from lezer 0.7.0's representation of repeated productions.

The repeated node prop was removed (the parser generator now encodes repetition in the type ids).

marijn
published 0.5.1 •

Changelog

Source

0.5.1 (2019-10-22)

New features

NodeProp.add now also allows a selector object to be passed.

marijn
published 0.5.0 •

Changelog

Source

0.5.0 (2019-10-22)

New features

Adds NodeProp.top, which flags a grammar's outer node type.

Breaking changes

Drops the NodeProp.lang prop (superseded by top).

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc