Socket
Socket
Sign inDemoInstall

gauge

Package Overview
Dependencies
14
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.0 to 2.7.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

### v2.7.0
* New feature: Add new `isEnabled` method to allow introspection of the gauge's
"enabledness" as controlled by `.enable()` and `.disable()`.
### v2.6.0

@@ -2,0 +7,0 @@

4

index.js

@@ -77,2 +77,6 @@ 'use strict'

Gauge.prototype.isEnabled = function () {
return !this._disabled
}
Gauge.prototype.setTemplate = function (template) {

@@ -79,0 +83,0 @@ this._gauge.setTemplate(template)

5

package.json
{
"name": "gauge",
"version": "2.6.0",
"version": "2.7.0",
"description": "A terminal based horizontal guage",
"main": "index.js",
"scripts": {
"test": "standard && tap test/*.js --coverage"
"test": "standard && tap test/*.js --coverage",
"prepublish": "rm -f *~"
},

@@ -9,0 +10,0 @@ "repository": {

@@ -148,2 +148,6 @@ gauge

#### `gauge.isEnabled()`
Returns true if the gauge is enabled.
#### `gauge.setThemeset(themes)`

@@ -150,0 +154,0 @@

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