diff --git a/package-lock.json b/package-lock.json index e67806c065c..d120b33b0b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,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.1", "@asyncapi/parser": "^3.0.0-next-major-spec.2", @@ -921,25 +921,27 @@ "link": true }, "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.2", + "resolved": "https://registry.npmjs.org/@asyncapi/modelina/-/modelina-2.0.2.tgz", + "integrity": "sha512-5sI21s8ZyBQhJvc8TdLNj3Z1LDFUvEUUTDCTi7nwSGbBfumRTYCqvX3YcNuMHsACo4bNQPrcFKyzAhiXUWYCIA==", "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/openapi-schema-parser": "^3.0.5", "@asyncapi/parser": "^2.1.0", "@asyncapi/raml-dt-schema-parser": "^4.0.4", "@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": { @@ -974,6 +976,14 @@ "@types/json-schema": "^7.0.11" } }, + "node_modules/@asyncapi/modelina/node_modules/@types/node": { + "version": "20.8.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.10.tgz", + "integrity": "sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, "node_modules/@asyncapi/modelina/node_modules/jsonpath-plus": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.2.0.tgz", @@ -8517,7 +8527,6 @@ }, "node_modules/cross-env": { "version": "7.0.3", - "dev": true, "license": "MIT", "dependencies": { "cross-spawn": "^7.0.1" @@ -15458,7 +15467,8 @@ }, "node_modules/path-equal": { "version": "1.2.5", - "license": "MIT" + "resolved": "https://registry.npmjs.org/path-equal/-/path-equal-1.2.5.tgz", + "integrity": "sha512-i73IctDr3F2W+bsOWDyyVm/lqsXO47aY9nsFZUjTT/aljSbkxHxxCoyZ9UUrM8jK0JVod+An+rl48RCsvWM+9g==" }, "node_modules/path-exists": { "version": "4.0.0", @@ -18389,8 +18399,9 @@ } }, "node_modules/typescript-json-schema": { - "version": "0.57.0", - "license": "BSD-3-Clause", + "version": "0.58.1", + "resolved": "https://registry.npmjs.org/typescript-json-schema/-/typescript-json-schema-0.58.1.tgz", + "integrity": "sha512-EcmquhfGEmEJOAezLZC6CzY0rPNzfXuky+Z3zoXULEEncW8e13aAjmC2r8ppT1bvvDekJj1TJ4xVhOdkjYtkUA==", "dependencies": { "@types/json-schema": "^7.0.9", "@types/node": "^16.9.2", @@ -18406,19 +18417,22 @@ } }, "node_modules/typescript-json-schema/node_modules/@types/node": { - "version": "16.18.43", - "license": "MIT" + "version": "16.18.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.60.tgz", + "integrity": "sha512-ZUGPWx5vKfN+G2/yN7pcSNLkIkXEvlwNaJEd4e0ppX7W2S8XAkdc/37hM4OUNJB9sa0p12AOvGvxL4JCPiz9DA==" }, "node_modules/typescript-json-schema/node_modules/safe-stable-stringify": { "version": "2.4.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", + "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", "engines": { "node": ">=10" } }, "node_modules/typescript-json-schema/node_modules/typescript": { "version": "4.9.5", - "license": "Apache-2.0", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -18444,6 +18458,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "license": "MIT", diff --git a/package.json b/package.json index ed444a5105d..40fe0f5f474 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,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.1", "@asyncapi/parser": "^3.0.0-next-major-spec.2",