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

react-dropzone

Package Overview
Dependencies
Maintainers
3
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 11.3.1 to 11.3.2

5

dist/es/index.js

@@ -571,4 +571,5 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

stopPropagation(event);
var hasFiles = isEvtWithFiles(event);
if (event.dataTransfer) {
if (hasFiles && event.dataTransfer) {
try {

@@ -581,3 +582,3 @@ event.dataTransfer.dropEffect = 'copy';

if (isEvtWithFiles(event) && onDragOver) {
if (hasFiles && onDragOver) {
onDragOver(event);

@@ -584,0 +585,0 @@ }

2

package.json

@@ -169,3 +169,3 @@ {

},
"version": "11.3.1",
"version": "11.3.2",
"engines": {

@@ -172,0 +172,0 @@ "node": ">= 10"

@@ -557,3 +557,4 @@ /* eslint prefer-template: 0 */

if (event.dataTransfer) {
const hasFiles = isEvtWithFiles(event);
if (hasFiles && event.dataTransfer) {
try {

@@ -564,3 +565,3 @@ event.dataTransfer.dropEffect = 'copy'

if (isEvtWithFiles(event) && onDragOver) {
if (hasFiles && onDragOver) {
onDragOver(event)

@@ -567,0 +568,0 @@ }

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