zimmerframe
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "zimmerframe", | ||
"description": "A tool for walking ASTs", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -80,4 +80,7 @@ /** | ||
}, | ||
visit: (node, next_state = state) => { | ||
return visit(node, path, next_state) ?? node; | ||
visit: (next_node, next_state = state) => { | ||
path.push(node); | ||
const result = visit(next_node, path, next_state) ?? next_node; | ||
path.pop(); | ||
return result; | ||
} | ||
@@ -84,0 +87,0 @@ }; |
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
11373
150