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

api-doc-validator

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-doc-validator - npm Package Compare versions

Comparing version 2.8.0 to 2.9.0

6

lib/templates/api-createRequest.js

@@ -44,3 +44,3 @@

const ajv = Api.getAjv({type: 'request', endpoint: e, context: this, meta});
const errorHandler = context.errorHandler || Api.errorHandler;
const {errorHandler, resultHandler} = Api;

@@ -147,2 +147,6 @@ if (e.params) {

if (resultHandler) {
return resultHandler({statusCode, response: body, endpoint: e, context: this, meta});
}
if (statusCode >= 300) {

@@ -149,0 +153,0 @@ throw res;

4

package.json
{
"name": "api-doc-validator",
"version": "2.8.0",
"version": "2.9.0",
"description": "api doc and validator",

@@ -32,3 +32,3 @@ "main": "index.js",

"@babel/types": "^7.18.10",
"adv-parser": "^2.3.1",
"adv-parser": "^2.4.0",
"commander": "^5.1.0",

@@ -35,0 +35,0 @@ "glob": "^7.2.3",

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