@adobe/jsonschema2md 8.0.1 → 8.0.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/CHANGELOG.md +7 -0
- package/lib/index.js +1 -7
- package/package.json +6 -7
- package/types/readmeBuilder.d.ts +1 -1
- package/types/writeMarkdown.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [8.0.2](https://github.com/adobe/jsonschema2md/compare/v8.0.1...v8.0.2) (2024-04-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove helix-log dependency ([#579](https://github.com/adobe/jsonschema2md/issues/579)) ([9fbfdf9](https://github.com/adobe/jsonschema2md/commit/9fbfdf9726c512c4338c47bafef02347f1761372))
|
|
7
|
+
|
|
1
8
|
## [8.0.1](https://github.com/adobe/jsonschema2md/compare/v8.0.0...v8.0.1) (2024-03-25)
|
|
2
9
|
|
|
3
10
|
|
package/lib/index.js
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
import yargs from 'yargs';
|
|
14
14
|
import fs from 'fs-extra';
|
|
15
15
|
import readdirp from 'readdirp';
|
|
16
|
-
import { createDefaultLogger, SimpleInterface } from '@adobe/helix-log';
|
|
17
16
|
import {
|
|
18
17
|
iter, pipe, filter, map, obj,
|
|
19
18
|
} from 'ferrum';
|
|
@@ -30,12 +29,7 @@ import writeSchema from './writeSchema.js';
|
|
|
30
29
|
const __filename = fileURLToPath(import.meta.url);
|
|
31
30
|
const __dirname = nodepath.dirname(__filename);
|
|
32
31
|
|
|
33
|
-
const
|
|
34
|
-
logger: createDefaultLogger(),
|
|
35
|
-
});
|
|
36
|
-
const debug = logger.debug.bind(logger);
|
|
37
|
-
const info = logger.info.bind(logger);
|
|
38
|
-
const error = logger.error.bind(logger);
|
|
32
|
+
const { debug, info, error } = console;
|
|
39
33
|
|
|
40
34
|
/**
|
|
41
35
|
* @typedef {import("../types/api").JsonSchema} JsonSchema
|
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": "8.0.
|
|
4
|
+
"version": "8.0.2",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "types",
|
|
7
7
|
"bin": {
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"prepare": "husky install"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@adobe/helix-log": "6.0.1",
|
|
25
24
|
"@types/json-schema": "^7.0.8",
|
|
26
25
|
"@types/mdast": "^4.0.0",
|
|
27
26
|
"es2015-i18n-tag": "1.6.1",
|
|
@@ -44,11 +43,11 @@
|
|
|
44
43
|
"@adobe/eslint-config-helix": "2.0.6",
|
|
45
44
|
"@semantic-release/changelog": "6.0.3",
|
|
46
45
|
"@semantic-release/git": "10.0.1",
|
|
47
|
-
"@semantic-release/github": "10.0.
|
|
46
|
+
"@semantic-release/github": "10.0.3",
|
|
48
47
|
"@types/fs-extra": "11.0.4",
|
|
49
48
|
"@types/github-slugger": "2.0.0",
|
|
50
49
|
"@types/js-yaml": "4.0.9",
|
|
51
|
-
"@types/node": "20.
|
|
50
|
+
"@types/node": "20.12.5",
|
|
52
51
|
"@types/yargs": "17.0.32",
|
|
53
52
|
"c8": "9.1.0",
|
|
54
53
|
"commitizen": "4.3.0",
|
|
@@ -58,9 +57,9 @@
|
|
|
58
57
|
"i18n-tag-schema": "2.5.0",
|
|
59
58
|
"json-logic-js": "axa-ch/cyclic-schemas-test",
|
|
60
59
|
"lint-staged": "15.2.2",
|
|
61
|
-
"mocha": "10.
|
|
62
|
-
"semantic-release": "
|
|
63
|
-
"typescript": "5.4.
|
|
60
|
+
"mocha": "10.4.0",
|
|
61
|
+
"semantic-release": "23.0.7",
|
|
62
|
+
"typescript": "5.4.4",
|
|
64
63
|
"unist-util-select": "5.1.0"
|
|
65
64
|
},
|
|
66
65
|
"engines": {
|
package/types/readmeBuilder.d.ts
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Generate the README.md
|
|
3
3
|
* @param {object} opts
|
|
4
4
|
*/
|
|
5
|
-
export default function build({ readme }: object): (schemas: any) => import("unist").Parent<import("unist").Node<import("unist").Data>, import("unist").Data>;
|
|
5
|
+
export default function build({ readme }: object): (schemas: any) => import("mdast-builder/node_modules/@types/unist").Parent<import("mdast-builder/node_modules/@types/unist").Node<import("mdast-builder/node_modules/@types/unist").Data>, import("mdast-builder/node_modules/@types/unist").Data>;
|
package/types/writeMarkdown.d.ts
CHANGED
|
@@ -52,5 +52,5 @@ export type MarkdownAst = import("../types/api").MarkdownAst;
|
|
|
52
52
|
export type MarkdownContent = import("../types/api").MarkdownContent;
|
|
53
53
|
export type ReadmeContent = import("../types/api").ReadmeContent;
|
|
54
54
|
export type MarkdownAstFiles = {
|
|
55
|
-
[name: string]:
|
|
55
|
+
[name: string]: MarkdownAst;
|
|
56
56
|
};
|