Socket
Socket
Sign inDemoInstall

status-bar

Package Overview
Dependencies
1
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

5

lib/index.js

@@ -58,3 +58,2 @@ "use strict";

if (s >= 3600) return " > 1h";
var str;
var min = Math.floor (s/60);

@@ -96,3 +95,3 @@ var sec = Math.floor (s%60);

this._current = 0;
this._total = ~~options.total;
this._total = Math.floor (options.total);
this._onRenderTimer = null;

@@ -240,3 +239,3 @@ this._elapsedTimer = null;

this._stats.remainingTime =
Math.floor (this._stats.remainingSize/avgSpeed) + 1
Math.floor (this._stats.remainingSize/avgSpeed) + 1;
}

@@ -243,0 +242,0 @@ }

2

package.json
{
"name": "status-bar",
"version": "2.0.1",
"version": "2.0.2",
"description": "A status bar for file transfers",

@@ -5,0 +5,0 @@ "keywords": ["status", "bar", "file", "transfer", "speed", "progress",

@@ -37,3 +37,3 @@ status-bar

}).on ("error", function (error){
bar.cancel ();
if (bar) bar.cancel ();
console.error (error);

@@ -40,0 +40,0 @@ });

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc