Socket
Socket
Sign inDemoInstall

acorn-globals

Package Overview
Dependencies
2
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.3.0 to 4.3.1

10

index.js

@@ -64,3 +64,3 @@ 'use strict';

node.properties.forEach(function (node) {
declarePattern(node.value, parent);
declarePattern(node.value || node.argument, parent);
});

@@ -109,3 +109,5 @@ break;

parent.locals = parent.locals || {};
parent.locals[node.id.name] = true;
if (node.id) {
parent.locals[node.id.name] = true;
}
declareFunction(node);

@@ -122,3 +124,5 @@ },

parent.locals = parent.locals || {};
parent.locals[node.id.name] = true;
if (node.id) {
parent.locals[node.id.name] = true;
}
},

@@ -125,0 +129,0 @@ 'TryStatement': function (node) {

{
"name": "acorn-globals",
"version": "4.3.0",
"version": "4.3.1",
"description": "Detect global variables in JavaScript using acorn",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc