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

swagger-parser

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-parser - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

16

lib/index.d.ts

@@ -258,2 +258,18 @@ import { OpenAPI } from "openapi-types";

}
/**
* The `validate` options control how Swagger Parser will validate the API.
*/
validate?: {
/**
* If set to `false`, then validating against the Swagger 2.0 Schema or OpenAPI 3.0 Schema is disabled.
*/
schema?: boolean,
/**
* If set to `false`, then validating against the Swagger 2.0 Specification is disabled.
*/
spec?: boolean,
}
}

@@ -260,0 +276,0 @@

10

package.json
{
"name": "swagger-parser",
"version": "7.0.0",
"version": "7.0.1",
"description": "Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers",

@@ -69,12 +69,12 @@ "keywords": [

"nyc": "^14.1.1",
"openapi-types": "^1.3.5",
"simplifyify": "^7.0.2",
"typescript": "^3.5.1",
"version-bump-prompt": "^5.0.2"
"typescript": "^3.5.2",
"version-bump-prompt": "^5.0.3"
},
"dependencies": {
"call-me-maybe": "^1.0.1",
"json-schema-ref-parser": "^7.0.1",
"json-schema-ref-parser": "^7.1.0",
"ono": "^5.0.1",
"openapi-schema-validation": "^0.4.2",
"openapi-types": "^1.3.5",
"swagger-methods": "^2.0.0",

@@ -81,0 +81,0 @@ "swagger-schema-official": "2.0.0-bab6bed",

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