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

react-dropzone

Package Overview
Dependencies
Maintainers
2
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dropzone - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

9

dist/es/index.js

@@ -85,11 +85,2 @@ 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; };

try {
// The file dialog on Chrome allows users to drag files from the dialog onto
// the dropzone, causing the browser the crash when the file dialog is closed.
// A drop effect of 'none' prevents the file from being dropped
evt.dataTransfer.dropEffect = _this.isFileDialogActive ? 'none' : 'copy'; // eslint-disable-line no-param-reassign
} catch (err) {
// continue regardless of error
}
if (_this.props.onDragOver && isDragDataWithFiles(evt)) {

@@ -96,0 +87,0 @@ _this.props.onDragOver.call(_this, evt);

2

package.json

@@ -151,3 +151,3 @@ {

},
"version": "8.0.0",
"version": "8.0.1",
"engines": {

@@ -154,0 +154,0 @@ "node": ">= 6"

@@ -98,11 +98,2 @@ /* eslint prefer-template: 0 */

try {
// The file dialog on Chrome allows users to drag files from the dialog onto
// the dropzone, causing the browser the crash when the file dialog is closed.
// A drop effect of 'none' prevents the file from being dropped
evt.dataTransfer.dropEffect = this.isFileDialogActive ? 'none' : 'copy' // eslint-disable-line no-param-reassign
} catch (err) {
// continue regardless of error
}
if (this.props.onDragOver && isDragDataWithFiles(evt)) {

@@ -109,0 +100,0 @@ this.props.onDragOver.call(this, evt)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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