diff --git a/node_modules/gauge/lib/demo.js b/node_modules/gauge/lib/demo.js deleted file mode 100644 index 88c03cd9a4040..0000000000000 --- a/node_modules/gauge/lib/demo.js +++ /dev/null @@ -1,45 +0,0 @@ -var Gauge = require('./') -var gaugeDefault = require('./themes.js') -var onExit = require('signal-exit') - -var activeGauge - -onExit(function () { - activeGauge.disable() -}) - -var themes = gaugeDefault.getThemeNames() - -nextBar() -function nextBar () { - var themeName = themes.shift() - - console.log('Demoing output for ' + themeName) - - var gt = new Gauge(process.stderr, { - updateInterval: 50, - theme: themeName, - cleanupOnExit: false, - }) - activeGauge = gt - - var progress = 0 - - var cnt = 0 - var pulse = setInterval(function () { - gt.pulse('this is a thing that happened ' + (++cnt)) - }, 110) - var prog = setInterval(function () { - progress += 0.04 - gt.show(themeName + ':' + Math.round(progress * 1000), progress) - if (progress >= 1) { - clearInterval(prog) - clearInterval(pulse) - gt.disable() - if (themes.length) { - nextBar() - } - } - }, 100) - gt.show() -} diff --git a/node_modules/gauge/package.json b/node_modules/gauge/package.json index 4a6ebf285b3ed..431d906a9e481 100644 --- a/node_modules/gauge/package.json +++ b/node_modules/gauge/package.json @@ -1,6 +1,6 @@ { "name": "gauge", - "version": "4.0.2", + "version": "4.0.3", "description": "A terminal based horizontal gauge", "main": "lib", "scripts": { @@ -31,7 +31,6 @@ }, "homepage": "https://github.com/npm/gauge", "dependencies": { - "ansi-regex": "^5.0.1", "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", "console-control-strings": "^1.1.0", @@ -42,7 +41,7 @@ "wide-align": "^1.1.5" }, "devDependencies": { - "@npmcli/template-oss": "^2.7.1", + "@npmcli/template-oss": "^2.9.2", "readable-stream": "^3.6.0", "tap": "^15.1.6" }, @@ -60,6 +59,6 @@ "lines": 90 }, "templateOSS": { - "version": "2.7.1" + "version": "2.9.2" } } diff --git a/package-lock.json b/package-lock.json index 3f9fb7c81e6c8..26c651bfbff9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3409,12 +3409,11 @@ "dev": true }, "node_modules/gauge": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.2.tgz", - "integrity": "sha512-aSPRm2CvA9R8QyU5eXMFPd+cYkyxLsXHd2l5/FOH2V/eml//M04G6KZOmTap07O1PvEwNcl2NndyLfK8g3QrKA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.3.tgz", + "integrity": "sha512-ICw1DhAwMtb22rYFwEHgJcx1JCwJGv3x6G0OQUq56Nge+H4Q8JEwr8iveS0XFlsUNSI67F5ffMGK25bK4Pmskw==", "inBundle": true, "dependencies": { - "ansi-regex": "^5.0.1", "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", "console-control-strings": "^1.1.0", @@ -13308,11 +13307,10 @@ "dev": true }, "gauge": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.2.tgz", - "integrity": "sha512-aSPRm2CvA9R8QyU5eXMFPd+cYkyxLsXHd2l5/FOH2V/eml//M04G6KZOmTap07O1PvEwNcl2NndyLfK8g3QrKA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.3.tgz", + "integrity": "sha512-ICw1DhAwMtb22rYFwEHgJcx1JCwJGv3x6G0OQUq56Nge+H4Q8JEwr8iveS0XFlsUNSI67F5ffMGK25bK4Pmskw==", "requires": { - "ansi-regex": "^5.0.1", "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", "console-control-strings": "^1.1.0",