jose-browser-runtime
Advanced tools
Comparing version 4.5.2 to 4.5.3
import { JOSEError, JWKSTimeout } from '../util/errors.js'; | ||
import { isCloudflareWorkers } from './env.js'; | ||
const fetchJwks = async (url, timeout) => { | ||
@@ -17,10 +16,2 @@ let controller; | ||
redirect: 'manual', | ||
method: 'GET', | ||
...(!isCloudflareWorkers() | ||
? { | ||
referrerPolicy: 'no-referrer', | ||
credentials: 'omit', | ||
mode: 'cors', | ||
} | ||
: undefined), | ||
}).catch((err) => { | ||
@@ -27,0 +18,0 @@ if (timedOut) |
{ | ||
"name": "jose-browser-runtime", | ||
"version": "4.5.2", | ||
"version": "4.5.3", | ||
"homepage": "https://github.com/panva/jose", | ||
@@ -5,0 +5,0 @@ "repository": "panva/jose", |
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
163201
4063