@midwayjs/koa 3.2.1 → 3.2.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.
- package/dist/interface.d.ts +3 -3
- package/package.json +5 -5
package/dist/interface.d.ts
CHANGED
|
@@ -97,9 +97,9 @@ export interface BodyParserOptions {
|
|
|
97
97
|
* support extend types
|
|
98
98
|
*/
|
|
99
99
|
extendTypes?: {
|
|
100
|
-
json?: string[];
|
|
101
|
-
form?: string[];
|
|
102
|
-
text?: string[];
|
|
100
|
+
json?: string[] | string | undefined;
|
|
101
|
+
form?: string[] | string | undefined;
|
|
102
|
+
text?: string[] | string | undefined;
|
|
103
103
|
};
|
|
104
104
|
/**
|
|
105
105
|
* support custom error handle
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/koa",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "Midway Web Framework for KOA",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@midwayjs/decorator": "^3.1.6",
|
|
28
28
|
"@midwayjs/logger": "^2.15.0",
|
|
29
|
-
"@midwayjs/mock": "^3.2.
|
|
29
|
+
"@midwayjs/mock": "^3.2.2",
|
|
30
30
|
"@types/koa": "2.13.4",
|
|
31
31
|
"@types/koa-router": "7.4.4",
|
|
32
32
|
"fs-extra": "10.0.1"
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@koa/router": "^10.0.0",
|
|
36
36
|
"@midwayjs/cookies": "^1.0.2",
|
|
37
|
-
"@midwayjs/core": "^3.2.
|
|
38
|
-
"@midwayjs/session": "^3.2.
|
|
37
|
+
"@midwayjs/core": "^3.2.2",
|
|
38
|
+
"@midwayjs/session": "^3.2.2",
|
|
39
39
|
"koa": "2.13.4",
|
|
40
40
|
"koa-bodyparser": "4.3.0"
|
|
41
41
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=12"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "6bc097035302d01ae901d76a10e080db8554a864"
|
|
51
51
|
}
|