Socket
Socket
Sign inDemoInstall

@uppy/react

Package Overview
Dependencies
Maintainers
5
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/react - npm Package Compare versions

Comparing version 1.4.6 to 1.5.0

14

package.json
{
"name": "@uppy/react",
"description": "React component wrappers around Uppy's official UI plugins.",
"version": "1.4.6",
"version": "1.5.0",
"license": "MIT",

@@ -25,7 +25,7 @@ "main": "index.js",

"dependencies": {
"@uppy/dashboard": "^1.6.2",
"@uppy/drag-drop": "^1.4.6",
"@uppy/progress-bar": "^1.3.7",
"@uppy/status-bar": "^1.5.2",
"@uppy/utils": "^2.2.2",
"@uppy/dashboard": "^1.7.0",
"@uppy/drag-drop": "^1.4.7",
"@uppy/progress-bar": "^1.3.8",
"@uppy/status-bar": "^1.6.0",
"@uppy/utils": "^2.3.0",
"prop-types": "^15.6.1"

@@ -36,3 +36,3 @@ },

},
"gitHead": "b20bc7e1f1a3e4132dde0c311fff1ff18080414c"
"gitHead": "fa32da7cf3b1a518a86304ae169c657f2622e5cd"
}

@@ -1,13 +0,23 @@

import { DashboardProps } from './Dashboard'
import { Omit, ToUppyProps } from './CommonTypes'
import Dashboard = require('@uppy/dashboard')
export interface DashboardModalProps extends DashboardProps {
// This type is mapped into `DashboardModalProps` below so IntelliSense doesn't display this big mess of nested types
type DashboardModalPropsInner = {
open?: boolean
onRequestClose?: VoidFunction
} & Omit<
ToUppyProps<Dashboard.DashboardOptions>,
// Remove the inline-only and force-overridden props
'inline' | 'onRequestCloseModal'
>
export type DashboardModalProps = {
[K in keyof DashboardModalPropsInner]: DashboardModalPropsInner[K]
}
/**
* React Component that renders a Dashboard for an Uppy instance in a Modal
* dialog. Visibility of the Modal is toggled using the `open` prop.
* React Component that renders a Dashboard for an Uppy instance. This component
* renders the Dashboard inline so you can put it anywhere you want.
*/
declare const DashboardModal: React.ComponentType<DashboardModalProps>
export default DashboardModal

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc