Socket
Socket
Sign inDemoInstall

@uppy/companion-client

Package Overview
Dependencies
Maintainers
5
Versions
88
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 0.27.0 to 0.27.1

5

lib/RequestClient.js

@@ -52,3 +52,4 @@ 'use strict';

method: 'get',
headers: this.headers
headers: this.headers,
credentials: 'same-origin'
})

@@ -69,2 +70,3 @@ // @todo validate response status before calling json

headers: this.headers,
credentials: 'same-origin',
body: JSON.stringify(data)

@@ -87,2 +89,3 @@ }).then(this.onReceiveResponse).then(function (res) {

headers: this.headers,
credentials: 'same-origin',
body: data ? JSON.stringify(data) : null

@@ -89,0 +92,0 @@ }).then(this.onReceiveResponse)

{
"name": "@uppy/companion-client",
"description": "Client library for communication with Uppy Server. Intended for use in Uppy plugins.",
"version": "0.27.0",
"version": "0.27.1",
"license": "MIT",

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

"namespace-emitter": "^2.0.1"
}
},
"gitHead": "6b82d12d42a0dfdd9e0677a18efcaf44c251c58c"
}

@@ -58,3 +58,4 @@ 'use strict'

method: 'get',
headers: this.headers
headers: this.headers,
credentials: 'same-origin'
})

@@ -73,2 +74,3 @@ // @todo validate response status before calling json

headers: this.headers,
credentials: 'same-origin',
body: JSON.stringify(data)

@@ -92,2 +94,3 @@ })

headers: this.headers,
credentials: 'same-origin',
body: data ? JSON.stringify(data) : null

@@ -94,0 +97,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