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

@uppy/progress-bar

Package Overview
Dependencies
Maintainers
5
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/progress-bar - npm Package Compare versions

Comparing version 1.3.13 to 1.3.14

7

lib/index.js

@@ -46,4 +46,5 @@ var _class, _temp;

_proto.render = function render(state) {
var progress = state.totalProgress || 0;
var isHidden = progress === 100 && this.opts.hideAfterFinish;
var progress = state.totalProgress || 0; // before starting and after finish should be hidden if specified in the options
var isHidden = (progress === 0 || progress === 100) && this.opts.hideAfterFinish;
return h("div", {

@@ -78,2 +79,2 @@ class: "uppy uppy-ProgressBar",

return ProgressBar;
}(Plugin), _class.VERSION = "1.3.13", _temp);
}(Plugin), _class.VERSION = "1.3.14", _temp);
{
"name": "@uppy/progress-bar",
"description": "A progress bar UI for Uppy",
"version": "1.3.13",
"version": "1.3.14",
"license": "MIT",

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

"dependencies": {
"@uppy/utils": "^2.4.4",
"@uppy/utils": "^3.0.0",
"preact": "8.2.9"

@@ -33,3 +33,3 @@ },

},
"gitHead": "5528c6f6eae8873a363be5a45862459f168a7c90"
"gitHead": "6a0152327386cb6dd1ae8aada13f13062d326b61"
}

@@ -33,3 +33,4 @@ const { Plugin } = require('@uppy/core')

const progress = state.totalProgress || 0
const isHidden = progress === 100 && this.opts.hideAfterFinish
// before starting and after finish should be hidden if specified in the options
const isHidden = (progress === 0 || progress === 100) && this.opts.hideAfterFinish
return (

@@ -36,0 +37,0 @@ <div

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