Socket
Socket
Sign inDemoInstall

gauge

Package Overview
Dependencies
11
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134Next

2.7.4

Diff

iarna
published 2.7.3 •

Changelog

Source

v2.7.3

  • Only create our onExit handler when we're enabled and remove it when we're disabled. This stops us from creating multiple onExit handlers when multiple gauge objects are being used.
  • Fix bug where if a theme name were given instead of a theme object, it would crash.
  • Remove supports-color because it's not actually used. Uhm. Yes, I just updated it. >.>
iarna
published 2.7.2 •

Changelog

Source

v2.7.2

  • Use supports-color instead of has-color (as the module has been renamed)
iarna
published 2.7.1 •

Changelog

Source

v2.7.1

  • Bug fix: Calls to show/pulse while the progress bar is disabled should still update our internal representation of what would be shown should it be enabled.
iarna
published 2.7.0 •

Changelog

Source

v2.7.0

  • New feature: Add new isEnabled method to allow introspection of the gauge's "enabledness" as controlled by .enable() and .disable().
iarna
published 2.6.0 •

Changelog

Source

v2.6.0

  • Bug fix: Don't run the code associated with enable/disable if the gauge is already enabled or disabled respectively. This prevents leaking event listeners, amongst other weirdness.
  • New feature: Template items can have default values that will be used if no value was otherwise passed in.
iarna
published 2.5.3 •

Changelog

Source

v2.5.3

  • Default to enabled only if we have a tty. Users can always override this by passing in the enabled option explicitly or by calling calling gauge.enable().
iarna
published 2.5.2 •

Changelog

Source

v2.5.2

  • Externalized ./console-strings.js into console-control-strings.
iarna
published 2.5.1 •

Changelog

Source

v2.5.1

  • Update to signal-exit@3.0.0, which fixes a compatibility bug with the node profiler.
  • #39 Fix tests on 0.10 and add a missing devDependency. (@helloyou2012)
iarna
published 2.5.0 •

Changelog

Source

v2.5.0

  • Add way to programmatically fetch a list of theme names in a themeset (Themeset.getThemeNames).
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc