multi-progress-bars
Advanced tools
Comparing version 3.2.0 to 3.2.2
@@ -5,2 +5,16 @@ # Changelog | ||
### [3.2.2](https://github.com/kamiyo/multi-progress-bars/compare/v3.2.1...v3.2.2) (2021-03-08) | ||
### Bug Fixes | ||
* **examples:** main import fix ([8aae7ca](https://github.com/kamiyo/multi-progress-bars/commit/8aae7ca293f3b05635082c1e293036c02a812966)) | ||
### [3.2.1](https://github.com/kamiyo/multi-progress-bars/compare/v3.2.0...v3.2.1) (2021-03-08) | ||
### Bug Fixes | ||
* **core:** added process.exit() to cleanup code for correct SIGINT behavior ([2f9809b](https://github.com/kamiyo/multi-progress-bars/commit/2f9809be4e197601f0d5a524383e88902c17b3df)) | ||
## [3.2.0](https://github.com/kamiyo/multi-progress-bars/compare/v3.1.2...v3.2.0) (2021-02-28) | ||
@@ -7,0 +21,0 @@ |
@@ -307,2 +307,5 @@ 'use strict'; | ||
} | ||
// according to node docs, if there's a handler for SIGINT, default behavior | ||
// (exiting) is removed, so we have to add it back ourselves. | ||
process.exit(); | ||
}; | ||
@@ -309,0 +312,0 @@ const { stream = process.stdout, spinnerFPS = 10, spinnerGenerator = this.hilbertSpinner, anchor = 'bottom', persist = false, border = false, } = options || {}; |
@@ -81,3 +81,3 @@ /// <reference types="node" /> | ||
constructor(options?: Partial<CtorOptions>); | ||
cleanup: () => void; | ||
cleanup: () => never; | ||
private init; | ||
@@ -84,0 +84,0 @@ addTask(name: string, { index, ...options }: AddOptions): void; |
@@ -299,2 +299,5 @@ import { green } from 'chalk'; | ||
} | ||
// according to node docs, if there's a handler for SIGINT, default behavior | ||
// (exiting) is removed, so we have to add it back ourselves. | ||
process.exit(); | ||
}; | ||
@@ -301,0 +304,0 @@ const { stream = process.stdout, spinnerFPS = 10, spinnerGenerator = this.hilbertSpinner, anchor = 'bottom', persist = false, border = false, } = options || {}; |
{ | ||
"name": "multi-progress-bars", | ||
"version": "3.2.0", | ||
"version": "3.2.2", | ||
"description": "Multiple progress bars with option for indefinite spinners", | ||
@@ -15,5 +15,5 @@ "main": "dist/multi-progress-bars.cjs.js", | ||
"prepublishOnly": "yarn clean && yarn build", | ||
"buildExample": "yarn tsc -b example", | ||
"clean": "yarn trash 'dist/**/*' 'example/example.js'", | ||
"runExample": "yarn build && yarn buildExample && yarn node example/exampleBottom.js" | ||
"buildExamples": "yarn tsc -b examples", | ||
"clean": "yarn trash 'dist/**/*' 'examples/*.js'", | ||
"runExample": "yarn build && yarn buildExamples && yarn node examples/exampleBottom.js" | ||
}, | ||
@@ -20,0 +20,0 @@ "author": "Sean Chen <kamiyo@gmail.com>", |
76730
1362