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.4.0 to 3.4.1

2

lib/index.js

@@ -14,3 +14,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.4.0"
"version": "3.4.1"
};

@@ -17,0 +17,0 @@ import locale from './locale.js';

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

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

"dependencies": {
"@uppy/companion-client": "^3.4.0",
"@uppy/utils": "^5.5.0",
"@uppy/companion-client": "^3.4.1",
"@uppy/utils": "^5.5.1",
"nanoid": "^4.0.0"
},
"devDependencies": {
"@jest/globals": "^29.0.0",
"nock": "^13.1.0"
"nock": "^13.1.0",
"vitest": "^0.34.5"
},
"peerDependencies": {
"@uppy/core": "^3.5.0"
"@uppy/core": "^3.5.1"
}
}

@@ -1,2 +0,2 @@

import { jest, describe, it, expect } from '@jest/globals'
import { vi, describe, it, expect } from 'vitest'
import nock from 'nock'

@@ -18,3 +18,3 @@ import Core from '@uppy/core'

const core = new Core()
const getResponseData = jest.fn(function getResponseData () {
const getResponseData = vi.fn(function getResponseData () {
expect(this.some).toEqual('option')

@@ -54,3 +54,3 @@ return {}

const core = new Core()
const validateStatus = jest.fn((status, responseText) => {
const validateStatus = vi.fn((status, responseText) => {
return JSON.parse(responseText).code !== 40000

@@ -57,0 +57,0 @@ })

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