diff --git a/apps/studio/package.json b/apps/studio/package.json index 00287deaa..0ec2d1833 100644 --- a/apps/studio/package.json +++ b/apps/studio/package.json @@ -26,8 +26,8 @@ "@asyncapi/avro-schema-parser": "^3.0.2", "@asyncapi/converter": "^1.3.1", "@asyncapi/openapi-schema-parser": "^3.0.4", - "@asyncapi/parser": "^3.0.0-next-major-spec.2", - "@asyncapi/react-component": "^1.0.0", + "@asyncapi/parser": "^3.0.0-next-major-spec.3", + "@asyncapi/react-component": "^1.0.1", "@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/Sidebar.tsx b/apps/studio/src/components/Sidebar.tsx index 2c72e0137..feaf9d41a 100644 --- a/apps/studio/src/components/Sidebar.tsx +++ b/apps/studio/src/components/Sidebar.tsx @@ -106,7 +106,7 @@ export const Sidebar: FunctionComponent = () => { name: 'newFile', title: 'New file', isActive: false, - onClick: async () => await showModal(NewFileModal), + onClick: () => showModal(NewFileModal), icon: , tooltip: 'New file', enabled: true diff --git a/package-lock.json b/package-lock.json index 1789dbe7d..dde732ec4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -499,8 +499,8 @@ "@asyncapi/avro-schema-parser": "^3.0.2", "@asyncapi/converter": "^1.3.1", "@asyncapi/openapi-schema-parser": "^3.0.4", - "@asyncapi/parser": "^3.0.0-next-major-spec.2", - "@asyncapi/react-component": "^1.0.0", + "@asyncapi/parser": "^3.0.0-next-major-spec.3", + "@asyncapi/react-component": "^1.0.1", "@asyncapi/specs": "^6.0.0-next-major-spec.6", "@ebay/nice-modal-react": "^1.2.10", "@headlessui/react": "^1.7.4", @@ -630,8 +630,9 @@ } }, "apps/studio/node_modules/@asyncapi/parser": { - "version": "3.0.0-next-major-spec.2", - "license": "Apache-2.0", + "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==", "dependencies": { "@asyncapi/specs": "^6.0.0-next-major-spec.6", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0",