@uppy/xhr-upload
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -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 @@ }) |
88355
Updated@uppy/utils@^5.5.1