diff --git a/package-lock.json b/package-lock.json index bf8e5c6c9..cc79c851e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "tmp": "^0.2.1" }, "devDependencies": { - "@asyncapi/generator": "^1.15.1", + "@asyncapi/generator": "^1.15.2", "jest": "^29.6.4", "markdown-toc": "^1.2.0", "node-fetch": "^2.6.1", @@ -48,13 +48,13 @@ } }, "node_modules/@asyncapi/generator": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.15.1.tgz", - "integrity": "sha512-8yhEGSaASmKIQlSjmH6RBpsCRJ6c8oWSfY0WCWSk7+lw9eyuFzhq57XKfFAexy2GCVoHAx67VA6/4Na8I2nwew==", + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.15.2.tgz", + "integrity": "sha512-rhT724bi664JVyEpPZ39tBZ1BwWp5vGj5dm1sLQnUzuDhKtE3gnIvLVxhEdZlkpX0M2nKf9DWNjOUjWeo7QfUQ==", "dev": true, "dependencies": { "@asyncapi/generator-react-sdk": "^1.0.2", - "@asyncapi/parser": "^2.1.2", + "@asyncapi/parser": "^3.0.0", "@npmcli/arborist": "^2.2.4", "@smoya/multi-parser": "^5.0.0", "ajv": "^8.12.0", @@ -172,6 +172,54 @@ "node": ">=0.10.0" } }, + "node_modules/@asyncapi/generator/node_modules/@asyncapi/parser": { + "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", + "@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/generator/node_modules/@asyncapi/parser/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@asyncapi/generator/node_modules/@asyncapi/specs": { + "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" + } + }, "node_modules/@asyncapi/generator/node_modules/ajv": { "version": "8.12.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", @@ -188,6 +236,21 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/@asyncapi/generator/node_modules/ajv-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", + "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", + "dev": true, + "peerDependencies": { + "ajv": "^8.0.1" + } + }, + "node_modules/@asyncapi/generator/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "node_modules/@asyncapi/generator/node_modules/commander": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", @@ -12084,13 +12147,13 @@ } }, "@asyncapi/generator": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.15.1.tgz", - "integrity": "sha512-8yhEGSaASmKIQlSjmH6RBpsCRJ6c8oWSfY0WCWSk7+lw9eyuFzhq57XKfFAexy2GCVoHAx67VA6/4Na8I2nwew==", + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.15.2.tgz", + "integrity": "sha512-rhT724bi664JVyEpPZ39tBZ1BwWp5vGj5dm1sLQnUzuDhKtE3gnIvLVxhEdZlkpX0M2nKf9DWNjOUjWeo7QfUQ==", "dev": true, "requires": { "@asyncapi/generator-react-sdk": "^1.0.2", - "@asyncapi/parser": "^2.1.2", + "@asyncapi/parser": "^3.0.0", "@npmcli/arborist": "^2.2.4", "@smoya/multi-parser": "^5.0.0", "ajv": "^8.12.0", @@ -12115,6 +12178,53 @@ "typescript": "^4.9.3" }, "dependencies": { + "@asyncapi/parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.0.tgz", + "integrity": "sha512-DvPAt4pk7V4D5rTGTrMKOfqRQ1qTzf5CuGecFW+mxAIuKd8XyTT5kPPKTbDnAdFAVk1l7YjPIySE7t9xLaEjKw==", + "dev": true, + "requires": { + "@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", + "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" + }, + "dependencies": { + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + } + } + }, + "@asyncapi/specs": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.0.0.tgz", + "integrity": "sha512-/HikjNcrTR/OgZmXWHYkdLdoJQUm80zcM5dnr1dx2R92WRmMQ0wweEJyFXCZwwyzoRkPHMD3RU4h3ppM8pYHRQ==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.11" + } + }, "ajv": { "version": "8.12.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", @@ -12127,6 +12237,19 @@ "uri-js": "^4.2.2" } }, + "ajv-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", + "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", + "dev": true, + "requires": {} + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "commander": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", diff --git a/package.json b/package.json index c1bf37696..80a24999f 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "tmp": "^0.2.1" }, "devDependencies": { - "@asyncapi/generator": "^1.15.1", + "@asyncapi/generator": "^1.15.2", "jest": "^29.6.4", "markdown-toc": "^1.2.0", "node-fetch": "^2.6.1",