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
7
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.0.3 to 3.0.4

7

CHANGELOG.md
# @uppy/xhr-upload
## 3.0.4
Released: 2022-10-24
Included in: Uppy v3.2.2
- @uppy/aws-s3,@uppy/tus,@uppy/xhr-upload: replace `this.getState().files` with `this.uppy.getState().files` (Artur Paikin / #4167)
## 3.0.3

@@ -4,0 +11,0 @@

4

lib/index.js

@@ -19,3 +19,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.0.3"
"version": "3.0.4"
};

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

const serverToken = await _classPrivateFieldLooseBase(this, _queueRequestSocketToken)[_queueRequestSocketToken](file);
if (this.getState().files[file.id]) return undefined;
if (!this.uppy.getState().files[file.id]) return undefined;
this.uppy.setFileState(file.id, {

@@ -394,0 +394,0 @@ serverToken

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

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

"peerDependencies": {
"@uppy/core": "^3.0.3"
"@uppy/core": "^3.0.4"
}
}

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

if (this.getState().files[file.id]) return undefined
if (!this.uppy.getState().files[file.id]) return undefined

@@ -391,0 +391,0 @@ this.uppy.setFileState(file.id, { serverToken })

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