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

@inversify-cn/swagger-express-ts

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inversify-cn/swagger-express-ts - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

5

dist/express.configurator.js

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

var modelGenerator = require("./model-generator");
var _ = require("lodash");
function express(options) {

@@ -65,3 +66,3 @@ var path = '/api-docs/swagger.json';

var router = express_1.Router();
router.get(path, function (request, response, next) { return __awaiter(_this, void 0, void 0, function () {
router.get(path, _.memoize(function (request, response, next) { return __awaiter(_this, void 0, void 0, function () {
var data;

@@ -78,3 +79,3 @@ return __generator(this, function (_a) {

});
}); });
}); }));
return router;

@@ -81,0 +82,0 @@ }

2

package.json

@@ -6,3 +6,3 @@ {

},
"version": "1.1.2",
"version": "1.1.3",
"description": "Generate and serve swagger.json",

@@ -9,0 +9,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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