ast-types
Advanced tools
Comparing version 0.7.3 to 0.7.4
@@ -168,3 +168,8 @@ var assert = require("assert"); | ||
addPattern( | ||
node.name ? path.get("name") : path.get("id"), | ||
// Esprima used to use the .name field to refer to the local | ||
// binding identifier for ImportSpecifier nodes, but .id for | ||
// ImportNamespaceSpecifier and ImportDefaultSpecifier nodes. | ||
// ESTree/Acorn/ESpree use .local for all three node types. | ||
path.get(node.local ? "local" : | ||
node.name ? "name" : "id"), | ||
bindings | ||
@@ -171,0 +176,0 @@ ); |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"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
122161
2884