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

@scalar/types

Package Overview
Dependencies
Maintainers
8
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scalar/types - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

10

CHANGELOG.md
# @scalar/types
## 0.0.8
### Patch Changes
- dc9aff2: chore: replace proprietary ScalarResponse with OpenAPI ResponseObject
- Updated dependencies [c577cde]
- Updated dependencies [dc9aff2]
- @scalar/themes@0.9.29
- @scalar/openapi-types@0.1.1
## 0.0.7

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

13

dist/legacy/reference-config.d.ts

@@ -1,2 +0,2 @@

import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
import type { OpenAPI, OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
import type { ThemeId } from '@scalar/themes';

@@ -9,3 +9,3 @@ import type { UseSeoMetaInput } from '@unhead/schema';

*/
export type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
export type { OpenAPI, OpenAPIV2, OpenAPIV3, OpenAPIV3_1, } from '@scalar/openapi-types';
export type ClientInfo = {

@@ -175,3 +175,3 @@ key: string;

'parameters'?: Parameters[];
'responses'?: Record<string, ScalarResponse>;
'responses'?: Record<string, OpenAPI.ResponseObject>;
'security'?: OpenAPIV3.SecurityRequirementObject[];

@@ -217,2 +217,5 @@ 'requestBody'?: RequestBody;

content?: RequestBodyMimeTypes;
headers?: {
[key: string]: OpenAPI.HeaderObject;
};
};

@@ -230,6 +233,2 @@ export type Query = {

};
export type ScalarResponse = {
description: string;
content: any;
};
export type RequestBody = {

@@ -236,0 +235,0 @@ description?: string;

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

],
"version": "0.0.7",
"version": "0.0.8",
"engines": {

@@ -49,4 +49,4 @@ "node": ">=18"

"@unhead/schema": "^1.9.5",
"@scalar/themes": "0.9.28",
"@scalar/openapi-types": "0.1.0"
"@scalar/openapi-types": "0.1.1",
"@scalar/themes": "0.9.29"
},

@@ -53,0 +53,0 @@ "devDependencies": {

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