diff --git a/package-lock.json b/package-lock.json index eaf9ae1b..df2bc475 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@asyncapi/java-spring-cloud-stream-template": "^0.13.4", "@asyncapi/java-spring-template": "^0.29.0", "@asyncapi/java-template": "^0.2.0", - "@asyncapi/markdown-template": "^1.2.2", + "@asyncapi/markdown-template": "^1.3.0", "@asyncapi/nodejs-template": "^0.13.1", "@asyncapi/nodejs-ws-template": "^0.9.33", "@asyncapi/openapi-schema-parser": "^2.0.3", @@ -784,16 +784,66 @@ } }, "node_modules/@asyncapi/markdown-template": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@asyncapi/markdown-template/-/markdown-template-1.2.2.tgz", - "integrity": "sha512-fFURzxwFQ+Lq5DuoTDmFT/UTypOhpJNohkhUubj9WvvizxJqAzX4XyMKH7Gh3iil/e+Lej+6ttpAYJ77TW2x4w==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@asyncapi/markdown-template/-/markdown-template-1.3.0.tgz", + "integrity": "sha512-VMtIk8Bcr2BJQWCoqkkgef0KqDfxD5sGLm/nrWoF7//c3rZsGM9hzBHMo1tur0w13Nnr59nqEK5mok8JQ9s+XA==", "dependencies": { "@asyncapi/generator-filters": "^2.1.0", "@asyncapi/generator-react-sdk": "^0.2.23", - "@asyncapi/parser": "^1.17.1", + "@asyncapi/parser": "2.0.3", + "openapi-sampler": "^1.3.0", "yaml": "^1.10.2" } }, + "node_modules/@asyncapi/markdown-template/node_modules/@asyncapi/parser": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.0.3.tgz", + "integrity": "sha512-2gtIQOaCz8sR70JFREpg6UwgUBboC/26JcAGySkXY/f1ayjcfDoNLi4LsDvmu6G21qLrGN2lI83i8iLG1AzTAw==", + "dependencies": { + "@asyncapi/specs": "^5.1.0", + "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", + "@stoplight/json-ref-resolver": "^3.1.5", + "@stoplight/spectral-core": "^1.16.1", + "@stoplight/spectral-functions": "^1.7.2", + "@stoplight/spectral-parsers": "^1.0.2", + "@types/json-schema": "^7.0.11", + "@types/urijs": "^1.19.19", + "ajv": "^8.11.0", + "ajv-errors": "^3.0.0", + "ajv-formats": "^2.1.1", + "avsc": "^5.7.5", + "js-yaml": "^4.1.0", + "jsonpath-plus": "^7.2.0", + "node-fetch": "2.6.7", + "ramldt2jsonschema": "^1.2.3", + "webapi-parser": "^0.5.0" + } + }, + "node_modules/@asyncapi/markdown-template/node_modules/@asyncapi/specs": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz", + "integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==", + "dependencies": { + "@types/json-schema": "^7.0.11" + } + }, + "node_modules/@asyncapi/markdown-template/node_modules/jsonpath-plus": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.2.0.tgz", + "integrity": "sha512-zBfiUPM5nD0YZSBT/o/fbCUlCcepMIdP0CJZxM1+KgA4f2T206f6VAg9e7mX35+KlMaIc5qXW34f3BnwJ3w+RA==", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@asyncapi/markdown-template/node_modules/openapi-sampler": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.3.1.tgz", + "integrity": "sha512-Ert9mvc2tLPmmInwSyGZS+v4Ogu9/YoZuq9oP3EdUklg2cad6+IGndP9yqJJwbgdXwZibiq5fpv6vYujchdJFg==", + "dependencies": { + "@types/json-schema": "^7.0.7", + "json-pointer": "0.6.2" + } + }, "node_modules/@asyncapi/modelina": { "version": "0.59.9", "resolved": "https://registry.npmjs.org/@asyncapi/modelina/-/modelina-0.59.9.tgz", @@ -21351,14 +21401,63 @@ } }, "@asyncapi/markdown-template": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@asyncapi/markdown-template/-/markdown-template-1.2.2.tgz", - "integrity": "sha512-fFURzxwFQ+Lq5DuoTDmFT/UTypOhpJNohkhUubj9WvvizxJqAzX4XyMKH7Gh3iil/e+Lej+6ttpAYJ77TW2x4w==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@asyncapi/markdown-template/-/markdown-template-1.3.0.tgz", + "integrity": "sha512-VMtIk8Bcr2BJQWCoqkkgef0KqDfxD5sGLm/nrWoF7//c3rZsGM9hzBHMo1tur0w13Nnr59nqEK5mok8JQ9s+XA==", "requires": { "@asyncapi/generator-filters": "^2.1.0", "@asyncapi/generator-react-sdk": "^0.2.23", - "@asyncapi/parser": "^1.17.1", + "@asyncapi/parser": "2.0.3", + "openapi-sampler": "^1.3.0", "yaml": "^1.10.2" + }, + "dependencies": { + "@asyncapi/parser": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.0.3.tgz", + "integrity": "sha512-2gtIQOaCz8sR70JFREpg6UwgUBboC/26JcAGySkXY/f1ayjcfDoNLi4LsDvmu6G21qLrGN2lI83i8iLG1AzTAw==", + "requires": { + "@asyncapi/specs": "^5.1.0", + "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", + "@stoplight/json-ref-resolver": "^3.1.5", + "@stoplight/spectral-core": "^1.16.1", + "@stoplight/spectral-functions": "^1.7.2", + "@stoplight/spectral-parsers": "^1.0.2", + "@types/json-schema": "^7.0.11", + "@types/urijs": "^1.19.19", + "ajv": "^8.11.0", + "ajv-errors": "^3.0.0", + "ajv-formats": "^2.1.1", + "avsc": "^5.7.5", + "js-yaml": "^4.1.0", + "jsonpath-plus": "^7.2.0", + "node-fetch": "2.6.7", + "ramldt2jsonschema": "^1.2.3", + "webapi-parser": "^0.5.0" + } + }, + "@asyncapi/specs": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz", + "integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==", + "requires": { + "@types/json-schema": "^7.0.11" + } + }, + "jsonpath-plus": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.2.0.tgz", + "integrity": "sha512-zBfiUPM5nD0YZSBT/o/fbCUlCcepMIdP0CJZxM1+KgA4f2T206f6VAg9e7mX35+KlMaIc5qXW34f3BnwJ3w+RA==" + }, + "openapi-sampler": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.3.1.tgz", + "integrity": "sha512-Ert9mvc2tLPmmInwSyGZS+v4Ogu9/YoZuq9oP3EdUklg2cad6+IGndP9yqJJwbgdXwZibiq5fpv6vYujchdJFg==", + "requires": { + "@types/json-schema": "^7.0.7", + "json-pointer": "0.6.2" + } + } } }, "@asyncapi/modelina": { diff --git a/package.json b/package.json index 638f7c53..61661b12 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "@asyncapi/java-spring-cloud-stream-template": "^0.13.4", "@asyncapi/java-spring-template": "^0.29.0", "@asyncapi/java-template": "^0.2.0", - "@asyncapi/markdown-template": "^1.2.2", + "@asyncapi/markdown-template": "^1.3.0", "@asyncapi/nodejs-template": "^0.13.1", "@asyncapi/nodejs-ws-template": "^0.9.33", "@asyncapi/openapi-schema-parser": "^2.0.3",