Comparing version 2.7.0 to 2.7.1
{ | ||
"name": "astq", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "Abstract Syntax Tree (AST) Query Engine", | ||
@@ -5,0 +5,0 @@ "keywords": [ "abstract", "syntax", "tree", "query", "engine", "adaptable" ], |
@@ -33,3 +33,6 @@ /* | ||
static getParentNode (node /*, type */) { | ||
throw new Error("UniST AST does not support parent node traversal") | ||
if (typeof node.parent === "object" && node.parent !== null) | ||
return node.parent | ||
else | ||
throw new Error("Your UniST AST does not support parent node traversal") | ||
} | ||
@@ -36,0 +39,0 @@ static getChildNodes (node /*, type */) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
402518
7975