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

redoc

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redoc - npm Package Compare versions

Comparing version 2.1.5 to 2.2.0

2

bundles/756674defce81e90acea.worker.js.LICENSE.txt
/*!
* ReDoc - OpenAPI/Swagger-generated API Reference Documentation
* -------------------------------------------------------------
* Version: "2.1.5"
* Version: "2.2.0"
* Repo: https://github.com/Redocly/redoc

@@ -6,0 +6,0 @@ */

/*!
* ReDoc - OpenAPI/Swagger-generated API Reference Documentation
* -------------------------------------------------------------
* Version: "2.1.5"
* Version: "2.2.0"
* Repo: https://github.com/Redocly/redoc
*/
/*!
* ReDoc - OpenAPI/Swagger-generated API Reference Documentation
* -------------------------------------------------------------
* Version: "2.1.5"
* Version: "2.2.0"
* Repo: https://github.com/Redocly/redoc
*/

@@ -10,3 +10,3 @@ /*!

* -------------------------------------------------------------
* Version: "2.1.5"
* Version: "2.2.0"
* Repo: https://github.com/Redocly/redoc

@@ -29,3 +29,3 @@ */

/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */
/*! @license DOMPurify 3.1.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.3/LICENSE */

@@ -32,0 +32,0 @@ /*!***************************************************

{
"name": "redoc",
"version": "2.1.5",
"version": "2.2.0",
"description": "ReDoc",

@@ -65,3 +65,3 @@ "repository": {

"@cypress/webpack-preprocessor": "^5.17.1",
"@size-limit/preset-app": "^8.2.6",
"@size-limit/file": "^11.1.4",
"@types/chai": "^4.2.18",

@@ -118,3 +118,3 @@ "@types/dompurify": "^2.2.2",

"shelljs": "^0.8.4",
"size-limit": "^8.2.6",
"size-limit": "^11.1.4",
"style-loader": "^3.3.1",

@@ -121,0 +121,0 @@ "styled-components": "^5.3.0",

@@ -52,3 +52,3 @@ <div align="center">

```bash
npx @redocly/cli build-docs openapi.yaml
npx @redocly/cli build-docs openapi.yaml
```

@@ -120,2 +120,3 @@

* [`x-codeSamples`](docs/redoc-vendor-extensions.md#x-codeSamples) - specify operation code samples
* [`x-badges`](docs/redoc-vendor-extensions.md#x-badges) - specify operation badges
* [`x-examples`](docs/redoc-vendor-extensions.md#x-examples) - specify JSON example for requests

@@ -122,0 +123,0 @@ * [`x-nullable`](docs/redoc-vendor-extensions.md#x-nullable) - mark schema param as a nullable

@@ -12,2 +12,3 @@ import * as React from 'react';

type: string;
color?: string | undefined;
}, never>;

@@ -6,2 +6,3 @@ import { ResolvedThemeInterface } from '../../styled-components';

type: string;
color?: string | undefined;
}, "className">;

@@ -8,0 +9,0 @@ export declare const MenuItemUl: import("styled-components").StyledComponent<"ul", ResolvedThemeInterface, {

@@ -7,3 +7,3 @@ import { GroupModel } from './Group.model';

import { ResponseModel } from './Response';
import type { OpenAPIExternalDocumentation, OpenAPIServer, OpenAPIXCodeSample } from '../../types';
import type { OpenAPIExternalDocumentation, OpenAPIServer, OpenAPIXBadges, OpenAPIXCodeSample } from '../../types';
import type { OpenAPIParser } from '../OpenAPIParser';

@@ -44,2 +44,3 @@ import type { RedocNormalizedOptions } from '../RedocNormalizedOptions';

httpVerb: string;
badges: OpenAPIXBadges[];
deprecated: boolean;

@@ -46,0 +47,0 @@ path: string;

@@ -65,2 +65,7 @@ import type { Omit } from './index';

}
export interface OpenAPIXBadges {
name: string;
color?: string;
position?: 'before' | 'after';
}
export interface OpenAPIOperation {

@@ -83,2 +88,3 @@ tags?: string[];

'x-code-samples'?: OpenAPIXCodeSample[];
'x-badges'?: OpenAPIXBadges[];
}

@@ -85,0 +91,0 @@ export interface OpenAPIParameter {

@@ -73,2 +73,8 @@ import type { Omit } from './index';

export interface OpenAPIXBadges {
name: string;
color?: string;
position?: 'before' | 'after';
}
export interface OpenAPIOperation {

@@ -89,2 +95,3 @@ tags?: string[];

'x-code-samples'?: OpenAPIXCodeSample[]; // deprecated
'x-badges'?: OpenAPIXBadges[];
}

@@ -91,0 +98,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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