Comparing version 1.0.30 to 1.0.31
#!/usr/bin/env node | ||
const readline = require("readline"); | ||
const chalk = require("chalk"); | ||
const progress = require('progress'); | ||
const rl = readline.createInterface({ | ||
@@ -16,3 +17,16 @@ input: process.stdin, | ||
} | ||
if(['-test'].includes(process.argv[2])){ | ||
var ProgressBar = require('progress'); | ||
var bar = new ProgressBar(':bar', { total: 10 }); | ||
var timer = setInterval(function () { | ||
bar.tick(); | ||
if (bar.complete) { | ||
console.log('\ncomplete\n'); | ||
clearInterval(timer); | ||
} | ||
}, 100); | ||
} | ||
} | ||
console.log( | ||
@@ -19,0 +33,0 @@ chalk.blueBright( |
{ | ||
"name": "consel", | ||
"version": "1.0.30", | ||
"version": "1.0.31", | ||
"description": "", | ||
@@ -14,3 +14,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"chalk": "^4.0.0" | ||
"chalk": "^4.0.0", | ||
"progress": "^2.0.3" | ||
}, | ||
@@ -17,0 +18,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2476
71
2
+ Addedprogress@^2.0.3
+ Addedprogress@2.0.3(transitive)