From 7c39ccfd731c1a2e7692868a230ba37505bab89f Mon Sep 17 00:00:00 2001 From: "jonas-lt@live.dk" Date: Thu, 16 Nov 2023 12:39:08 -1000 Subject: [PATCH] update to parser api v3 --- package-lock.json | 16 ++++++++-------- package.json | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4e50c1f3e..2464798a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@asyncapi/generator-react-sdk": "^1.0.0", - "@asyncapi/parser": "^3.0.0-next-major-spec.3", + "@asyncapi/parser": "^3.0.0-next-major-spec.11", "@asyncapi/react-component": "^1.0.1", "highlight.js": "10.7.3", "puppeteer": "^14.1.0", @@ -1123,11 +1123,11 @@ } }, "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.11", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0-next-major-spec.11.tgz", + "integrity": "sha512-jJX2HGmeXykvJ1KfrYadeYbf0Dh4mDDvD5KNtf/SJGvVANdYRQrgCV14VlBMnv7kPVELuv8JaYEedYe6x4F8zA==", "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", @@ -1398,9 +1398,9 @@ } }, "node_modules/@asyncapi/specs": { - "version": "6.0.0-next-major-spec.7", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.0.0-next-major-spec.7.tgz", - "integrity": "sha512-rorau4qa1rjlIz4vGy3MuzQKSyKyJWuRa3DbFKopixDCjnAOIScVDc/M6/T8X9Ay+GQhebcYrbiPT4JUvWbFAA==", + "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" } diff --git a/package.json b/package.json index c1db13ce4..809128880 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "dependencies": { "@asyncapi/generator-react-sdk": "^1.0.0", "@asyncapi/react-component": "^1.0.1", - "@asyncapi/parser": "^3.0.0-next-major-spec.3", + "@asyncapi/parser": "^3.0.0-next-major-spec.11", "highlight.js": "10.7.3", "puppeteer": "^14.1.0", "react-dom": "^17.0.2", @@ -55,8 +55,8 @@ }, "generator": { "renderer": "react", - "apiVersion": "v2", - "generator": ">=1.13.0 <2.0.0", + "apiVersion": "v3", + "generator": ">=1.15.0 <2.0.0", "parameters": { "sidebarOrganization": { "description": "Defines how the sidebar should be organized. 'byTags' to categorize operations by tags in the root of the document, `byTagsNoRoot` does the same but for pub/sub tags.",