🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

openapi-backend

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-backend - npm Package Compare versions

Comparing version

to
5.8.0

5

backend.js

@@ -33,2 +33,3 @@ "use strict";

const refparser_1 = require("./refparser");
const dereference_json_schema_1 = require("dereference-json-schema");
const mock_json_schema_1 = require("mock-json-schema");

@@ -138,2 +139,6 @@ const router_1 = require("./router");

}
else if (this.quick && typeof this.inputDocument === 'object') {
// use sync dereference in quick mode
this.definition = (0, dereference_json_schema_1.dereferenceSync)(this.inputDocument);
}
else {

@@ -140,0 +145,0 @@ this.definition = (await (0, refparser_1.dereference)(this.document || this.inputDocument));

3

package.json
{
"name": "openapi-backend",
"description": "Build, Validate, Route, Authenticate and Mock using OpenAPI definitions. Framework-agnostic",
"version": "5.7.0",
"version": "5.8.0",
"author": "Viljami Kuosmanen <viljami@viljami.io>",

@@ -49,2 +49,3 @@ "funding": "https://github.com/sponsors/anttiviljami",

"cookie": "^0.5.0",
"dereference-json-schema": "^0.2.1",
"lodash": "^4.17.15",

@@ -51,0 +52,0 @@ "mock-json-schema": "^1.0.7",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet