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

complan

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

complan - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

test.js

3

lib/computeComplexity.js

@@ -7,3 +7,4 @@ const Path = require('path');

var jsonPath = Path.join(process.cwd(), 'cc.json');
var cmd = './node_modules/complexity-report/src/index.js -l -w -f json -e -x node_modules -o ' + jsonPath + ' ' + path.join(' ');
var crPath = Path.resolve(process.execPath, '../..', 'lib/node_modules/complan/node_modules/.bin/cr');
var cmd = crPath + ' -l -w -f json -e -x node_modules -o ' + jsonPath + ' ' + path.join(' ');
return new Promise(function (resolve, reject) {

@@ -10,0 +11,0 @@ Exec(cmd , function (err, stdout,stderr) {

{
"name": "complan",
"version": "1.0.1",
"version": "1.0.2",
"description": "COMPLexity ANalyzer Tool For Javascript",

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

Sorry, the diff of this file is not supported yet

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