Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gauge

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gauge - npm Package Compare versions

Comparing version 2.5.1 to 2.5.2

README.md

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### v2.5.2
* Externalized `./console-strings.js` into `console-control-strings`.
### v2.5.1

@@ -2,0 +6,0 @@

4

package.json
{
"name": "gauge",
"version": "2.5.1",
"version": "2.5.2",
"description": "A terminal based horizontal guage",

@@ -26,2 +26,3 @@ "main": "index.js",

"aproba": "^1.0.3",
"console-control-strings": "^1.0.0",
"has-color": "^0.1.7",

@@ -45,3 +46,2 @@ "has-unicode": "^2.0.0",

"CHANGELOG.md",
"console-strings.js",
"error.js",

@@ -48,0 +48,0 @@ "has-color.js",

'use strict'
var consoleStrings = require('./console-strings.js')
var consoleControl = require('console-control-strings')
var renderTemplate = require('./render-template.js')

@@ -32,8 +32,8 @@ var validate = require('aproba')

Plumbing.prototype.hide = function () {
return consoleStrings.gotoSOL() + consoleStrings.eraseLine()
return consoleControl.gotoSOL() + consoleControl.eraseLine()
}
Plumbing.prototype.hideCursor = consoleStrings.hideCursor
Plumbing.prototype.hideCursor = consoleControl.hideCursor
Plumbing.prototype.showCursor = consoleStrings.showCursor
Plumbing.prototype.showCursor = consoleControl.showCursor

@@ -47,3 +47,3 @@ Plumbing.prototype.show = function (status) {

return renderTemplate(this.width, this.template, values).trim() +
consoleStrings.eraseLine() + consoleStrings.gotoSOL()
consoleControl.eraseLine() + consoleControl.gotoSOL()
}
'use strict'
var consoleStrings = require('./console-strings')
var consoleControl = require('console-control-strings')
var ThemeSet = require('./theme-set.js')

@@ -20,8 +20,8 @@

progressbarTheme: {
preComplete: consoleStrings.color('inverse'),
preComplete: consoleControl.color('inverse'),
complete: ' ',
postComplete: consoleStrings.color('stopInverse'),
preRemaining: consoleStrings.color('brightBlack'),
postComplete: consoleControl.color('stopInverse'),
preRemaining: consoleControl.color('brightBlack'),
remaining: '.',
postRemaining: consoleStrings.color('reset')
postRemaining: consoleControl.color('reset')
}

@@ -43,8 +43,8 @@ })

progressbarTheme: {
preComplete: consoleStrings.color('inverse'),
preComplete: consoleControl.color('inverse'),
complete: ' ',
postComplete: consoleStrings.color('stopInverse'),
preRemaining: consoleStrings.color('brightBlack'),
postComplete: consoleControl.color('stopInverse'),
preRemaining: consoleControl.color('brightBlack'),
remaining: '░',
postRemaining: consoleStrings.color('reset')
postRemaining: consoleControl.color('reset')
}

@@ -51,0 +51,0 @@ })

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc