New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mendel-deps

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mendel-deps - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0-beta1

6

package.json
{
"name": "mendel-deps",
"version": "3.0.0",
"version": "3.1.0-beta1",
"description": "Depedency detector based on AST. Supports custom cache and custom resolver.",

@@ -18,3 +18,3 @@ "main": "src/deps.js",

"acorn-jsx": "^3.0.1",
"ast-types": "^0.9.0"
"ast-types": "^0.9.11"
},

@@ -24,3 +24,3 @@ "devDependencies": {

"tap": "^7.1.2",
"mendel-resolver": "3.0.0"
"mendel-resolver": "^3.0.0"
},

@@ -27,0 +27,0 @@ "files": [

const acorn = require('acorn-jsx/inject')(require('acorn'));
const {visit} = require('ast-types');
const GLOBAL_WHITELIST = ['process'];
// `console` is not included as it works flawlessly in Node and browser.
const GLOBAL_WHITELIST = [
'global',
'process',
];

@@ -36,3 +40,2 @@ // {

visitMemberExpression(nodePath) {
// console.log(nodePath.parentPath.node)
const node = nodePath.value;

@@ -39,0 +42,0 @@ if (node.object.type === 'Identifier' &&

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc