Comparing version 1.0.6 to 1.0.7
@@ -18,3 +18,4 @@ "use strict"; | ||
var router = express_1.Router(); | ||
router.use.apply(router, controller.__routes_config__.middleware); | ||
if (!controller.__routes_config__.middleware.length) | ||
router.use.apply(router, controller.__routes_config__.middleware); | ||
var routes = Object.values(controller.__routes_config__.routes); | ||
@@ -21,0 +22,0 @@ for (var _i = 0, routes_1 = routes; _i < routes_1.length; _i++) { |
{ | ||
"name": "decopress", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "ExpressJS with TypeScript Decorators", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19270
235