Socket
Socket
Sign inDemoInstall

oas-resolver

Package Overview
Dependencies
65
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

6

index.js

@@ -161,3 +161,3 @@ 'use strict';

}
else if (effectiveProtocol.startsWith('http')) {
else if (effectiveProtocol && effectiveProtocol.startsWith('http')) {
return fetch(target, { agent: options.agent })

@@ -183,2 +183,4 @@ .then(function (res) {

if (options.verbose) console.warn(ex);
if (options.promise && options.fatal) options.promise.reject(err)
else throw(err);
}

@@ -214,2 +216,4 @@ callback(data, target, options);

if (options.verbose) console.warn(ex);
if (options.promise && options.fatal) options.promise.reject(err)
else throw(err);
}

@@ -216,0 +220,0 @@ callback(data, target, options);

4

package.json
{
"name": "oas-resolver",
"version": "1.0.5",
"version": "1.0.6",
"description": "Resolve external $refs in OpenAPI (swagger) 2.0 / 3.x definitions",

@@ -28,3 +28,3 @@ "main": "index.js",

},
"gitHead": "2393ae4c37dc5bc53d42fc4b1be27ffe7e69a986"
"gitHead": "edd795d56e986195d552d8000735ed6e75977772"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc