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

5

dist/es/index.js

@@ -251,5 +251,10 @@ 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.node.isEqualNode(evt.target)) {
return;
}
if (onKeyDown) {
onKeyDown.call(_this, evt);
}
if (!evt.isDefaultPrevented() && (evt.keyCode === 32 || evt.keyCode === 13)) {

@@ -256,0 +261,0 @@ evt.preventDefault();

2

package.json

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

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

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

@@ -273,5 +273,10 @@ /* eslint prefer-template: 0 */

const { onKeyDown } = this.props
if (!this.node.isEqualNode(evt.target)) {
return
}
if (onKeyDown) {
onKeyDown.call(this, evt)
}
if (!evt.isDefaultPrevented() && (evt.keyCode === 32 || evt.keyCode === 13)) {

@@ -278,0 +283,0 @@ evt.preventDefault()

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