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
5
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.6.6 to 3.6.7

7

CHANGELOG.md
# @uppy/xhr-upload
## 3.6.7
Released: 2024-05-23
Included in: Uppy v3.25.5
- @uppy/xhr-upload: fix regression for lowercase HTTP methods (Antoine du Hamel / #5179)
## 3.6.6

@@ -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.6.6"
"version": "3.6.7"
};

@@ -185,4 +185,6 @@ import locale from "./locale.js";

try {
var _options$method;
const res = await fetcher(url, {
...options,
method: options == null || (_options$method = options.method) == null ? void 0 : _options$method.toUpperCase(),
onTimeout: timeout => {

@@ -189,0 +191,0 @@ const seconds = Math.ceil(timeout / 1000);

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

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

"peerDependencies": {
"@uppy/core": "^3.11.1"
"@uppy/core": "^3.11.3"
}
}

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

...options,
method: options?.method?.toUpperCase(),
onTimeout: (timeout) => {

@@ -219,0 +220,0 @@ const seconds = Math.ceil(timeout / 1000)

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