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

@scalar/openapi-parser

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scalar/openapi-parser - npm Package Compare versions

Comparing version 0.8.8 to 0.8.9

7

CHANGELOG.md
# @scalar/openapi-parser
## 0.8.9
### Patch Changes
- 757fade: fix: when migrating example to example objects, the example should be inside the value attribute
- a607115: feat: add openapi 3.0.4 and openapi 3.1.1
## 0.8.8

@@ -4,0 +11,0 @@

6

dist/utils/upgradeFromThreeToThreeOne.js

@@ -12,3 +12,3 @@ import { traverse } from './traverse.js';

if (specification.openapi?.startsWith('3.0')) {
specification.openapi = '3.1.0';
specification.openapi = '3.1.1';
}

@@ -55,3 +55,5 @@ else {

schema.examples = {
default: schema.example,
default: {
value: schema.example,
},
};

@@ -58,0 +60,0 @@ }

@@ -11,3 +11,3 @@ import { traverse } from './traverse.js';

if (specification.swagger?.startsWith('2.0')) {
specification.openapi = '3.0.3';
specification.openapi = '3.0.4';
delete specification.swagger;

@@ -14,0 +14,0 @@ }

@@ -20,3 +20,3 @@ {

],
"version": "0.8.8",
"version": "0.8.9",
"engines": {

@@ -69,3 +69,3 @@ "node": ">=18"

"@scalar/build-tooling": "0.1.11",
"@scalar/openapi-types": "0.1.4"
"@scalar/openapi-types": "0.1.5"
},

@@ -72,0 +72,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