@egodigital/express-controllers
Advanced tools
Comparing version
# Change Log (@egodigital/express-controllers) | ||
## 5.0.0 | ||
* `@` character prefixes in directory paths, will be interpreted as `:` route parameters prefixes now | ||
## 4.7.0 | ||
@@ -4,0 +8,0 @@ |
@@ -440,2 +440,5 @@ "use strict"; | ||
routerPath = normalizeRoutePath(routerPath); | ||
// route parameters | ||
routerPath = routerPath.split('/@') | ||
.join('/:'); | ||
} | ||
@@ -442,0 +445,0 @@ if (!_.isNil(prepare)) { |
{ | ||
"name": "@egodigital/express-controllers", | ||
"version": "4.7.0", | ||
"version": "5.0.0", | ||
"description": "Sets up controllers for Express framework.", | ||
@@ -43,4 +43,4 @@ "author": "e.GO Digital GmbH, Aachen, Germany", | ||
"@types/js-yaml": "^3.12.1", | ||
"@types/lodash": "^4.14.137", | ||
"@types/node": "^10.14.15", | ||
"@types/lodash": "^4.14.138", | ||
"@types/node": "^10.14.17", | ||
"@types/swagger-ui-express": "^3.0.1", | ||
@@ -55,3 +55,3 @@ "express": "^4.17.1", | ||
"devDependencies": { | ||
"tslint": "^5.18.0", | ||
"tslint": "^5.19.0", | ||
"typedoc": "^0.15.0", | ||
@@ -58,0 +58,0 @@ "typescript": "3.4.5" |
119940
0.18%2725
0.11%Updated
Updated