diff --git a/package-lock.json b/package-lock.json index f0794ed0..ae17e957 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@apidevtools/json-schema-ref-parser": "^10.1.0", - "@asyncapi/avro-schema-parser": "^1.1.0", + "@asyncapi/avro-schema-parser": "^3.0.7", "@asyncapi/bundler": "^0.3.11", "@asyncapi/converter": "^1.4.4", "@asyncapi/diff": "^0.4.1", @@ -167,13 +167,78 @@ } }, "node_modules/@asyncapi/avro-schema-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-1.1.0.tgz", - "integrity": "sha512-7J7pzSw0/jF2bXy/Mf+80VKJfXRRfyLTJz413MkKLbLXbbz9rV4sVpYfp31ofqXgyZ9bhfmHJzunbi0Bt7Jcww==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.7.tgz", + "integrity": "sha512-pu5NDnha0Swd041uNtGbj7yshp2zd2U1CjL5rI5GCWPzq64SlS6rdPjX2iBIWXChV8FlX9GGhW9eRoJduIzntg==", "dependencies": { - "avsc": "^5.7.3" + "@asyncapi/parser": "^3.0.1", + "@types/json-schema": "^7.0.11", + "avsc": "^5.7.6" + } + }, + "node_modules/@asyncapi/avro-schema-parser/node_modules/@asyncapi/parser": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.1.tgz", + "integrity": "sha512-LtRVjbswpqW7TlSqnGVdFm1da3DV1sqQz07ZG6xqzpR2A2pkn16+5Fk+OhuAggZ0atXNLSYfYSuKp8t3iKvrKA==", + "dependencies": { + "@asyncapi/specs": "^6.1.0", + "@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/avro-schema-parser/node_modules/@asyncapi/specs": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.1.0.tgz", + "integrity": "sha512-RXWktqwnErkZmPppT7FWQ8njoULKrB6ERUZUWT0+PdrQ1ti+VvyiCS3RvhdgE2r612VPP9NIh05tJgBCv6LgoQ==", + "dependencies": { + "@types/json-schema": "^7.0.11" + } + }, + "node_modules/@asyncapi/avro-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" + }, + "engines": { + "node": ">=8.3.0" + } + }, + "node_modules/@asyncapi/avro-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/avro-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/bundler": { "version": "0.3.11", "resolved": "https://registry.npmjs.org/@asyncapi/bundler/-/bundler-0.3.11.tgz", @@ -476,6 +541,14 @@ "semver": "bin/semver" } }, + "node_modules/@asyncapi/generator/node_modules/@asyncapi/avro-schema-parser": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-1.1.0.tgz", + "integrity": "sha512-7J7pzSw0/jF2bXy/Mf+80VKJfXRRfyLTJz413MkKLbLXbbz9rV4sVpYfp31ofqXgyZ9bhfmHJzunbi0Bt7Jcww==", + "dependencies": { + "avsc": "^5.7.3" + } + }, "node_modules/@asyncapi/generator/node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -559,16 +632,6 @@ "js-yaml": "^4.1.0" } }, - "node_modules/@asyncapi/go-watermill-template/node_modules/@asyncapi/avro-schema-parser": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.5.tgz", - "integrity": "sha512-e3pLBc6kEANuNFKHLbQhFxuLmviG5KoqiL1DEiA6OxBZtwgRAOd4sewnQg64VUCs5KSDrddbeF892OACurxUoA==", - "dependencies": { - "@asyncapi/parser": "^2.1.2", - "@types/json-schema": "^7.0.11", - "avsc": "^5.7.6" - } - }, "node_modules/@asyncapi/go-watermill-template/node_modules/@asyncapi/modelina": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/@asyncapi/modelina/-/modelina-2.0.5.tgz", @@ -988,16 +1051,6 @@ "js-yaml": "^4.1.0" } }, - "node_modules/@asyncapi/modelina/node_modules/@asyncapi/avro-schema-parser": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.3.tgz", - "integrity": "sha512-XprbDYPFJ0nc963hPCjbEmM3iu6ypKg/70EFVl0MZJCLbLw/+gBbPy95uV3Qaofm5UQgSI+aTobGhc8rMre4VA==", - "dependencies": { - "@asyncapi/parser": "^2.1.0", - "@types/json-schema": "^7.0.11", - "avsc": "^5.7.6" - } - }, "node_modules/@asyncapi/modelina/node_modules/@asyncapi/openapi-schema-parser": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.4.tgz", @@ -1286,6 +1339,14 @@ "react-dom": ">=16.8.0" } }, + "node_modules/@asyncapi/react-component/node_modules/@asyncapi/avro-schema-parser": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-1.1.0.tgz", + "integrity": "sha512-7J7pzSw0/jF2bXy/Mf+80VKJfXRRfyLTJz413MkKLbLXbbz9rV4sVpYfp31ofqXgyZ9bhfmHJzunbi0Bt7Jcww==", + "dependencies": { + "avsc": "^5.7.3" + } + }, "node_modules/@asyncapi/react-component/node_modules/openapi-sampler": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.3.1.tgz", @@ -16617,11 +16678,72 @@ } }, "@asyncapi/avro-schema-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-1.1.0.tgz", - "integrity": "sha512-7J7pzSw0/jF2bXy/Mf+80VKJfXRRfyLTJz413MkKLbLXbbz9rV4sVpYfp31ofqXgyZ9bhfmHJzunbi0Bt7Jcww==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.7.tgz", + "integrity": "sha512-pu5NDnha0Swd041uNtGbj7yshp2zd2U1CjL5rI5GCWPzq64SlS6rdPjX2iBIWXChV8FlX9GGhW9eRoJduIzntg==", "requires": { - "avsc": "^5.7.3" + "@asyncapi/parser": "^3.0.1", + "@types/json-schema": "^7.0.11", + "avsc": "^5.7.6" + }, + "dependencies": { + "@asyncapi/parser": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.1.tgz", + "integrity": "sha512-LtRVjbswpqW7TlSqnGVdFm1da3DV1sqQz07ZG6xqzpR2A2pkn16+5Fk+OhuAggZ0atXNLSYfYSuKp8t3iKvrKA==", + "requires": { + "@asyncapi/specs": "^6.1.0", + "@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" + } + }, + "@asyncapi/specs": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.1.0.tgz", + "integrity": "sha512-RXWktqwnErkZmPppT7FWQ8njoULKrB6ERUZUWT0+PdrQ1ti+VvyiCS3RvhdgE2r612VPP9NIh05tJgBCv6LgoQ==", + "requires": { + "@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==" + } } }, "@asyncapi/bundler": { @@ -16803,6 +16925,14 @@ "typescript": "^4.9.3" }, "dependencies": { + "@asyncapi/avro-schema-parser": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-1.1.0.tgz", + "integrity": "sha512-7J7pzSw0/jF2bXy/Mf+80VKJfXRRfyLTJz413MkKLbLXbbz9rV4sVpYfp31ofqXgyZ9bhfmHJzunbi0Bt7Jcww==", + "requires": { + "avsc": "^5.7.3" + } + }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -16975,16 +17105,6 @@ "js-yaml": "^4.1.0" } }, - "@asyncapi/avro-schema-parser": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.5.tgz", - "integrity": "sha512-e3pLBc6kEANuNFKHLbQhFxuLmviG5KoqiL1DEiA6OxBZtwgRAOd4sewnQg64VUCs5KSDrddbeF892OACurxUoA==", - "requires": { - "@asyncapi/parser": "^2.1.2", - "@types/json-schema": "^7.0.11", - "avsc": "^5.7.6" - } - }, "@asyncapi/modelina": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/@asyncapi/modelina/-/modelina-2.0.5.tgz", @@ -17365,16 +17485,6 @@ "js-yaml": "^4.1.0" } }, - "@asyncapi/avro-schema-parser": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.3.tgz", - "integrity": "sha512-XprbDYPFJ0nc963hPCjbEmM3iu6ypKg/70EFVl0MZJCLbLw/+gBbPy95uV3Qaofm5UQgSI+aTobGhc8rMre4VA==", - "requires": { - "@asyncapi/parser": "^2.1.0", - "@types/json-schema": "^7.0.11", - "avsc": "^5.7.6" - } - }, "@asyncapi/openapi-schema-parser": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.4.tgz", @@ -17648,6 +17758,14 @@ "use-resize-observer": "^8.0.0" }, "dependencies": { + "@asyncapi/avro-schema-parser": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-1.1.0.tgz", + "integrity": "sha512-7J7pzSw0/jF2bXy/Mf+80VKJfXRRfyLTJz413MkKLbLXbbz9rV4sVpYfp31ofqXgyZ9bhfmHJzunbi0Bt7Jcww==", + "requires": { + "avsc": "^5.7.3" + } + }, "openapi-sampler": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.3.1.tgz", diff --git a/package.json b/package.json index 2926b62c..3bdcace8 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ }, "dependencies": { "@apidevtools/json-schema-ref-parser": "^10.1.0", - "@asyncapi/avro-schema-parser": "^1.1.0", + "@asyncapi/avro-schema-parser": "^3.0.7", "@asyncapi/bundler": "^0.3.11", "@asyncapi/converter": "^1.4.4", "@asyncapi/diff": "^0.4.1",