lezer-tree
Advanced tools
Comparing version 0.12.1 to 0.12.2
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
266737