Socket
Socket
Sign inDemoInstall

lezer-tree

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-tree - npm Package Compare versions

Comparing version 0.12.1 to 0.12.2

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 0.12.2 (2020-10-28)
### Bug fixes
Fix a bug that made `SyntaxNode.prevSibling` fail in most cases when the node is part of a buffer.
## 0.12.1 (2020-10-26)

@@ -2,0 +8,0 @@

2

dist/tree.es.js

@@ -676,3 +676,3 @@ /// The default maximum length of a `TreeBuffer` node.

return this.externalSibling(-1);
return new BufferNode(this.context, this._parent, buffer.findChild(parentStart, this.index, -1, -1));
return new BufferNode(this.context, this._parent, buffer.findChild(parentStart, this.index, -1, -100000000 /* None */));
},

@@ -679,0 +679,0 @@ enumerable: true,

{
"name": "lezer-tree",
"version": "0.12.1",
"version": "0.12.2",
"description": "Syntax tree data structure for the lezer parser",

@@ -5,0 +5,0 @@ "main": "dist/tree.cjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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