Skip to content

Commit 0fc81b1

Browse files
committed
fix(deps): update test JSONPath to 2.10.0
1 parent 8735bf7 commit 0fc81b1

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎openai-java-client-okhttp/build.gradle.kts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ plugins {
44
}
55

66
dependencies {
7+
constraints {
8+
testImplementation("com.jayway.jsonpath:json-path:2.10.0") {
9+
because("WireMock's transitive JSONPath version has a stack-overflow vulnerability")
10+
}
11+
}
12+
713
api(project(":openai-java-core"))
814

915
implementation("com.squareup.okhttp3:okhttp:4.12.0")

‎openai-java-core/build.gradle.kts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ configurations.matching { it.name != jacksonPublishedRuntime.name }.configureEac
3232
}
3333

3434
dependencies {
35+
constraints {
36+
testImplementation("com.jayway.jsonpath:json-path:2.10.0") {
37+
because("WireMock's transitive JSONPath version has a stack-overflow vulnerability")
38+
}
39+
}
40+
3541
api("com.fasterxml.jackson.core:jackson-core:$jacksonPublishedVersion")
3642
api("com.fasterxml.jackson.core:jackson-databind:$jacksonPublishedVersion")
3743
api("com.google.errorprone:error_prone_annotations:2.33.0")

‎openai-java-spring-boot-starter/build.gradle.kts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ repositories {
88
}
99

1010
dependencies {
11+
constraints {
12+
testImplementation("com.jayway.jsonpath:json-path:2.10.0") {
13+
because("Spring Boot's transitive JSONPath version has a stack-overflow vulnerability")
14+
}
15+
}
16+
1117
api(project(":openai-java"))
1218
implementation("org.springframework.boot:spring-boot-autoconfigure:2.7.18")
1319
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor:2.7.18")

0 commit comments

Comments
 (0)