From f89ebe3a02d19db4ed4f722a9f977dd462d577c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Urba=C5=84czyk?= Date: Tue, 1 Feb 2022 09:19:43 +0100 Subject: [PATCH] feat: support 2.3.0 version of spec (#254) --- package-lock.json | 18 +++++++++--------- package.json | 6 +++--- src/state/editor.ts | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 804887a84..46db520cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,11 +10,11 @@ "license": "Apache-2.0", "dependencies": { "@asyncapi/avro-schema-parser": "^1.0.1", - "@asyncapi/converter": "^0.6.1", + "@asyncapi/converter": "^0.7.0", "@asyncapi/openapi-schema-parser": "^2.0.1", - "@asyncapi/parser": "^1.12.0", + "@asyncapi/parser": "^1.14.0", "@asyncapi/react-component": "^1.0.0-next.33", - "@asyncapi/specs": "^2.12.0", + "@asyncapi/specs": "^2.13.0", "@headlessui/react": "1.4.1", "@hookstate/core": "^3.0.12", "@monaco-editor/react": "^4.2.2", @@ -83,9 +83,9 @@ } }, "node_modules/@asyncapi/converter": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-0.6.1.tgz", - "integrity": "sha512-agPccD9YTOk7LEcIDmDCoDZvX/6TSHeS9/0tbnytTnDokTYncyQNkwCvOgF+YMc2DpnpOBQD67v/XpWvfzeOVw==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-0.7.0.tgz", + "integrity": "sha512-ZL3q/4yksxMoMjQ7WCz2KvSVqhkGlmmsUGBDfzEve38hBtC+7TsSWmyvbfOiQ/uLWPZwvnpfo1Vn5pDuk6qwLQ==", "dependencies": { "commander": "^8.3.0", "js-yaml": "^3.14.1", @@ -32560,9 +32560,9 @@ } }, "@asyncapi/converter": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-0.6.1.tgz", - "integrity": "sha512-agPccD9YTOk7LEcIDmDCoDZvX/6TSHeS9/0tbnytTnDokTYncyQNkwCvOgF+YMc2DpnpOBQD67v/XpWvfzeOVw==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-0.7.0.tgz", + "integrity": "sha512-ZL3q/4yksxMoMjQ7WCz2KvSVqhkGlmmsUGBDfzEve38hBtC+7TsSWmyvbfOiQ/uLWPZwvnpfo1Vn5pDuk6qwLQ==", "requires": { "commander": "^8.3.0", "js-yaml": "^3.14.1", diff --git a/package.json b/package.json index 1875a53b6..950eac1cc 100644 --- a/package.json +++ b/package.json @@ -26,11 +26,11 @@ ], "dependencies": { "@asyncapi/avro-schema-parser": "^1.0.1", - "@asyncapi/converter": "^0.6.1", + "@asyncapi/converter": "^0.7.0", "@asyncapi/openapi-schema-parser": "^2.0.1", - "@asyncapi/parser": "^1.12.0", + "@asyncapi/parser": "^1.14.0", "@asyncapi/react-component": "^1.0.0-next.33", - "@asyncapi/specs": "^2.12.0", + "@asyncapi/specs": "^2.13.0", "@headlessui/react": "1.4.1", "@hookstate/core": "^3.0.12", "@monaco-editor/react": "^4.2.2", diff --git a/src/state/editor.ts b/src/state/editor.ts index acdb7d8c3..10994846c 100644 --- a/src/state/editor.ts +++ b/src/state/editor.ts @@ -1,7 +1,7 @@ import { createState, useState } from '@hookstate/core'; const schema = - localStorage.getItem('document') || `asyncapi: '2.2.0' + localStorage.getItem('document') || `asyncapi: '2.3.0' info: title: Streetlights Kafka API version: '1.0.0'