diff options
author | Gar <gar+gh@danger.computer> | 2022-03-29 00:28:00 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2022-03-29 01:40:04 +0300 |
commit | 726a8a07afeb3bd24979307679ce7e63c73b178e (patch) | |
tree | ad20ba67557c3f39e29d8ba5dd00784866e6ec92 /node_modules | |
parent | 9593c783375eefb62f2f4d2bea83f81e6cf7fff0 (diff) |
deps: gauge@4.0.4
Diffstat (limited to 'node_modules')
-rw-r--r-- | node_modules/gauge/lib/index.js | 3 | ||||
-rw-r--r-- | node_modules/gauge/package.json | 24 |
2 files changed, 14 insertions, 13 deletions
diff --git a/node_modules/gauge/lib/index.js b/node_modules/gauge/lib/index.js index ce9ba7d63..37fc5ac60 100644 --- a/node_modules/gauge/lib/index.js +++ b/node_modules/gauge/lib/index.js @@ -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 diff --git a/node_modules/gauge/package.json b/node_modules/gauge/package.json index 431d906a9..bce3e68a3 100644 --- a/node_modules/gauge/package.json +++ b/node_modules/gauge/package.json @@ -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", @@ -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, @@ -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" } } |