Comparing version 3.5.2 to 3.5.3
@@ -5,2 +5,9 @@ # Changelog | ||
## [3.5.3](https://github.com/panva/jose/compare/v3.5.2...v3.5.3) (2021-01-20) | ||
### Bug Fixes | ||
* workaround downstream dependency issues messing with http ([2e58005](https://github.com/panva/jose/commit/2e5800535ab72ab35f3abfaab7493163d8b0494e)), closes [#154](https://github.com/panva/jose/issues/154) | ||
## [3.5.2](https://github.com/panva/jose/compare/v3.5.1...v3.5.2) (2021-01-18) | ||
@@ -7,0 +14,0 @@ |
@@ -17,3 +17,3 @@ "use strict"; | ||
const { agent } = options; | ||
protocols[url.protocol](url, { agent, timeout }, async (response) => { | ||
protocols[url.protocol](url.href, { agent, timeout }, async (response) => { | ||
if (response.statusCode !== 200) { | ||
@@ -20,0 +20,0 @@ reject(new errors_js_1.JOSEError('Expected 200 OK from the JSON Web Key Set HTTP response')); |
@@ -15,3 +15,3 @@ import { get as http } from 'http'; | ||
const { agent } = options; | ||
protocols[url.protocol](url, { agent, timeout }, async (response) => { | ||
protocols[url.protocol](url.href, { agent, timeout }, async (response) => { | ||
if (response.statusCode !== 200) { | ||
@@ -18,0 +18,0 @@ reject(new JOSEError('Expected 200 OK from the JSON Web Key Set HTTP response')); |
@@ -17,3 +17,3 @@ "use strict"; | ||
const { agent } = options; | ||
protocols[url.protocol](url, { agent, timeout }, async (response) => { | ||
protocols[url.protocol](url.href, { agent, timeout }, async (response) => { | ||
if (response.statusCode !== 200) { | ||
@@ -20,0 +20,0 @@ reject(new errors_js_1.JOSEError('Expected 200 OK from the JSON Web Key Set HTTP response')); |
@@ -15,3 +15,3 @@ import { get as http } from 'http'; | ||
const { agent } = options; | ||
protocols[url.protocol](url, { agent, timeout }, async (response) => { | ||
protocols[url.protocol](url.href, { agent, timeout }, async (response) => { | ||
if (response.statusCode !== 200) { | ||
@@ -18,0 +18,0 @@ reject(new JOSEError('Expected 200 OK from the JSON Web Key Set HTTP response')); |
{ | ||
"name": "jose", | ||
"version": "3.5.2", | ||
"version": "3.5.3", | ||
"description": "Universal 'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK with no dependencies", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
679769