Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oas-resolver

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oas-resolver - npm Package Compare versions

Comparing version 2.3.2 to 2.4.0

4

index.js

@@ -187,3 +187,4 @@ 'use strict';

else if (effectiveProtocol && effectiveProtocol.startsWith('http')) {
return fetch(target, { agent: options.agent })
const fetchOptions = Object.assign({}, options.fetchOptions, { agent: options.agent });
return options.fetch(target, fetchOptions)
.then(function (res) {

@@ -457,2 +458,3 @@ if (res.status !== 200) throw new Error(`Received status code ${res.status}: ${target}`);

if (!options.cache) options.cache = {};
if (!options.fetch) options.fetch = fetch;

@@ -459,0 +461,0 @@ if (options.source) {

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

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

"oas-kit-common": "^1.0.8",
"reftools": "^1.1.1",
"reftools": "^1.1.2",
"yaml": "^1.8.3",

@@ -40,3 +40,3 @@ "yargs": "^15.3.1"

},
"gitHead": "33e314acc5ff77e912a0ad88e1c472d140194a6e"
"gitHead": "562683f0ea02a3f5b68a6cb4518fc1d5a2e5c22c"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc