good-enough-parser
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -41,3 +41,3 @@ "use strict"; | ||
} | ||
let upperCursor = this.walkDepth > 0 ? cursor.up : undefined; | ||
let upperCursor = this.walkDepth > 1 ? cursor.up : undefined; | ||
while (upperCursor && this.walkDepth > 0) { | ||
@@ -44,0 +44,0 @@ rightCursor = upperCursor.right; |
@@ -38,3 +38,3 @@ import { isTree } from '../../parser'; | ||
} | ||
let upperCursor = this.walkDepth > 0 ? cursor.up : undefined; | ||
let upperCursor = this.walkDepth > 1 ? cursor.up : undefined; | ||
while (upperCursor && this.walkDepth > 0) { | ||
@@ -41,0 +41,0 @@ rightCursor = upperCursor.right; |
{ | ||
"name": "good-enough-parser", | ||
"description": "Parse and query computer programs source code", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"repository": "git@github.com:zharinov/good-enough-parser.git", | ||
@@ -6,0 +6,0 @@ "author": "Sergei Zharinov", |
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