diff --git a/package-lock.json b/package-lock.json index 806fee39f..827d6f68f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "yaml": "^1.10.2" }, "devDependencies": { - "@asyncapi/cli": "^1.2.2", + "@asyncapi/cli": "^1.2.4", "@asyncapi/parser": "^3.0.0-next-major-spec.14", "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5", @@ -272,9 +272,9 @@ } }, "node_modules/@asyncapi/cli": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@asyncapi/cli/-/cli-1.2.2.tgz", - "integrity": "sha512-Ys/QuNlfi43BmKpUNBU8G7BCWtOV0IEelw9ubRLiPvTesOKLl9h7fCqJIGmRyXUJvoGoObVmxmQSrq3slrxV9w==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@asyncapi/cli/-/cli-1.2.4.tgz", + "integrity": "sha512-wY8WuzOTBtWyIgephq8nm9zi2+gWECuETtQrdcZcYIKkGfkuoXGVAytesL63z/ogNKk32meE9h2TTiWLcGTlvQ==", "dev": true, "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.5", @@ -284,8 +284,8 @@ "@asyncapi/generator": "^1.15.1", "@asyncapi/modelina": "^2.0.2", "@asyncapi/openapi-schema-parser": "^3.0.5", - "@asyncapi/optimizer": "^0.2.3", - "@asyncapi/parser": "^3.0.0-next-major-spec.2", + "@asyncapi/optimizer": "^0.2.4", + "@asyncapi/parser": "^3.0.0", "@asyncapi/protobuf-schema-parser": "3.0.0", "@asyncapi/raml-dt-schema-parser": "^4.0.6", "@asyncapi/studio": "^0.17.3", @@ -1239,12 +1239,12 @@ } }, "node_modules/@asyncapi/optimizer": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@asyncapi/optimizer/-/optimizer-0.2.3.tgz", - "integrity": "sha512-H2AX/5aXdtbJF5A+AED8GPT1Lm4zz58aM2uL9nl++oxjJ/JyABzwJsldY/40DCl4cfM2uq/qEOictWq0A2Qcqw==", + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@asyncapi/optimizer/-/optimizer-0.2.4.tgz", + "integrity": "sha512-IkRfxb8KNMLpB0VXc2CmGH3ZZFX5Aiw5fto3vhFi/02C2PYAmP/k7TzCaZ2t4UKbvrSREHHGDsf0ABBRc1HF/g==", "dev": true, "dependencies": { - "@asyncapi/parser": "^2.1.2", + "@asyncapi/parser": "^3.0.0", "js-yaml": "^4.1.0", "jsonpath-plus": "^6.0.1", "lodash": "^4.17.21", @@ -1252,51 +1252,6 @@ "yaml": "^2.3.1" } }, - "node_modules/@asyncapi/optimizer/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==", - "dev": true, - "dependencies": { - "@asyncapi/specs": "^5.1.0", - "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", - "@stoplight/json": "^3.20.2", - "@stoplight/json-ref-readers": "^1.2.2", - "@stoplight/json-ref-resolver": "^3.1.5", - "@stoplight/spectral-core": "^1.16.1", - "@stoplight/spectral-functions": "^1.7.2", - "@stoplight/spectral-parsers": "^1.0.2", - "@stoplight/spectral-ref-resolver": "^1.0.3", - "@stoplight/types": "^13.12.0", - "@types/json-schema": "^7.0.11", - "@types/urijs": "^1.19.19", - "ajv": "^8.11.0", - "ajv-errors": "^3.0.0", - "ajv-formats": "^2.1.1", - "avsc": "^5.7.5", - "js-yaml": "^4.1.0", - "jsonpath-plus": "^7.2.0", - "node-fetch": "2.6.7" - } - }, - "node_modules/@asyncapi/optimizer/node_modules/@asyncapi/parser/node_modules/jsonpath-plus": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.2.0.tgz", - "integrity": "sha512-zBfiUPM5nD0YZSBT/o/fbCUlCcepMIdP0CJZxM1+KgA4f2T206f6VAg9e7mX35+KlMaIc5qXW34f3BnwJ3w+RA==", - "dev": true, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@asyncapi/optimizer/node_modules/@asyncapi/specs": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz", - "integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.11" - } - }, "node_modules/@asyncapi/optimizer/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -1324,48 +1279,6 @@ "node": ">=10.0.0" } }, - "node_modules/@asyncapi/optimizer/node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "dev": true, - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/@asyncapi/optimizer/node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true - }, - "node_modules/@asyncapi/optimizer/node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true - }, - "node_modules/@asyncapi/optimizer/node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dev": true, - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "node_modules/@asyncapi/optimizer/node_modules/yaml": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", @@ -1376,17 +1289,21 @@ } }, "node_modules/@asyncapi/parser": { - "version": "3.0.0-next-major-spec.15", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0-next-major-spec.15.tgz", - "integrity": "sha512-3Ngxkekzw7oh8auqGmEnz3PiSxSIkveMzdpuBIOiQ3EHVnBpG1cdhi/mMlvksqTsMQcfLGPsVVqW7Y3cW2HPDQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0.tgz", + "integrity": "sha512-DvPAt4pk7V4D5rTGTrMKOfqRQ1qTzf5CuGecFW+mxAIuKd8XyTT5kPPKTbDnAdFAVk1l7YjPIySE7t9xLaEjKw==", "dev": true, "dependencies": { - "@asyncapi/specs": "^6.0.0-next-major-spec.9", + "@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", "@stoplight/json-ref-resolver": "^3.1.5", "@stoplight/spectral-core": "^1.16.1", "@stoplight/spectral-functions": "^1.7.2", "@stoplight/spectral-parsers": "^1.0.2", + "@stoplight/spectral-ref-resolver": "^1.0.3", + "@stoplight/types": "^13.12.0", "@types/json-schema": "^7.0.11", "@types/urijs": "^1.19.19", "ajv": "^8.11.0", @@ -1395,9 +1312,7 @@ "avsc": "^5.7.5", "js-yaml": "^4.1.0", "jsonpath-plus": "^7.2.0", - "node-fetch": "2.6.7", - "ramldt2jsonschema": "^1.2.3", - "webapi-parser": "^0.5.0" + "node-fetch": "2.6.7" } }, "node_modules/@asyncapi/parser/node_modules/argparse": { @@ -1674,9 +1589,9 @@ } }, "node_modules/@asyncapi/specs": { - "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==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.0.0.tgz", + "integrity": "sha512-/HikjNcrTR/OgZmXWHYkdLdoJQUm80zcM5dnr1dx2R92WRmMQ0wweEJyFXCZwwyzoRkPHMD3RU4h3ppM8pYHRQ==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.11" diff --git a/package.json b/package.json index ef372e8c4..1a48523bf 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "yaml": "^1.10.2" }, "devDependencies": { - "@asyncapi/cli": "^1.2.2", + "@asyncapi/cli": "^1.2.4", "@asyncapi/parser": "^3.0.0-next-major-spec.14", "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5",