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

@uppy/progress-bar

Package Overview
Dependencies
Maintainers
8
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 2.1.1 to 3.0.0-beta

4

lib/index.js

@@ -1,3 +0,1 @@

"use strict";
module.exports = require("./ProgressBar.js");
export { default } from "./ProgressBar.js";

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

"use strict";
var _preact = require("preact");
var _core = require("@uppy/core");
import { h } from 'preact';
import { UIPlugin } from '@uppy/core';
const packageJson = {
"version": "2.1.1"
"version": "3.0.0-beta"
};

@@ -15,3 +11,3 @@ /**

class ProgressBar extends _core.UIPlugin {
export default class ProgressBar extends UIPlugin {
constructor(uppy, opts) {

@@ -21,3 +17,3 @@ super(uppy, opts);

this.title = 'Progress Bar';
this.type = 'progressindicator'; // set default options
this.type = 'progressindicator'; // set default options, must kept in sync with @uppy/react/src/ProgressBar.js

@@ -40,3 +36,3 @@ const defaultOptions = {

const isHidden = (progress === 0 || progress === 100) && this.opts.hideAfterFinish;
return (0, _preact.h)("div", {
return h("div", {
className: "uppy uppy-ProgressBar",

@@ -47,3 +43,3 @@ style: {

"aria-hidden": isHidden
}, (0, _preact.h)("div", {
}, h("div", {
className: "uppy-ProgressBar-inner",

@@ -53,3 +49,3 @@ style: {

}
}), (0, _preact.h)("div", {
}), h("div", {
className: "uppy-ProgressBar-percentage"

@@ -74,4 +70,2 @@ }, progress));

}
ProgressBar.VERSION = packageJson.version;
module.exports = ProgressBar;
ProgressBar.VERSION = packageJson.version;
{
"name": "@uppy/progress-bar",
"description": "A progress bar UI for Uppy",
"version": "2.1.1",
"version": "3.0.0-beta",
"license": "MIT",

@@ -27,8 +27,9 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/utils": "^4.1.0",
"@uppy/utils": "^5.0.0-beta",
"preact": "^10.5.13"
},
"peerDependencies": {
"@uppy/core": "^2.3.0"
}
"@uppy/core": "^3.0.0-beta"
},
"stableVersion": "2.1.1"
}

@@ -19,3 +19,3 @@ import { h } from 'preact'

// set default options
// set default options, must kept in sync with @uppy/react/src/ProgressBar.js
const defaultOptions = {

@@ -22,0 +22,0 @@ target: 'body',

Sorry, the diff of this file is not supported yet

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