Socket
Socket
Sign inDemoInstall

codestop-js-proof

Package Overview
Dependencies
7
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.9 to 1.0.10

3

dist/Nodes.js

@@ -41,2 +41,5 @@ "use strict";

}
else if (node['type'] == 'MemberExpression' && _.has(node, 'object') && node['object']['type'] == 'MemberExpression') {
nodes.push(node['object']);
}
}

@@ -43,0 +46,0 @@ if (_.has(node, subNode) && (node[subNode] instanceof Array || node[subNode] instanceof Object)) {

@@ -17,2 +17,6 @@ "use strict";

? node['property']['name'] == filters['property']
: true)
&&
(filters && filters['value']
? node['property']['type'] == 'Literal' && node['property']['value'] == filters['value']
: true));

@@ -19,0 +23,0 @@ };

2

package.json
{
"name": "codestop-js-proof",
"version": "1.0.9",
"version": "1.0.10",
"description": "## Usage",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -49,2 +49,5 @@ import * as _ from 'lodash';

}
else if (node['type'] == 'MemberExpression' && _.has(node, 'object') && node['object']['type'] == 'MemberExpression') {
nodes.push(node['object']);
}
}

@@ -51,0 +54,0 @@

@@ -24,2 +24,8 @@ import Rule from '../../Rule';

)
&&
(
filters && filters['value']
? node['property']['type'] == 'Literal' && node['property']['value'] == filters['value']
: true
)
)

@@ -26,0 +32,0 @@ }

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