animate-tty
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -60,2 +60,3 @@ var charm = require('charm') | ||
this.writeLogs() | ||
this.print() | ||
if(!stay) this.erase() | ||
@@ -62,0 +63,0 @@ clearInterval(this.timer) |
{ | ||
"name": "animate-tty", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Animate things like progress bars on the tty", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
10
test.js
@@ -1,9 +0,5 @@ | ||
var str = 'hello' | ||
var exec = require('child_process').exec | ||
var animate = require('./')(function (runtime) { | ||
return str + Math.random() + '\n' + runtime+ 'ms' | ||
exec('./test1.js', function (err, stdo, stde) { | ||
console.log(err, stdo) | ||
}) | ||
animate.start() | ||
animate.stop(true) |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
3721
7
80
1