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

fury-adapter-oas3-parser

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fury-adapter-oas3-parser - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

8

CHANGELOG.md
# Fury OAS3 Parser Changelog
## 0.8.1 (2019-06-12)
### Bug Fixes
- Fixed handling of OpenAPI 3 documents which included invalid 'Schema Object'
in reusable components. Under some circumstances these could cause the parser
to throw an exception.
## 0.8.0 (2019-06-11)

@@ -4,0 +12,0 @@

8

lib/parser/oas/parseComponentsObject.js

@@ -96,3 +96,9 @@ const R = require('ramda');

if (isObject(element) && element.get('schemas') && isObject(element.get('schemas'))) {
const schemas = element.get('schemas');
// Take schemas and convert to object with members for each key (discarding value)
// We don't want the value making it into final parse results under any circumstance,
// for example if the parse errors out and we leave bad state
const schemas = new namespace.elements.Object(
element.get('schemas').map((value, key) => new namespace.elements.Member(key))
);
context.state.components.set('schemas', schemas);

@@ -99,0 +105,0 @@ }

4

package.json
{
"name": "fury-adapter-oas3-parser",
"version": "0.8.0",
"version": "0.8.1",
"description": "Open API Specification 3 API Elements Parser",

@@ -42,3 +42,3 @@ "author": "Apiary.io <support@apiary.io>",

},
"gitHead": "4c1d2f4d51f8a946429b5e5493d07fcf2b7b69ea"
"gitHead": "698524e9c9d927beabc5b75870487b8b6c7ca2e5"
}
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