acorn-globals
Advanced tools
Comparing version 4.3.1 to 4.3.2
@@ -117,3 +117,3 @@ 'use strict'; | ||
for (var i = parents.length - 2; i >= 0 && parent === null; i--) { | ||
if (isScope(parents[i])) { | ||
if (isBlockScope(parents[i])) { | ||
parent = parents[i]; | ||
@@ -120,0 +120,0 @@ } |
{ | ||
"name": "acorn-globals", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"description": "Detect global variables in JavaScript using acorn", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -5,2 +5,4 @@ # acorn-globals | ||
[Get supported acorn-globals with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-acorn_globals?utm_source=npm-acorn-globals&utm_medium=referral&utm_campaign=readme) | ||
[![Build Status](https://img.shields.io/travis/ForbesLindesay/acorn-globals/master.svg)](https://travis-ci.org/ForbesLindesay/acorn-globals) | ||
@@ -74,5 +76,8 @@ [![Dependency Status](https://img.shields.io/david/ForbesLindesay/acorn-globals.svg)](https://david-dm.org/ForbesLindesay/acorn-globals) | ||
## Security contact information | ||
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure. | ||
## License | ||
MIT |
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
8770
82