Skip to content

Commit e4f9a52

Browse files
committed
chore: bump deps
1 parent 916d577 commit e4f9a52

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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",
@@ -38,8 +38,8 @@
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",
@@ -50,7 +50,7 @@
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",

0 commit comments

Comments
 (0)