@adobe/jsonschema2md 8.0.0 → 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 CHANGED
@@ -1,3 +1,17 @@
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
+
8
+ ## [8.0.1](https://github.com/adobe/jsonschema2md/compare/v8.0.0...v8.0.1) (2024-03-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update external dependencies ([51be972](https://github.com/adobe/jsonschema2md/commit/51be972b9be85852e9a1ee2f9b7e5b7a86351375))
14
+
1
15
  # [8.0.0](https://github.com/adobe/jsonschema2md/compare/v7.1.6...v8.0.0) (2024-03-25)
2
16
 
3
17
 
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 logger = new SimpleInterface({
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.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",
@@ -33,10 +32,10 @@
33
32
  "mdast-builder": "1.1.1",
34
33
  "mdast-util-to-string": "4.0.0",
35
34
  "readdirp": "3.6.0",
36
- "remark-gfm": "^3.0.0",
37
- "remark-parse": "10.0.2",
38
- "remark-stringify": "10.0.3",
39
- "unified": "10.1.2",
35
+ "remark-gfm": "^4.0.0",
36
+ "remark-parse": "11.0.0",
37
+ "remark-stringify": "11.0.0",
38
+ "unified": "11.0.4",
40
39
  "unist-util-inspect": "8.0.0",
41
40
  "yargs": "17.7.2"
42
41
  },
@@ -44,23 +43,23 @@
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": "9.2.6",
46
+ "@semantic-release/github": "10.0.3",
48
47
  "@types/fs-extra": "11.0.4",
49
- "@types/github-slugger": "1.3.0",
48
+ "@types/github-slugger": "2.0.0",
50
49
  "@types/js-yaml": "4.0.9",
51
- "@types/node": "18.19.26",
50
+ "@types/node": "20.12.5",
52
51
  "@types/yargs": "17.0.32",
53
- "c8": "8.0.1",
52
+ "c8": "9.1.0",
54
53
  "commitizen": "4.3.0",
55
54
  "cz-conventional-changelog": "3.3.0",
56
55
  "eslint": "8.57.0",
57
- "husky": "8.0.3",
56
+ "husky": "9.0.11",
58
57
  "i18n-tag-schema": "2.5.0",
59
58
  "json-logic-js": "axa-ch/cyclic-schemas-test",
60
- "lint-staged": "14.0.1",
61
- "mocha": "10.3.0",
62
- "semantic-release": "21.1.2",
63
- "typescript": "5.4.3",
59
+ "lint-staged": "15.2.2",
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": {
@@ -1,8 +1,8 @@
1
1
  export default function formatmeta(schema: any): {
2
- longcomment: import("remark-stringify/node_modules/@types/mdast").Root;
2
+ longcomment: import("mdast").Root;
3
3
  shortcomment: any;
4
4
  comment: string;
5
- longdescription: import("remark-stringify/node_modules/@types/mdast").Root;
5
+ longdescription: import("mdast").Root;
6
6
  shortdescription: any;
7
7
  description: any;
8
8
  abstract: boolean;
@@ -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>;
@@ -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]: import("mdast").Root;
55
+ [name: string]: MarkdownAst;
56
56
  };