@ladjs/web 21.0.15 → 21.0.17
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 +0 -6
- package/package.json +9 -9
package/index.js
CHANGED
|
@@ -259,12 +259,6 @@ class Web {
|
|
|
259
259
|
// (needs to come before i18n so HSTS header gets added)
|
|
260
260
|
if (this.config.helmet) app.use(helmet(this.config.helmet));
|
|
261
261
|
|
|
262
|
-
// remove X-XSS-Protection header from Helmet
|
|
263
|
-
app.use((ctx, next) => {
|
|
264
|
-
ctx.remove('X-XSS-Protection');
|
|
265
|
-
return next();
|
|
266
|
-
});
|
|
267
|
-
|
|
268
262
|
// i18n
|
|
269
263
|
if (this.config.i18n) {
|
|
270
264
|
// create new @ladjs/i18n instance
|
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.
|
|
4
|
+
"version": "21.0.17",
|
|
5
5
|
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/ladjs/web/issues",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@ladjs/koa-isajax": "^2.0.0",
|
|
19
19
|
"@ladjs/koa-simple-ratelimit": "^4.1.1",
|
|
20
20
|
"@ladjs/koa-views": "^9.0.0",
|
|
21
|
-
"@ladjs/passport": "^5.1.
|
|
21
|
+
"@ladjs/passport": "^5.1.2",
|
|
22
22
|
"@ladjs/redis": "^1.1.1",
|
|
23
23
|
"@ladjs/shared-config": "^9.1.4",
|
|
24
24
|
"@ladjs/state-helper": "^3.0.1",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"express-request-id": "1.4.1",
|
|
31
31
|
"is-string-and-not-blank": "^0.0.2",
|
|
32
32
|
"kcors": "^2.2.2",
|
|
33
|
-
"koa": "^2.15.
|
|
33
|
+
"koa": "^2.15.3",
|
|
34
34
|
"koa-404-handler": "^0.1.0",
|
|
35
35
|
"koa-basic-auth": "^4.0.0",
|
|
36
36
|
"koa-better-error-handler": "^11.0.4",
|
|
@@ -56,22 +56,22 @@
|
|
|
56
56
|
"response-time": "^2.3.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@commitlint/cli": "^
|
|
60
|
-
"@commitlint/config-conventional": "^
|
|
59
|
+
"@commitlint/cli": "^19.2.2",
|
|
60
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
61
61
|
"ava": "5",
|
|
62
62
|
"cross-env": "^7.0.3",
|
|
63
63
|
"eslint": "^8.55.0",
|
|
64
64
|
"eslint-config-xo-lass": "^2.0.1",
|
|
65
65
|
"fixpack": "^4.0.0",
|
|
66
|
-
"husky": "^
|
|
67
|
-
"ioredis": "^5.
|
|
66
|
+
"husky": "^9.0.11",
|
|
67
|
+
"ioredis": "^5.4.1",
|
|
68
68
|
"ioredis-mock": "^8.9.0",
|
|
69
|
-
"lint-staged": "^15.2.
|
|
69
|
+
"lint-staged": "^15.2.2",
|
|
70
70
|
"nyc": "^15.1.0",
|
|
71
71
|
"pug": "^3.0.2",
|
|
72
72
|
"remark-cli": "11",
|
|
73
73
|
"remark-preset-github": "^4.0.4",
|
|
74
|
-
"supertest": "^6.3.
|
|
74
|
+
"supertest": "^6.3.4",
|
|
75
75
|
"xo": "^0.56.0"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|