rc-upload
Advanced tools
Comparing version 3.1.3 to 3.1.4
@@ -79,3 +79,3 @@ 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.props.directory) { | ||
traverseFileTree(e.dataTransfer.items, _this.uploadFiles, function (_file) { | ||
traverseFileTree(Array.prototype.slice.call(e.dataTransfer.items), _this.uploadFiles, function (_file) { | ||
return attrAccept(_file, _this.props.accept); | ||
@@ -82,0 +82,0 @@ }); |
@@ -104,3 +104,3 @@ 'use strict'; | ||
if (_this.props.directory) { | ||
(0, _traverseFileTree2['default'])(e.dataTransfer.items, _this.uploadFiles, function (_file) { | ||
(0, _traverseFileTree2['default'])(Array.prototype.slice.call(e.dataTransfer.items), _this.uploadFiles, function (_file) { | ||
return (0, _attrAccept2['default'])(_file, _this.props.accept); | ||
@@ -107,0 +107,0 @@ }); |
{ | ||
"name": "rc-upload", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "upload ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
52929
0