Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored and lukekarrys committed Mar 28, 2022
1 parent 9593c78 commit 726a8a0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
3 changes: 1 addition & 2 deletions node_modules/gauge/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ Gauge.prototype._computeTheme = function (theme) {
if (typeof theme === 'string') {
theme = this._themes.getTheme(theme)
} else if (
theme &&
(Object.keys(theme).length === 0 || theme.hasUnicode != null || theme.hasColor != null)
Object.keys(theme).length === 0 || theme.hasUnicode != null || theme.hasColor != null
) {
var useUnicode = theme.hasUnicode == null ? hasUnicode() : theme.hasUnicode
var useColor = theme.hasColor == null ? hasColor : theme.hasColor
Expand Down
24 changes: 13 additions & 11 deletions node_modules/gauge/package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"name": "gauge",
"version": "4.0.3",
"version": "4.0.4",
"description": "A terminal based horizontal gauge",
"main": "lib",
"scripts": {
"test": "tap",
"lint": "eslint '**/*.js'",
"postlint": "npm-template-check",
"lint": "eslint \"**/*.js\"",
"postlint": "template-oss-check",
"lintfix": "npm run lint -- --fix",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"snap": "tap",
"posttest": "npm run lint",
"template-copy": "npm-template-copy --force"
"template-oss-apply": "template-oss-apply --force"
},
"repository": {
"type": "git",
"url": "https://github.com/npm/gauge"
"url": "https://github.com/npm/gauge.git"
},
"keywords": [
"progressbar",
Expand All @@ -41,16 +41,17 @@
"wide-align": "^1.1.5"
},
"devDependencies": {
"@npmcli/template-oss": "^2.9.2",
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "3.2.0",
"readable-stream": "^3.6.0",
"tap": "^15.1.6"
"tap": "^16.0.1"
},
"files": [
"bin",
"lib"
"bin/",
"lib/"
],
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16"
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
},
"tap": {
"branches": 79,
Expand All @@ -59,6 +60,7 @@
"lines": 90
},
"templateOSS": {
"version": "2.9.2"
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "3.2.0"
}
}
14 changes: 7 additions & 7 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -3280,9 +3280,9 @@
"dev": true
},
"node_modules/gauge": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.3.tgz",
"integrity": "sha512-ICw1DhAwMtb22rYFwEHgJcx1JCwJGv3x6G0OQUq56Nge+H4Q8JEwr8iveS0XFlsUNSI67F5ffMGK25bK4Pmskw==",
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz",
"integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==",
"inBundle": true,
"dependencies": {
"aproba": "^1.0.3 || ^2.0.0",
Expand All @@ -3295,7 +3295,7 @@
"wide-align": "^1.1.5"
},
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16"
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
}
},
"node_modules/gensync": {
Expand Down Expand Up @@ -12781,9 +12781,9 @@
"dev": true
},
"gauge": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.3.tgz",
"integrity": "sha512-ICw1DhAwMtb22rYFwEHgJcx1JCwJGv3x6G0OQUq56Nge+H4Q8JEwr8iveS0XFlsUNSI67F5ffMGK25bK4Pmskw==",
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz",
"integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==",
"requires": {
"aproba": "^1.0.3 || ^2.0.0",
"color-support": "^1.1.3",
Expand Down

0 comments on commit 726a8a0

Please sign in to comment.