Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive reference causes problem #252

Closed
savasp opened this issue Oct 9, 2020 · 2 comments · Fixed by #448
Closed

Recursive reference causes problem #252

savasp opened this issue Oct 9, 2020 · 2 comments · Fixed by #448

Comments

@savasp
Copy link

savasp commented Oct 9, 2020

Hi all,

I encountered an issue when trying to generate documentation from a set of schemas that contain a circular reference.

{
    "$id": "https://example.org/foo",
    "$schema": "http://json-schema.org/draft-07/schema#",

    "type": "object",
    "properties": {
        "foo": {
            "$ref": "#/definitions/bar"
        }
    },

    "definitions": {
        "bar": {
            "oneOf": [
                {
                   "type": "string"
                },
                {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/bar"
                    }
                }
            ]        
        }
    }
}

I get the following exception...

(node:53742) UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded
    at formatRaw (internal/util/inspect.js:1014:12)
    at formatValue (internal/util/inspect.js:793:10)
    at inspect (internal/util/inspect.js:326:10)
    at formatWithOptionsInternal (internal/util/inspect.js:1994:40)
    at formatWithOptions (internal/util/inspect.js:1878:10)
    at Object.value (internal/console/constructor.js:306:14)
    at Object.log (internal/console/constructor.js:341:61)
    at reducer (/usr/local/lib/node_modules/@adobe/jsonschema2md/lib/traverseSchema.js:17:11)
    at Array.reduce (<anonymous>)
    at reducer (/usr/local/lib/node_modules/@adobe/jsonschema2md/lib/traverseSchema.js:29:39)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:53742) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:53742) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

The schema seems to be valid. I can avoid the issue by rewriting the schemas as...

{
    "$id": "https://example.org/foo",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
        "foo": {
            "$ref": "#/definitions/bar"
        }
    },
    "definitions": {
        "bar": {
            "$id": "https://example.org/bar",
            "oneOf": [
                {
                    "type": "string"
                },
                {
                    "type": "array",
                    "items": {
                        "$ref": "https://example.org/bar"
                    }
                }
            ]
        }
    }
}

It seems that the error surfaces only with relative references.

@trieloff trieloff added the bug label Oct 9, 2020
@bmaranville
Copy link

When traversing a schema, it keeps track of a Set of "seen" items, but the "get" from the proxy handler returns a new Proxy object for every subschema, whether it has been retrieved previously or not, so the recursively retrieved subschema is a new Proxy and is not in the "seen" Set.

On the schemaProxy side, if you create a registry of previously proxied subschemas and reuse them, then the "seen" mechanism seems to work as it should. (With this patch applied, your example does not throw an error)

