@midwayjs/validate 3.0.10 → 3.1.0
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/configuration.js +1 -1
- package/package.json +7 -7
package/dist/configuration.js
CHANGED
|
@@ -20,7 +20,7 @@ const i18n = require("@midwayjs/i18n");
|
|
|
20
20
|
const debug = util.debuglog('midway:debug');
|
|
21
21
|
let ValidateConfiguration = class ValidateConfiguration {
|
|
22
22
|
async onReady() {
|
|
23
|
-
debug(`[validate]
|
|
23
|
+
debug(`[midway:validate] Register @validate "${constants_1.VALIDATE_KEY}" handler"`);
|
|
24
24
|
this.decoratorService.registerMethodHandler(constants_1.VALIDATE_KEY, options => {
|
|
25
25
|
var _a;
|
|
26
26
|
// get param types from method
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/validate",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Midway Component for mongoose",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@midwayjs/i18n": "^3.0
|
|
26
|
+
"@midwayjs/i18n": "^3.1.0",
|
|
27
27
|
"joi": "^17.2.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@midwayjs/core": "^3.0
|
|
30
|
+
"@midwayjs/core": "^3.1.0",
|
|
31
31
|
"@midwayjs/decorator": "^3.0.10",
|
|
32
|
-
"@midwayjs/express": "^3.0
|
|
33
|
-
"@midwayjs/koa": "^3.0
|
|
34
|
-
"@midwayjs/mock": "^3.0
|
|
32
|
+
"@midwayjs/express": "^3.1.0",
|
|
33
|
+
"@midwayjs/koa": "^3.1.0",
|
|
34
|
+
"@midwayjs/mock": "^3.1.0"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "2074c838e454a9673a044dbe065631dd9f944005"
|
|
37
37
|
}
|