Socket
Socket
Sign inDemoInstall

consel

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consel - npm Package Compare versions

Comparing version 1.0.35 to 1.0.36

32

bin/cli.js

@@ -12,24 +12,20 @@ #!/usr/bin/env node

if(["-u","-update","--u","--update"].includes(process.argv[2].toLowerCase())){
console.log(`${chalk.bgBlueBright("Updating..")}`)
var ProgressBar = require('progress');
var bar = new ProgressBar(`${chalk.redBright(`:current/:total`)} ${chalk.blue("|")} ${chalk.cyan(":elapsed seconds elapsed")} ${chalk.blue("|")} ${chalk.greenBright(`:bar`)}`, {
total: 20,
});
var timer = setInterval(function () {
bar.tick();
if (bar.complete) {
console.log(`${chalk.greenBright(`Updated!`)}`)
clearInterval(timer);
process.exit(process.pid);
}
}, 100);
cp.execSync("npm i -g consel");
console.log(`${chalk.bgBlueBright("Updated!")}`)
process.exit(process.pid);
}
if(['-test'].includes(process.argv[2])){
var ProgressBar = require('progress');
var bar = new ProgressBar(`${chalk.redBright(`:current/:total`)} ${chalk.blue("|")} ${chalk.cyan(":elapsed seconds elapsed")} ${chalk.blue("|")} ${chalk.greenBright(`:bar`)}`, {
total: 20,
});
var timer = setInterval(function () {
bar.tick();
if (bar.complete) {
console.log(`${chalk.greenBright(`Updated!`)}`)
process.exit(process.pid);
clearInterval(timer);
}
}, 100);
}
}
console.log(

@@ -36,0 +32,0 @@ chalk.blueBright(

{
"name": "consel",
"version": "1.0.35",
"version": "1.0.36",
"description": "",

@@ -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