@behance/fine-uploader
Advanced tools
Comparing version 5.1.3-xhr-passthru to 5.1.4-edge-content-type-fix
@@ -113,6 +113,17 @@ /*globals qq */ | ||
// BEHANCE: IE edge workaround | ||
// https://github.com/FineUploader/fine-uploader/commit/a060e50d036026ba62331e1261b6632102c4869d | ||
var hasContentType = false; | ||
qq.each(headers, function(name, val) { | ||
if (name === "Content-Type") { | ||
hasContentType = true; | ||
} | ||
xhr.setRequestHeader(name, val); | ||
}); | ||
// Workaround for IE Edge | ||
if (!hasContentType) { | ||
xhr.setRequestHeader("Content-Type", ""); | ||
} | ||
xhr.send(chunkData.blob); | ||
@@ -119,0 +130,0 @@ }, function() { |
{ | ||
"name": "@behance/fine-uploader", | ||
"title": "Fine Uploader", | ||
"version": "5.1.3-xhr-passthru", | ||
"version": "5.1.4-edge-content-type-fix", | ||
"description": "Multiple file upload component with progress-bar, drag-and-drop, support for all modern browsers.", | ||
@@ -6,0 +6,0 @@ "main": "./fine-uploader/js/fineuploader.js", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
3093696
295
55163
16
5