@adobe/jsonschema2md 7.1.3 → 7.1.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/CHANGELOG.md +14 -0
- package/lib/locales/de.json +1 -1
- package/lib/locales/en_US.json +1 -1
- package/lib/locales/nl_NL.json +1 -1
- package/lib/markdownBuilder.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [7.1.5](https://github.com/adobe/jsonschema2md/compare/v7.1.4...v7.1.5) (2022-12-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix typo in 'any of the following' text ([d7039b9](https://github.com/adobe/jsonschema2md/commit/d7039b9a7a636262c3c6ef86b34d0924329f49f5))
|
|
7
|
+
|
|
8
|
+
## [7.1.4](https://github.com/adobe/jsonschema2md/compare/v7.1.3...v7.1.4) (2022-11-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependency fs-extra to v11 ([291515e](https://github.com/adobe/jsonschema2md/commit/291515edde6791c1502359a30a336671cbcbe608))
|
|
14
|
+
|
|
1
15
|
## [7.1.3](https://github.com/adobe/jsonschema2md/compare/v7.1.2...v7.1.3) (2022-11-14)
|
|
2
16
|
|
|
3
17
|
|
package/lib/locales/de.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"and all following items may follow any schema": "und alle weiteren Bestandteile der Liste müssen keinem bestimmten Schema folgen",
|
|
74
74
|
"and all following items must follow the schema: ": "und alle weiteren Bestandteile der Liste müssen diesem Schema folgen: ",
|
|
75
75
|
"any of": "irgendeines",
|
|
76
|
-
"any of the
|
|
76
|
+
"any of the following: ": "irgendeines der folgenden Schemas: ",
|
|
77
77
|
"can be null": "darf null sein",
|
|
78
78
|
"cannot be null": "darf nicht null sein",
|
|
79
79
|
"check the specification": "Spezifikation ansehen",
|
package/lib/locales/en_US.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"and all following items may follow any schema": "and all following items may follow any schema",
|
|
74
74
|
"and all following items must follow the schema: ": "and all following items must follow the schema: ",
|
|
75
75
|
"any of": "any of",
|
|
76
|
-
"any of the
|
|
76
|
+
"any of the following: ": "any of the following: ",
|
|
77
77
|
"can be null": "can be null",
|
|
78
78
|
"cannot be null": "cannot be null",
|
|
79
79
|
"check the specification": "check the specification",
|
package/lib/locales/nl_NL.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"and all following items may follow any schema": "en alle volgende items kunnen elk schema volgen:",
|
|
74
74
|
"and all following items must follow the schema: ": "en alle volgende items moeten het schema volgen:",
|
|
75
75
|
"any of": "een van",
|
|
76
|
-
"any of the
|
|
76
|
+
"any of the following: ": "een van de volgende:",
|
|
77
77
|
"can be null": "kan null zijn",
|
|
78
78
|
"cannot be null": "Kan niet null zijn",
|
|
79
79
|
"check the specification": "controleer de specificatie",
|
package/lib/markdownBuilder.js
CHANGED
|
@@ -437,7 +437,7 @@ export default function build({
|
|
|
437
437
|
} else if (singletype && firsttype && typeof firsttype === 'string') {
|
|
438
438
|
return [inlineCode(firsttype + isarray)];
|
|
439
439
|
} else if (!singletype) {
|
|
440
|
-
return [text(isarray ? i18n`an array of the following:` : i18n`any of the
|
|
440
|
+
return [text(isarray ? i18n`an array of the following:` : i18n`any of the following: `), ...flist(flat(realtypes.map((mytype, index) => [inlineCode(mytype || i18n`not defined`), text(index === realtypes.length - 1 ? '' : i18n` or `)])))];
|
|
441
441
|
} else if (merged) {
|
|
442
442
|
return [text(isarray ? 'an array of merged types' : i18n`merged type`)];
|
|
443
443
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/jsonschema2md",
|
|
3
3
|
"description": "Validate and document complex JSON Schemas the easy way.",
|
|
4
|
-
"version": "7.1.
|
|
4
|
+
"version": "7.1.5",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "types",
|
|
7
7
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@types/mdast": "^3.0.4",
|
|
27
27
|
"es2015-i18n-tag": "1.6.1",
|
|
28
28
|
"ferrum": "1.9.4",
|
|
29
|
-
"fs-extra": "
|
|
29
|
+
"fs-extra": "11.1.0",
|
|
30
30
|
"github-slugger": "2.0.0",
|
|
31
31
|
"js-yaml": "4.1.0",
|
|
32
32
|
"json-schema": "^0.4.0",
|
|
@@ -42,27 +42,27 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@adobe/eslint-config-helix": "1.3.2",
|
|
45
|
-
"@semantic-release/changelog": "6.0.
|
|
45
|
+
"@semantic-release/changelog": "6.0.2",
|
|
46
46
|
"@semantic-release/git": "10.0.1",
|
|
47
|
-
"@semantic-release/github": "8.0.
|
|
47
|
+
"@semantic-release/github": "8.0.7",
|
|
48
48
|
"@types/fs-extra": "9.0.13",
|
|
49
49
|
"@types/github-slugger": "1.3.0",
|
|
50
50
|
"@types/js-yaml": "4.0.5",
|
|
51
|
-
"@types/node": "18.11.
|
|
52
|
-
"@types/yargs": "17.0.
|
|
51
|
+
"@types/node": "18.11.13",
|
|
52
|
+
"@types/yargs": "17.0.17",
|
|
53
53
|
"c8": "7.12.0",
|
|
54
|
-
"commitizen": "4.2.
|
|
54
|
+
"commitizen": "4.2.6",
|
|
55
55
|
"cz-conventional-changelog": "3.3.0",
|
|
56
|
-
"eslint": "8.
|
|
56
|
+
"eslint": "8.29.0",
|
|
57
57
|
"eslint-plugin-header": "3.1.1",
|
|
58
58
|
"eslint-plugin-import": "2.26.0",
|
|
59
59
|
"husky": "8.0.2",
|
|
60
60
|
"i18n-tag-schema": "2.5.0",
|
|
61
61
|
"json-logic-js": "axa-ch/cyclic-schemas-test",
|
|
62
|
-
"lint-staged": "13.0
|
|
62
|
+
"lint-staged": "13.1.0",
|
|
63
63
|
"mocha": "10.1.0",
|
|
64
64
|
"semantic-release": "19.0.5",
|
|
65
|
-
"typescript": "4.
|
|
65
|
+
"typescript": "4.9.4",
|
|
66
66
|
"unist-util-select": "4.0.1"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|