diff --git a/package-lock.json b/package-lock.json index 432981eb..8f1fc900 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/raml-dt-schema-parser", - "version": "3.0.0-next-major.2", + "version": "3.0.0-next-major.1", "lockfileVersion": 2, "requires": true, "packages": { @@ -9,7 +9,7 @@ "version": "3.0.0-next-major.1", "license": "Apache-2.0", "dependencies": { - "@asyncapi/parser": "^2.0.0-next-major.8", + "@asyncapi/parser": "^2.0.0", "js-yaml": "^4.1.0", "ramldt2jsonschema": "^1.2.3", "webapi-parser": "^0.5.0" @@ -53,12 +53,12 @@ } }, "node_modules/@asyncapi/parser": { - "version": "2.0.0-next-major.15", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.0.0-next-major.15.tgz", - "integrity": "sha512-eZwzqvujiIBhTev8K38zBjrItj3Wivnyc0x7pWv0Nn+RouEke81ze21OERc4+kiivlsoqlCL6+4aM/Q5JAf/Dw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.0.0.tgz", + "integrity": "sha512-xQm3LVChLGGTOo6OxGM4wIwTC7/uMHZvQMcGHnCvdyqcqn4H1sZQdE+MHhxPM7SnKNko86Pub0UDavwk0Jfwyw==", "dependencies": { - "@asyncapi/specs": "^4.1.0", - "@openapi-contrib/openapi-schema-to-json-schema": "^3.2.0", + "@asyncapi/specs": "^5.0.0", + "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json-ref-resolver": "^3.1.5", "@stoplight/spectral-core": "^1.16.1", "@stoplight/spectral-functions": "^1.7.2", @@ -69,6 +69,7 @@ "ajv-errors": "^3.0.0", "ajv-formats": "^2.1.1", "avsc": "^5.7.5", + "conventional-changelog-conventionalcommits": "^5.0.0", "js-yaml": "^4.1.0", "jsonpath-plus": "^7.2.0", "node-fetch": "2.6.7", @@ -76,12 +77,39 @@ "webapi-parser": "^0.5.0" } }, + "node_modules/@asyncapi/parser/node_modules/conventional-changelog-conventionalcommits": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz", + "integrity": "sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==", + "dependencies": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@asyncapi/specs": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-4.2.0.tgz", - "integrity": "sha512-V9bFzUGNXrpsyennEXNZaPvdoFYYoeUYYAGiQVYsGsUsF/IL/G40NpE9u6nPeXGj8sZgjKlUG6iP39T0DYtSlQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.0.0.tgz", + "integrity": "sha512-ua89EYhNAL6IPrX/P5O+K5DEQYfMXwHhG207+8yCSvcVXevZ1wLEj/nsNHYi2jBRDr10kp7+O99tGWIdASJtOA==", "dependencies": { - "@types/json-schema": "^7.0.11" + "@types/json-schema": "^7.0.11", + "conventional-changelog-conventionalcommits": "^5.0.0" + } + }, + "node_modules/@asyncapi/specs/node_modules/conventional-changelog-conventionalcommits": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz", + "integrity": "sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==", + "dependencies": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" } }, "node_modules/@babel/code-frame": { @@ -1532,12 +1560,11 @@ } }, "node_modules/@openapi-contrib/openapi-schema-to-json-schema": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@openapi-contrib/openapi-schema-to-json-schema/-/openapi-schema-to-json-schema-3.3.0.tgz", - "integrity": "sha512-6e7spCJzs1Ugpv43CDEFDDhvspN3tQQQ1HsKm1tBcfrMxxjlGBqfQhgTEKxX3QskdgP/BqpWOIqdV4+4WNbldA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@openapi-contrib/openapi-schema-to-json-schema/-/openapi-schema-to-json-schema-3.2.0.tgz", + "integrity": "sha512-Gj6C0JwCr8arj0sYuslWXUBSP/KnUlEGnPW4qxlXvAl543oaNQgMgIgkQUA6vs5BCCvwTEiL8m/wdWzfl4UvSw==", "dependencies": { - "fast-deep-equal": "^3.1.3", - "lodash-es": "^4.17.21" + "fast-deep-equal": "^3.1.3" } }, "node_modules/@pnpm/config.env-replace": { @@ -2830,8 +2857,7 @@ "node_modules/array-ify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", - "dev": true + "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==" }, "node_modules/array-includes": { "version": "3.1.6", @@ -3373,7 +3399,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", - "dev": true, "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" @@ -3839,7 +3864,6 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "dev": true, "dependencies": { "is-obj": "^2.0.0" }, @@ -5727,7 +5751,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true, "engines": { "node": ">=8" } @@ -6929,11 +6952,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" - }, "node_modules/lodash._reinterpolate": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", @@ -10743,7 +10761,6 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", - "dev": true, "engines": { "node": ">=0.6.0", "teleport": ">=0.2.0" @@ -12712,12 +12729,12 @@ } }, "@asyncapi/parser": { - "version": "2.0.0-next-major.15", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.0.0-next-major.15.tgz", - "integrity": "sha512-eZwzqvujiIBhTev8K38zBjrItj3Wivnyc0x7pWv0Nn+RouEke81ze21OERc4+kiivlsoqlCL6+4aM/Q5JAf/Dw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.0.0.tgz", + "integrity": "sha512-xQm3LVChLGGTOo6OxGM4wIwTC7/uMHZvQMcGHnCvdyqcqn4H1sZQdE+MHhxPM7SnKNko86Pub0UDavwk0Jfwyw==", "requires": { - "@asyncapi/specs": "^4.1.0", - "@openapi-contrib/openapi-schema-to-json-schema": "^3.2.0", + "@asyncapi/specs": "^5.0.0", + "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json-ref-resolver": "^3.1.5", "@stoplight/spectral-core": "^1.16.1", "@stoplight/spectral-functions": "^1.7.2", @@ -12728,19 +12745,45 @@ "ajv-errors": "^3.0.0", "ajv-formats": "^2.1.1", "avsc": "^5.7.5", + "conventional-changelog-conventionalcommits": "^5.0.0", "js-yaml": "^4.1.0", "jsonpath-plus": "^7.2.0", "node-fetch": "2.6.7", "ramldt2jsonschema": "^1.2.3", "webapi-parser": "^0.5.0" + }, + "dependencies": { + "conventional-changelog-conventionalcommits": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz", + "integrity": "sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==", + "requires": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + } + } } }, "@asyncapi/specs": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-4.2.0.tgz", - "integrity": "sha512-V9bFzUGNXrpsyennEXNZaPvdoFYYoeUYYAGiQVYsGsUsF/IL/G40NpE9u6nPeXGj8sZgjKlUG6iP39T0DYtSlQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.0.0.tgz", + "integrity": "sha512-ua89EYhNAL6IPrX/P5O+K5DEQYfMXwHhG207+8yCSvcVXevZ1wLEj/nsNHYi2jBRDr10kp7+O99tGWIdASJtOA==", "requires": { - "@types/json-schema": "^7.0.11" + "@types/json-schema": "^7.0.11", + "conventional-changelog-conventionalcommits": "^5.0.0" + }, + "dependencies": { + "conventional-changelog-conventionalcommits": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz", + "integrity": "sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==", + "requires": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + } + } } }, "@babel/code-frame": { @@ -13860,12 +13903,11 @@ } }, "@openapi-contrib/openapi-schema-to-json-schema": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@openapi-contrib/openapi-schema-to-json-schema/-/openapi-schema-to-json-schema-3.3.0.tgz", - "integrity": "sha512-6e7spCJzs1Ugpv43CDEFDDhvspN3tQQQ1HsKm1tBcfrMxxjlGBqfQhgTEKxX3QskdgP/BqpWOIqdV4+4WNbldA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@openapi-contrib/openapi-schema-to-json-schema/-/openapi-schema-to-json-schema-3.2.0.tgz", + "integrity": "sha512-Gj6C0JwCr8arj0sYuslWXUBSP/KnUlEGnPW4qxlXvAl543oaNQgMgIgkQUA6vs5BCCvwTEiL8m/wdWzfl4UvSw==", "requires": { - "fast-deep-equal": "^3.1.3", - "lodash-es": "^4.17.21" + "fast-deep-equal": "^3.1.3" } }, "@pnpm/config.env-replace": { @@ -14810,8 +14852,7 @@ "array-ify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", - "dev": true + "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==" }, "array-includes": { "version": "3.1.6", @@ -15194,7 +15235,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", - "dev": true, "requires": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" @@ -15550,7 +15590,6 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "dev": true, "requires": { "is-obj": "^2.0.0" } @@ -16956,8 +16995,7 @@ "is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" }, "is-path-cwd": { "version": "2.2.0", @@ -17873,11 +17911,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" - }, "lodash._reinterpolate": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", @@ -20585,8 +20618,7 @@ "q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", - "dev": true + "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==" }, "queue-microtask": { "version": "1.2.3", diff --git a/package.json b/package.json index e0633cb1..095dcd5e 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "README.md" ], "dependencies": { - "@asyncapi/parser": "^2.0.0-next-major.8", + "@asyncapi/parser": "^2.0.0", "js-yaml": "^4.1.0", "ramldt2jsonschema": "^1.2.3", "webapi-parser": "^0.5.0"