@ladjs/api 7.0.4 → 7.1.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.
Files changed (2) hide show
  1. package/index.js +0 -8
  2. package/package.json +13 -13
package/index.js CHANGED
@@ -116,14 +116,6 @@ class API {
116
116
  });
117
117
  }
118
118
 
119
- if (this.config.rateLimit)
120
- app.use(
121
- ratelimit({
122
- ...this.config.rateLimit,
123
- db: client
124
- })
125
- );
126
-
127
119
  // remove trailing slashes
128
120
  app.use(removeTrailingSlashes());
129
121
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ladjs/api",
3
3
  "description": "API server for Lad",
4
- "version": "7.0.4",
4
+ "version": "7.1.2",
5
5
  "author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
6
6
  "ava": {
7
7
  "failFast": true,
@@ -21,13 +21,13 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "@koa/router": "^10.1.1",
24
- "@ladjs/i18n": "^7.2.4",
24
+ "@ladjs/i18n": "^7.2.6",
25
25
  "@ladjs/redis": "^1.0.7",
26
26
  "@ladjs/shared-config": "^6.0.0",
27
27
  "@ladjs/store-ip-address": "^0.0.7",
28
- "boolean": "^3.1.4",
29
- "cabin": "^9.1.0",
30
- "express-request-id": "^1.4.1",
28
+ "boolean": "^3.2.0",
29
+ "cabin": "^9.1.2",
30
+ "express-request-id": "1.4.1",
31
31
  "kcors": "^2.2.2",
32
32
  "koa": "^2.13.4",
33
33
  "koa-404-handler": "^0.1.0",
@@ -48,22 +48,22 @@
48
48
  "response-time": "^2.3.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@commitlint/cli": "^16.0.1",
52
- "@commitlint/config-conventional": "^16.0.0",
53
- "ava": "^4.0.0",
51
+ "@commitlint/cli": "^16.2.4",
52
+ "@commitlint/config-conventional": "^16.2.4",
53
+ "ava": "^4.2.0",
54
54
  "codecov": "^3.8.3",
55
55
  "cross-env": "^7.0.3",
56
- "eslint": "^8.6.0",
56
+ "eslint": "^8.14.0",
57
57
  "eslint-config-xo-lass": "^1.0.6",
58
58
  "fixpack": "^4.0.0",
59
59
  "husky": "^7.0.4",
60
- "lint-staged": "12.1.7",
61
- "mongoose": "^6.1.5",
60
+ "lint-staged": "12.4.1",
61
+ "mongoose": "^6.3.2",
62
62
  "nyc": "^15.1.0",
63
63
  "remark-cli": "^10.0.1",
64
64
  "remark-preset-github": "^4.0.1",
65
- "supertest": "^6.1.6",
66
- "xo": "^0.47.0"
65
+ "supertest": "^6.2.3",
66
+ "xo": "^0.48.0"
67
67
  },
68
68
  "engines": {
69
69
  "node": ">=10.10.0"