@ladjs/web 21.0.10 → 21.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +8 -8
  2. package/package.json +7 -7
package/index.js CHANGED
@@ -194,10 +194,10 @@ class Web {
194
194
  this.logger = _.isPlainObject(this.config.logger)
195
195
  ? new Cabin(this.config.logger)
196
196
  : this.config.logger instanceof Cabin
197
- ? this.config.logger
198
- : new Cabin({
199
- logger: this.config.logger || console
200
- });
197
+ ? this.config.logger
198
+ : new Cabin({
199
+ logger: this.config.logger || console
200
+ });
201
201
  app.context.logger = this.logger;
202
202
 
203
203
  // initialize redis
@@ -205,8 +205,8 @@ class Web {
205
205
  this.config.redis === false
206
206
  ? false
207
207
  : _.isPlainObject(this.config.redis)
208
- ? new Redis(this.config.redis, this.logger, this.config.redisMonitor)
209
- : this.config.redis;
208
+ ? new Redis(this.config.redis, this.logger, this.config.redisMonitor)
209
+ : this.config.redis;
210
210
  app.context.client = this.client;
211
211
 
212
212
  // expose passport
@@ -214,8 +214,8 @@ class Web {
214
214
  this.config.passport === false
215
215
  ? false
216
216
  : _.isPlainObject(this.config.passport)
217
- ? new Passport(this.config.passport, Users)
218
- : this.config.passport;
217
+ ? new Passport(this.config.passport, Users)
218
+ : this.config.passport;
219
219
  app.context.passport = this.passport;
220
220
 
221
221
  // listen for errors emitted by app
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ladjs/web",
3
3
  "description": "Web server for Lad",
4
- "version": "21.0.10",
4
+ "version": "21.0.12",
5
5
  "author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/ladjs/web/issues",
@@ -53,20 +53,20 @@
53
53
  "response-time": "^2.3.2"
54
54
  },
55
55
  "devDependencies": {
56
- "@commitlint/cli": "^17.8.0",
57
- "@commitlint/config-conventional": "^17.8.0",
58
- "@ladjs/passport": "^5.0.3",
59
- "ava": "^5.3.1",
56
+ "@commitlint/cli": "^18.4.3",
57
+ "@commitlint/config-conventional": "^18.4.3",
58
+ "@ladjs/passport": "^5.1.0",
59
+ "ava": "5",
60
60
  "axe": "^12.2.3",
61
61
  "cabin": "^13.2.5",
62
62
  "cross-env": "^7.0.3",
63
- "eslint": "^8.51.0",
63
+ "eslint": "^8.52.0",
64
64
  "eslint-config-xo-lass": "^2.0.1",
65
65
  "fixpack": "^4.0.0",
66
66
  "husky": "^8.0.3",
67
67
  "ioredis": "^5.3.2",
68
68
  "ioredis-mock": "^8.9.0",
69
- "lint-staged": "^15.0.2",
69
+ "lint-staged": "^15.2.0",
70
70
  "nyc": "^15.1.0",
71
71
  "pug": "^3.0.2",
72
72
  "remark-cli": "11",