- Readme changes
- Updated TypeScript definitions. (PR 17)
- Updated README for npmjs.com. (No actual code changes.)
- Gracefully handle
null
orundefined
options parameter passed to logger function.
- Configuration function returns a configured logger, enabling custom configurations for multiple logger use cases.
- Configuration supports optional custom logging function. Default implementation will continue to use the
log-update
package. - Log function replaces third parameter (previously the estimated duration) with an optional configuration object supporting multiple values (estimated duration and unique id).
- Moved
clearInterval
intofinally
block to ensure proper cleanup if a Promise throws.
- Moved percentage label (e.g. "35%") inside of progress bar to save horizontal space.
- Changed format of time from estimated duration (e.g. "3.2 sec estimated") to include elapsed time (e.g. "1.5s, estimated 3.2s"). This new label format was inspired by the Jest test runner.
- Added
estimateExceeded
key totheme
for when elapsed duration exceeds the estimated duration. - Added TypeScript type defs to published lib.
- Fixed conversion bug for hour units.
- Initial release.