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

@uppy/xhr-upload

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/xhr-upload - npm Package Compare versions

Comparing version

to
3.6.0

@@ -13,3 +13,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.5.0"
"version": "3.6.0"
};

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

this.uppy.on('file-removed', removedHandler);
const uploadPromise = file.remote.requestClient.uploadRemoteFile(file, _classPrivateFieldLooseBase(this, _getCompanionClientArgs)[_getCompanionClientArgs](file), {
const uploadPromise = this.uppy.getRequestClientForFile(file).uploadRemoteFile(file, _classPrivateFieldLooseBase(this, _getCompanionClientArgs)[_getCompanionClientArgs](file), {
signal: controller.signal,

@@ -503,0 +503,0 @@ getQueue

{
"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.5.0",
"version": "3.6.0",
"license": "MIT",

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

"dependencies": {
"@uppy/companion-client": "^3.6.0",
"@uppy/utils": "^5.6.0",
"@uppy/companion-client": "^3.7.0",
"@uppy/utils": "^5.7.0",
"nanoid": "^4.0.0"

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

"peerDependencies": {
"@uppy/core": "^3.7.0"
"@uppy/core": "^3.8.0"
}
}

@@ -476,3 +476,3 @@ import BasePlugin from '@uppy/core/lib/BasePlugin.js'

const uploadPromise = file.remote.requestClient.uploadRemoteFile(
const uploadPromise = this.uppy.getRequestClientForFile(file).uploadRemoteFile(
file,

@@ -479,0 +479,0 @@ this.#getCompanionClientArgs(file),

Sorry, the diff of this file is not supported yet