diff --git a/package-lock.json b/package-lock.json index 237b866b5..737d23a57 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "yaml": "^1.10.2" }, "devDependencies": { - "@asyncapi/cli": "^0.60.4", + "@asyncapi/cli": "^1.0.0", "@asyncapi/parser": "^3.0.0-next-major-spec.3", "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5", @@ -272,9 +272,9 @@ } }, "node_modules/@asyncapi/cli": { - "version": "0.60.4", - "resolved": "https://registry.npmjs.org/@asyncapi/cli/-/cli-0.60.4.tgz", - "integrity": "sha512-5R/ELt3ow8UM5tDnQsxwPg1imM/fKn/7TiNm1D68OBKhg+SKLITenS/4+pMMfhbEWMXkYSIcA68/lEjazB6oLA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@asyncapi/cli/-/cli-1.0.0.tgz", + "integrity": "sha512-eEnSnWcJRoTedLIeQSNxyYgpydcwOOeOQtrk9970oQUAoEvs5G1YEzF/ShKxqVpUW3J8IVdIMxyZ+FzVZ91+RQ==", "dev": true, "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.5", @@ -282,7 +282,7 @@ "@asyncapi/converter": "^1.4.0", "@asyncapi/diff": "^0.4.1", "@asyncapi/generator": "^1.13.1", - "@asyncapi/modelina": "^1.9.1", + "@asyncapi/modelina": "^2.0.2", "@asyncapi/openapi-schema-parser": "^3.0.5", "@asyncapi/optimizer": "^0.2.3", "@asyncapi/parser": "^3.0.0-next-major-spec.2", @@ -1085,40 +1085,46 @@ } }, "node_modules/@asyncapi/modelina": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@asyncapi/modelina/-/modelina-1.9.1.tgz", - "integrity": "sha512-Uik1951dm0MGduKsPzzJmeHZ/IINevR1Qx+QHIRfj9B4ayEAFMNV7sOBJ9eqtEvDohGvXgeFsnNMGAXshed1GQ==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@asyncapi/modelina/-/modelina-2.0.5.tgz", + "integrity": "sha512-cjoQP5yOLkvdhBlHcQYISqC1VKRjV+Rul+HIapwy3UjYXe1i2QZ/HmP81GAk8FQl8ejigi/iL24qvqjog0fyFw==", "dev": true, "dependencies": { "@apidevtools/json-schema-ref-parser": "^9.0.9", "@apidevtools/swagger-parser": "^10.0.3", - "@asyncapi/avro-schema-parser": "^3.0.2", - "@asyncapi/openapi-schema-parser": "^3.0.4", - "@asyncapi/parser": "^2.1.0", - "@asyncapi/raml-dt-schema-parser": "^4.0.4", + "@asyncapi/avro-schema-parser": "^3.0.5", + "@asyncapi/openapi-schema-parser": "^3.0.6", + "@asyncapi/parser": "^2.1.2", + "@asyncapi/raml-dt-schema-parser": "^4.0.6", "@swc/core": "^1.3.5", "@swc/jest": "^0.2.23", + "@types/node": "^20.3.3", "alterschema": "^1.1.2", "change-case": "^4.1.2", + "cross-env": "^7.0.3", "openapi-types": "9.3.0", - "typescript-json-schema": "^0.57.0" + "typescript-json-schema": "^0.58.1" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "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.2", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.2.tgz", + "integrity": "sha512-2pHKnr2P8EujcrvZo4x4zNwsEIAg5vb1ZEhl2+OH0YBg8EYH/Xx73XZ+bbwLaYIg1gvFjm29jNB9UL3CMeDU5w==", "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", @@ -1127,9 +1133,7 @@ "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-fetch": "2.6.7" } }, "node_modules/@asyncapi/modelina/node_modules/@asyncapi/specs": { @@ -1202,12 +1206,12 @@ } }, "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==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.6.tgz", + "integrity": "sha512-hm6B0hjsfg2cFzksIWhpnxImCXUxj+7al9WnNceWNQPrEZVUKt+lKyEDJseJy8XIT+KeJazy/uwa5WI1yuDanA==", "dev": true, "dependencies": { - "@asyncapi/parser": "^2.1.1", + "@asyncapi/parser": "^2.1.2", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "ajv": "^8.11.0", "ajv-errors": "^3.0.0", @@ -1215,9 +1219,9 @@ } }, "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==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.2.tgz", + "integrity": "sha512-2pHKnr2P8EujcrvZo4x4zNwsEIAg5vb1ZEhl2+OH0YBg8EYH/Xx73XZ+bbwLaYIg1gvFjm29jNB9UL3CMeDU5w==", "dev": true, "dependencies": { "@asyncapi/specs": "^5.1.0", @@ -1238,9 +1242,7 @@ "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-fetch": "2.6.7" } }, "node_modules/@asyncapi/openapi-schema-parser/node_modules/@asyncapi/specs": { @@ -10334,6 +10336,24 @@ "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", "dev": true }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -15639,9 +15659,9 @@ "dev": true }, "node_modules/json-e": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/json-e/-/json-e-4.5.3.tgz", - "integrity": "sha512-dpH7RFjP74uLxVym1kYz3lvLjdb5Iv4L1jv/emA0RbhrBLWY1ridB549aEHHg4QSFDAHOD/Cc8+6wFf5m1elQQ==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/json-e/-/json-e-4.6.0.tgz", + "integrity": "sha512-j8egdhAzK7up1UoBfaT5TI3WRw2d602iIM0dJfcddMntGlzaJEfCcIVSwGCZDJSFtBE7JnTbe72geAB4XAQtmA==", "dev": true, "dependencies": { "json-stable-stringify-without-jsonify": "^1.0.1" @@ -21482,9 +21502,9 @@ } }, "node_modules/typescript-json-schema": { - "version": "0.57.0", - "resolved": "https://registry.npmjs.org/typescript-json-schema/-/typescript-json-schema-0.57.0.tgz", - "integrity": "sha512-xirQK0s95K3OL7Knve0OOxQHErByCxUsgXr5oCHa9J0jWgiA+9/tidHWPu1UMjRv7MoX5ViP6QmOrWCi+dvRew==", + "version": "0.58.1", + "resolved": "https://registry.npmjs.org/typescript-json-schema/-/typescript-json-schema-0.58.1.tgz", + "integrity": "sha512-EcmquhfGEmEJOAezLZC6CzY0rPNzfXuky+Z3zoXULEEncW8e13aAjmC2r8ppT1bvvDekJj1TJ4xVhOdkjYtkUA==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", @@ -21501,9 +21521,9 @@ } }, "node_modules/typescript-json-schema/node_modules/@types/node": { - "version": "16.18.58", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.58.tgz", - "integrity": "sha512-YGncyA25/MaVtQkjWW9r0EFBukZ+JulsLcVZBlGUfIb96OBMjkoRWwQo5IEWJ8Fj06Go3GHw+bjYDitv6BaGsA==", + "version": "16.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.63.tgz", + "integrity": "sha512-Q2VSI/lVKza0Z5qeY/JrHcwi9fxzBktDvNHthr0TVA/D3yMdHDw9syggng+wJPlsBLgx4jPpOrcJ100wnpniTg==", "dev": true }, "node_modules/typescript-json-schema/node_modules/cliui": { diff --git a/package.json b/package.json index 5d3b2ad34..a052d659b 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "yaml": "^1.10.2" }, "devDependencies": { - "@asyncapi/cli": "^0.60.4", + "@asyncapi/cli": "^1.0.0", "@asyncapi/parser": "^3.0.0-next-major-spec.3", "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5",