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

volos-swagger

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

volos-swagger - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

lib/connect-middleware.js

@@ -29,3 +29,3 @@ 'use strict';

return function(req, res, next) {
var mwFunction = function(req, res, next) {
if (debug.enabled) { debug('handle req: ' + req.path); }

@@ -41,2 +41,6 @@ if (!(req.swagger && req.swagger.operation)) { return next(); }

};
mwFunction.resources = resourcesMap; // backward compatible and exposes the resourceMap to clients
return mwFunction;
}

@@ -43,0 +47,0 @@

2

package.json
{
"name": "volos-swagger",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Middleware for bridging swagger (via swagger-tools) and volos",

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