diff --git a/package-lock.json b/package-lock.json index 4e50c1f3e..08ce890a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@asyncapi/html-template", - "version": "0.28.4", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@asyncapi/html-template", - "version": "0.28.4", + "version": "1.0.0", "license": "Apache-2.0", "dependencies": { "@asyncapi/generator-react-sdk": "^1.0.0", @@ -218,9 +218,9 @@ } }, "node_modules/@asyncapi/cli": { - "version": "0.58.5", - "resolved": "https://registry.npmjs.org/@asyncapi/cli/-/cli-0.58.5.tgz", - "integrity": "sha512-tLFRvObc0FB3tY+NLGQcrqZGL3iyHxjEJqaHYvvg+YcK0NH8eWhADyOnKiyN/hmVss1L2Jxb3xaRTKYK6zPTWA==", + "version": "0.58.13", + "resolved": "https://registry.npmjs.org/@asyncapi/cli/-/cli-0.58.13.tgz", + "integrity": "sha512-91NUzDMmnJE8F1v6gssN46ltpylgvi9OsgDuRKRIrS3OlfQYRusy2Ldx+GIk5FafdZGdEf/plCY5GOZ44fRGIg==", "dev": true, "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.2", @@ -228,8 +228,8 @@ "@asyncapi/converter": "^1.3.1", "@asyncapi/diff": "^0.4.1", "@asyncapi/generator": "^1.13.1", - "@asyncapi/modelina": "^1.9.0", - "@asyncapi/openapi-schema-parser": "^3.0.3", + "@asyncapi/modelina": "^1.9.1", + "@asyncapi/openapi-schema-parser": "^3.0.5", "@asyncapi/optimizer": "^0.2.1", "@asyncapi/parser": "^3.0.0-next-major-spec.2", "@asyncapi/protobuf-schema-parser": "3.0.0", @@ -243,6 +243,7 @@ "ajv": "^8.12.0", "chalk": "^4.1.0", "chokidar": "^3.5.2", + "fast-levenshtein": "^3.0.0", "fs-extra": "^11.1.0", "indent-string": "^4.0.0", "inquirer": "^8.2.0", @@ -269,28 +270,134 @@ "fsevents": "^2.3.2" } }, + "node_modules/@asyncapi/cli/node_modules/@asyncapi/openapi-schema-parser": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.5.tgz", + "integrity": "sha512-2CPP0arkI/ibXTdae6DqeQyor3xuSf0GOyh0+yFPqVkbiYPBkC8K2UNbQ610vt8KpcEFeijX+7YuV+FTuQ5CHg==", + "dev": true, + "dependencies": { + "@asyncapi/parser": "^2.1.1", + "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", + "ajv": "^8.11.0", + "ajv-errors": "^3.0.0", + "ajv-formats": "^2.1.1" + } + }, + "node_modules/@asyncapi/cli/node_modules/@asyncapi/openapi-schema-parser/node_modules/@asyncapi/parser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.1.tgz", + "integrity": "sha512-FnJ5Du9iMu9MEb5mF90gF7z1ZkdnazisBsm3GHVFr7VaiF8luAoB+bklGYFwoMb+9QWKWr1099orY5VyXULAcQ==", + "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", + "ramldt2jsonschema": "^1.2.3", + "webapi-parser": "^0.5.0" + } + }, + "node_modules/@asyncapi/cli/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/cli/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/cli/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/cli/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/cli/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/cli/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/converter": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-1.3.2.tgz", - "integrity": "sha512-83Ojt3sypm5x1Vwr3+A36tpFVsWWvX3wis2CBuQoQBljzkNBkfxf85GutNbFfDOrmNRvKjKWpXwobOpMXbxPaw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@asyncapi/converter/-/converter-1.4.1.tgz", + "integrity": "sha512-nWcm4pZd1ECwy/R+9qNXDhdFxtBk3Ae8OEPcw9Qdubd+ZqZvwQ9zKEDClathPASE/NiWto3NXP8wyaKCqVtUkg==", "dev": true, "dependencies": { - "@asyncapi/parser": "^2.1.0", + "@asyncapi/parser": "^2.1.1", "js-yaml": "^3.14.1" } }, "node_modules/@asyncapi/converter/node_modules/@asyncapi/parser": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.0.tgz", - "integrity": "sha512-78jjN3eW4ZmgJEa6Ap15lofzADCeItO4wHcAY2Jod3qLB1xf1zFDZQdtm3VSHYLeLhwoC1A33bAtzEf7M5P2bg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.1.tgz", + "integrity": "sha512-FnJ5Du9iMu9MEb5mF90gF7z1ZkdnazisBsm3GHVFr7VaiF8luAoB+bklGYFwoMb+9QWKWr1099orY5VyXULAcQ==", "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", @@ -826,9 +933,9 @@ } }, "node_modules/@asyncapi/modelina": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@asyncapi/modelina/-/modelina-1.9.0.tgz", - "integrity": "sha512-bvzdMD16JjxzRTs4PwpXoeM3ZFczGwuCfMm8rYryOSg232+eN+9B3TgbrJ0BH70l0+1ilIzJC+dAHUohy4R32A==", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@asyncapi/modelina/-/modelina-1.9.1.tgz", + "integrity": "sha512-Uik1951dm0MGduKsPzzJmeHZ/IINevR1Qx+QHIRfj9B4ayEAFMNV7sOBJ9eqtEvDohGvXgeFsnNMGAXshed1GQ==", "dev": true, "dependencies": { "@apidevtools/json-schema-ref-parser": "^9.0.9", @@ -849,17 +956,21 @@ } }, "node_modules/@asyncapi/modelina/node_modules/@asyncapi/parser": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.0.tgz", - "integrity": "sha512-78jjN3eW4ZmgJEa6Ap15lofzADCeItO4wHcAY2Jod3qLB1xf1zFDZQdtm3VSHYLeLhwoC1A33bAtzEf7M5P2bg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.1.tgz", + "integrity": "sha512-FnJ5Du9iMu9MEb5mF90gF7z1ZkdnazisBsm3GHVFr7VaiF8luAoB+bklGYFwoMb+9QWKWr1099orY5VyXULAcQ==", "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", @@ -6865,9 +6976,9 @@ } }, "node_modules/@types/yargs": { - "version": "16.0.5", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz", - "integrity": "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==", + "version": "16.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.8.tgz", + "integrity": "sha512-1GwLEkmFafeb/HbE6pC7tFlgYSQ4Iqh2qlWCq8xN+Qfaiaxr2PcLfuhfRFRYqI6XJyeFoLYyKnhFbNsst9FMtQ==", "dev": true, "dependencies": { "@types/yargs-parser": "*" @@ -19925,9 +20036,9 @@ } }, "node_modules/typescript-json-schema/node_modules/@types/node": { - "version": "16.18.52", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.52.tgz", - "integrity": "sha512-sm2aph6cRSsTMFYFgI+RpPLunXO9ClJkpizUVdT7KmGeyfQ14xnjTMT/f3MHcfKqevXqGT6BgVFzW8wcEoDUtA==", + "version": "16.18.61", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.61.tgz", + "integrity": "sha512-k0N7BqGhJoJzdh6MuQg1V1ragJiXTh8VUBAZTWjJ9cUq23SG0F0xavOwZbhiP4J3y20xd6jxKx+xNUhkMAi76Q==", "dev": true }, "node_modules/typescript-json-schema/node_modules/safe-stable-stringify": { diff --git a/package.json b/package.json index c1db13ce4..d3c5b97e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/html-template", - "version": "0.28.4", + "version": "1.0.0", "description": "HTML template for the AsyncAPI generator.", "keywords": [ "asyncapi",