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

@uppy/companion-client

Package Overview
Dependencies
Maintainers
7
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 3.1.0 to 3.1.1

7

CHANGELOG.md
# @uppy/companion-client
## 3.1.1
Released: 2022-11-16
Included in: Uppy v3.3.1
- @uppy/companion-client: treat `*` the same as missing header (Antoine du Hamel / #4221)
## 3.1.0

@@ -4,0 +11,0 @@

4

lib/RequestClient.js

@@ -15,3 +15,3 @@ 'use strict';

const packageJson = {
"version": "3.1.0"
"version": "3.1.1"
}; // Remove the trailing slash so we can always safely append /xyz.

@@ -144,3 +144,3 @@

if (header == null) {
if (header == null || header === '*') {
allowedHeadersCache.set(this.hostname, fallbackAllowedHeaders);

@@ -147,0 +147,0 @@ return fallbackAllowedHeaders;

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

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

"dependencies": {
"@uppy/utils": "^5.1.0",
"@uppy/utils": "^5.1.1",
"namespace-emitter": "^2.0.1"

@@ -28,0 +28,0 @@ },

@@ -118,3 +118,3 @@ 'use strict'

const header = response.headers.get('access-control-allow-headers')
if (header == null) {
if (header == null || header === '*') {
allowedHeadersCache.set(this.hostname, fallbackAllowedHeaders)

@@ -121,0 +121,0 @@ return fallbackAllowedHeaders

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