oas-resolver
Advanced tools
Comparing version 2.2.8 to 2.3.0
@@ -189,3 +189,3 @@ 'use strict'; | ||
.then(function (res) { | ||
if (res.status !== 200) throw new Error(`Received status code ${res.status}`); | ||
if (res.status !== 200) throw new Error(`Received status code ${res.status}: ${target}`); | ||
return res.text(); | ||
@@ -192,0 +192,0 @@ }) |
{ | ||
"name": "oas-resolver", | ||
"version": "2.2.8", | ||
"version": "2.3.0", | ||
"description": "Resolve external $refs in OpenAPI (swagger) 2.0 / 3.x definitions", | ||
@@ -24,4 +24,4 @@ "main": "index.js", | ||
"oas-kit-common": "^1.0.7", | ||
"reftools": "^1.0.11", | ||
"yaml": "^1.8.0", | ||
"reftools": "^1.1.0", | ||
"yaml": "^1.8.3", | ||
"yargs": "^12.0.5" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "3c04d8c190507d806746d45042fcb8d579dfb237" | ||
"gitHead": "56775c59b1a2e7a8b77dc9e23821e70faf15bdb7" | ||
} |
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
27362
Updatedreftools@^1.1.0
Updatedyaml@^1.8.3