Socket
Socket
Sign inDemoInstall

detective-cjs

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detective-cjs - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

3

index.js

@@ -25,2 +25,5 @@ var Walker = require('node-source-walk');

dependencies.push(dependency);
} else if (node.arguments[0].type === 'TemplateLiteral') {
dependency = node.arguments[0].quasis[0].value.raw;
dependencies.push(dependency);
}

@@ -27,0 +30,0 @@ });

2

package.json
{
"name": "detective-cjs",
"version": "2.0.0",
"version": "2.0.1",
"description": "Get the dependencies of a CommonJS module by traversing its AST",

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

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