File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -61,28 +61,28 @@ class API {
6161 this . logger = _ . isPlainObject ( this . config . logger )
6262 ? new Cabin ( this . config . logger )
6363 : this . config . logger instanceof Cabin
64- ? this . config . logger
65- : new Cabin ( {
66- logger : this . config . logger || console
67- } ) ;
64+ ? this . config . logger
65+ : new Cabin ( {
66+ logger : this . config . logger || console
67+ } ) ;
6868 app . context . logger = this . logger ;
6969
7070 // Initialize redis
7171 this . client =
7272 this . config . redis === false
7373 ? false
7474 : _ . isPlainObject ( this . config . redis )
75- ? new Redis ( this . config . redis , this . logger , this . config . redisMonitor )
76- : this . config . redis ;
75+ ? new Redis ( this . config . redis , this . logger , this . config . redisMonitor )
76+ : this . config . redis ;
7777 app . context . client = this . client ;
7878
7979 // Expose passport
8080 this . passport =
8181 this . config . passport === false
8282 ? false
8383 : _ . isPlainObject ( this . config . passport )
84- ? new Passport ( this . config . passport , Users )
85- : this . config . passport ;
84+ ? new Passport ( this . config . passport , Users )
85+ : this . config . passport ;
8686 app . context . passport = this . passport ;
8787
8888 // Listen for errors emitted by app
Original file line number Diff line number Diff line change 1414 "@koa/router" : " ^12.0.1" ,
1515 "@ladjs/i18n" : " ^8.0.3" ,
1616 "@ladjs/koa-simple-ratelimit" : " ^4.1.1" ,
17- "@ladjs/passport" : " ^5.0.3 " ,
17+ "@ladjs/passport" : " ^5.1.0 " ,
1818 "@ladjs/redis" : " ^1.1.1" ,
1919 "@ladjs/shared-config" : " ^9.1.3" ,
2020 "@ladjs/store-ip-address" : " ^0.0.7" ,
3838 "response-time" : " ^2.3.2"
3939 },
4040 "devDependencies" : {
41- "@commitlint/cli" : " ^18.2.0 " ,
42- "@commitlint/config-conventional" : " ^18.1.0 " ,
41+ "@commitlint/cli" : " ^18.4.3 " ,
42+ "@commitlint/config-conventional" : " ^18.4.3 " ,
4343 "ava" : " ^5.3.1" ,
4444 "axe" : " ^12.2.3" ,
4545 "cabin" : " ^13.2.5" ,
5050 "husky" : " ^8.0.3" ,
5151 "ioredis" : " ^5.3.2" ,
5252 "ioredis-mock" : " ^8.9.0" ,
53- "lint-staged" : " ^15.0.2 " ,
53+ "lint-staged" : " ^15.2.0 " ,
5454 "mongoose" : " 6" ,
5555 "nyc" : " ^15.1.0" ,
5656 "remark-cli" : " 11" ,
You can’t perform that action at this time.
0 commit comments