openapi-format
Advanced tools
Comparing version 1.22.0 to 1.22.1
## unreleased | ||
## [1.22.1] - 2024-08-04 | ||
- Convert - Check node is not null in traverse (#123) | ||
## [1.22.0] - 2024-08-04 | ||
@@ -4,0 +8,0 @@ |
@@ -60,3 +60,3 @@ #!/usr/bin/env node | ||
if (typeof node === 'object') { | ||
if (typeof node === 'object' && node !== null) { | ||
@@ -889,3 +889,3 @@ // Components sorting by alphabet | ||
traverse(jsonObj).forEach(function (node) { | ||
if (typeof node === 'object') { | ||
if (typeof node === 'object' && node !== null) { | ||
// Change components/schemas - properties | ||
@@ -892,0 +892,0 @@ if (node.type) { |
{ | ||
"name": "openapi-format", | ||
"version": "1.22.0", | ||
"version": "1.22.1", | ||
"description": "Format an OpenAPI document by ordering, formatting and filtering fields.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
147465