react-s3-uploader
Advanced tools
Comparing version 1.1.6 to 1.1.7
{ | ||
"name": "react-s3-uploader", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "React component that renders a file input and automatically uploads to an S3 bucket", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -62,3 +62,3 @@ /** | ||
var xhr = new XMLHttpRequest(); | ||
var fileName = file.name.replace(/[^\w]/g, "_"); | ||
var fileName = file.name.replace(/\s+/g, "_"); | ||
xhr.open('GET', this.signingUrl + '?objectName=' + fileName, true); | ||
@@ -65,0 +65,0 @@ xhr.overrideMimeType && xhr.overrideMimeType('text/plain; charset=x-user-defined'); |
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
11329