New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uppy/xhr-upload

Package Overview
Dependencies
Maintainers
6
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 3.3.1 to 3.3.2

8

CHANGELOG.md
# @uppy/xhr-upload
## 3.3.2
Released: 2023-08-15
Included in: Uppy v3.14.0
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/companion,@uppy/transloadit,@uppy/xhr-upload: use uppercase HTTP method names (Antoine du Hamel / #4612)
- @uppy/aws-s3,@uppy/tus,@uppy/xhr-upload: Invoke headers function for remote uploads (Dominik Schmidt / #4596)
## 3.3.1

@@ -4,0 +12,0 @@

6

lib/index.js

@@ -16,3 +16,3 @@ function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }

const packageJson = {
"version": "3.3.1"
"version": "3.3.2"
};

@@ -87,3 +87,3 @@ import locale from './locale.js';

useFormData: opts.formData,
headers: opts.headers
headers: typeof opts.headers === 'function' ? opts.headers(file) : opts.headers
}, options);

@@ -135,3 +135,3 @@ return res.token;

fieldName: _opts.bundle ? 'files[]' : 'file',
method: 'post',
method: 'POST',
allowedMetaFields: null,

@@ -138,0 +138,0 @@ responseUrlFieldName: 'url',

{
"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": "3.3.1",
"version": "3.3.2",
"license": "MIT",

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

"dependencies": {
"@uppy/companion-client": "^3.2.0",
"@uppy/utils": "^5.4.0",
"@uppy/companion-client": "^3.3.0",
"@uppy/utils": "^5.4.3",
"nanoid": "^4.0.0"

@@ -38,4 +38,4 @@ },

"peerDependencies": {
"@uppy/core": "^3.3.0"
"@uppy/core": "^3.4.0"
}
}

@@ -65,3 +65,3 @@ import UploaderPlugin from '@uppy/core/lib/UploaderPlugin.js'

fieldName: opts.bundle ? 'files[]' : 'file',
method: 'post',
method: 'POST',
allowedMetaFields: null,

@@ -370,3 +370,3 @@ responseUrlFieldName: 'url',

useFormData: opts.formData,
headers: opts.headers,
headers: typeof opts.headers === 'function' ? opts.headers(file) : opts.headers,
}, options)

@@ -373,0 +373,0 @@ return res.token

Sorry, the diff of this file is not supported yet

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