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

@uppy/dashboard

Package Overview
Dependencies
Maintainers
5
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 0.29.0 to 0.29.1

2

lib/index.js

@@ -470,3 +470,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

if (!this.opts.inline && !showModalTrigger) {
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself');
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself', 'error');
}

@@ -473,0 +473,0 @@

{
"name": "@uppy/dashboard",
"description": "Universal UI plugin for Uppy.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",

@@ -26,7 +25,7 @@ "types": "types/index.d.ts",

"dependencies": {
"@uppy/informer": "0.29.0",
"@uppy/provider-views": "0.29.0",
"@uppy/status-bar": "0.29.0",
"@uppy/thumbnail-generator": "0.29.0",
"@uppy/utils": "0.29.0",
"@uppy/informer": "0.29.1",
"@uppy/provider-views": "0.29.1",
"@uppy/status-bar": "0.29.1",
"@uppy/thumbnail-generator": "0.29.1",
"@uppy/utils": "0.29.1",
"classnames": "^2.2.6",

@@ -41,4 +40,4 @@ "drag-drop": "2.13.3",

"devDependencies": {
"@uppy/core": "0.29.0",
"@uppy/google-drive": "0.29.0"
"@uppy/core": "0.29.1",
"@uppy/google-drive": "0.29.1"
},

@@ -48,3 +47,3 @@ "peerDependencies": {

},
"gitHead": "c68f2c7e68d2c12f8a8fb7119f1dae4ca08e4174"
"gitHead": "3ddf4c7548766a0c522b9a45c03b1fd7d4e03d43"
}

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

if (!this.opts.inline && !showModalTrigger) {
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself')
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself', 'error')
}

@@ -447,0 +447,0 @@

@@ -1,28 +0,30 @@

import { Plugin, PluginOptions, Uppy } from '@uppy/core';
import Uppy = require('@uppy/core');
export interface DashboardOptions extends PluginOptions {
onRequestCloseModal: () => void;
disablePageScrollWhenModalOpen: boolean;
closeModalOnClickOutside: boolean;
trigger: string | HTMLElement;
inline: boolean;
defaultTabIcon: string;
hideUploadButton: boolean;
width: string | number;
height: string | number;
note: string;
showLinkToFileUploadResult: boolean;
proudlyDisplayPoweredByUppy: boolean;
metaFields: string[];
plugins: string[];
disableStatusBar: boolean;
showProgressDetails: boolean;
hideProgressAfterFinish: boolean;
disableInformer: boolean;
disableThumbnailGenerator: boolean;
declare module Dashboard {
interface DashboardOptions extends Uppy.PluginOptions {
onRequestCloseModal: () => void;
disablePageScrollWhenModalOpen: boolean;
closeModalOnClickOutside: boolean;
trigger: string | HTMLElement;
inline: boolean;
defaultTabIcon: string;
hideUploadButton: boolean;
width: string | number;
height: string | number;
note: string;
showLinkToFileUploadResult: boolean;
proudlyDisplayPoweredByUppy: boolean;
metaFields: string[];
plugins: string[];
disableStatusBar: boolean;
showProgressDetails: boolean;
hideProgressAfterFinish: boolean;
disableInformer: boolean;
disableThumbnailGenerator: boolean;
}
}
export default class Dashboard extends Plugin {
constructor(uppy: Uppy, opts: Partial<DashboardOptions>);
addTarget(plugin: Plugin): HTMLElement;
declare class Dashboard extends Uppy.Plugin {
constructor(uppy: Uppy.Uppy, opts: Partial<Dashboard.DashboardOptions>);
addTarget(plugin: Uppy.Plugin): HTMLElement;
hideAllPanels(): void;

@@ -37,6 +39,8 @@ openModal(): void;

export = Dashboard;
declare module '@uppy/core' {
export interface Uppy {
use(pluginClass: typeof Dashboard, opts: Partial<DashboardOptions>): Uppy;
use(pluginClass: typeof Dashboard, opts: Partial<Dashboard.DashboardOptions>): Uppy.Uppy;
}
}

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