Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uppy/companion-client

Package Overview
Dependencies
Maintainers
5
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/companion-client - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

17

lib/RequestClient.js

@@ -148,3 +148,6 @@ 'use strict';

}).catch(function (err) {
err = err.isAuthError ? err : new Error("Could not get " + _this4._getUrl(path) + ". " + err);
if (!err.isAuthError) {
err.message = "Could not get " + _this4._getUrl(path) + ". " + err.message;
}
return Promise.reject(err);

@@ -167,3 +170,6 @@ });

}).catch(function (err) {
err = err.isAuthError ? err : new Error("Could not post " + _this5._getUrl(path) + ". " + err);
if (!err.isAuthError) {
err.message = "Could not post " + _this5._getUrl(path) + ". " + err.message;
}
return Promise.reject(err);

@@ -186,3 +192,6 @@ });

}).catch(function (err) {
err = err.isAuthError ? err : new Error("Could not delete " + _this6._getUrl(path) + ". " + err);
if (!err.isAuthError) {
err.message = "Could not delete " + _this6._getUrl(path) + ". " + err.message;
}
return Promise.reject(err);

@@ -213,2 +222,2 @@ });

return RequestClient;
}(), _class.VERSION = "1.9.0", _temp);
}(), _class.VERSION = "1.10.0", _temp);
{
"name": "@uppy/companion-client",
"description": "Client library for communication with Companion. Intended for use in Uppy plugins.",
"version": "1.9.0",
"version": "1.10.0",
"license": "MIT",

@@ -24,3 +24,3 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/utils": "^3.5.0",
"@uppy/utils": "^3.6.0",
"namespace-emitter": "^2.0.1",

@@ -30,3 +30,3 @@ "qs-stringify": "^1.1.0",

},
"gitHead": "1751241362692202ed626f752fc740d4db0f2a9a"
"gitHead": "12b7bd34e8f193e86561dd623024279103865a85"
}

@@ -141,3 +141,5 @@ 'use strict'

.catch((err) => {
err = err.isAuthError ? err : new Error(`Could not get ${this._getUrl(path)}. ${err}`)
if (!err.isAuthError) {
err.message = `Could not get ${this._getUrl(path)}. ${err.message}`
}
return Promise.reject(err)

@@ -159,3 +161,5 @@ })

.catch((err) => {
err = err.isAuthError ? err : new Error(`Could not post ${this._getUrl(path)}. ${err}`)
if (!err.isAuthError) {
err.message = `Could not post ${this._getUrl(path)}. ${err.message}`
}
return Promise.reject(err)

@@ -177,3 +181,5 @@ })

.catch((err) => {
err = err.isAuthError ? err : new Error(`Could not delete ${this._getUrl(path)}. ${err}`)
if (!err.isAuthError) {
err.message = `Could not delete ${this._getUrl(path)}. ${err.message}`
}
return Promise.reject(err)

@@ -180,0 +186,0 @@ })

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