@ladjs/api 10.0.2 → 10.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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +12 -10
package/index.js CHANGED
@@ -84,7 +84,7 @@ class API {
84
84
  });
85
85
 
86
86
  // Override koa's undocumented error handler
87
- app.context.onerror = errorHandler(false);
87
+ app.context.onerror = errorHandler();
88
88
 
89
89
  // Adds request received hrtime and date symbols to request object
90
90
  // (which is used by Cabin internally to add `request.timestamp` to logs
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ladjs/api",
3
3
  "description": "API server for Lad",
4
- "version": "10.0.2",
4
+ "version": "10.0.5",
5
5
  "author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/ladjs/api/issues",
@@ -14,7 +14,7 @@
14
14
  "@koa/router": "^10.1.1",
15
15
  "@ladjs/i18n": "^7.2.6",
16
16
  "@ladjs/koa-simple-ratelimit": "^3.0.0",
17
- "@ladjs/passport": "^5.0.1",
17
+ "@ladjs/passport": "^5.0.2",
18
18
  "@ladjs/redis": "^1.0.7",
19
19
  "@ladjs/shared-config": "^7.0.3",
20
20
  "@ladjs/store-ip-address": "^0.0.7",
@@ -25,7 +25,7 @@
25
25
  "koa": "^2.13.4",
26
26
  "koa-404-handler": "^0.1.0",
27
27
  "koa-basic-auth": "^4.0.0",
28
- "koa-better-error-handler": "^9.0.0",
28
+ "koa-better-error-handler": "^10.0.1",
29
29
  "koa-better-timeout": "^0.0.6",
30
30
  "koa-bodyparser": "^4.3.0",
31
31
  "koa-compress": "^5.1.0",
@@ -41,21 +41,23 @@
41
41
  "response-time": "^2.3.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@commitlint/cli": "^17.0.2",
45
- "@commitlint/config-conventional": "^17.0.2",
44
+ "@commitlint/cli": "^17.0.3",
45
+ "@commitlint/config-conventional": "^17.0.3",
46
46
  "ava": "^4.3.0",
47
47
  "cross-env": "^7.0.3",
48
- "eslint": "^8.17.0",
48
+ "eslint": "^8.18.0",
49
49
  "eslint-config-xo-lass": "^2.0.1",
50
50
  "fixpack": "^4.0.0",
51
51
  "husky": "^8.0.1",
52
- "lint-staged": "13.0.0",
53
- "mongoose": "^6.3.5",
52
+ "ioredis": "^5.1.0",
53
+ "ioredis-mock": "^8.2.2",
54
+ "lint-staged": "13.0.3",
55
+ "mongoose": "^6.4.2",
54
56
  "nyc": "^15.1.0",
55
- "remark-cli": "^10.0.1",
57
+ "remark-cli": "^11.0.0",
56
58
  "remark-preset-github": "^4.0.4",
57
59
  "supertest": "^6.2.3",
58
- "xo": "^0.49.0"
60
+ "xo": "^0.50.0"
59
61
  },
60
62
  "engines": {
61
63
  "node": ">=14"