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 10.0.3 to 10.0.4

2

dist/es/utils/index.js
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
import accepts from 'attr-accept';
export var supportMultiple = 'multiple' in document.createElement('input'); // Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with
export var supportMultiple = typeof document !== 'undefined' && 'multiple' in document.createElement('input'); // Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with
// that MIME type will always be accepted

@@ -6,0 +6,0 @@

@@ -168,3 +168,3 @@ {

},
"version": "10.0.3",
"version": "10.0.4",
"engines": {

@@ -171,0 +171,0 @@ "node": ">= 8"

import accepts from 'attr-accept'
export const supportMultiple = 'multiple' in document.createElement('input')
export const supportMultiple =
typeof document !== 'undefined' && 'multiple' in document.createElement('input')

@@ -5,0 +6,0 @@ // Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with

@@ -168,4 +168,2 @@ beforeEach(() => {

})
// TODO: Test if no doc
})

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