diff --git a/template/package-lock.json b/template/package-lock.json index 1a29e10ca..bb9633e3b 100644 --- a/template/package-lock.json +++ b/template/package-lock.json @@ -8,18 +8,18 @@ "name": "{{ asyncapi.info().title() | kebabCase }}", "version": "{{ asyncapi.info().version() }}", "dependencies": { - "@asyncapi/parser": "^2.1.2", + "@asyncapi/parser": "^3.0.0", "express": "4.18.2", "express-ws": "4.0.0", "node-yaml-config": "0.0.6" } }, "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==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0.tgz", + "integrity": "sha512-DvPAt4pk7V4D5rTGTrMKOfqRQ1qTzf5CuGecFW+mxAIuKd8XyTT5kPPKTbDnAdFAVk1l7YjPIySE7t9xLaEjKw==", "dependencies": { - "@asyncapi/specs": "^5.1.0", + "@asyncapi/specs": "^6.0.0", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json": "^3.20.2", "@stoplight/json-ref-readers": "^1.2.2", @@ -57,9 +57,9 @@ } }, "node_modules/@asyncapi/specs": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz", - "integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.0.0.tgz", + "integrity": "sha512-/HikjNcrTR/OgZmXWHYkdLdoJQUm80zcM5dnr1dx2R92WRmMQ0wweEJyFXCZwwyzoRkPHMD3RU4h3ppM8pYHRQ==", "dependencies": { "@types/json-schema": "^7.0.11" } @@ -1955,11 +1955,11 @@ }, "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==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0.tgz", + "integrity": "sha512-DvPAt4pk7V4D5rTGTrMKOfqRQ1qTzf5CuGecFW+mxAIuKd8XyTT5kPPKTbDnAdFAVk1l7YjPIySE7t9xLaEjKw==", "requires": { - "@asyncapi/specs": "^5.1.0", + "@asyncapi/specs": "^6.0.0", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json": "^3.20.2", "@stoplight/json-ref-readers": "^1.2.2", @@ -1996,9 +1996,9 @@ } }, "@asyncapi/specs": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz", - "integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.0.0.tgz", + "integrity": "sha512-/HikjNcrTR/OgZmXWHYkdLdoJQUm80zcM5dnr1dx2R92WRmMQ0wweEJyFXCZwwyzoRkPHMD3RU4h3ppM8pYHRQ==", "requires": { "@types/json-schema": "^7.0.11" } diff --git a/template/package.json b/template/package.json index 628956c3c..b5c2f16d2 100644 --- a/template/package.json +++ b/template/package.json @@ -6,7 +6,7 @@ "start": "node src/api/index.js" }, "dependencies": { - "@asyncapi/parser": "^2.1.2", + "@asyncapi/parser": "^3.0.0", "express": "4.18.2", "express-ws": "4.0.0", "node-yaml-config": "0.0.6"