diff --git a/apps/studio/package.json b/apps/studio/package.json index cfcf88818..306f282a5 100644 --- a/apps/studio/package.json +++ b/apps/studio/package.json @@ -80,7 +80,7 @@ "@asyncapi/java-spring-cloud-stream-template": "^0.13.4", "@asyncapi/java-spring-template": "^0.29.0", "@asyncapi/java-template": "^0.2.1", - "@asyncapi/markdown-template": "^1.2.1", + "@asyncapi/markdown-template": "^1.3.1", "@asyncapi/nodejs-template": "^0.13.1", "@asyncapi/nodejs-ws-template": "^0.9.33", "@asyncapi/python-paho-template": "^0.2.13", diff --git a/package-lock.json b/package-lock.json index f74b22e1d..5424192ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -512,7 +512,7 @@ "@asyncapi/java-spring-cloud-stream-template": "^0.13.4", "@asyncapi/java-spring-template": "^0.29.0", "@asyncapi/java-template": "^0.2.1", - "@asyncapi/markdown-template": "^1.2.1", + "@asyncapi/markdown-template": "^1.3.1", "@asyncapi/nodejs-template": "^0.13.1", "@asyncapi/nodejs-ws-template": "^0.9.33", "@asyncapi/python-paho-template": "^0.2.13", @@ -1294,72 +1294,28 @@ } }, "node_modules/@asyncapi/markdown-template": { - "version": "1.2.1", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@asyncapi/markdown-template/-/markdown-template-1.3.1.tgz", + "integrity": "sha512-T9ABPztAsHmkbZfydePm+MHLUcPLeAg+RZxo9EC0+/MKu7CPOI39DaDoKsZJV8elhrPXCPyuJMAJwP8Sv02rFg==", "dev": true, - "license": "Apache-2.0", "dependencies": { "@asyncapi/generator-filters": "^2.1.0", "@asyncapi/generator-react-sdk": "^0.2.23", - "@asyncapi/parser": "^1.17.1", + "@asyncapi/parser": "^2.1.0", + "openapi-sampler": "^1.3.0", "yaml": "^1.10.2" } }, - "node_modules/@asyncapi/markdown-template/node_modules/@asyncapi/parser": { - "version": "1.18.1", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@apidevtools/json-schema-ref-parser": "^9.0.6", - "@asyncapi/specs": "^4.1.1", - "@fmvilas/pseudo-yaml-ast": "^0.3.1", - "ajv": "^6.10.1", - "js-yaml": "^3.13.1", - "json-to-ast": "^2.1.0", - "lodash.clonedeep": "^4.5.0", - "node-fetch": "^2.6.0", - "tiny-merge-patch": "^0.1.2" - } - }, - "node_modules/@asyncapi/markdown-template/node_modules/ajv": { - "version": "6.12.6", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@asyncapi/markdown-template/node_modules/argparse": { - "version": "1.0.10", - "dev": true, - "license": "MIT", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/@asyncapi/markdown-template/node_modules/js-yaml": { - "version": "3.14.1", + "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==", "dev": true, - "license": "MIT", "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "@types/json-schema": "^7.0.7", + "json-pointer": "0.6.2" } }, - "node_modules/@asyncapi/markdown-template/node_modules/json-schema-traverse": { - "version": "0.4.1", - "dev": true, - "license": "MIT" - }, "node_modules/@asyncapi/modelina": { "version": "1.8.6", "resolved": "https://registry.npmjs.org/@asyncapi/modelina/-/modelina-1.8.6.tgz", @@ -1437,9 +1393,9 @@ } }, "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==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.0.tgz", + "integrity": "sha512-78jjN3eW4ZmgJEa6Ap15lofzADCeItO4wHcAY2Jod3qLB1xf1zFDZQdtm3VSHYLeLhwoC1A33bAtzEf7M5P2bg==", "dependencies": { "@asyncapi/specs": "^5.1.0", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", @@ -34761,58 +34717,27 @@ } }, "@asyncapi/markdown-template": { - "version": "1.2.1", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@asyncapi/markdown-template/-/markdown-template-1.3.1.tgz", + "integrity": "sha512-T9ABPztAsHmkbZfydePm+MHLUcPLeAg+RZxo9EC0+/MKu7CPOI39DaDoKsZJV8elhrPXCPyuJMAJwP8Sv02rFg==", "dev": true, "requires": { "@asyncapi/generator-filters": "^2.1.0", "@asyncapi/generator-react-sdk": "^0.2.23", - "@asyncapi/parser": "^1.17.1", + "@asyncapi/parser": "^2.1.0", + "openapi-sampler": "^1.3.0", "yaml": "^1.10.2" }, "dependencies": { - "@asyncapi/parser": { - "version": "1.18.1", - "dev": true, - "requires": { - "@apidevtools/json-schema-ref-parser": "^9.0.6", - "@asyncapi/specs": "^4.1.1", - "@fmvilas/pseudo-yaml-ast": "^0.3.1", - "ajv": "^6.10.1", - "js-yaml": "^3.13.1", - "json-to-ast": "^2.1.0", - "lodash.clonedeep": "^4.5.0", - "node-fetch": "^2.6.0", - "tiny-merge-patch": "^0.1.2" - } - }, - "ajv": { - "version": "6.12.6", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "argparse": { - "version": "1.0.10", - "dev": true, - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "js-yaml": { - "version": "3.14.1", + "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==", "dev": true, "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "@types/json-schema": "^7.0.7", + "json-pointer": "0.6.2" } - }, - "json-schema-traverse": { - "version": "0.4.1", - "dev": true } } }, @@ -34889,9 +34814,9 @@ } }, "@asyncapi/parser": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.0.3.tgz", - "integrity": "sha512-2gtIQOaCz8sR70JFREpg6UwgUBboC/26JcAGySkXY/f1ayjcfDoNLi4LsDvmu6G21qLrGN2lI83i8iLG1AzTAw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.0.tgz", + "integrity": "sha512-78jjN3eW4ZmgJEa6Ap15lofzADCeItO4wHcAY2Jod3qLB1xf1zFDZQdtm3VSHYLeLhwoC1A33bAtzEf7M5P2bg==", "requires": { "@asyncapi/specs": "^5.1.0", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", @@ -35118,7 +35043,7 @@ "@asyncapi/java-spring-cloud-stream-template": "^0.13.4", "@asyncapi/java-spring-template": "^0.29.0", "@asyncapi/java-template": "^0.2.1", - "@asyncapi/markdown-template": "^1.2.1", + "@asyncapi/markdown-template": "^1.3.1", "@asyncapi/nodejs-template": "^0.13.1", "@asyncapi/nodejs-ws-template": "^0.9.33", "@asyncapi/openapi-schema-parser": "^3.0.3",