Skip to content

Commit 6571730

Browse files
authored
Merge pull request #11 from fabrix-app/v1.5
[feat] release LTS
2 parents 05d8fc6 + 23ab0e9 commit 6571730

File tree

3 files changed

+30
-22
lines changed

3 files changed

+30
-22
lines changed

lib/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FabrixApp } from '@fabrix/fabrix'
2-
import { FabrixController } from '@fabrix/fabrix/dist/common'
2+
import { FabrixController, FabrixGeneric } from '@fabrix/fabrix/dist/common'
33
import { FabrixPolicy } from '@fabrix/fabrix/dist/common'
44
import { get, omit, isString } from 'lodash'
55
import { Router } from 'call'
@@ -258,7 +258,7 @@ export const Utils = {
258258
return `${ prefix }/${ path }`
259259
},
260260

261-
getPolicyFromString(app: FabrixApp, handler): FabrixPolicy {
261+
getPolicyFromString(app: FabrixApp, handler): FabrixGeneric | FabrixPolicy {
262262
return get(app.policies, handler)
263263
},
264264

@@ -316,7 +316,7 @@ export const Utils = {
316316
/**
317317
*
318318
*/
319-
getControllerFromString(app: FabrixApp, handler): FabrixController {
319+
getControllerFromString(app: FabrixApp, handler): FabrixGeneric | FabrixController {
320320
return get(app.controllers, handler)
321321
},
322322

package-lock.json

Lines changed: 23 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fabrix/spool-router",
3-
"version": "1.1.4",
3+
"version": "1.5.0",
44
"description": "Spool - Router for Fabrix",
55
"scripts": {
66
"build": "tsc -p ./lib/tsconfig.release.json",
@@ -44,12 +44,12 @@
4444
}
4545
],
4646
"dependencies": {
47-
"joi": "^13.4.0",
47+
"joi": "^13.6.0",
4848
"call": "^5",
49-
"lodash": "^4.17.10"
49+
"lodash": "^4.17.11"
5050
},
5151
"devDependencies": {
52-
"@fabrix/fabrix": "^1.1.4",
52+
"@fabrix/fabrix": "^1.5.0",
5353
"@fabrix/lint": "^1.0.0-alpha.3",
5454
"@types/lodash": "^4.14.109",
5555
"@types/node": "~10.3.4",

0 commit comments

Comments
 (0)