json-2-joi 3.0.2 → 4.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/LICENSE.txt +21 -203
- package/README.md +361 -361
- package/index.js +14 -14
- package/lib/resolver.js +699 -699
- package/package.json +53 -53
package/package.json
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "json-2-joi",
|
|
3
|
-
"version": "
|
|
4
|
-
"license": "
|
|
5
|
-
"description": "Converts json-schema to Joi schema. (Enhanced enjoi)",
|
|
6
|
-
"main": "./index.js",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "tape test/*.js",
|
|
9
|
-
"cover": "nyc --reporter=lcov --lines 100 npm test && nyc report",
|
|
10
|
-
"lint": "eslint index.js lib/resolver.js"
|
|
11
|
-
},
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git://github.com/kenspirit/json-2-joi.git"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"json-to-joi",
|
|
18
|
-
"json-2-joi",
|
|
19
|
-
"joi",
|
|
20
|
-
"json-schema",
|
|
21
|
-
"json",
|
|
22
|
-
"schema",
|
|
23
|
-
"validation",
|
|
24
|
-
"conversion",
|
|
25
|
-
"hapi",
|
|
26
|
-
"enjoi"
|
|
27
|
-
],
|
|
28
|
-
"author": "Ken Chen <chengusky@gmail.com>",
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/kenspirit/json-2-joi/issues"
|
|
31
|
-
},
|
|
32
|
-
"homepage": "https://github.com/kenspirit/json-2-joi",
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"@hapi/bourne": "^3.0.0",
|
|
35
|
-
"@hapi/hoek": "^11.0.4",
|
|
36
|
-
"debug": "^4.3.5"
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"joi": "^
|
|
40
|
-
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"@eslint/js": "^9.6.0",
|
|
43
|
-
"eslint": "^9.6.0",
|
|
44
|
-
"globals": "^15.7.0",
|
|
45
|
-
"joi": "^
|
|
46
|
-
"nyc": "^17.0.0",
|
|
47
|
-
"tape": "^5.8.1"
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"lib/**/*.js",
|
|
51
|
-
"index.js"
|
|
52
|
-
]
|
|
53
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "json-2-joi",
|
|
3
|
+
"version": "4.1.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "Converts json-schema to Joi schema. (Enhanced enjoi)",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "tape test/*.js",
|
|
9
|
+
"cover": "nyc --reporter=lcov --lines 100 npm test && nyc report",
|
|
10
|
+
"lint": "eslint index.js lib/resolver.js"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git://github.com/kenspirit/json-2-joi.git"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"json-to-joi",
|
|
18
|
+
"json-2-joi",
|
|
19
|
+
"joi",
|
|
20
|
+
"json-schema",
|
|
21
|
+
"json",
|
|
22
|
+
"schema",
|
|
23
|
+
"validation",
|
|
24
|
+
"conversion",
|
|
25
|
+
"hapi",
|
|
26
|
+
"enjoi"
|
|
27
|
+
],
|
|
28
|
+
"author": "Ken Chen <chengusky@gmail.com>",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/kenspirit/json-2-joi/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/kenspirit/json-2-joi",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@hapi/bourne": "^3.0.0",
|
|
35
|
+
"@hapi/hoek": "^11.0.4",
|
|
36
|
+
"debug": "^4.3.5"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"joi": "^18.2.9"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@eslint/js": "^9.6.0",
|
|
43
|
+
"eslint": "^9.6.0",
|
|
44
|
+
"globals": "^15.7.0",
|
|
45
|
+
"joi": "^18.2.9",
|
|
46
|
+
"nyc": "^17.0.0",
|
|
47
|
+
"tape": "^5.8.1"
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"lib/**/*.js",
|
|
51
|
+
"index.js"
|
|
52
|
+
]
|
|
53
|
+
}
|