ora
Advanced tools
Comparing version 4.0.4 to 4.0.5
@@ -95,6 +95,10 @@ 'use strict'; | ||
const stdinDiscarder = new StdinDiscarder(); | ||
let stdinDiscarder; | ||
class Ora { | ||
constructor(options) { | ||
if (!stdinDiscarder) { | ||
stdinDiscarder = new StdinDiscarder(); | ||
} | ||
if (typeof options === 'string') { | ||
@@ -101,0 +105,0 @@ options = { |
{ | ||
"name": "ora", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"description": "Elegant terminal spinner", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
21802
488