diff --git a/lib/schemaProxy.js b/lib/schemaProxy.js
index 2010be2..338f070 100644
--- a/lib/schemaProxy.js
+++ b/lib/schemaProxy.js
@@ -30,7 +30,7 @@ function loadExamples(file, num = 1) {
 }
 
 const handler = ({
-  root = '', filename = '.', schemas, parent, slugger,
+  root = '', filename = '.', schemas, subschemas, parent, slugger,
 }) => {
   const meta = {};
 
@@ -157,19 +157,29 @@ const handler = ({
         }
 
         // console.log('making new proxy from', target, prop, 'receiver', receiver[symbols.id]);
-        const subschema = new Proxy(retval, handler({
-          root: `${root}/${prop}`,
-          parent: receiver,
-          filename,
-          schemas,
-          slugger,
-        }));
+        let subschema;
+        if (subschemas.has(retval)) {
+          subschema = subschemas.get(retval);
+        }
+        else {
+          subschema = new Proxy(retval, handler({
+            root: `${root}/${prop}`,
+            parent: receiver,
+            filename,
+            schemas,
+            subschemas,
+            slugger,
+          }));
+
+          subschemas.set(retval, subschema);
+        }
 
         if (subschema[keyword`$id`]) {
           // stow away the schema for lookup
           // eslint-disable-next-line no-param-reassign
           schemas.known[subschema[keyword`$id`]] = subschema;
         }
+
         return subschema;
       }
       return retval;
@@ -187,12 +197,13 @@ module.exports.loader = () => {
     known: {},
     files: {},
   };
+  const subschemas = new Map();
 
   const slugger = ghslugger();
 
   return (schema, filename) => {
     // console.log('loading', filename);
-    const proxied = new Proxy(schema, handler({ filename, schemas, slugger }));
+    const proxied = new Proxy(schema, handler({ filename, schemas, subschemas, slugger }));
     schemas.loaded.push(proxied);
     if (proxied[keyword`$id`]) {
       // stow away the schema for lookup

adriancampos added a commit to adriancampos/jsonschema2md that referenced this issue Sep 22, 2022
Fixes `UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded` on inputs.

Solution proposed by @bmaranville in adobe#252 (comment). Updated to work with 7.1.1.

Fixes adobe#252
trieloff added a commit that referenced this issue Oct 6, 2022
#252 Fix error on inputs with circular references
trieloff pushed a commit that referenced this issue Oct 6, 2022
## [7.1.2](v7.1.1...v7.1.2) (2022-10-06)

### Bug Fixes

* **schemaproxy.js:** reuse previously proxied subschemas to fix max call stack size exceeded error ([1388449](1388449)), closes [/github.com//issues/252#issuecomment-806067867](https://github.com//github.com/adobe/jsonschema2md/issues/252/issues/issuecomment-806067867) [#252](#252)
@trieloff
Copy link
Collaborator

trieloff commented Oct 6, 2022

🎉 This issue has been resolved in version 7.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

ddadaal pushed a commit to PKUHPC/OpenSCOW that referenced this issue Mar 31, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@adobe/jsonschema2md](https://github.com/adobe/jsonschema2md) |
[`7.1.5` ->
`8.0.1`](https://renovatebot.com/diffs/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@adobe%2fjsonschema2md/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@adobe%2fjsonschema2md/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>adobe/jsonschema2md (@&#8203;adobe/jsonschema2md)</summary>

###
[`v8.0.1`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#801-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v8.0.0...v8.0.1)

##### Bug Fixes

- **deps:** update external dependencies
([51be972](https://github.com/adobe/jsonschema2md/commit/51be972b9be85852e9a1ee2f9b7e5b7a86351375))

###
[`v8.0.0`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#800-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v7.1.6...v8.0.0)

##### Build System

- require node 18
([3b74f4f](https://github.com/adobe/jsonschema2md/commit/3b74f4f31fc16d28c9a4a8f317cdd1beb2242d7e))

##### BREAKING CHANGES

-   requires node 18

####
[7.1.6](https://github.com/adobe/jsonschema2md/compare/v7.1.5...v7.1.6)
(2024-03-25)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;adobe/helix-log](https://github.com/adobe/helix-log) to
v6.0.1
([b54415a](https://github.com/adobe/jsonschema2md/commit/b54415a0ae4a66a8ec5da9d433403cf46b0cf351))
- **deps:** update external fixes
([f515169](https://github.com/adobe/jsonschema2md/commit/f5151691a394c139f07ecaf8ec465e71dba49631))
- **deps:** update external fixes
([e23d8f0](https://github.com/adobe/jsonschema2md/commit/e23d8f01666fedc12442fa2f9bab660c5aa58d8a))
- **deps:** update external major
([#&#8203;516](https://github.com/adobe/jsonschema2md/issues/516))
([d7d72e6](https://github.com/adobe/jsonschema2md/commit/d7d72e61e2b65f0a790b8945d756082bf2fd3bcf))

####
[7.1.5](https://github.com/adobe/jsonschema2md/compare/v7.1.4...v7.1.5)
(2022-12-12)

##### Bug Fixes

- fix typo in 'any of the following' text
([d7039b9](https://github.com/adobe/jsonschema2md/commit/d7039b9a7a636262c3c6ef86b34d0924329f49f5))

####
[7.1.4](https://github.com/adobe/jsonschema2md/compare/v7.1.3...v7.1.4)
(2022-11-29)

##### Bug Fixes

- **deps:** update dependency fs-extra to v11
([291515e](https://github.com/adobe/jsonschema2md/commit/291515edde6791c1502359a30a336671cbcbe608))

####
[7.1.3](https://github.com/adobe/jsonschema2md/compare/v7.1.2...v7.1.3)
(2022-11-14)

##### Bug Fixes

- **markdown-builder:** guard against `enum` being not an array
([aa46ac4](https://github.com/adobe/jsonschema2md/commit/aa46ac4b4ed5d2c1641bec41b78ec04e1f83944b)),
closes
[#&#8203;458](https://github.com/adobe/jsonschema2md/issues/458)

####
[7.1.2](https://github.com/adobe/jsonschema2md/compare/v7.1.1...v7.1.2)
(2022-10-06)

##### Bug Fixes

- **schemaproxy.js:** reuse previously proxied subschemas to fix max
call stack size exceeded error
([1388449](https://github.com/adobe/jsonschema2md/commit/13884491df4c9ecc694f3881e40c1861f7acfdf8)),
closes
[/github.com/adobe/jsonschema2md/issues/252#issuecomment-806067867](https://github.com//github.com/adobe/jsonschema2md/issues/252/issues/issuecomment-806067867)
[#&#8203;252](https://github.com/adobe/jsonschema2md/issues/252)

####
[7.1.1](https://github.com/adobe/jsonschema2md/compare/v7.1.0...v7.1.1)
(2022-05-19)

##### Bug Fixes

- **i18n:** align Dutch locale name with standard pattern
([d940cd4](https://github.com/adobe/jsonschema2md/commit/d940cd4114a04f16e3a41db99b095b40e58e4813)),
closes
[#&#8203;426](https://github.com/adobe/jsonschema2md/issues/426)
- **i18n:** dutch locale available as command line option
([e8c9304](https://github.com/adobe/jsonschema2md/commit/e8c93048191394e53d2ab823f2b4489e843fbc40)),
closes
[#&#8203;426](https://github.com/adobe/jsonschema2md/issues/426)
- **i18n:** support Dutch locale as command line option
([0c0fbbd](https://github.com/adobe/jsonschema2md/commit/0c0fbbdf1e668441e330d9f065a43580e3325be1))

###
[`v7.1.6`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#716-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v7.1.5...v7.1.6)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;adobe/helix-log](https://github.com/adobe/helix-log) to
v6.0.1
([b54415a](https://github.com/adobe/jsonschema2md/commit/b54415a0ae4a66a8ec5da9d433403cf46b0cf351))
- **deps:** update external fixes
([f515169](https://github.com/adobe/jsonschema2md/commit/f5151691a394c139f07ecaf8ec465e71dba49631))
- **deps:** update external fixes
([e23d8f0](https://github.com/adobe/jsonschema2md/commit/e23d8f01666fedc12442fa2f9bab660c5aa58d8a))
- **deps:** update external major
([#&#8203;516](https://github.com/adobe/jsonschema2md/issues/516))
([d7d72e6](https://github.com/adobe/jsonschema2md/commit/d7d72e61e2b65f0a790b8945d756082bf2fd3bcf))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on sunday" in timezone Asia/Shanghai,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/PKUHPC/SCOW).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ZihanChen821 pushed a commit to PKUHPC/OpenSCOW that referenced this issue Apr 1, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@adobe/jsonschema2md](https://github.com/adobe/jsonschema2md) |
[`7.1.5` ->
`8.0.1`](https://renovatebot.com/diffs/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@adobe%2fjsonschema2md/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@adobe%2fjsonschema2md/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>adobe/jsonschema2md (@&#8203;adobe/jsonschema2md)</summary>

###
[`v8.0.1`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#801-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v8.0.0...v8.0.1)

##### Bug Fixes

- **deps:** update external dependencies
([51be972](https://github.com/adobe/jsonschema2md/commit/51be972b9be85852e9a1ee2f9b7e5b7a86351375))

###
[`v8.0.0`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#800-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v7.1.6...v8.0.0)

##### Build System

- require node 18
([3b74f4f](https://github.com/adobe/jsonschema2md/commit/3b74f4f31fc16d28c9a4a8f317cdd1beb2242d7e))

##### BREAKING CHANGES

-   requires node 18

####
[7.1.6](https://github.com/adobe/jsonschema2md/compare/v7.1.5...v7.1.6)
(2024-03-25)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;adobe/helix-log](https://github.com/adobe/helix-log) to
v6.0.1
([b54415a](https://github.com/adobe/jsonschema2md/commit/b54415a0ae4a66a8ec5da9d433403cf46b0cf351))
- **deps:** update external fixes
([f515169](https://github.com/adobe/jsonschema2md/commit/f5151691a394c139f07ecaf8ec465e71dba49631))
- **deps:** update external fixes
([e23d8f0](https://github.com/adobe/jsonschema2md/commit/e23d8f01666fedc12442fa2f9bab660c5aa58d8a))
- **deps:** update external major
([#&#8203;516](https://github.com/adobe/jsonschema2md/issues/516))
([d7d72e6](https://github.com/adobe/jsonschema2md/commit/d7d72e61e2b65f0a790b8945d756082bf2fd3bcf))

####
[7.1.5](https://github.com/adobe/jsonschema2md/compare/v7.1.4...v7.1.5)
(2022-12-12)

##### Bug Fixes

- fix typo in 'any of the following' text
([d7039b9](https://github.com/adobe/jsonschema2md/commit/d7039b9a7a636262c3c6ef86b34d0924329f49f5))

####
[7.1.4](https://github.com/adobe/jsonschema2md/compare/v7.1.3...v7.1.4)
(2022-11-29)

##### Bug Fixes

- **deps:** update dependency fs-extra to v11
([291515e](https://github.com/adobe/jsonschema2md/commit/291515edde6791c1502359a30a336671cbcbe608))

####
[7.1.3](https://github.com/adobe/jsonschema2md/compare/v7.1.2...v7.1.3)
(2022-11-14)

##### Bug Fixes

- **markdown-builder:** guard against `enum` being not an array
([aa46ac4](https://github.com/adobe/jsonschema2md/commit/aa46ac4b4ed5d2c1641bec41b78ec04e1f83944b)),
closes
[#&#8203;458](https://github.com/adobe/jsonschema2md/issues/458)

####
[7.1.2](https://github.com/adobe/jsonschema2md/compare/v7.1.1...v7.1.2)
(2022-10-06)

##### Bug Fixes

- **schemaproxy.js:** reuse previously proxied subschemas to fix max
call stack size exceeded error
([1388449](https://github.com/adobe/jsonschema2md/commit/13884491df4c9ecc694f3881e40c1861f7acfdf8)),
closes
[/github.com/adobe/jsonschema2md/issues/252#issuecomment-806067867](https://github.com//github.com/adobe/jsonschema2md/issues/252/issues/issuecomment-806067867)
[#&#8203;252](https://github.com/adobe/jsonschema2md/issues/252)

####
[7.1.1](https://github.com/adobe/jsonschema2md/compare/v7.1.0...v7.1.1)
(2022-05-19)

##### Bug Fixes

- **i18n:** align Dutch locale name with standard pattern
([d940cd4](https://github.com/adobe/jsonschema2md/commit/d940cd4114a04f16e3a41db99b095b40e58e4813)),
closes
[#&#8203;426](https://github.com/adobe/jsonschema2md/issues/426)
- **i18n:** dutch locale available as command line option
([e8c9304](https://github.com/adobe/jsonschema2md/commit/e8c93048191394e53d2ab823f2b4489e843fbc40)),
closes
[#&#8203;426](https://github.com/adobe/jsonschema2md/issues/426)
- **i18n:** support Dutch locale as command line option
([0c0fbbd](https://github.com/adobe/jsonschema2md/commit/0c0fbbdf1e668441e330d9f065a43580e3325be1))

###
[`v7.1.6`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#716-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v7.1.5...v7.1.6)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;adobe/helix-log](https://github.com/adobe/helix-log) to
v6.0.1
([b54415a](https://github.com/adobe/jsonschema2md/commit/b54415a0ae4a66a8ec5da9d433403cf46b0cf351))
- **deps:** update external fixes
([f515169](https://github.com/adobe/jsonschema2md/commit/f5151691a394c139f07ecaf8ec465e71dba49631))
- **deps:** update external fixes
([e23d8f0](https://github.com/adobe/jsonschema2md/commit/e23d8f01666fedc12442fa2f9bab660c5aa58d8a))
- **deps:** update external major
([#&#8203;516](https://github.com/adobe/jsonschema2md/issues/516))
([d7d72e6](https://github.com/adobe/jsonschema2md/commit/d7d72e61e2b65f0a790b8945d756082bf2fd3bcf))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on sunday" in timezone Asia/Shanghai,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/PKUHPC/SCOW).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
OYX-1 pushed a commit to PKUHPC/OpenSCOW that referenced this issue Apr 7, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@adobe/jsonschema2md](https://github.com/adobe/jsonschema2md) |
[`7.1.5` ->
`8.0.1`](https://renovatebot.com/diffs/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@adobe%2fjsonschema2md/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@adobe%2fjsonschema2md/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>adobe/jsonschema2md (@&#8203;adobe/jsonschema2md)</summary>

###
[`v8.0.1`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#801-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v8.0.0...v8.0.1)

##### Bug Fixes

- **deps:** update external dependencies
([51be972](https://github.com/adobe/jsonschema2md/commit/51be972b9be85852e9a1ee2f9b7e5b7a86351375))

###
[`v8.0.0`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#800-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v7.1.6...v8.0.0)

##### Build System

- require node 18
([3b74f4f](https://github.com/adobe/jsonschema2md/commit/3b74f4f31fc16d28c9a4a8f317cdd1beb2242d7e))

##### BREAKING CHANGES

-   requires node 18

####
[7.1.6](https://github.com/adobe/jsonschema2md/compare/v7.1.5...v7.1.6)
(2024-03-25)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;adobe/helix-log](https://github.com/adobe/helix-log) to
v6.0.1
([b54415a](https://github.com/adobe/jsonschema2md/commit/b54415a0ae4a66a8ec5da9d433403cf46b0cf351))
- **deps:** update external fixes
([f515169](https://github.com/adobe/jsonschema2md/commit/f5151691a394c139f07ecaf8ec465e71dba49631))
- **deps:** update external fixes
([e23d8f0](https://github.com/adobe/jsonschema2md/commit/e23d8f01666fedc12442fa2f9bab660c5aa58d8a))
- **deps:** update external major
([#&#8203;516](https://github.com/adobe/jsonschema2md/issues/516))
([d7d72e6](https://github.com/adobe/jsonschema2md/commit/d7d72e61e2b65f0a790b8945d756082bf2fd3bcf))

####
[7.1.5](https://github.com/adobe/jsonschema2md/compare/v7.1.4...v7.1.5)
(2022-12-12)

##### Bug Fixes

- fix typo in 'any of the following' text
([d7039b9](https://github.com/adobe/jsonschema2md/commit/d7039b9a7a636262c3c6ef86b34d0924329f49f5))

####
[7.1.4](https://github.com/adobe/jsonschema2md/compare/v7.1.3...v7.1.4)
(2022-11-29)

##### Bug Fixes

- **deps:** update dependency fs-extra to v11
([291515e](https://github.com/adobe/jsonschema2md/commit/291515edde6791c1502359a30a336671cbcbe608))

####
[7.1.3](https://github.com/adobe/jsonschema2md/compare/v7.1.2...v7.1.3)
(2022-11-14)

##### Bug Fixes

- **markdown-builder:** guard against `enum` being not an array
([aa46ac4](https://github.com/adobe/jsonschema2md/commit/aa46ac4b4ed5d2c1641bec41b78ec04e1f83944b)),
closes
[#&#8203;458](https://github.com/adobe/jsonschema2md/issues/458)

####
[7.1.2](https://github.com/adobe/jsonschema2md/compare/v7.1.1...v7.1.2)
(2022-10-06)

##### Bug Fixes

- **schemaproxy.js:** reuse previously proxied subschemas to fix max
call stack size exceeded error
([1388449](https://github.com/adobe/jsonschema2md/commit/13884491df4c9ecc694f3881e40c1861f7acfdf8)),
closes
[/github.com/adobe/jsonschema2md/issues/252#issuecomment-806067867](https://github.com//github.com/adobe/jsonschema2md/issues/252/issues/issuecomment-806067867)
[#&#8203;252](https://github.com/adobe/jsonschema2md/issues/252)

####
[7.1.1](https://github.com/adobe/jsonschema2md/compare/v7.1.0...v7.1.1)
(2022-05-19)

##### Bug Fixes

- **i18n:** align Dutch locale name with standard pattern
([d940cd4](https://github.com/adobe/jsonschema2md/commit/d940cd4114a04f16e3a41db99b095b40e58e4813)),
closes
[#&#8203;426](https://github.com/adobe/jsonschema2md/issues/426)
- **i18n:** dutch locale available as command line option
([e8c9304](https://github.com/adobe/jsonschema2md/commit/e8c93048191394e53d2ab823f2b4489e843fbc40)),
closes
[#&#8203;426](https://github.com/adobe/jsonschema2md/issues/426)
- **i18n:** support Dutch locale as command line option
([0c0fbbd](https://github.com/adobe/jsonschema2md/commit/0c0fbbdf1e668441e330d9f065a43580e3325be1))

###
[`v7.1.6`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#716-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v7.1.5...v7.1.6)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;adobe/helix-log](https://github.com/adobe/helix-log) to
v6.0.1
([b54415a](https://github.com/adobe/jsonschema2md/commit/b54415a0ae4a66a8ec5da9d433403cf46b0cf351))
- **deps:** update external fixes
([f515169](https://github.com/adobe/jsonschema2md/commit/f5151691a394c139f07ecaf8ec465e71dba49631))
- **deps:** update external fixes
([e23d8f0](https://github.com/adobe/jsonschema2md/commit/e23d8f01666fedc12442fa2f9bab660c5aa58d8a))
- **deps:** update external major
([#&#8203;516](https://github.com/adobe/jsonschema2md/issues/516))
([d7d72e6](https://github.com/adobe/jsonschema2md/commit/d7d72e61e2b65f0a790b8945d756082bf2fd3bcf))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on sunday" in timezone Asia/Shanghai,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/PKUHPC/SCOW).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
OYX-1 pushed a commit to PKUHPC/OpenSCOW that referenced this issue Apr 7, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@adobe/jsonschema2md](https://github.com/adobe/jsonschema2md) |
[`7.1.5` ->
`8.0.1`](https://renovatebot.com/diffs/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@adobe%2fjsonschema2md/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@adobe%2fjsonschema2md/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@adobe%2fjsonschema2md/7.1.5/8.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>adobe/jsonschema2md (@&#8203;adobe/jsonschema2md)</summary>

###
[`v8.0.1`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#801-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v8.0.0...v8.0.1)

##### Bug Fixes

- **deps:** update external dependencies
([51be972](https://github.com/adobe/jsonschema2md/commit/51be972b9be85852e9a1ee2f9b7e5b7a86351375))

###
[`v8.0.0`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#800-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v7.1.6...v8.0.0)

##### Build System

- require node 18
([3b74f4f](https://github.com/adobe/jsonschema2md/commit/3b74f4f31fc16d28c9a4a8f317cdd1beb2242d7e))

##### BREAKING CHANGES

-   requires node 18

####
[7.1.6](https://github.com/adobe/jsonschema2md/compare/v7.1.5...v7.1.6)
(2024-03-25)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;adobe/helix-log](https://github.com/adobe/helix-log) to
v6.0.1
([b54415a](https://github.com/adobe/jsonschema2md/commit/b54415a0ae4a66a8ec5da9d433403cf46b0cf351))
- **deps:** update external fixes
([f515169](https://github.com/adobe/jsonschema2md/commit/f5151691a394c139f07ecaf8ec465e71dba49631))
- **deps:** update external fixes
([e23d8f0](https://github.com/adobe/jsonschema2md/commit/e23d8f01666fedc12442fa2f9bab660c5aa58d8a))
- **deps:** update external major
([#&#8203;516](https://github.com/adobe/jsonschema2md/issues/516))
([d7d72e6](https://github.com/adobe/jsonschema2md/commit/d7d72e61e2b65f0a790b8945d756082bf2fd3bcf))

####
[7.1.5](https://github.com/adobe/jsonschema2md/compare/v7.1.4...v7.1.5)
(2022-12-12)

##### Bug Fixes

- fix typo in 'any of the following' text
([d7039b9](https://github.com/adobe/jsonschema2md/commit/d7039b9a7a636262c3c6ef86b34d0924329f49f5))

####
[7.1.4](https://github.com/adobe/jsonschema2md/compare/v7.1.3...v7.1.4)
(2022-11-29)

##### Bug Fixes

- **deps:** update dependency fs-extra to v11
([291515e](https://github.com/adobe/jsonschema2md/commit/291515edde6791c1502359a30a336671cbcbe608))

####
[7.1.3](https://github.com/adobe/jsonschema2md/compare/v7.1.2...v7.1.3)
(2022-11-14)

##### Bug Fixes

- **markdown-builder:** guard against `enum` being not an array
([aa46ac4](https://github.com/adobe/jsonschema2md/commit/aa46ac4b4ed5d2c1641bec41b78ec04e1f83944b)),
closes
[#&#8203;458](https://github.com/adobe/jsonschema2md/issues/458)

####
[7.1.2](https://github.com/adobe/jsonschema2md/compare/v7.1.1...v7.1.2)
(2022-10-06)

##### Bug Fixes

- **schemaproxy.js:** reuse previously proxied subschemas to fix max
call stack size exceeded error
([1388449](https://github.com/adobe/jsonschema2md/commit/13884491df4c9ecc694f3881e40c1861f7acfdf8)),
closes
[/github.com/adobe/jsonschema2md/issues/252#issuecomment-806067867](https://github.com//github.com/adobe/jsonschema2md/issues/252/issues/issuecomment-806067867)
[#&#8203;252](https://github.com/adobe/jsonschema2md/issues/252)

####
[7.1.1](https://github.com/adobe/jsonschema2md/compare/v7.1.0...v7.1.1)
(2022-05-19)

##### Bug Fixes

- **i18n:** align Dutch locale name with standard pattern
([d940cd4](https://github.com/adobe/jsonschema2md/commit/d940cd4114a04f16e3a41db99b095b40e58e4813)),
closes
[#&#8203;426](https://github.com/adobe/jsonschema2md/issues/426)
- **i18n:** dutch locale available as command line option
([e8c9304](https://github.com/adobe/jsonschema2md/commit/e8c93048191394e53d2ab823f2b4489e843fbc40)),
closes
[#&#8203;426](https://github.com/adobe/jsonschema2md/issues/426)
- **i18n:** support Dutch locale as command line option
([0c0fbbd](https://github.com/adobe/jsonschema2md/commit/0c0fbbdf1e668441e330d9f065a43580e3325be1))

###
[`v7.1.6`](https://github.com/adobe/jsonschema2md/blob/HEAD/CHANGELOG.md#716-2024-03-25)

[Compare
Source](https://github.com/adobe/jsonschema2md/compare/v7.1.5...v7.1.6)

##### Bug Fixes

- **deps:** update dependency
[@&#8203;adobe/helix-log](https://github.com/adobe/helix-log) to
v6.0.1
([b54415a](https://github.com/adobe/jsonschema2md/commit/b54415a0ae4a66a8ec5da9d433403cf46b0cf351))
- **deps:** update external fixes
([f515169](https://github.com/adobe/jsonschema2md/commit/f5151691a394c139f07ecaf8ec465e71dba49631))
- **deps:** update external fixes
([e23d8f0](https://github.com/adobe/jsonschema2md/commit/e23d8f01666fedc12442fa2f9bab660c5aa58d8a))
- **deps:** update external major
([#&#8203;516](https://github.com/adobe/jsonschema2md/issues/516))
([d7d72e6](https://github.com/adobe/jsonschema2md/commit/d7d72e61e2b65f0a790b8945d756082bf2fd3bcf))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on sunday" in timezone Asia/Shanghai,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/PKUHPC/SCOW).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants