diff --git a/package-lock.json b/package-lock.json index 7e431f158d5..742518af6d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@asyncapi/generator": "^1.17.25", "@asyncapi/modelina-cli": "^4.0.0-next.48", "@asyncapi/openapi-schema-parser": "^3.0.24", - "@asyncapi/optimizer": "^1.0.3", + "@asyncapi/optimizer": "^1.0.4", "@asyncapi/parser": "^3.3.0", "@asyncapi/protobuf-schema-parser": "^3.2.13", "@asyncapi/raml-dt-schema-parser": "^4.0.24", @@ -685,21 +685,37 @@ } }, "node_modules/@asyncapi/optimizer": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@asyncapi/optimizer/-/optimizer-1.0.3.tgz", - "integrity": "sha512-YpYo/GF9Ad6YbAf9P3q2RaHggXxzJ/CXletquTJBBxiSvxWjX57qz4KEzLEwmVqoFIetwdK3HNUd7bBpJGfHtg==", - "license": "Apache-2.0", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@asyncapi/optimizer/-/optimizer-1.0.4.tgz", + "integrity": "sha512-6DZM73k0SUs4ErUvnyYbWsDZcsovO/bZLkAS1pSGMar89C2ydcQ8HfhjCS91R7Hw1ygYDnConqZKR1JjABe8AQ==", "dependencies": { "@asyncapi/parser": "^3.2.2", "@types/debug": "^4.1.8", "debug": "^4.3.4", "js-yaml": "^4.1.0", - "jsonpath-plus": "^6.0.1", + "jsonpath-plus": "^10.1.0", "lodash": "^4.17.21", "merge-deep": "^3.0.3", "yaml": "^2.3.1" } }, + "node_modules/@asyncapi/optimizer/node_modules/jsonpath-plus": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.1.0.tgz", + "integrity": "sha512-gHfV1IYqH8uJHYVTs8BJX1XKy2/rR93+f8QQi0xhx95aCiXn1ettYAd5T+7FU6wfqyDoX/wy0pm/fL3jOKJ9Lg==", + "dependencies": { + "@jsep-plugin/assignment": "^1.2.1", + "@jsep-plugin/regex": "^1.0.3", + "jsep": "^1.3.9" + }, + "bin": { + "jsonpath": "bin/jsonpath-cli.js", + "jsonpath-plus": "bin/jsonpath-cli.js" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@asyncapi/parser": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.3.0.tgz", @@ -4447,6 +4463,17 @@ "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", "license": "MIT" }, + "node_modules/@jsep-plugin/assignment": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jsep-plugin/assignment/-/assignment-1.2.1.tgz", + "integrity": "sha512-gaHqbubTi29aZpVbBlECRpmdia+L5/lh2BwtIJTmtxdbecEyyX/ejAOg7eQDGNvGOUmPY7Z2Yxdy9ioyH/VJeA==", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } + }, "node_modules/@jsep-plugin/regex": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.3.tgz", @@ -15541,6 +15568,7 @@ "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-6.0.1.tgz", "integrity": "sha512-EvGovdvau6FyLexFH2OeXfIITlgIbgZoAZe3usiySeaIDm5QS+A10DKNpaPBBqqRSZr2HN6HVNXxtwUAr2apEw==", "license": "MIT", + "optional": true, "engines": { "node": ">=10.0.0" } diff --git a/package.json b/package.json index 0fd1d82a55e..9ecb5858050 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@asyncapi/generator": "^1.17.25", "@asyncapi/modelina-cli": "^4.0.0-next.48", "@asyncapi/openapi-schema-parser": "^3.0.24", - "@asyncapi/optimizer": "^1.0.3", + "@asyncapi/optimizer": "^1.0.4", "@asyncapi/parser": "^3.3.0", "@asyncapi/protobuf-schema-parser": "^3.2.13", "@asyncapi/raml-dt-schema-parser": "^4.0.24",