New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@scalar/types

Package Overview
Dependencies
Maintainers
8
Versions
31
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.25 to 0.0.26

9

CHANGELOG.md
# @scalar/types
## 0.0.26
### Patch Changes
- 60cd6f1: feat: render the operation description from the new store
- 60cd6f1: chore: deprecated the TransformedOperation type
- Updated dependencies [13333e6]
- @scalar/openapi-types@0.1.6
## 0.0.25

@@ -4,0 +13,0 @@

@@ -293,2 +293,8 @@ import type { OpenAPI, OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';

};
/**
* This is a very strange and custom way to represent the operation object.
* It’s the outcome of the `parse` helper.
*
* @deprecated This is evil. Stop using it. We’ll transition to use the new store.
*/
export type TransformedOperation = Operation & {

@@ -359,5 +365,17 @@ pathParameters?: Parameter[];

export type Definitions = OpenAPIV2.DefinitionsObject;
/**
* Webhook (after our super custom transformation process)
*
* @deprecated Let’s get rid of those super custom transformed entities and use the store instead.
*/
export type Webhooks = Record<string, Record<OpenAPIV3_1.HttpMethods, TransformedOperation & {
'x-internal'?: boolean;
}>>;
/**
* The native OpenAPI Webhook object, but with the x-internal and x-scalar-ignore properties
*/
export type Webhook = (OpenAPIV3.OperationObject | OpenAPIV3_1.OperationObject) & {
'x-internal'?: boolean;
'x-scalar-ignore'?: boolean;
};
export type Spec = {

@@ -364,0 +382,0 @@ 'tags'?: Tag[];

8

package.json

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

],
"version": "0.0.25",
"version": "0.0.26",
"engines": {

@@ -54,7 +54,7 @@ "node": ">=18"

"@unhead/schema": "^1.11.11",
"@scalar/openapi-types": "0.1.5"
"@scalar/openapi-types": "0.1.6"
},
"devDependencies": {
"@scalar/snippetz": "0.2.9",
"@scalar/build-tooling": "0.1.12"
"@scalar/build-tooling": "0.1.12",
"@scalar/snippetz": "0.2.10"
},

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