react-dropzone
Advanced tools
Comparing version 11.5.2 to 11.5.3
@@ -39,3 +39,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; 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); } | ||
code: FILE_TOO_LARGE, | ||
message: "File is larger than ".concat(maxSize, " bytes") | ||
message: "File is larger than ".concat(maxSize, " ").concat(maxSize === 1 ? 'byte' : 'bytes') | ||
}; | ||
@@ -46,3 +46,3 @@ }; | ||
code: FILE_TOO_SMALL, | ||
message: "File is smaller than ".concat(minSize, " bytes") | ||
message: "File is smaller than ".concat(minSize, " ").concat(minSize === 1 ? 'byte' : 'bytes') | ||
}; | ||
@@ -49,0 +49,0 @@ }; |
@@ -170,3 +170,3 @@ { | ||
}, | ||
"version": "11.5.2", | ||
"version": "11.5.3", | ||
"engines": { | ||
@@ -173,0 +173,0 @@ "node": ">= 10" |
@@ -29,3 +29,3 @@ import accepts from 'attr-accept' | ||
code: FILE_TOO_LARGE, | ||
message: `File is larger than ${maxSize} bytes` | ||
message: `File is larger than ${maxSize} ${maxSize === 1 ? 'byte' : 'bytes'}` | ||
} | ||
@@ -37,3 +37,3 @@ } | ||
code: FILE_TOO_SMALL, | ||
message: `File is smaller than ${minSize} bytes` | ||
message: `File is smaller than ${minSize} ${minSize === 1 ? 'byte' : 'bytes'}` | ||
} | ||
@@ -40,0 +40,0 @@ } |
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
355705