oas-resolver
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -126,3 +126,9 @@ 'use strict'; | ||
let target = url.resolve(base ? base + '/' : '', pointer) | ||
let target; | ||
if (effectiveProtocol === 'file:') { | ||
target = path.resolve(base ? base + '/' : '', pointer); | ||
} | ||
else { | ||
target = url.resolve(base ? base + '/' : '', pointer); | ||
} | ||
@@ -129,0 +135,0 @@ if (options.cache[target]) { |
{ | ||
"name": "oas-resolver", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Resolve external $refs in OpenAPI (swagger) 2.0 / 3.x definitions", | ||
@@ -28,3 +28,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "2850062dbf05f7a70033e256dd7247644dde3c82" | ||
"gitHead": "e1f081373030c7b331cbd4ebd1042c19b2784a18" | ||
} |
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
21896
451