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

swagger-fluent

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-fluent - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [5.0.3](https://github.com/silasbw/swagger-fluent/compare/5.0.2...5.0.3) (2020-04-30)
### Bug Fixes
* only try to expose supported methods ([#72](https://github.com/silasbw/swagger-fluent/issues/72)) ([827db20](https://github.com/silasbw/swagger-fluent/commit/827db20))
### [5.0.2](https://github.com/silasbw/swagger-fluent/compare/5.0.1...5.0.2) (2020-04-29)

@@ -7,0 +14,0 @@

5

lib/loader.js

@@ -223,3 +223,6 @@ /* eslint-disable no-sync */

//
Object.keys(endpoint.pathItem)
const supportedMethods = ['get', 'put', 'post', 'delete', 'patch']
supportedMethods
.filter(method => endpoint.pathItem[method])
.forEach(method => {

@@ -226,0 +229,0 @@ component[method] = component['_' + method]

2

package.json
{
"name": "swagger-fluent",
"version": "5.0.2",
"version": "5.0.3",
"description": "A fluent client for OpenAPI and Swagger",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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