@scalar/oas-utils
Advanced tools
Comparing version 0.2.49 to 0.2.50
# @scalar/oas-utils | ||
## 0.2.50 | ||
### Patch Changes | ||
- 9057781: fix: add missing securityDefinitions check on import | ||
## 0.2.49 | ||
@@ -4,0 +10,0 @@ |
@@ -69,3 +69,3 @@ import { securitySchemeSchema, authExampleFromSchema } from '../entities/spec/security.js'; | ||
// SECURITY HANDLING | ||
const security = schema.components?.securitySchemes ?? {}; | ||
const security = schema.components?.securitySchemes ?? schema?.securityDefinitions ?? {}; | ||
const securitySchemes = Object.entries(security) | ||
@@ -72,0 +72,0 @@ .map?.(([nameKey, s]) => { |
@@ -19,3 +19,3 @@ { | ||
], | ||
"version": "0.2.49", | ||
"version": "0.2.50", | ||
"engines": { | ||
@@ -96,5 +96,5 @@ "node": ">=18" | ||
"zod": "^3.23.8", | ||
"@scalar/object-utils": "1.1.9", | ||
"@scalar/openapi-types": "0.1.1", | ||
"@scalar/themes": "0.9.32", | ||
"@scalar/object-utils": "1.1.9", | ||
"@scalar/types": "0.0.11" | ||
@@ -109,4 +109,4 @@ }, | ||
"@scalar/build-tooling": "0.1.10", | ||
"@scalar/openapi-types": "0.1.1", | ||
"@scalar/openapi-parser": "0.8.4" | ||
"@scalar/openapi-parser": "0.8.4", | ||
"@scalar/openapi-types": "0.1.1" | ||
}, | ||
@@ -113,0 +113,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
351190