@stoplight/json-schema-ref-parser
Advanced tools
Comparing version 9.2.3 to 9.2.4
@@ -104,3 +104,3 @@ "use strict"; | ||
// Convert to headers | ||
const headers = new Headers(httpOptions.headers); | ||
const headers = new Headers(httpOptions.headers || {}); | ||
if (u.auth && !headers.has("Authorization")) { | ||
@@ -117,3 +117,3 @@ headers.set("Authorization", "Basic " + btoa(u.auth)); | ||
method: "GET", | ||
headers: Object.fromEntries(headers.entries()), | ||
headers, | ||
credentials: httpOptions.withCredentials ? "include" : "omit", | ||
@@ -120,0 +120,0 @@ signal: controller.signal, |
{ | ||
"name": "@stoplight/json-schema-ref-parser", | ||
"version": "9.2.3", | ||
"version": "9.2.4", | ||
"description": "Parse, Resolve, and Dereference JSON Schema $ref pointers", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
165542