Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump cli-progress from 2.1.0 to 3.12.0 #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 20, 2023

Bumps cli-progress from 2.1.0 to 3.12.0.

Release notes

Sourced from cli-progress's releases.

Export formatter functions + ETA display limit change

  • Added: exported standard formatter and format helper
  • Added: example howto use multibars in synchronous context
  • Changed: upper eta display limit to 1e7 (115days) #92

Custom format functions, autopadding and more

  • Added: support for custom time-format function
  • Added: support for custom bar-format function
  • Added: support for custom value-format function
  • Added: auto-padding option to enforce fixed size of values - feature requested on GitHub
  • Added: barGlue option to insert ascii escape sequences (e.g. for colorization) between the bar complete/incomplete elements - feature requested on GitHub
  • Bugfix: eta value can be negative for multibars in case the bar is alredy completed

Minor bugfix

  • Bugifx: synchronous update may cause unexpected behaviour on multibars - limited to single bars
  • Changed: renamed internal eta push() method to update()
  • Changed: moved internal eta calculation call into update()
Changelog

Sourced from cli-progress's changelog.

3.12.0

  • Added: option to override bar characters via instance options on multibar.create() - thanks to Araxeus on GitHub
  • Added: example howto use multibars with different bar styles
  • Bugfix: global terminal instance was not used for multibar elements which forces hard string trimming to terminal width - caused by default linewrap=true state of the terminal - thanks to emmercm on GitHub

3.11.2

  • Bugfix: disabled gracefulExit by default, because the default SIGINT/SIGTERM handlers of nodejs are removed

3.11.1

  • Bugfix: MaxListenersExceededWarning was triggered by gracefulExit handlers added in v3.11.0 - thanks to TychoTheTaco on GitHub

3.11.0

  • Added: log() convenience method the multibar to enable custom logging output on top of the progress bars during operation
  • Added: gracefulExit option (enabled by default) to stop the bars in case of SIGINT or SIGTERM - this restores most cursor settings before exiting
  • Added: progressCalculationRelative option (disabled by default) to use the startValue as offset for the progress calculation and calculate the absolute progress from the difference given by total-startValue #121
  • Added: ability to pass bar options (overrides the global options) to multibar.create
  • Bugfix: within a non-tty environment (e.g. CI/CD taskrunners) multibar.create() returns an undefined value in case noTTYOutput is not enabled #117

3.10.0

  • Changed: foreground color of preset.shades-grey is set directly by ANSI codes
  • Changed: example snippets are using ansi-colors library
  • Bugfix: removed colors dependency due to some issues with the maintainer... see Zalgo bomb

3.9.1

  • Bugfix: duration calculation doesn't work for bar restart scenarios - thanks to autlaw on GitHub

3.9.0

  • Added: exported standard formatter and format helper
  • Added: example howto use multibars in synchronous context
  • Changed: upper eta display limit to 1e7 (115days) #92

3.8.2

  • Bugfix: bar duration not stopped until all bars have finished - thanks to omjadas on GitHub

3.8.1

  • Bugfix: percentage calculation used Math.round which caused incorrect values for edge cases - thanks to OxCom on GitHub

3.8.0

  • Changed: allow to pass payload as first argument to increment() with implicit delta of 1 - thanks to ecdeveloper on GitHub
  • Changed: allow to pass payload as first argument to update() without updating bar value

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cli-progress](https://github.com/npkgz/cli-progress) from 2.1.0 to 3.12.0.
- [Release notes](https://github.com/npkgz/cli-progress/releases)
- [Changelog](https://github.com/npkgz/cli-progress/blob/master/CHANGES.md)
- [Commits](https://github.com/npkgz/cli-progress/commits)

---
updated-dependencies:
- dependency-name: cli-progress
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 20, 2023
@coveralls
Copy link

coveralls commented Feb 20, 2023

Pull Request Test Coverage Report for Build 4225749314

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.0%) to 86.454%

Totals Coverage Status
Change from base Build 2876830621: 0.0%
Covered Lines: 3858
Relevant Lines: 4328

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant