diff --git a/package-lock.json b/package-lock.json index 2fc575ffd89..eefafafba08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@asyncapi/avro-schema-parser": "^1.1.0", + "@asyncapi/avro-schema-parser": "^3.0.9", "@asyncapi/openapi-schema-parser": "^2.0.3", "@asyncapi/parser": "^1.18.1", "@asyncapi/protobuf-schema-parser": "^1.0.0", @@ -352,13 +352,77 @@ } }, "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.9", + "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.9.tgz", + "integrity": "sha512-t6B6W8QXiM0fWhj8sNnGoFkFjrNqWjLGeKiKpQFKVEghVLz5vLmARs7kMWWKGbjxQSas3e4ChcmMi1B2IplrBQ==", + "dependencies": { + "@asyncapi/parser": "^3.0.2", + "@types/json-schema": "^7.0.11", + "avsc": "^5.7.6" + } + }, + "node_modules/@asyncapi/avro-schema-parser/node_modules/@asyncapi/parser": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.2.tgz", + "integrity": "sha512-AtDFndWwnaqGoXZQY2DRtORT2Ls4BI7MSR+Rg7TRwxf5jxIz/WVvQwc5HElkHuDEkIZslYu+ukFzNq3awdj0aw==", + "dependencies": { + "@asyncapi/specs": "^6.2.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.2.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.2.0.tgz", + "integrity": "sha512-5uf/Rg6pavZHx7rVIkP0TP/icIahJCuHgmY1rdtkrWxHZMXbASDDV3DlTUaonbsUeemwchoqljmrTd1O1xqvxg==", "dependencies": { - "avsc": "^5.7.3" + "@types/json-schema": "^7.0.11" } }, + "node_modules/@asyncapi/avro-schema-parser/node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@asyncapi/avro-schema-parser/node_modules/ajv-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", + "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", + "peerDependencies": { + "ajv": "^8.0.1" + } + }, + "node_modules/@asyncapi/avro-schema-parser/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, "node_modules/@asyncapi/openapi-schema-parser": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-2.0.3.tgz", @@ -433,16 +497,6 @@ "react-dom": ">=16.8.0" } }, - "node_modules/@asyncapi/react-component/node_modules/@asyncapi/avro-schema-parser": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.9.tgz", - "integrity": "sha512-t6B6W8QXiM0fWhj8sNnGoFkFjrNqWjLGeKiKpQFKVEghVLz5vLmARs7kMWWKGbjxQSas3e4ChcmMi1B2IplrBQ==", - "dependencies": { - "@asyncapi/parser": "^3.0.2", - "@types/json-schema": "^7.0.11", - "avsc": "^5.7.6" - } - }, "node_modules/@asyncapi/react-component/node_modules/@asyncapi/openapi-schema-parser": { "version": "3.0.10", "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.10.tgz", diff --git a/package.json b/package.json index 927bbe48f10..c87edcced70 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "postinstall": "monaco-treemending" }, "dependencies": { - "@asyncapi/avro-schema-parser": "^1.1.0", + "@asyncapi/avro-schema-parser": "^3.0.9", "@asyncapi/openapi-schema-parser": "^2.0.3", "@asyncapi/parser": "^1.18.1", "@asyncapi/protobuf-schema-parser": "^1.0.0",