Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.16 to 1.0.17

10

bin/cli.js
#!/usr/bin/env node
const readline = require("readline");
const chalk = require("chalk");
const ora = require('ora');
const rl = readline.createInterface({

@@ -9,7 +10,10 @@ input: process.stdin,

if(process.argv[2]){
if(process.argv[2].toLowerCase() == "-u"){
console.log("Booting.")
if(["-u","-update","--u","--update"].includes(process.argv[2].toLowerCase())){
let spin = ora({
prefixText: 'Updating...',
color: 'magenta'
}).start();
const cp = require("child_process");
cp.execSync(`npm i -g consel`)
console.log("BOOTED");
spin.succeed(`✔ Updated`)
process.exit()

@@ -16,0 +20,0 @@ }

{
"name": "consel",
"version": "1.0.16",
"version": "1.0.17",
"description": "",

@@ -14,3 +14,4 @@ "main": "index.js",

"dependencies": {
"chalk": "^4.0.0"
"chalk": "^4.0.0",
"ora": "^4.0.4"
},

@@ -17,0 +18,0 @@ "bin": {

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