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

@scalar/oas-utils

Package Overview
Dependencies
Maintainers
0
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scalar/oas-utils - npm Package Compare versions

Comparing version 0.2.69 to 0.2.70

10

CHANGELOG.md
# @scalar/oas-utils
## 0.2.70
### Patch Changes
- c3e76d9: fix: handle scopes as an array
- Updated dependencies [a607115]
- @scalar/openapi-types@0.1.5
- @scalar/types@0.0.19
- @scalar/themes@0.9.46
## 0.2.69

@@ -4,0 +14,0 @@

@@ -25,2 +25,7 @@ import { securitySchemeSchema, authExampleFromSchema } from '../entities/spec/security.js';

...flow,
scopes:
// Ensure we convert array scope to an object
Array.isArray(flow.scopes) && typeof flow.scopes[0] === 'string'
? flow.scopes.reduce((prev, s) => ({ ...prev, [s]: '' }), {})
: flow.scopes,
type,

@@ -27,0 +32,0 @@ },

14

package.json

@@ -19,3 +19,3 @@ {

],
"version": "0.2.69",
"version": "0.2.70",
"engines": {

@@ -110,6 +110,6 @@ "node": ">=18"

"zod": "^3.23.8",
"@scalar/themes": "0.9.46",
"@scalar/object-utils": "1.1.11",
"@scalar/themes": "0.9.45",
"@scalar/types": "0.0.18",
"@scalar/openapi-types": "0.1.4"
"@scalar/openapi-types": "0.1.5",
"@scalar/types": "0.0.19"
},

@@ -121,5 +121,5 @@ "devDependencies": {

"zod-to-ts": "^1.2.0",
"@scalar/openapi-parser": "0.8.8",
"@scalar/openapi-types": "0.1.4",
"@scalar/build-tooling": "0.1.11"
"@scalar/build-tooling": "0.1.11",
"@scalar/openapi-types": "0.1.5",
"@scalar/openapi-parser": "0.8.9"
},

@@ -126,0 +126,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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