Socket
Socket
Sign inDemoInstall

openapi-types

Package Overview
Dependencies
0
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.1 to 7.2.2

7

CHANGELOG.md

@@ -7,2 +7,9 @@ # openapi-types Changelog

## 1.4.0 - 2021-01-05
### Added
- Added an index signature to `OperationObject` to allow access to extensions.
### Fixed
- Added `undefined` to the index signature for `PathsObject` to prevent unsafe null access when `strictNullChecks` is enabled.
## 1.3.5 - 2019-05-13

@@ -9,0 +16,0 @@ ### Fixed

3

dist/index.d.ts

@@ -56,3 +56,3 @@ export declare namespace OpenAPI {

interface PathsObject {
[pattern: string]: PathItemObject;
[pattern: string]: PathItemObject | undefined;
}

@@ -89,2 +89,3 @@ interface PathItemObject {

servers?: ServerObject[];
[extension: string]: unknown;
}

@@ -91,0 +92,0 @@ interface ExternalDocumentationObject {

{
"name": "openapi-types",
"version": "7.0.1",
"version": "7.2.2",
"description": "Types for OpenAPI documents.",

@@ -24,3 +24,3 @@ "main": "./dist/index.js",

"license": "MIT",
"gitHead": "ce870adee618fc84d7d3683fe0847abe609b3277"
"gitHead": "db26bb847dabc2a17ac4f4f548d8cc47d48aaab7"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc