mm_validate 1.0.0 → 1.0.1
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/package.json +54 -51
package/package.json
CHANGED
|
@@ -1,53 +1,56 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
2
|
+
"name": "mm_validate",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "这是一个通用的 Node.js 参数验证模块,按 JSON Schema 常用子集校验参数,返回首个错误信息。",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"mm_mod",
|
|
7
|
+
"mm_infra",
|
|
8
|
+
"mm_common",
|
|
9
|
+
"超级美眉",
|
|
10
|
+
"参数验证",
|
|
11
|
+
"数据校验",
|
|
12
|
+
"json schema",
|
|
13
|
+
"validate",
|
|
14
|
+
"validator",
|
|
15
|
+
"schema",
|
|
16
|
+
"nodejs",
|
|
17
|
+
"commonjs"
|
|
18
|
+
],
|
|
19
|
+
"layer": "infra",
|
|
20
|
+
"group": "common",
|
|
21
|
+
"author": "邱文武",
|
|
22
|
+
"license": "ISC",
|
|
23
|
+
"type": "commonjs",
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=16"
|
|
26
|
+
},
|
|
27
|
+
"main": "index.js",
|
|
28
|
+
"files": [
|
|
29
|
+
"index.js",
|
|
30
|
+
"lib",
|
|
31
|
+
"example"
|
|
32
|
+
],
|
|
33
|
+
"directories": {
|
|
34
|
+
"example": "example",
|
|
35
|
+
"lib": "lib"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://gitee.com/qiuwenwu91/mm_validate#readme",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://gitee.com/qiuwenwu91/mm_validate/issues"
|
|
40
|
+
},
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "git+https://gitee.com/qiuwenwu91/mm_validate.git"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"test": "jest --coverage",
|
|
47
|
+
"demo": "node example/index.js",
|
|
48
|
+
"prepublishOnly": "npm test"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"jest": "^30.5.2"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"mm_corejs": "^1.1.6"
|
|
55
|
+
}
|
|
53
56
|
}
|