is-reference
Advanced tools
Comparing version 1.1.2 to 1.1.3
# is-reference changelog | ||
## 1.1.3 | ||
* Handle expressions without a Program | ||
## 1.1.2 | ||
@@ -4,0 +8,0 @@ |
@@ -6,2 +6,4 @@ function isReference(node, parent) { | ||
if (node.type === 'Identifier') { | ||
if (!parent) | ||
return true; | ||
switch (parent.type) { | ||
@@ -8,0 +10,0 @@ // disregard `bar` in `foo.bar` |
@@ -12,2 +12,4 @@ (function (global, factory) { | ||
if (node.type === 'Identifier') { | ||
if (!parent) | ||
return true; | ||
switch (parent.type) { | ||
@@ -14,0 +16,0 @@ // disregard `bar` in `foo.bar` |
{ | ||
"name": "is-reference", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Determine whether an AST node is a reference", | ||
@@ -5,0 +5,0 @@ "main": "dist/is-reference.js", |
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
5494
60