Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@behance/fine-uploader

Package Overview
Dependencies
Maintainers
14
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@behance/fine-uploader - npm Package Compare versions

Comparing version 5.1.3-xhr-passthru to 5.1.4-edge-content-type-fix

.npmignore

11

client/js/s3/s3.xhr.upload.handler.js

@@ -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() {

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc