Comparing version 7.0.0 to 7.0.1
@@ -57,2 +57,4 @@ /*! drag-drop. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
textItems = types.filter(item => item.startsWith('text/')) | ||
} else { | ||
return false | ||
} | ||
@@ -63,4 +65,6 @@ | ||
if (fileItems.length === 0 && textItems.length === 0) return false | ||
return true | ||
} | ||
return true | ||
return false | ||
} | ||
@@ -67,0 +71,0 @@ |
{ | ||
"name": "drag-drop", | ||
"description": "HTML5 drag & drop for humans", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh", |
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
16017
223