multi-progress-bars
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -5,2 +5,9 @@ # Changelog | ||
### [3.1.2](https://github.com/kamiyo/multi-progress-bars/compare/v3.1.1...v3.1.2) (2020-12-31) | ||
### Bug Fixes | ||
* **core:** fixed wrong order of assignin warn and error to virtual log. ([2c32749](https://github.com/kamiyo/multi-progress-bars/commit/2c32749cc3937764403e1181942e361a18c1906c)) | ||
### [3.1.1](https://github.com/kamiyo/multi-progress-bars/compare/v3.1.0...v3.1.1) (2020-12-31) | ||
@@ -7,0 +14,0 @@ |
@@ -99,5 +99,2 @@ 'use strict'; | ||
this.progressBuffer = []; | ||
this.warn = this.log; | ||
this.error = this.log; | ||
console = this; | ||
if (this.anchor === 'top') { | ||
@@ -117,2 +114,5 @@ this.upsertProgress = this.upsertProgressTop; | ||
} | ||
this.warn = this.log; | ||
this.error = this.log; | ||
console = this; | ||
this.init(); | ||
@@ -119,0 +119,0 @@ } |
@@ -91,5 +91,2 @@ import { green } from 'chalk'; | ||
this.progressBuffer = []; | ||
this.warn = this.log; | ||
this.error = this.log; | ||
console = this; | ||
if (this.anchor === 'top') { | ||
@@ -109,2 +106,5 @@ this.upsertProgress = this.upsertProgressTop; | ||
} | ||
this.warn = this.log; | ||
this.error = this.log; | ||
console = this; | ||
this.init(); | ||
@@ -111,0 +111,0 @@ } |
{ | ||
"name": "multi-progress-bars", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Multiple progress bars with option for indefinite spinners", | ||
@@ -5,0 +5,0 @@ "main": "dist/multi-progress-bars.cjs.js", |
73710