Socket
Socket
Sign inDemoInstall

@apidevtools/swagger-parser

Package Overview
Dependencies
14
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.2 to 10.0.3

10

lib/index.js

@@ -20,4 +20,4 @@ /* eslint-disable no-unused-vars */

*
* @constructor
* @extends $RefParser
* @class
* @augments $RefParser
*/

@@ -53,3 +53,3 @@ function SwaggerParser () {

* @param {ParserOptions} [options] - Options that determine how the API is parsed
* @param {function} [callback] - An error-first callback. The second parameter is the parsed API object.
* @param {Function} [callback] - An error-first callback. The second parameter is the parsed API object.
* @returns {Promise} - The returned promise resolves with the parsed API object.

@@ -119,3 +119,3 @@ */

* @param {ParserOptions} [options] - Options that determine how the API is parsed, dereferenced, and validated
* @param {function} [callback] - An error-first callback. The second parameter is the parsed API object.
* @param {Function} [callback] - An error-first callback. The second parameter is the parsed API object.
* @returns {Promise} - The returned promise resolves with the parsed API object.

@@ -136,3 +136,3 @@ */

* @param {ParserOptions} [options] - Options that determine how the API is parsed, dereferenced, and validated
* @param {function} [callback] - An error-first callback. The second parameter is the parsed API object.
* @param {Function} [callback] - An error-first callback. The second parameter is the parsed API object.
* @returns {Promise} - The returned promise resolves with the parsed API object.

@@ -139,0 +139,0 @@ */

@@ -14,4 +14,4 @@ "use strict";

* @param {object|ParserOptions} [_options] - Overridden options
* @constructor
* @extends $RefParserOptions
* @class
* @augments $RefParserOptions
*/

@@ -18,0 +18,0 @@ function ParserOptions (_options) {

{
"name": "@apidevtools/swagger-parser",
"version": "10.0.2",
"version": "10.0.3",
"description": "Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers",

@@ -82,3 +82,3 @@ "keywords": [

"call-me-maybe": "^1.0.1",
"z-schema": "^4.2.3"
"z-schema": "^5.0.1"
},

@@ -85,0 +85,0 @@ "peerDependencies": {

@@ -146,3 +146,2 @@ Swagger 2.0 and OpenAPI 3.0 parser/validator

[![Coveralls](https://apitools.dev/img/badges/coveralls.svg)](https://coveralls.io)
[![Travis CI](https://apitools.dev/img/badges/travis-ci.svg)](https://travis-ci.com)
[![SauceLabs](https://apitools.dev/img/badges/sauce-labs.svg)](https://saucelabs.com)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc