diff --git a/package-lock.json b/package-lock.json index 97b6c9d28dc..fff7aede667 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@asyncapi/bundler": "^0.3.8", "@asyncapi/converter": "^1.3.1", "@asyncapi/diff": "^0.4.1", - "@asyncapi/generator": "^1.11.0", + "@asyncapi/generator": "^1.12.0", "@asyncapi/modelina": "^1.9.0", "@asyncapi/openapi-schema-parser": "^3.0.3", "@asyncapi/optimizer": "^0.2.1", @@ -407,17 +407,14 @@ } }, "node_modules/@asyncapi/generator": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.11.0.tgz", - "integrity": "sha512-+CAgDRR3eDMvoV9tMCL9njBCmXw3PASw7FQtYzLnemFPnM5PypHlYFrNVY6Aqd7qqSjKuoEeW+srYHBSoWd/Dg==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.12.0.tgz", + "integrity": "sha512-HES4zWOhzT7fugPT4D2RjZtEh7+RgE7GWJZvI/u2BmAT4sknSk2AdEWU7CxHY4cVsKQ1ruTqBfVuFSt926H4uQ==", "dependencies": { - "@asyncapi/avro-schema-parser": "^3.0.3", - "@asyncapi/generator-react-sdk": "^1.0.0", - "@asyncapi/openapi-schema-parser": "^3.0.4", - "@asyncapi/parser": "^2.1.0", - "@asyncapi/protobuf-schema-parser": "3.0.0", - "@asyncapi/raml-dt-schema-parser": "^4.0.4", + "@asyncapi/generator-react-sdk": "^0.2.23", + "@asyncapi/parser": "2.1.0", "@npmcli/arborist": "^2.2.4", + "@smoya/multi-parser": "3.0.0", "ajv": "^8.12.0", "chokidar": "^3.4.0", "commander": "^6.1.0", @@ -451,6 +448,7 @@ }, "node_modules/@asyncapi/generator-react-sdk": { "version": "1.0.0", + "dev": true, "license": "Apache-2.0", "dependencies": { "@asyncapi/parser": "^2.1.0-next-major-spec.9", @@ -469,6 +467,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.0.tgz", "integrity": "sha512-78jjN3eW4ZmgJEa6Ap15lofzADCeItO4wHcAY2Jod3qLB1xf1zFDZQdtm3VSHYLeLhwoC1A33bAtzEf7M5P2bg==", + "dev": true, "dependencies": { "@asyncapi/specs": "^5.1.0", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", @@ -493,12 +492,14 @@ "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/generator-react-sdk/node_modules/@babel/core": { "version": "7.12.9", + "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.10.4", @@ -530,6 +531,7 @@ "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" } @@ -538,6 +540,7 @@ "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" }, @@ -555,6 +558,7 @@ }, "node_modules/@asyncapi/generator-react-sdk/node_modules/react": { "version": "17.0.2", + "dev": true, "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", @@ -566,6 +570,7 @@ }, "node_modules/@asyncapi/generator-react-sdk/node_modules/semver": { "version": "5.7.2", + "dev": true, "license": "ISC", "bin": { "semver": "bin/semver" @@ -573,6 +578,7 @@ }, "node_modules/@asyncapi/generator-react-sdk/node_modules/source-map": { "version": "0.5.7", + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -581,22 +587,81 @@ "node_modules/@asyncapi/generator-react-sdk/node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true }, "node_modules/@asyncapi/generator-react-sdk/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==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true }, "node_modules/@asyncapi/generator-react-sdk/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/generator/node_modules/@asyncapi/generator-react-sdk": { + "version": "0.2.25", + "resolved": "https://registry.npmjs.org/@asyncapi/generator-react-sdk/-/generator-react-sdk-0.2.25.tgz", + "integrity": "sha512-zmVdNaMPTDoUHnAIp33+dkGspEuLIi3BaaHFXY5lmL1XmaD9bU1rK/HLpNKhV32Os6Wp50CuskOwDsoRCeSGow==", + "dependencies": { + "@asyncapi/parser": "^1.15.1", + "@babel/core": "7.12.9", + "@babel/preset-env": "^7.12.7", + "@babel/preset-react": "^7.12.7", + "@rollup/plugin-babel": "^5.2.1", + "babel-plugin-source-map-support": "^2.1.3", + "prop-types": "^15.7.2", + "react": "^17.0.1", + "rollup": "^2.60.1", + "source-map-support": "^0.5.19" + } + }, + "node_modules/@asyncapi/generator/node_modules/@asyncapi/generator-react-sdk/node_modules/@asyncapi/parser": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-1.18.1.tgz", + "integrity": "sha512-7sU9DajLV+vA2vShTYmD5lbtbTY6TOcGxB4Z4IcpRp8x5pejOsN32iU05eIYCnuamsi5SMscFxoi6fIO2vPK3Q==", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "^9.0.6", + "@asyncapi/specs": "^4.1.1", + "@fmvilas/pseudo-yaml-ast": "^0.3.1", + "ajv": "^6.10.1", + "js-yaml": "^3.13.1", + "json-to-ast": "^2.1.0", + "lodash.clonedeep": "^4.5.0", + "node-fetch": "^2.6.0", + "tiny-merge-patch": "^0.1.2" + } + }, + "node_modules/@asyncapi/generator/node_modules/@asyncapi/generator-react-sdk/node_modules/@asyncapi/specs": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-4.3.1.tgz", + "integrity": "sha512-EfexhJu/lwF8OdQDm28NKLJHFkx0Gb6O+rcezhZYLPIoNYKXJMh2J1vFGpwmfAcTTh+ffK44Oc2Hs1Q4sLBp+A==", + "dependencies": { + "@types/json-schema": "^7.0.11" + } + }, + "node_modules/@asyncapi/generator/node_modules/@asyncapi/generator-react-sdk/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/@asyncapi/generator/node_modules/@asyncapi/parser": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.0.tgz", @@ -645,6 +710,44 @@ "@types/json-schema": "^7.0.11" } }, + "node_modules/@asyncapi/generator/node_modules/@babel/core": { + "version": "7.12.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", + "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", + "dependencies": { + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.12.5", + "@babel/helper-module-transforms": "^7.12.1", + "@babel/helpers": "^7.12.5", + "@babel/parser": "^7.12.7", + "@babel/template": "^7.12.7", + "@babel/traverse": "^7.12.9", + "@babel/types": "^7.12.7", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.1", + "json5": "^2.1.2", + "lodash": "^4.17.19", + "resolve": "^1.3.2", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@asyncapi/generator/node_modules/@babel/core/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "bin": { + "semver": "bin/semver" + } + }, "node_modules/@asyncapi/generator/node_modules/argparse": { "version": "1.0.10", "license": "MIT", @@ -663,6 +766,11 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/@asyncapi/generator/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, "node_modules/@asyncapi/generator/node_modules/jsonpath-plus": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.2.0.tgz", @@ -690,6 +798,26 @@ } } }, + "node_modules/@asyncapi/generator/node_modules/react": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", + "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@asyncapi/generator/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/@asyncapi/generator/node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", diff --git a/package.json b/package.json index cb41a5f72be..d19b542e810 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@asyncapi/bundler": "^0.3.8", "@asyncapi/converter": "^1.3.1", "@asyncapi/diff": "^0.4.1", - "@asyncapi/generator": "^1.11.0", + "@asyncapi/generator": "^1.12.0", "@asyncapi/modelina": "^1.9.0", "@asyncapi/openapi-schema-parser": "^3.0.3", "@asyncapi/optimizer": "^0.2.1",