@ladjs/web 19.0.0 → 19.0.2
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 +4 -0
- package/package.json +13 -13
package/index.js
CHANGED
|
@@ -128,12 +128,16 @@ class Web {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
: null,
|
|
131
|
+
// Expect-CT header is deprecated
|
|
132
|
+
expectCt: false,
|
|
133
|
+
/*
|
|
131
134
|
expectCt: {
|
|
132
135
|
enforce: true,
|
|
133
136
|
// https://httpwg.org/http-extensions/expect-ct.html#maximum-max-age
|
|
134
137
|
maxAge: ms('30d') / 1000,
|
|
135
138
|
reportUri
|
|
136
139
|
},
|
|
140
|
+
*/
|
|
137
141
|
// <https://hstspreload.org/>
|
|
138
142
|
// <https://helmetjs.github.io/docs/hsts/#preloading-hsts-in-chrome>
|
|
139
143
|
hsts: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ladjs/web",
|
|
3
3
|
"description": "Web server for Lad",
|
|
4
|
-
"version": "19.0.
|
|
4
|
+
"version": "19.0.2",
|
|
5
5
|
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/ladjs/web/issues",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@koa/router": "^12.0.0",
|
|
15
|
-
"@ladjs/i18n": "^8.0.
|
|
15
|
+
"@ladjs/i18n": "^8.0.3",
|
|
16
16
|
"@ladjs/koa-better-static": "^2.0.1",
|
|
17
17
|
"@ladjs/koa-cache-responses": "^0.0.3",
|
|
18
18
|
"@ladjs/koa-isajax": "^2.0.0",
|
|
19
19
|
"@ladjs/koa-simple-ratelimit": "^4.1.1",
|
|
20
|
-
"@ladjs/redis": "^1.
|
|
20
|
+
"@ladjs/redis": "^1.1.1",
|
|
21
21
|
"@ladjs/shared-config": "^8.0.0",
|
|
22
22
|
"@ladjs/state-helper": "^3.0.1",
|
|
23
23
|
"@ladjs/store-ip-address": "^0.0.7",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"express-request-id": "1.4.1",
|
|
27
27
|
"is-string-and-not-blank": "^0.0.2",
|
|
28
28
|
"kcors": "^2.2.2",
|
|
29
|
-
"koa": "^2.
|
|
29
|
+
"koa": "^2.14.1",
|
|
30
30
|
"koa-404-handler": "^0.1.0",
|
|
31
31
|
"koa-basic-auth": "^4.0.0",
|
|
32
32
|
"koa-better-error-handler": "^10.0.7",
|
|
@@ -54,25 +54,25 @@
|
|
|
54
54
|
"response-time": "^2.3.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@commitlint/cli": "^17.
|
|
58
|
-
"@commitlint/config-conventional": "^17.
|
|
57
|
+
"@commitlint/cli": "^17.4.2",
|
|
58
|
+
"@commitlint/config-conventional": "^17.4.2",
|
|
59
59
|
"@ladjs/passport": "^5.0.3",
|
|
60
60
|
"ava": "^5.1.0",
|
|
61
|
-
"axe": "^11.
|
|
62
|
-
"cabin": "^11.
|
|
61
|
+
"axe": "^11.2.1",
|
|
62
|
+
"cabin": "^11.1.2",
|
|
63
63
|
"cross-env": "^7.0.3",
|
|
64
|
-
"eslint": "^8.
|
|
64
|
+
"eslint": "^8.31.0",
|
|
65
65
|
"eslint-config-xo-lass": "^2.0.1",
|
|
66
66
|
"fixpack": "^4.0.0",
|
|
67
|
-
"husky": "^8.0.
|
|
67
|
+
"husky": "^8.0.3",
|
|
68
68
|
"ioredis": "^5.2.4",
|
|
69
69
|
"ioredis-mock": "^8.2.2",
|
|
70
|
-
"lint-staged": "^13.0
|
|
70
|
+
"lint-staged": "^13.1.0",
|
|
71
71
|
"nyc": "^15.1.0",
|
|
72
72
|
"pug": "^3.0.2",
|
|
73
73
|
"remark-cli": "^11.0.0",
|
|
74
74
|
"remark-preset-github": "^4.0.4",
|
|
75
|
-
"supertest": "^6.3.
|
|
75
|
+
"supertest": "^6.3.3",
|
|
76
76
|
"xo": "^0.53.1"
|
|
77
77
|
},
|
|
78
78
|
"engines": {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"url": "https://github.com/ladjs/web"
|
|
109
109
|
},
|
|
110
110
|
"scripts": {
|
|
111
|
-
"lint": "xo && remark . -qfo && fixpack",
|
|
111
|
+
"lint": "xo --fix && remark . -qfo && fixpack",
|
|
112
112
|
"prepare": "husky install",
|
|
113
113
|
"pretest": "npm run lint",
|
|
114
114
|
"test": "npm run test-coverage",
|