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

@uppy/dashboard

Package Overview
Dependencies
Maintainers
6
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/dashboard - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

19

lib/index.js

@@ -78,6 +78,2 @@ "use strict";

super(uppy, _opts);
Object.defineProperty(this, _openFileEditorWhenFilesAdded, {
writable: true,
value: void 0
});

@@ -636,9 +632,12 @@ this.removeTarget = plugin => {

this._openFileEditorWhenFilesAdded = files => {
const firstFile = files[0];
Object.defineProperty(this, _openFileEditorWhenFilesAdded, {
writable: true,
value: files => {
const firstFile = files[0];
if (this.canEditFile(firstFile)) {
this.openFileEditor(firstFile);
if (this.canEditFile(firstFile)) {
this.openFileEditor(firstFile);
}
}
};
});

@@ -1182,2 +1181,2 @@ this.initEvents = () => {

}), _class.VERSION = "2.0.2", _temp);
}), _class.VERSION = "2.0.3", _temp);
{
"name": "@uppy/dashboard",
"description": "Universal UI plugin for Uppy.",
"version": "2.0.2",
"version": "2.0.3",
"license": "MIT",

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

"@transloadit/prettier-bytes": "0.0.7",
"@uppy/informer": "^2.0.1",
"@uppy/provider-views": "^2.0.1",
"@uppy/status-bar": "^2.0.1",
"@uppy/thumbnail-generator": "^2.0.2",
"@uppy/utils": "^4.0.0",
"@uppy/informer": "^2.0.2",
"@uppy/provider-views": "^2.0.2",
"@uppy/status-bar": "^2.0.2",
"@uppy/thumbnail-generator": "^2.0.3",
"@uppy/utils": "^4.0.1",
"classnames": "^2.2.6",

@@ -40,3 +40,3 @@ "is-shallow-equal": "^1.0.1",

"devDependencies": {
"@uppy/google-drive": "^2.0.1",
"@uppy/google-drive": "^2.0.2",
"@uppy/status-bar": "*",

@@ -48,3 +48,3 @@ "resize-observer-polyfill": "^1.5.0"

},
"gitHead": "246eafc51a7ed6a1f534629454e1f78cd6f507c1"
"gitHead": "b3b68c07773395d1521c38148cbf87ed88ff2364"
}

@@ -43,4 +43,2 @@ const { h } = require('preact')

#openFileEditorWhenFilesAdded
constructor (uppy, opts) {

@@ -734,3 +732,3 @@ super(uppy, opts)

_openFileEditorWhenFilesAdded = (files) => {
#openFileEditorWhenFilesAdded = (files) => {
const firstFile = files[0]

@@ -737,0 +735,0 @@ if (this.canEditFile(firstFile)) {

Sorry, the diff of this file is not supported yet

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