From 25a6bafcba127308dc0bfb88f22112a19ca36494 Mon Sep 17 00:00:00 2001 From: Victor Date: Wed, 17 Aug 2022 14:45:57 +0200 Subject: [PATCH] feat: start supporting spec 2.4 by using latest generator version 1.9.5 (#233) --- package-lock.json | 350 ++++++++++++++++++++++++++++++++++++++++++---- package.json | 2 +- 2 files changed, 320 insertions(+), 32 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9e105caa7..79466d756 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,12 +5,11 @@ "requires": true, "packages": { "": { - "name": "github-action-for-generator", "version": "2.0.3", "license": "Apache-2.0", "dependencies": { "@actions/core": "^1.2.3", - "@asyncapi/generator": "^1.9.2" + "@asyncapi/generator": "^1.9.5" }, "devDependencies": { "@npmcli/run-script": "^1.8.5", @@ -78,14 +77,14 @@ } }, "node_modules/@asyncapi/generator": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.9.2.tgz", - "integrity": "sha512-cDJNzYTr5gwIudUr0B741UASXKN+Q7dSwkpXb/2J1dUXDoHY2VevxFVh0AfQfdkPEt7Vnb7ULdE5ppIJE/YjYw==", + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.9.5.tgz", + "integrity": "sha512-OwGO/Mpt1Enppufe3fBSxRaeFb7qU5OmWgovJfVvt9Y8O65lJd1fmwfRin5pUITyQPJBsWv57vqOXAOq6lRQwg==", "dependencies": { "@asyncapi/avro-schema-parser": "^1.0.0", "@asyncapi/generator-react-sdk": "^0.2.23", "@asyncapi/openapi-schema-parser": "^2.0.1", - "@asyncapi/parser": "^1.14.0", + "@asyncapi/parser": "^1.15.1", "@asyncapi/raml-dt-schema-parser": "^2.0.1", "@npmcli/arborist": "^2.2.4", "ajv": "^6.10.2", @@ -205,12 +204,12 @@ } }, "node_modules/@asyncapi/parser": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-1.14.1.tgz", - "integrity": "sha512-ZsNQc/HXmGDrxkYBRrGou/JrWn+FLHYdQQI0WPOylSL+LNfaWtLlIcYwbcj61l+jLLFqIe0DK/yZbmjxm0ydqw==", + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-1.15.1.tgz", + "integrity": "sha512-n8Ny17ar0+4mm+nU1ddvu44DKxAzTr1NtH2yPWJRpODFzjH2BrQ0Xe1e7djzL2jJjeqHpWl6DZdLWChFvL0iPg==", "dependencies": { "@apidevtools/json-schema-ref-parser": "^9.0.6", - "@asyncapi/specs": "^2.13.0", + "@asyncapi/specs": "^2.14.0", "@fmvilas/pseudo-yaml-ast": "^0.3.1", "ajv": "^6.10.1", "js-yaml": "^3.13.1", @@ -230,9 +229,9 @@ } }, "node_modules/@asyncapi/specs": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-2.13.2.tgz", - "integrity": "sha512-ly15ErFjfF3F3PIcI1PYTI5LHBrwFw5RVFNDUYwZfP0zVJRWwyuxuoR5ZPjC0+kIREran4pfCNZeCPVG6/cCFA==" + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-2.14.0.tgz", + "integrity": "sha512-hHsYF6XsYNIKb1P2rXaooF4H+uKKQ4b/Ljxrk3rZ3riEDiSxMshMEfb1fUlw9Yj4V4OmJhjXwkNvw8W59AXv1A==" }, "node_modules/@babel/code-frame": { "version": "7.16.7", @@ -11010,7 +11009,179 @@ "treeverse", "validate-npm-package-name", "which", - "write-file-atomic" + "write-file-atomic", + "@gar/promisify", + "@npmcli/disparity-colors", + "@npmcli/fs", + "@npmcli/git", + "@npmcli/installed-package-contents", + "@npmcli/metavuln-calculator", + "@npmcli/move-file", + "@npmcli/name-from-folder", + "@npmcli/node-gyp", + "@npmcli/promise-spawn", + "@tootallnate/once", + "agent-base", + "agentkeepalive", + "aggregate-error", + "ajv", + "ansi-regex", + "ansi-styles", + "aproba", + "are-we-there-yet", + "asap", + "asn1", + "assert-plus", + "asynckit", + "aws-sign2", + "aws4", + "balanced-match", + "bcrypt-pbkdf", + "bin-links", + "binary-extensions", + "brace-expansion", + "builtins", + "caseless", + "cidr-regex", + "clean-stack", + "clone", + "cmd-shim", + "code-point-at", + "color-convert", + "color-name", + "color-support", + "colors", + "combined-stream", + "common-ancestor-path", + "concat-map", + "console-control-strings", + "core-util-is", + "dashdash", + "debug", + "debuglog", + "defaults", + "delayed-stream", + "delegates", + "depd", + "dezalgo", + "diff", + "ecc-jsbn", + "emoji-regex", + "encoding", + "env-paths", + "err-code", + "extend", + "extsprintf", + "fast-deep-equal", + "fast-json-stable-stringify", + "forever-agent", + "fs-minipass", + "fs.realpath", + "function-bind", + "gauge", + "getpass", + "har-schema", + "har-validator", + "has", + "has-flag", + "has-unicode", + "http-cache-semantics", + "http-proxy-agent", + "http-signature", + "https-proxy-agent", + "humanize-ms", + "iconv-lite", + "ignore-walk", + "imurmurhash", + "indent-string", + "infer-owner", + "inflight", + "inherits", + "ip", + "ip-regex", + "is-core-module", + "is-fullwidth-code-point", + "is-lambda", + "is-typedarray", + "isexe", + "isstream", + "jsbn", + "json-schema", + "json-schema-traverse", + "json-stringify-nice", + "json-stringify-safe", + "jsonparse", + "jsprim", + "just-diff", + "just-diff-apply", + "lru-cache", + "mime-db", + "mime-types", + "minimatch", + "minipass-collect", + "minipass-fetch", + "minipass-flush", + "minipass-json-stream", + "minipass-sized", + "minizlib", + "mute-stream", + "negotiator", + "normalize-package-data", + "npm-bundled", + "npm-normalize-package-bin", + "npm-packlist", + "number-is-nan", + "oauth-sign", + "object-assign", + "once", + "p-map", + "path-is-absolute", + "performance-now", + "proc-log", + "promise-all-reject-late", + "promise-call-limit", + "promise-inflight", + "promise-retry", + "promzard", + "psl", + "punycode", + "qs", + "read-cmd-shim", + "readable-stream", + "request", + "retry", + "safe-buffer", + "safer-buffer", + "set-blocking", + "signal-exit", + "smart-buffer", + "socks", + "socks-proxy-agent", + "spdx-correct", + "spdx-exceptions", + "spdx-expression-parse", + "spdx-license-ids", + "sshpk", + "string_decoder", + "string-width", + "stringify-package", + "strip-ansi", + "supports-color", + "tunnel-agent", + "tweetnacl", + "typedarray-to-buffer", + "unique-filename", + "unique-slug", + "uri-js", + "util-deprecate", + "uuid", + "validate-npm-package-license", + "verror", + "walk-up-path", + "wcwidth", + "wide-align", + "wrappy", + "yallist" ], "dev": true, "dependencies": { @@ -13685,11 +13856,6 @@ "safer-buffer": "^2.0.2", "tweetnacl": "~0.14.0" }, - "bin": { - "sshpk-conv": "bin/sshpk-conv", - "sshpk-sign": "bin/sshpk-sign", - "sshpk-verify": "bin/sshpk-verify" - }, "engines": { "node": ">=0.10.0" } @@ -16047,7 +16213,129 @@ "treeverse", "validate-npm-package-name", "which", - "write-file-atomic" + "write-file-atomic", + "@colors/colors", + "@gar/promisify", + "@npmcli/disparity-colors", + "@npmcli/git", + "@npmcli/installed-package-contents", + "@npmcli/metavuln-calculator", + "@npmcli/move-file", + "@npmcli/name-from-folder", + "@npmcli/node-gyp", + "@npmcli/promise-spawn", + "@tootallnate/once", + "agent-base", + "agentkeepalive", + "aggregate-error", + "ansi-regex", + "ansi-styles", + "aproba", + "are-we-there-yet", + "asap", + "balanced-match", + "bin-links", + "binary-extensions", + "brace-expansion", + "builtins", + "cidr-regex", + "clean-stack", + "clone", + "cmd-shim", + "color-convert", + "color-name", + "color-support", + "common-ancestor-path", + "concat-map", + "console-control-strings", + "debug", + "debuglog", + "defaults", + "delegates", + "depd", + "dezalgo", + "diff", + "emoji-regex", + "encoding", + "env-paths", + "err-code", + "fs-minipass", + "fs.realpath", + "function-bind", + "gauge", + "has", + "has-flag", + "has-unicode", + "http-cache-semantics", + "http-proxy-agent", + "https-proxy-agent", + "humanize-ms", + "iconv-lite", + "ignore-walk", + "imurmurhash", + "indent-string", + "infer-owner", + "inflight", + "inherits", + "ip", + "ip-regex", + "is-core-module", + "is-fullwidth-code-point", + "is-lambda", + "isexe", + "json-stringify-nice", + "jsonparse", + "just-diff", + "just-diff-apply", + "lru-cache", + "minimatch", + "minipass-collect", + "minipass-fetch", + "minipass-flush", + "minipass-json-stream", + "minipass-sized", + "minizlib", + "mute-stream", + "negotiator", + "normalize-package-data", + "npm-bundled", + "npm-normalize-package-bin", + "npm-packlist", + "once", + "p-map", + "path-is-absolute", + "promise-all-reject-late", + "promise-call-limit", + "promise-inflight", + "promise-retry", + "promzard", + "read-cmd-shim", + "readable-stream", + "retry", + "safe-buffer", + "safer-buffer", + "set-blocking", + "signal-exit", + "smart-buffer", + "socks", + "socks-proxy-agent", + "spdx-correct", + "spdx-exceptions", + "spdx-expression-parse", + "spdx-license-ids", + "string_decoder", + "string-width", + "strip-ansi", + "supports-color", + "unique-filename", + "unique-slug", + "util-deprecate", + "validate-npm-package-license", + "walk-up-path", + "wcwidth", + "wide-align", + "wrappy", + "yallist" ], "dev": true, "dependencies": { @@ -20492,14 +20780,14 @@ } }, "@asyncapi/generator": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.9.2.tgz", - "integrity": "sha512-cDJNzYTr5gwIudUr0B741UASXKN+Q7dSwkpXb/2J1dUXDoHY2VevxFVh0AfQfdkPEt7Vnb7ULdE5ppIJE/YjYw==", + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.9.5.tgz", + "integrity": "sha512-OwGO/Mpt1Enppufe3fBSxRaeFb7qU5OmWgovJfVvt9Y8O65lJd1fmwfRin5pUITyQPJBsWv57vqOXAOq6lRQwg==", "requires": { "@asyncapi/avro-schema-parser": "^1.0.0", "@asyncapi/generator-react-sdk": "^0.2.23", "@asyncapi/openapi-schema-parser": "^2.0.1", - "@asyncapi/parser": "^1.14.0", + "@asyncapi/parser": "^1.15.1", "@asyncapi/raml-dt-schema-parser": "^2.0.1", "@npmcli/arborist": "^2.2.4", "ajv": "^6.10.2", @@ -20596,12 +20884,12 @@ } }, "@asyncapi/parser": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-1.14.1.tgz", - "integrity": "sha512-ZsNQc/HXmGDrxkYBRrGou/JrWn+FLHYdQQI0WPOylSL+LNfaWtLlIcYwbcj61l+jLLFqIe0DK/yZbmjxm0ydqw==", + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-1.15.1.tgz", + "integrity": "sha512-n8Ny17ar0+4mm+nU1ddvu44DKxAzTr1NtH2yPWJRpODFzjH2BrQ0Xe1e7djzL2jJjeqHpWl6DZdLWChFvL0iPg==", "requires": { "@apidevtools/json-schema-ref-parser": "^9.0.6", - "@asyncapi/specs": "^2.13.0", + "@asyncapi/specs": "^2.14.0", "@fmvilas/pseudo-yaml-ast": "^0.3.1", "ajv": "^6.10.1", "js-yaml": "^3.13.1", @@ -20621,9 +20909,9 @@ } }, "@asyncapi/specs": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-2.13.2.tgz", - "integrity": "sha512-ly15ErFjfF3F3PIcI1PYTI5LHBrwFw5RVFNDUYwZfP0zVJRWwyuxuoR5ZPjC0+kIREran4pfCNZeCPVG6/cCFA==" + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-2.14.0.tgz", + "integrity": "sha512-hHsYF6XsYNIKb1P2rXaooF4H+uKKQ4b/Ljxrk3rZ3riEDiSxMshMEfb1fUlw9Yj4V4OmJhjXwkNvw8W59AXv1A==" }, "@babel/code-frame": { "version": "7.16.7", diff --git a/package.json b/package.json index a7cb79d16..38d9b2696 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "dependencies": { "@actions/core": "^1.2.3", - "@asyncapi/generator": "^1.9.2" + "@asyncapi/generator": "^1.9.5" }, "release": { "branches": [