New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blessed-contrib

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blessed-contrib - npm Package Compare versions

Comparing version 2.3.3 to 2.3.4

15

lib/widget/gauge.js

@@ -22,5 +22,10 @@ var blessed = require('blessed')

this.on("attach", function() {
var percent = this.percent = self.options.percent || 0;
this.setData(percent)
if (self.options.stack) {
var stack = this.stack = self.options.stack;
this.setStack(stack)
}
else {
var percent = this.percent = self.options.percent || 0;
this.setData(percent)
}
})

@@ -44,3 +49,3 @@

} else if (typeof(data) == null) {
}

@@ -50,3 +55,3 @@ }

Gauge.prototype.setPercent = function(percent) {
if (!this.ctx) {

@@ -53,0 +58,0 @@ throw "error: canvas context does not exist. setData() for gauges must be called after the gauge has been added to the screen via screen.append()"

{
"name": "blessed-contrib",
"version": "2.3.3",
"version": "2.3.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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