@ladjs/web 11.0.1 → 11.0.5
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.
- package/index.js +3 -1
- package/package.json +29 -29
package/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
const process = require('process');
|
|
1
2
|
const http = require('http');
|
|
2
3
|
const http2 = require('http2');
|
|
3
4
|
const path = require('path');
|
|
@@ -326,7 +327,8 @@ class Web {
|
|
|
326
327
|
store: redisStore({ client }),
|
|
327
328
|
key: this.config.cookiesKey,
|
|
328
329
|
cookie: this.config.cookies,
|
|
329
|
-
genSid: this.config.genSid
|
|
330
|
+
genSid: this.config.genSid,
|
|
331
|
+
...this.config.session
|
|
330
332
|
})
|
|
331
333
|
);
|
|
332
334
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ladjs/web",
|
|
3
3
|
"description": "Web server for Lad",
|
|
4
|
-
"version": "11.0.
|
|
4
|
+
"version": "11.0.5",
|
|
5
5
|
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
|
|
6
6
|
"ava": {
|
|
7
7
|
"failFast": true,
|
|
@@ -20,69 +20,69 @@
|
|
|
20
20
|
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@hapi/boom": "^9.1.
|
|
24
|
-
"@koa/router": "^10.
|
|
25
|
-
"@ladjs/i18n": "^7.
|
|
23
|
+
"@hapi/boom": "^9.1.4",
|
|
24
|
+
"@koa/router": "^10.1.1",
|
|
25
|
+
"@ladjs/i18n": "^7.2.4",
|
|
26
26
|
"@ladjs/koa-better-static": "^2.0.1",
|
|
27
27
|
"@ladjs/koa-cache-responses": "^0.0.3",
|
|
28
28
|
"@ladjs/redis": "^1.0.7",
|
|
29
|
-
"@ladjs/shared-config": "^
|
|
29
|
+
"@ladjs/shared-config": "^6.0.0",
|
|
30
30
|
"@ladjs/state-helper": "^1.0.0",
|
|
31
31
|
"@ladjs/store-ip-address": "^0.0.7",
|
|
32
|
-
"boolean": "^3.
|
|
32
|
+
"boolean": "^3.1.4",
|
|
33
33
|
"cabin": "^9.0.4",
|
|
34
|
-
"crypto-random-string": "
|
|
34
|
+
"crypto-random-string": "3",
|
|
35
35
|
"express-request-id": "^1.4.1",
|
|
36
36
|
"is-string-and-not-blank": "^0.0.2",
|
|
37
37
|
"kcors": "^2.2.2",
|
|
38
|
-
"koa": "^2.13.
|
|
39
|
-
"koa-404-handler": "^0.0
|
|
38
|
+
"koa": "^2.13.4",
|
|
39
|
+
"koa-404-handler": "^0.1.0",
|
|
40
40
|
"koa-basic-auth": "^4.0.0",
|
|
41
|
-
"koa-better-error-handler": "^7.0.
|
|
41
|
+
"koa-better-error-handler": "^7.0.1",
|
|
42
42
|
"koa-better-flash": "^0.0.4",
|
|
43
43
|
"koa-better-timeout": "^0.0.6",
|
|
44
44
|
"koa-bodyparser": "^4.3.0",
|
|
45
|
-
"koa-cash": "^4.0
|
|
46
|
-
"koa-compress": "^5.0
|
|
45
|
+
"koa-cash": "^4.1.0",
|
|
46
|
+
"koa-compress": "^5.1.0",
|
|
47
47
|
"koa-conditional-get": "^3.0.0",
|
|
48
48
|
"koa-connect": "^2.1.0",
|
|
49
49
|
"koa-csrf": "^3.0.8",
|
|
50
50
|
"koa-etag": "^4.0.0",
|
|
51
51
|
"koa-favicon": "^2.1.0",
|
|
52
|
-
"koa-generic-session": "^2.
|
|
52
|
+
"koa-generic-session": "^2.2.0",
|
|
53
53
|
"koa-helmet": "5",
|
|
54
54
|
"koa-isajax": "^1.0.5",
|
|
55
55
|
"koa-json": "^2.0.2",
|
|
56
56
|
"koa-meta": "^1.0.1",
|
|
57
57
|
"koa-methodoverride": "^2.0.0",
|
|
58
58
|
"koa-no-trailing-slash": "^2.1.0",
|
|
59
|
-
"koa-redirect-loop": "^
|
|
59
|
+
"koa-redirect-loop": "^1.0.1",
|
|
60
60
|
"koa-redis": "^4.0.1",
|
|
61
|
-
"koa-simple-ratelimit": "^5.1.
|
|
62
|
-
"koa-views": "^
|
|
63
|
-
"lodash": "^4.17.
|
|
61
|
+
"koa-simple-ratelimit": "^5.1.1",
|
|
62
|
+
"koa-views": "^8.0.0",
|
|
63
|
+
"lodash": "^4.17.21",
|
|
64
64
|
"ms": "^2.1.3",
|
|
65
|
-
"multimatch": "
|
|
65
|
+
"multimatch": "5",
|
|
66
66
|
"request-received": "^0.0.3",
|
|
67
67
|
"response-time": "^2.3.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@commitlint/cli": "^
|
|
71
|
-
"@commitlint/config-conventional": "^
|
|
70
|
+
"@commitlint/cli": "^15.0.0",
|
|
71
|
+
"@commitlint/config-conventional": "^15.0.0",
|
|
72
72
|
"ava": "^3.15.0",
|
|
73
|
-
"codecov": "^3.8.
|
|
73
|
+
"codecov": "^3.8.3",
|
|
74
74
|
"cross-env": "^7.0.3",
|
|
75
|
-
"eslint": "^
|
|
76
|
-
"eslint-config-xo-lass": "^1.0.
|
|
75
|
+
"eslint": "^8.3.0",
|
|
76
|
+
"eslint-config-xo-lass": "^1.0.6",
|
|
77
77
|
"fixpack": "^4.0.0",
|
|
78
|
-
"husky": "^
|
|
79
|
-
"lint-staged": "^
|
|
78
|
+
"husky": "^7.0.4",
|
|
79
|
+
"lint-staged": "^12.1.2",
|
|
80
80
|
"nyc": "^15.1.0",
|
|
81
|
-
"pug": "^3.0.
|
|
82
|
-
"remark-cli": "^
|
|
81
|
+
"pug": "^3.0.2",
|
|
82
|
+
"remark-cli": "^10.0.1",
|
|
83
83
|
"remark-preset-github": "^4.0.1",
|
|
84
|
-
"supertest": "^6.1.
|
|
85
|
-
"xo": "^0.
|
|
84
|
+
"supertest": "^6.1.6",
|
|
85
|
+
"xo": "^0.47.0"
|
|
86
86
|
},
|
|
87
87
|
"engines": {
|
|
88
88
|
"node": ">=10.10.0"
|