diff --git a/package-lock.json b/package-lock.json index 59ceb154..76c46941 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "@asyncapi/parser": "^1.18.1", "@asyncapi/problem": "^1.0.0", "@asyncapi/python-paho-template": "^0.2.13", - "@asyncapi/raml-dt-schema-parser": "^2.0.1", + "@asyncapi/raml-dt-schema-parser": "^4.0.19", "@asyncapi/specs": "^4.2.1", "@asyncapi/ts-nats-template": "^0.10.3", "ajv": "^8.8.2", @@ -476,6 +476,15 @@ "semver": "bin/semver" } }, + "node_modules/@asyncapi/generator/node_modules/@asyncapi/raml-dt-schema-parser": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-2.0.1.tgz", + "integrity": "sha512-R7i35IbVbvGyPNm3t5ToPDtYUwDtVjWF/oCgCVPK/wLpNQ0uVZX5Y0JFhO78VUHEep0NKuuI2CZh6oLz0ebMVQ==", + "dependencies": { + "js-yaml": "^3.13.1", + "ramldt2jsonschema": "^1.1.0" + } + }, "node_modules/@asyncapi/generator/node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -1004,17 +1013,6 @@ "webapi-parser": "^0.5.0" } }, - "node_modules/@asyncapi/modelina/node_modules/@asyncapi/raml-dt-schema-parser": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.4.tgz", - "integrity": "sha512-kKam4jwYYdwqoV5zkEb3YEb8VOrN0785fc4ByazxRd+BT/RnkQTLspjTY/akdDs9DLmU4ChP73Z0vqpek6wojA==", - "dependencies": { - "@asyncapi/parser": "^2.1.0", - "js-yaml": "^4.1.0", - "ramldt2jsonschema": "^1.2.3", - "webapi-parser": "^0.5.0" - } - }, "node_modules/@asyncapi/modelina/node_modules/@asyncapi/specs": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz", @@ -1403,34 +1401,79 @@ } }, "node_modules/@asyncapi/raml-dt-schema-parser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-2.0.1.tgz", - "integrity": "sha512-R7i35IbVbvGyPNm3t5ToPDtYUwDtVjWF/oCgCVPK/wLpNQ0uVZX5Y0JFhO78VUHEep0NKuuI2CZh6oLz0ebMVQ==", + "version": "4.0.19", + "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.19.tgz", + "integrity": "sha512-2W7hDN//ybFz4HbjuGVy8qN1pinBAQG268saw+Q6JdduYw7q49vLu6XUkftvJvyXhSEzCnNmZUaipFilLrE43w==", "dependencies": { - "js-yaml": "^3.13.1", - "ramldt2jsonschema": "^1.1.0" + "@asyncapi/parser": "^3.0.11", + "js-yaml": "^4.1.0", + "ramldt2jsonschema": "^1.2.3", + "webapi-parser": "^0.5.0" } }, - "node_modules/@asyncapi/raml-dt-schema-parser/node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "node_modules/@asyncapi/raml-dt-schema-parser/node_modules/@asyncapi/parser": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.11.tgz", + "integrity": "sha512-YrmPY6Me7Eh6yH7xISKrDuiybaNVDUxVjbChUAoJZ4dnVGAmMVTxQTlwoqEwQ9bfTHzAb3RixdJ3TC6I4RoHNw==", "dependencies": { - "sprintf-js": "~1.0.2" + "@asyncapi/specs": "^6.5.4", + "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", + "@stoplight/json": "^3.20.2", + "@stoplight/json-ref-readers": "^1.2.2", + "@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", + "@stoplight/spectral-ref-resolver": "^1.0.3", + "@stoplight/types": "^13.12.0", + "@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" } }, - "node_modules/@asyncapi/raml-dt-schema-parser/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "node_modules/@asyncapi/raml-dt-schema-parser/node_modules/@asyncapi/specs": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.4.tgz", + "integrity": "sha512-olC+iuboGIGjFRKuqfwaXxm5I6Wae3JohmySwMfExl21nYUd88IbfwywunOPLWyLV05aXeoTJ5tDXiM9e4gWcQ==", "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "@types/json-schema": "^7.0.11" + } + }, + "node_modules/@asyncapi/raml-dt-schema-parser/node_modules/@stoplight/json": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.0.tgz", + "integrity": "sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g==", + "dependencies": { + "@stoplight/ordered-object-literal": "^1.0.3", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^13.6.0", + "jsonc-parser": "~2.2.1", + "lodash": "^4.17.21", + "safe-stable-stringify": "^1.1" }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "engines": { + "node": ">=8.3.0" } }, + "node_modules/@asyncapi/raml-dt-schema-parser/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/raml-dt-schema-parser/node_modules/safe-stable-stringify": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", + "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==" + }, "node_modules/@asyncapi/react-component": { "version": "1.0.0-next.47", "resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.0.0-next.47.tgz", @@ -4536,17 +4579,6 @@ "node-fetch": "2.6.7" } }, - "node_modules/@smoya/multi-parser/node_modules/@asyncapi/raml-dt-schema-parser": { - "version": "4.0.17", - "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.17.tgz", - "integrity": "sha512-yd933FBflZGX7NaD0IVzS5tjGHbPObk265ihQIfLb0HyObcd9OG1+YAH4q3LtTDB4aQ304uM7lh3wxzQaC6g9w==", - "dependencies": { - "@asyncapi/parser": "^3.0.9", - "js-yaml": "^4.1.0", - "ramldt2jsonschema": "^1.2.3", - "webapi-parser": "^0.5.0" - } - }, "node_modules/@smoya/multi-parser/node_modules/@asyncapi/specs": { "version": "6.5.3", "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.3.tgz", @@ -18557,6 +18589,15 @@ "typescript": "^4.9.3" }, "dependencies": { + "@asyncapi/raml-dt-schema-parser": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-2.0.1.tgz", + "integrity": "sha512-R7i35IbVbvGyPNm3t5ToPDtYUwDtVjWF/oCgCVPK/wLpNQ0uVZX5Y0JFhO78VUHEep0NKuuI2CZh6oLz0ebMVQ==", + "requires": { + "js-yaml": "^3.13.1", + "ramldt2jsonschema": "^1.1.0" + } + }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -19129,17 +19170,6 @@ "webapi-parser": "^0.5.0" } }, - "@asyncapi/raml-dt-schema-parser": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.4.tgz", - "integrity": "sha512-kKam4jwYYdwqoV5zkEb3YEb8VOrN0785fc4ByazxRd+BT/RnkQTLspjTY/akdDs9DLmU4ChP73Z0vqpek6wojA==", - "requires": { - "@asyncapi/parser": "^2.1.0", - "js-yaml": "^4.1.0", - "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", @@ -19500,30 +19530,72 @@ } }, "@asyncapi/raml-dt-schema-parser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-2.0.1.tgz", - "integrity": "sha512-R7i35IbVbvGyPNm3t5ToPDtYUwDtVjWF/oCgCVPK/wLpNQ0uVZX5Y0JFhO78VUHEep0NKuuI2CZh6oLz0ebMVQ==", + "version": "4.0.19", + "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.19.tgz", + "integrity": "sha512-2W7hDN//ybFz4HbjuGVy8qN1pinBAQG268saw+Q6JdduYw7q49vLu6XUkftvJvyXhSEzCnNmZUaipFilLrE43w==", "requires": { - "js-yaml": "^3.13.1", - "ramldt2jsonschema": "^1.1.0" + "@asyncapi/parser": "^3.0.11", + "js-yaml": "^4.1.0", + "ramldt2jsonschema": "^1.2.3", + "webapi-parser": "^0.5.0" }, "dependencies": { - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "@asyncapi/parser": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.11.tgz", + "integrity": "sha512-YrmPY6Me7Eh6yH7xISKrDuiybaNVDUxVjbChUAoJZ4dnVGAmMVTxQTlwoqEwQ9bfTHzAb3RixdJ3TC6I4RoHNw==", "requires": { - "sprintf-js": "~1.0.2" + "@asyncapi/specs": "^6.5.4", + "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", + "@stoplight/json": "^3.20.2", + "@stoplight/json-ref-readers": "^1.2.2", + "@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", + "@stoplight/spectral-ref-resolver": "^1.0.3", + "@stoplight/types": "^13.12.0", + "@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" } }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "@asyncapi/specs": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.4.tgz", + "integrity": "sha512-olC+iuboGIGjFRKuqfwaXxm5I6Wae3JohmySwMfExl21nYUd88IbfwywunOPLWyLV05aXeoTJ5tDXiM9e4gWcQ==", "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "@types/json-schema": "^7.0.11" + } + }, + "@stoplight/json": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.0.tgz", + "integrity": "sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g==", + "requires": { + "@stoplight/ordered-object-literal": "^1.0.3", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^13.6.0", + "jsonc-parser": "~2.2.1", + "lodash": "^4.17.21", + "safe-stable-stringify": "^1.1" } + }, + "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==" + }, + "safe-stable-stringify": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", + "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==" } } }, @@ -21797,17 +21869,6 @@ "node-fetch": "2.6.7" } }, - "@asyncapi/raml-dt-schema-parser": { - "version": "4.0.17", - "resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.17.tgz", - "integrity": "sha512-yd933FBflZGX7NaD0IVzS5tjGHbPObk265ihQIfLb0HyObcd9OG1+YAH4q3LtTDB4aQ304uM7lh3wxzQaC6g9w==", - "requires": { - "@asyncapi/parser": "^3.0.9", - "js-yaml": "^4.1.0", - "ramldt2jsonschema": "^1.2.3", - "webapi-parser": "^0.5.0" - } - }, "@asyncapi/specs": { "version": "6.5.3", "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.3.tgz", diff --git a/package.json b/package.json index 4d9b4831..2677ba5d 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "@asyncapi/parser": "^1.18.1", "@asyncapi/problem": "^1.0.0", "@asyncapi/python-paho-template": "^0.2.13", - "@asyncapi/raml-dt-schema-parser": "^2.0.1", + "@asyncapi/raml-dt-schema-parser": "^4.0.19", "@asyncapi/specs": "^4.2.1", "@asyncapi/ts-nats-template": "^0.10.3", "ajv": "^8.8.2",