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.1 to 1.4.2

14

lib/DashboardModal.js

@@ -39,2 +39,8 @@ function _extends() { _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; }; return _extends.apply(this, arguments); }

}
if (prevProps.open && !this.props.open) {
this.plugin.closeModal();
} else if (!prevProps.open && this.props.open) {
this.plugin.openModal();
}
};

@@ -77,10 +83,2 @@

_proto.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
if (this.props.open && !nextProps.open) {
this.plugin.closeModal();
} else if (!this.props.open && nextProps.open) {
this.plugin.openModal();
}
};
_proto.render = function render() {

@@ -87,0 +85,0 @@ var _this = this;

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

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

"dependencies": {
"@uppy/dashboard": "^1.5.1",
"@uppy/drag-drop": "^1.4.1",
"@uppy/progress-bar": "^1.3.3",
"@uppy/status-bar": "^1.4.1",
"@uppy/utils": "^2.1.1",
"@uppy/dashboard": "^1.5.2",
"@uppy/drag-drop": "^1.4.2",
"@uppy/progress-bar": "^1.3.4",
"@uppy/status-bar": "^1.4.2",
"@uppy/utils": "^2.1.2",
"prop-types": "^15.6.1"

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

},
"gitHead": "18180d577854d1a78588d67eb210528b207bf130"
"gitHead": "2b91a96c95ea1aa32980984904f9877d8a4c4440"
}

@@ -23,2 +23,7 @@ const React = require('react')

}
if (prevProps.open && !this.props.open) {
this.plugin.closeModal()
} else if (!prevProps.open && this.props.open) {
this.plugin.openModal()
}
}

@@ -59,10 +64,2 @@

componentWillReceiveProps (nextProps) {
if (this.props.open && !nextProps.open) {
this.plugin.closeModal()
} else if (!this.props.open && nextProps.open) {
this.plugin.openModal()
}
}
render () {

@@ -69,0 +66,0 @@ return h('div', {

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