@ladjs/api 14.1.14 → 14.1.16
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 +1 -1
- package/package.json +9 -9
package/index.js
CHANGED
|
@@ -198,7 +198,7 @@ class API {
|
|
|
198
198
|
|
|
199
199
|
// Allow before hooks to get setup
|
|
200
200
|
if (_.isFunction(this.config.hookBeforeRoutes))
|
|
201
|
-
this.config.hookBeforeRoutes(app);
|
|
201
|
+
this.config.hookBeforeRoutes(app, this.config);
|
|
202
202
|
|
|
203
203
|
// Mount the app's defined and nested routes
|
|
204
204
|
if (this.config.routes) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ladjs/api",
|
|
3
3
|
"description": "API server for Lad",
|
|
4
|
-
"version": "14.1.
|
|
4
|
+
"version": "14.1.16",
|
|
5
5
|
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/ladjs/api/issues",
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"@koa/router": "^12.0.1",
|
|
15
15
|
"@ladjs/i18n": "^8.0.3",
|
|
16
16
|
"@ladjs/koa-simple-ratelimit": "^4.1.1",
|
|
17
|
-
"@ladjs/passport": "^5.1.
|
|
17
|
+
"@ladjs/passport": "^5.1.4",
|
|
18
18
|
"@ladjs/redis": "^1.1.1",
|
|
19
19
|
"@ladjs/shared-config": "^9.1.4",
|
|
20
20
|
"@ladjs/store-ip-address": "^0.0.7",
|
|
21
|
-
"axe": "^12.2.
|
|
21
|
+
"axe": "^12.2.9",
|
|
22
22
|
"boolean": "^3.2.0",
|
|
23
|
-
"cabin": "^13.2.
|
|
23
|
+
"cabin": "^13.2.8",
|
|
24
24
|
"express-request-id": "1.4.1",
|
|
25
25
|
"kcors": "^2.2.2",
|
|
26
|
-
"koa": "^2.15.
|
|
26
|
+
"koa": "^2.15.3",
|
|
27
27
|
"koa-404-handler": "^0.1.0",
|
|
28
28
|
"koa-basic-auth": "^4.0.0",
|
|
29
29
|
"koa-better-error-handler": "^11.0.4",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
"response-time": "^2.3.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@commitlint/cli": "^
|
|
44
|
-
"@commitlint/config-conventional": "^
|
|
43
|
+
"@commitlint/cli": "^19.3.0",
|
|
44
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
45
45
|
"ava": "^5.3.1",
|
|
46
46
|
"cross-env": "^7.0.3",
|
|
47
47
|
"eslint": "^8.55.0",
|
|
48
48
|
"eslint-config-xo-lass": "^2.0.1",
|
|
49
49
|
"fixpack": "^4.0.0",
|
|
50
50
|
"husky": "^8.0.3",
|
|
51
|
-
"ioredis": "^5.
|
|
51
|
+
"ioredis": "^5.4.1",
|
|
52
52
|
"ioredis-mock": "^8.9.0",
|
|
53
|
-
"lint-staged": "^15.2.
|
|
53
|
+
"lint-staged": "^15.2.7",
|
|
54
54
|
"mongoose": "6",
|
|
55
55
|
"nyc": "^15.1.0",
|
|
56
56
|
"remark-cli": "11",
|