@uppy/companion-client
Advanced tools
Comparing version 3.1.0 to 3.1.1
# @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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78906
Updated@uppy/utils@^5.1.1