q-koa 13.8.3 → 13.8.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.
package/core/app.js CHANGED
@@ -54,7 +54,6 @@ const {
54
54
  miBody,
55
55
  miXmlBody,
56
56
  miCompress,
57
- miBodyParser,
58
57
  miWebsocket,
59
58
  miLimit,
60
59
  } = require('./middlewares')
@@ -120,7 +119,6 @@ class APP {
120
119
  // miRestc(config),
121
120
  miBody(config.koaBody),
122
121
  miXmlBody(config.xmlBody),
123
- miBodyParser(config.bodyParser),
124
122
 
125
123
  miCompress(),
126
124
  // miProxy(),
@@ -1,4 +1,3 @@
1
- const bodyParser = require('koa-bodyparser')
2
1
  const compress = require('koa-compress')
3
2
  const respond = require('koa-respond')
4
3
  const koaBody = require('koa-body')
@@ -112,8 +111,6 @@ exports.miBody = (config) =>
112
111
 
113
112
  exports.miCompress = (config) => compress(config)
114
113
 
115
- exports.miBodyParser = (config) => bodyParser(config)
116
-
117
114
  exports.miWebsocket = (config) => websocket(config)
118
115
 
119
116
  exports.miLimit = (config) => ratelimit(config)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "13.8.3",
3
+ "version": "13.8.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -25,7 +25,6 @@
25
25
  "captchapng": "^0.0.1",
26
26
  "chalk": "^3.0.0",
27
27
  "cheerio": "^1.0.0-rc.3",
28
- "consola": "^2.11.3",
29
28
  "fast-json-stringify": "^2.7.9",
30
29
  "fast-xml-parser": "^3.19.0",
31
30
  "fs-extra": "^8.1.0",
@@ -33,7 +32,6 @@
33
32
  "jsonwebtoken": "^8.5.1",
34
33
  "koa": "^2.13.0",
35
34
  "koa-body": "^4.1.1",
36
- "koa-bodyparser": "^4.3.0",
37
35
  "koa-compress": "^3.0.0",
38
36
  "koa-easy-ws": "^1.1.3",
39
37
  "koa-ratelimit": "^5.0.1",
@@ -42,7 +40,6 @@
42
40
  "koa-static": "^5.0.0",
43
41
  "koa-useragent": "^4.0.0",
44
42
  "koa-xml-body": "^2.1.0",
45
- "koa-proxies": "^0.12.2",
46
43
  "lodash": "^4.17.15",
47
44
  "lru-cache": "^11.5.2",
48
45
  "mockjs": "^1.0.1-beta3",
@@ -70,7 +67,6 @@
70
67
  "eslint": "^4.19.1",
71
68
  "eslint-config-airbnb-base": "^13.2.0",
72
69
  "eslint-plugin-import": "^2.18.2",
73
- "jest": "^24.9.0",
74
- "ora": "^4.0.3"
70
+ "jest": "^24.9.0"
75
71
  }
76
72
  }