react-dropzone
Advanced tools
Comparing version 10.0.3 to 10.0.4
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
310523