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

@uppy/xhr-upload

Package Overview
Dependencies
Maintainers
5
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/xhr-upload - npm Package Compare versions

Comparing version 0.27.1 to 0.27.2

6

lib/index.js

@@ -195,3 +195,7 @@ 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; };

formPost.append(opts.fieldName, file.data);
if (file.name) {
formPost.append(opts.fieldName, file.data, file.name);
} else {
formPost.append(opts.fieldName, file.data);
}

@@ -198,0 +202,0 @@ return formPost;

11

package.json
{
"name": "@uppy/xhr-upload",
"description": "Plain and simple classic HTML multipart form uploads with Uppy, as well as uploads using the HTTP PUT method.",
"version": "0.27.1",
"version": "0.27.2",
"license": "MIT",

@@ -28,13 +28,12 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/companion-client": "0.27.1",
"@uppy/utils": "0.27.0",
"@uppy/companion-client": "0.27.2",
"@uppy/utils": "0.27.1",
"cuid": "^2.1.1"
},
"devDependencies": {
"@uppy/core": "0.27.0"
"@uppy/core": "0.27.1"
},
"peerDependencies": {
"@uppy/core": "^0.27.0"
},
"gitHead": "6b82d12d42a0dfdd9e0677a18efcaf44c251c58c"
}
}

@@ -176,3 +176,7 @@ const { Plugin } = require('@uppy/core')

formPost.append(opts.fieldName, file.data)
if (file.name) {
formPost.append(opts.fieldName, file.data, file.name)
} else {
formPost.append(opts.fieldName, file.data)
}

@@ -179,0 +183,0 @@ return formPost

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