New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

openapi-format

Package Overview
Dependencies
Maintainers
1
Versions
71
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.0.4 to 1.0.5

test/yaml-default-bug-examples-properties/input.yaml

3

openapi-format.js

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

} else if ((this.key === 'responses' || this.key === 'schemas' || this.key === 'properties')
&& (this.parent && this.parent.key !== 'properties')) {
&& (this.parent && this.parent.key !== 'properties' && this.parent.key !== 'value')
) {
// Deep sort list of properties

@@ -80,0 +81,0 @@ let sortedObj = JSON.parse(JSON.stringify(node)); // Deep copy of the object

{
"name": "openapi-format",
"version": "1.0.4",
"version": "1.0.5",
"description": "Format a OpenAPI document by ordering 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