ast-types
Advanced tools
Comparing version 0.3.20 to 0.3.21
@@ -19,3 +19,6 @@ var assert = require("assert"); | ||
// bookkeeping altogether. | ||
return traverseWithNoPathInfo(node, callback); | ||
return traverseWithNoPathInfo( | ||
node instanceof NodePath ? node.value : node, | ||
callback | ||
); | ||
} | ||
@@ -67,2 +70,3 @@ | ||
function traverseWithNoPathInfo(node, callback, context) { | ||
Node.assert(node); | ||
context = context || null; | ||
@@ -69,0 +73,0 @@ |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.3.20", | ||
"version": "0.3.21", | ||
"homepage": "http://github.com/benjamn/ast-types", | ||
@@ -24,0 +24,0 @@ "repository": { |
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
425073
11867