multi-progress-bars
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -5,2 +5,11 @@ # Changelog | ||
### [4.0.1](https://github.com/kamiyo/multi-progress-bars/compare/v4.0.0...v4.0.1) (2021-06-30) | ||
### Bug Fixes | ||
* **core:** resizing logic ([2b09ba5](https://github.com/kamiyo/multi-progress-bars/commit/2b09ba561e705a00c38542a87c04323628541c88)) | ||
* **core:** update typescript and yarn version ([9fc6147](https://github.com/kamiyo/multi-progress-bars/commit/9fc6147596f78776e2fff71cbfe44be6736579a0)) | ||
* **core:** upgrade yarn stuff ([79829cf](https://github.com/kamiyo/multi-progress-bars/commit/79829cf8bc0daee5bed1e12450d1af13880066ff)) | ||
## [4.0.0](https://github.com/kamiyo/multi-progress-bars/compare/v4.0.0-alpha.0...v4.0.0) (2021-06-23) | ||
@@ -7,0 +16,0 @@ |
@@ -113,3 +113,5 @@ 'use strict'; | ||
this.height = this.stream.rows; | ||
this.stream.on('resize', this.resize); | ||
this.stream.on('resize', () => { | ||
this.resize(); | ||
}); | ||
this.progressHeight = 0; | ||
@@ -146,2 +148,5 @@ this.progressBuffer = []; | ||
this.height = this.stream.rows; | ||
this.progressHeight = | ||
Math.min(this.progressHeight, this.height); | ||
this.consoleHeight = this.height - this.progressHeight; | ||
(_a = this.refresh) === null || _a === void 0 ? void 0 : _a.call(this); | ||
@@ -148,0 +153,0 @@ } |
@@ -104,3 +104,5 @@ import { green } from 'chalk'; | ||
this.height = this.stream.rows; | ||
this.stream.on('resize', this.resize); | ||
this.stream.on('resize', () => { | ||
this.resize(); | ||
}); | ||
this.progressHeight = 0; | ||
@@ -137,2 +139,5 @@ this.progressBuffer = []; | ||
this.height = this.stream.rows; | ||
this.progressHeight = | ||
Math.min(this.progressHeight, this.height); | ||
this.consoleHeight = this.height - this.progressHeight; | ||
(_a = this.refresh) === null || _a === void 0 ? void 0 : _a.call(this); | ||
@@ -139,0 +144,0 @@ } |
{ | ||
"name": "multi-progress-bars", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Multiple progress bars with option for indefinite spinners", | ||
@@ -53,3 +53,3 @@ "main": "dist/multi-progress-bars.cjs.js", | ||
"tslib": "^2.1.0", | ||
"typescript": "^4.2.2" | ||
"typescript": "^4.3.4" | ||
}, | ||
@@ -56,0 +56,0 @@ "dependencies": { |
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
90483
1753