diff --git a/apps/studio/package.json b/apps/studio/package.json index 21ddb662f..62f71db90 100644 --- a/apps/studio/package.json +++ b/apps/studio/package.json @@ -27,7 +27,7 @@ "@asyncapi/converter": "^1.4.2", "@asyncapi/openapi-schema-parser": "^3.0.4", "@asyncapi/parser": "^3.0.0-next-major-spec.3", - "@asyncapi/react-component": "^1.0.2", + "@asyncapi/react-component": "^1.2.2", "@asyncapi/specs": "^6.0.0-next-major-spec.6", "@ebay/nice-modal-react": "^1.2.10", "@headlessui/react": "^1.7.4", diff --git a/apps/studio/src/components/Template/HTMLWrapper.tsx b/apps/studio/src/components/Template/HTMLWrapper.tsx index 8bff5431a..16e7542a9 100644 --- a/apps/studio/src/components/Template/HTMLWrapper.tsx +++ b/apps/studio/src/components/Template/HTMLWrapper.tsx @@ -47,7 +47,7 @@ export const HTMLWrapper: React.FunctionComponent = () => {
=14.17" } }, - "apps/studio/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" - } - }, - "apps/studio/node_modules/@asyncapi/avro-schema-parser/node_modules/@asyncapi/parser": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.2.tgz", - "integrity": "sha512-2pHKnr2P8EujcrvZo4x4zNwsEIAg5vb1ZEhl2+OH0YBg8EYH/Xx73XZ+bbwLaYIg1gvFjm29jNB9UL3CMeDU5w==", - "dependencies": { - "@asyncapi/specs": "^5.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" - } - }, - "apps/studio/node_modules/@asyncapi/avro-schema-parser/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" - } - }, "apps/studio/node_modules/@asyncapi/parser": { "version": "3.0.0-next-major-spec.3", "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0-next-major-spec.3.tgz", @@ -1033,11 +989,11 @@ } }, "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==", + "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.0", + "@asyncapi/parser": "^2.1.2", "@types/json-schema": "^7.0.11", "avsc": "^5.7.6" } @@ -1240,17 +1196,6 @@ "@asyncapi/modelina": "^2.0.5" } }, - "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==", - "dev": true, - "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", @@ -1276,19 +1221,6 @@ "node": ">=18" } }, - "node_modules/@asyncapi/go-watermill-template/node_modules/@asyncapi/openapi-schema-parser": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.6.tgz", - "integrity": "sha512-hm6B0hjsfg2cFzksIWhpnxImCXUxj+7al9WnNceWNQPrEZVUKt+lKyEDJseJy8XIT+KeJazy/uwa5WI1yuDanA==", - "dev": true, - "dependencies": { - "@asyncapi/parser": "^2.1.2", - "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", - "ajv": "^8.11.0", - "ajv-errors": "^3.0.0", - "ajv-formats": "^2.1.1" - } - }, "node_modules/@asyncapi/go-watermill-template/node_modules/@types/node": { "version": "20.9.2", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.2.tgz", @@ -1745,11 +1677,11 @@ } }, "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", - "integrity": "sha512-nfZbL3dTpIQ3K+/V05FBpgOPi7dDWZkqZG8e7pKwtNhwZ0YLBFWTw6RpocztlBlcieFggxZqLm4BT5I1cQbK+Q==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.6.tgz", + "integrity": "sha512-hm6B0hjsfg2cFzksIWhpnxImCXUxj+7al9WnNceWNQPrEZVUKt+lKyEDJseJy8XIT+KeJazy/uwa5WI1yuDanA==", "dependencies": { - "@asyncapi/parser": "^2.1.0", + "@asyncapi/parser": "^2.1.2", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "ajv": "^8.11.0", "ajv-errors": "^3.0.0", @@ -1860,13 +1792,13 @@ } }, "node_modules/@asyncapi/react-component": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.0.2.tgz", - "integrity": "sha512-Betb4RDEsATpKcpw5uG2PeNWViPJIlwGZKx3xPFBpreh9J4nB9SFb7WPddY4Myrbw79/PX6N/KBy+LyiETEDmA==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.2.2.tgz", + "integrity": "sha512-+KXIIsMhMy7OqUpmh4Jql+bFRT9dO7n+zBay+wjXEjWi3IyFHlw5CiP5XQ103PGYunRwnmaTkUwerjYIB0w6jA==", "dependencies": { - "@asyncapi/avro-schema-parser": "3.0.3", - "@asyncapi/openapi-schema-parser": "3.0.4", - "@asyncapi/parser": "^3.0.0-next-major-spec.3", + "@asyncapi/avro-schema-parser": "^3.0.5", + "@asyncapi/openapi-schema-parser": "^3.0.6", + "@asyncapi/parser": "^3.0.0-next-major-spec.10", "@asyncapi/protobuf-schema-parser": "3.0.0", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", @@ -1880,11 +1812,11 @@ } }, "node_modules/@asyncapi/react-component/node_modules/@asyncapi/parser": { - "version": "3.0.0-next-major-spec.3", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0-next-major-spec.3.tgz", - "integrity": "sha512-LCrAQqJpGxraMyU2k1Nh1X6Q1dz7a/YhTRRFFrQHOEo+TUT/kRdoUkRDP++e58dO7h9MBN+/hZK5TaqE+/jQiw==", + "version": "3.0.0-next-major-spec.12", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0-next-major-spec.12.tgz", + "integrity": "sha512-68b3ceprIrkAWC9FLBOQqK+H9iQnwRNj2G8/s7OyvsNVpyRpNOe4xETUm/RkfyZYTjpLC2sGqbX42SEU0PW2+g==", "dependencies": { - "@asyncapi/specs": "^6.0.0-next-major-spec.6", + "@asyncapi/specs": "^6.0.0-next-major-spec.9", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json-ref-resolver": "^3.1.5", "@stoplight/spectral-core": "^1.16.1", @@ -1904,9 +1836,9 @@ } }, "node_modules/@asyncapi/react-component/node_modules/@asyncapi/specs": { - "version": "6.0.0-next-major-spec.8", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.0.0-next-major-spec.8.tgz", - "integrity": "sha512-WVhzeJepkqO6abDprz9bk9zR/ESidanQncPP7jFRUJQ71ED4/XQMjaSKLE5MB09eUUZoY5EqoccUQJWfc54SMg==", + "version": "6.0.0-next-major-spec.13", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.0.0-next-major-spec.13.tgz", + "integrity": "sha512-mnGllHVaUscCHaDnYfLGo84KK81NcTmevVFQP94RusKM2SvtYkbBuC0nwQ6ie/PAEHQy+kn2PjrJlfwwm7VgEQ==", "dependencies": { "@types/json-schema": "^7.0.11" } @@ -34691,11 +34623,11 @@ } }, "@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==", + "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.0", + "@asyncapi/parser": "^2.1.2", "@types/json-schema": "^7.0.11", "avsc": "^5.7.6" } @@ -34862,17 +34794,6 @@ "@asyncapi/modelina": "^2.0.5" }, "dependencies": { - "@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==", - "dev": true, - "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", @@ -34895,19 +34816,6 @@ "typescript-json-schema": "^0.58.1" } }, - "@asyncapi/openapi-schema-parser": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.6.tgz", - "integrity": "sha512-hm6B0hjsfg2cFzksIWhpnxImCXUxj+7al9WnNceWNQPrEZVUKt+lKyEDJseJy8XIT+KeJazy/uwa5WI1yuDanA==", - "dev": true, - "requires": { - "@asyncapi/parser": "^2.1.2", - "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", - "ajv": "^8.11.0", - "ajv-errors": "^3.0.0", - "ajv-formats": "^2.1.1" - } - }, "@types/node": { "version": "20.9.2", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.2.tgz", @@ -35294,11 +35202,11 @@ } }, "@asyncapi/openapi-schema-parser": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.4.tgz", - "integrity": "sha512-nfZbL3dTpIQ3K+/V05FBpgOPi7dDWZkqZG8e7pKwtNhwZ0YLBFWTw6RpocztlBlcieFggxZqLm4BT5I1cQbK+Q==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.6.tgz", + "integrity": "sha512-hm6B0hjsfg2cFzksIWhpnxImCXUxj+7al9WnNceWNQPrEZVUKt+lKyEDJseJy8XIT+KeJazy/uwa5WI1yuDanA==", "requires": { - "@asyncapi/parser": "^2.1.0", + "@asyncapi/parser": "^2.1.2", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "ajv": "^8.11.0", "ajv-errors": "^3.0.0", @@ -35394,13 +35302,13 @@ } }, "@asyncapi/react-component": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.0.2.tgz", - "integrity": "sha512-Betb4RDEsATpKcpw5uG2PeNWViPJIlwGZKx3xPFBpreh9J4nB9SFb7WPddY4Myrbw79/PX6N/KBy+LyiETEDmA==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.2.2.tgz", + "integrity": "sha512-+KXIIsMhMy7OqUpmh4Jql+bFRT9dO7n+zBay+wjXEjWi3IyFHlw5CiP5XQ103PGYunRwnmaTkUwerjYIB0w6jA==", "requires": { - "@asyncapi/avro-schema-parser": "3.0.3", - "@asyncapi/openapi-schema-parser": "3.0.4", - "@asyncapi/parser": "^3.0.0-next-major-spec.3", + "@asyncapi/avro-schema-parser": "^3.0.5", + "@asyncapi/openapi-schema-parser": "^3.0.6", + "@asyncapi/parser": "^3.0.0-next-major-spec.10", "@asyncapi/protobuf-schema-parser": "3.0.0", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", @@ -35410,11 +35318,11 @@ }, "dependencies": { "@asyncapi/parser": { - "version": "3.0.0-next-major-spec.3", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0-next-major-spec.3.tgz", - "integrity": "sha512-LCrAQqJpGxraMyU2k1Nh1X6Q1dz7a/YhTRRFFrQHOEo+TUT/kRdoUkRDP++e58dO7h9MBN+/hZK5TaqE+/jQiw==", + "version": "3.0.0-next-major-spec.12", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0-next-major-spec.12.tgz", + "integrity": "sha512-68b3ceprIrkAWC9FLBOQqK+H9iQnwRNj2G8/s7OyvsNVpyRpNOe4xETUm/RkfyZYTjpLC2sGqbX42SEU0PW2+g==", "requires": { - "@asyncapi/specs": "^6.0.0-next-major-spec.6", + "@asyncapi/specs": "^6.0.0-next-major-spec.9", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json-ref-resolver": "^3.1.5", "@stoplight/spectral-core": "^1.16.1", @@ -35434,9 +35342,9 @@ } }, "@asyncapi/specs": { - "version": "6.0.0-next-major-spec.8", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.0.0-next-major-spec.8.tgz", - "integrity": "sha512-WVhzeJepkqO6abDprz9bk9zR/ESidanQncPP7jFRUJQ71ED4/XQMjaSKLE5MB09eUUZoY5EqoccUQJWfc54SMg==", + "version": "6.0.0-next-major-spec.13", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.0.0-next-major-spec.13.tgz", + "integrity": "sha512-mnGllHVaUscCHaDnYfLGo84KK81NcTmevVFQP94RusKM2SvtYkbBuC0nwQ6ie/PAEHQy+kn2PjrJlfwwm7VgEQ==", "requires": { "@types/json-schema": "^7.0.11" } @@ -35482,7 +35390,7 @@ "@asyncapi/openapi-schema-parser": "^3.0.4", "@asyncapi/parser": "^3.0.0-next-major-spec.3", "@asyncapi/python-paho-template": "^0.2.13", - "@asyncapi/react-component": "^1.0.2", + "@asyncapi/react-component": "^1.2.2", "@asyncapi/specs": "^6.0.0-next-major-spec.6", "@asyncapi/ts-nats-template": "^0.10.3", "@craco/craco": "^7.1.0", @@ -35541,52 +35449,6 @@ "zustand": "^4.1.4" }, "dependencies": { - "@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" - }, - "dependencies": { - "@asyncapi/parser": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.2.tgz", - "integrity": "sha512-2pHKnr2P8EujcrvZo4x4zNwsEIAg5vb1ZEhl2+OH0YBg8EYH/Xx73XZ+bbwLaYIg1gvFjm29jNB9UL3CMeDU5w==", - "requires": { - "@asyncapi/specs": "^5.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": "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" - } - } - } - }, "@asyncapi/parser": { "version": "3.0.0-next-major-spec.3", "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0-next-major-spec.3.tgz",