From 726a8a07afeb3bd24979307679ce7e63c73b178e Mon Sep 17 00:00:00 2001 From: Gar Date: Mon, 28 Mar 2022 14:28:00 -0700 Subject: [PATCH] deps: gauge@4.0.4 --- node_modules/gauge/lib/index.js | 3 +-- node_modules/gauge/package.json | 24 +++++++++++++----------- package-lock.json | 14 +++++++------- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/node_modules/gauge/lib/index.js b/node_modules/gauge/lib/index.js index ce9ba7d638ee2..37fc5ac60a16f 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 431d906a9e481..bce3e68a33f69 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" } } diff --git a/package-lock.json b/package-lock.json index fb6c371de96c4..05c360856d777 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", @@ -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": { @@ -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",