diff --git a/package-lock.json b/package-lock.json index 04238cfd05d..2fd241eee80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@asyncapi/openapi-schema-parser": "^3.0.24", "@asyncapi/parser": "^3.0.16", "@asyncapi/protobuf-schema-parser": "^3.2.10", - "@asyncapi/react-component": "^1.4.10", + "@asyncapi/react-component": "^2.0.3", "@babel/runtime": "^7.24.6", "@braintree/sanitize-url": "^7.0.2", "@emotion/react": "^11.11.4", @@ -418,33 +418,33 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "node_modules/@asyncapi/protobuf-schema-parser": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.2.12.tgz", - "integrity": "sha512-ROMx71sdfeAvpRoRWkjKXxP6Cu6xNE2P/b7Nl3jiXcPUNhlwUu2m5ScV00v4C2d/So6jNrxnUzXeg1Q3f20EZw==", + "version": "3.2.14", + "resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.2.14.tgz", + "integrity": "sha512-7v64Jxhz2IBfaQECUhfwuLRMFQTysvmqtvT+Esgd9NooIPRnkEzgCbBnC25oGjzSB6Sju28G406lQpO15HHaEw==", "dependencies": { - "@asyncapi/parser": "^3.0.14", + "@asyncapi/parser": "^3.1.0", "@types/protocol-buffers-schema": "^3.4.1", "protobufjs": "^7.2.6" } }, "node_modules/@asyncapi/react-component": { - "version": "1.4.10", - "resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.4.10.tgz", - "integrity": "sha512-ejANS06yj1ZM4YDtsRi0g7h3EEJLGusewjzeugK+tGntNAKVZRvTPUXhbSDMhTARHuZXhUGLlITIno7N1aXapw==", - "dependencies": { - "@asyncapi/avro-schema-parser": "^3.0.22", - "@asyncapi/openapi-schema-parser": "^3.0.22", - "@asyncapi/parser": "^3.0.14", - "@asyncapi/protobuf-schema-parser": "^3.2.12", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-2.0.3.tgz", + "integrity": "sha512-GgrCXb4omGxrloZyYTcVc4oOmbecJ4BMvtQkaw6OR6Sfr0bPHiTyLymz1ThzhUyHdvWBY99aRw17zMc3h8B+Eg==", + "dependencies": { + "@asyncapi/avro-schema-parser": "^3.0.24", + "@asyncapi/openapi-schema-parser": "^3.0.24", + "@asyncapi/parser": "^3.1.0", + "@asyncapi/protobuf-schema-parser": "^3.2.14", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", "marked": "^4.0.14", "openapi-sampler": "^1.2.1", - "use-resize-observer": "^8.0.0" + "use-resize-observer": "^9.1.0" }, "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "react": ">=18.0.0", + "react-dom": ">=18.0.0" } }, "node_modules/@asyncapi/specs": { @@ -27645,15 +27645,15 @@ } }, "node_modules/use-resize-observer": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/use-resize-observer/-/use-resize-observer-8.0.0.tgz", - "integrity": "sha512-n0iKSeiQpJCyaFh5JA0qsVLBIovsF4EIIR1G6XiBwKJN66ZrD4Oj62bjcuTAATPKiSp6an/2UZZxCf/67fk3sQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/use-resize-observer/-/use-resize-observer-9.1.0.tgz", + "integrity": "sha512-R25VqO9Wb3asSD4eqtcxk8sJalvIOYBqS8MNZlpDSQ4l4xMQxC/J7Id9HoTqPq8FwULIn0PVW+OAqF2dyYbjow==", "dependencies": { "@juggle/resize-observer": "^3.3.1" }, "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "react": "16.8.0 - 18", + "react-dom": "16.8.0 - 18" } }, "node_modules/use-sync-external-store": { diff --git a/package.json b/package.json index bb89bedaa42..f3859572122 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "@asyncapi/openapi-schema-parser": "^3.0.24", "@asyncapi/parser": "^3.0.16", "@asyncapi/protobuf-schema-parser": "^3.2.10", - "@asyncapi/react-component": "^1.4.10", + "@asyncapi/react-component": "^2.0.3", "@babel/runtime": "^7.24.6", "@braintree/sanitize-url": "^7.0.2", "@emotion/react": "^11.11.4",