Socket
Socket
Sign inDemoInstall

progress

Package Overview
Dependencies
0
Maintainers
4
Versions
20
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

6

lib/node-progress.js

@@ -101,3 +101,3 @@ /*!

if (this.curr >= this.total) {
this.render();
this.render(undefined, true);
this.complete = true;

@@ -118,3 +118,3 @@ this.terminate();

ProgressBar.prototype.render = function (tokens) {
ProgressBar.prototype.render = function (tokens, force = false) {
if (tokens) this.tokens = tokens;

@@ -126,3 +126,3 @@

var delta = now - this.lastRender;
if (delta < this.renderThrottle) {
if (!force && (delta < this.renderThrottle)) {
return;

@@ -129,0 +129,0 @@ } else {

{
"name": "progress",
"version": "2.0.1",
"version": "2.0.2",
"description": "Flexible ascii progress bar",

@@ -5,0 +5,0 @@ "repository": {

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