Socket
Socket
Sign inDemoInstall

gauge

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gauge - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

5

CHANGELOG.md

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

### v2.5.0
* Add way to programmatically fetch a list of theme names in a themeset
(`Themeset.getThemeNames`).
### v2.4.0

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

26

package.json
{
"name": "gauge",
"version": "2.4.0",
"version": "2.5.0",
"description": "A terminal based horizontal guage",

@@ -39,3 +39,25 @@ "main": "index.js",

"through2": "^2.0.0"
}
},
"files": [
"base-theme.js",
"CHANGELOG.md",
"console-strings.js",
"error.js",
"has-color.js",
"index.js",
"LICENSE",
"package.json",
"plumbing.js",
"process.js",
"progress-bar.js",
"README.md",
"render-template.js",
"set-immediate.js",
"set-interval.js",
"spin.js",
"template-item.js",
"theme-set.js",
"themes.js",
"wide-truncate.js"
]
}

@@ -234,2 +234,7 @@ gauge

#### themes.getThemeNames()
Return a list of all of the names of the themes in this themeset. Suitable
for use in `themes.getTheme(…)`.
#### themes.getTheme(name)

@@ -236,0 +241,0 @@

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

ThemeSetProto.getThemeNames = function () {
return Object.keys(this.themes)
}
ThemeSetProto.addTheme = function (name, parent, theme) {

@@ -22,0 +26,0 @@ this.themes[name] = this.newTheme(parent, theme)

.npmignore
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc