Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

multi-progress-bars

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multi-progress-bars - npm Package Compare versions

Comparing version 3.2.3 to 3.2.4

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [3.2.4](https://github.com/kamiyo/multi-progress-bars/compare/v3.2.3...v3.2.4) (2021-04-16)
### Bug Fixes
* when stdout is not a TTY, updates to the UI cause scrolling ([2e74297](https://github.com/kamiyo/multi-progress-bars/commit/2e742971c182e9c92872dfab723afd268d04714a)), closes [#7](https://github.com/kamiyo/multi-progress-bars/issues/7)
### [3.2.3](https://github.com/kamiyo/multi-progress-bars/compare/v3.2.2...v3.2.3) (2021-03-14)

@@ -7,0 +14,0 @@

6

dist/multi-progress-bars.cjs.js

@@ -126,4 +126,6 @@ 'use strict';

resize() {
this.width = process.stdout.columns;
this.height = process.stdout.rows - 1;
// see https://github.com/kamiyo/multi-progress-bars/issues/7
const stdout = process.stdout.isTTY ? process.stdout : process.stderr;
this.width = stdout.columns;
this.height = stdout.rows - 1;
}

@@ -130,0 +132,0 @@ gotoBottom() {

@@ -118,4 +118,6 @@ import { green } from 'chalk';

resize() {
this.width = process.stdout.columns;
this.height = process.stdout.rows - 1;
// see https://github.com/kamiyo/multi-progress-bars/issues/7
const stdout = process.stdout.isTTY ? process.stdout : process.stderr;
this.width = stdout.columns;
this.height = stdout.rows - 1;
}

@@ -122,0 +124,0 @@ gotoBottom() {

{
"name": "multi-progress-bars",
"version": "3.2.3",
"version": "3.2.4",
"description": "Multiple progress bars with option for indefinite spinners",

@@ -5,0 +5,0 @@ "main": "dist/multi-progress-bars.cjs.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc