Comparing version 2.4.0 to 2.5.0
@@ -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 @@ |
{ | ||
"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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
394
47927
20
817