periscopic
Advanced tools
Comparing version 3.0.2 to 3.0.3
# periscopic changelog | ||
## 3.0.3 | ||
* Fix global detection ([#12](https://github.com/Rich-Harris/periscopic/pull/12)) | ||
## 3.0.2 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "periscopic", | ||
"description": "periscopic", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"repository": "Rich-Harris/periscopic", | ||
@@ -6,0 +6,0 @@ "module": "src/index.js", |
@@ -23,3 +23,3 @@ import { walk } from 'estree-walker'; | ||
* @param {Node} node | ||
* @param {Node} parent | ||
* @param {any} parent | ||
*/ | ||
@@ -104,7 +104,6 @@ enter(node, parent) { | ||
add_reference(scope, reference.name); | ||
if (!scope.find_owner(reference.name)) { | ||
globals.set(reference.name, reference); | ||
} | ||
} | ||
if (!scope.find_owner(reference.name)) { | ||
globals.set(reference.name, reference); | ||
} | ||
} | ||
@@ -111,0 +110,0 @@ |
@@ -43,1 +43,2 @@ /** @param {import('estree').Node} expression */ | ||
} | ||
export type Node = import('estree').Node; |
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
12088
243