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

openapi-format

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-format - npm Package Compare versions

Comparing version 1.10.2 to 1.10.3

4

CHANGELOG.md
## unreleased
## [1.10.3] - 2022-06-21
- Bugfix for handling null values with inverse filtering (#56)
## [1.10.2] - 2022-06-07

@@ -4,0 +8,0 @@

2

openapi-format.js

@@ -362,3 +362,3 @@ #!/usr/bin/env node

// Filter out fields without operationIds, when Inverse operationIds is set
if (inverseFilterProps.length > 0 && this.path[0] === 'paths' && node.operationId === undefined
if (node !== null && inverseFilterProps.length > 0 && this.path[0] === 'paths' && node.operationId === undefined
&& httpVerbs.includes(this.key)

@@ -365,0 +365,0 @@ ) {

{
"name": "openapi-format",
"version": "1.10.2",
"version": "1.10.3",
"description": "Format an OpenAPI document by ordering, formatting and filtering fields.",

@@ -5,0 +5,0 @@ "keywords": [

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