Skip to content

Commit 4e3aa09

Browse files
authored
fix(deps): update dependencies to fix vulnerabilities (#283)
1 parent f5739b0 commit 4e3aa09

3 files changed

Lines changed: 27 additions & 23 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Add the below dependency to the project's POM:
1818
<dependency>
1919
<groupId>com.factset.sdk</groupId>
2020
<artifactId>utils</artifactId>
21-
<version>1.1.4</version>
21+
<version>1.1.5</version>
2222
</dependency>
2323
```
2424

@@ -32,7 +32,7 @@ repositories {
3232
}
3333
3434
dependencies {
35-
implementation "com.factset.sdk:utils:1.1.4"
35+
implementation "com.factset.sdk:utils:1.1.5"
3636
}
3737
```
3838

build.gradle

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,30 @@ repositories {
1313
mavenCentral()
1414
}
1515

16-
group 'com.factset.sdk'
17-
version '1.1.4'
16+
group = 'com.factset.sdk'
17+
version = '1.1.5'
1818

1919
dependencies {
20-
implementation 'org.slf4j:slf4j-api:1.7.36'
21-
implementation 'com.nimbusds:nimbus-jose-jwt:10.3'
22-
implementation 'org.json:json:20250107'
23-
implementation 'com.nimbusds:oauth2-oidc-sdk:11.23'
24-
25-
testImplementation 'org.mockito:mockito-core:4.9.0'
26-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
27-
testImplementation 'ch.qos.logback:logback-classic:1.2.11'
28-
testImplementation "com.github.tomakehurst:wiremock-jre8-standalone:2.35.0"
29-
testImplementation "org.assertj:assertj-core:3.26.0"
30-
testImplementation "org.hamcrest:hamcrest:2.2"
31-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
32-
testRuntimeOnly 'ch.qos.logback:logback-core:1.2.11'
33-
34-
compileOnly 'org.projectlombok:lombok:1.18.38'
35-
annotationProcessor 'org.projectlombok:lombok:1.18.38'
36-
testCompileOnly 'org.projectlombok:lombok:1.18.38'
37-
testAnnotationProcessor 'org.projectlombok:lombok:1.18.38'
20+
implementation('org.slf4j:slf4j-api:1.7.36')
21+
implementation('com.nimbusds:nimbus-jose-jwt:10.5')
22+
implementation('org.json:json:20250517')
23+
implementation('com.nimbusds:oauth2-oidc-sdk:11.29.1')
24+
25+
testImplementation(platform('org.junit:junit-bom:5.13.4'))
26+
testImplementation('org.junit.jupiter:junit-jupiter:5.13.4')
27+
testRuntimeOnly('org.junit.platform:junit-platform-launcher:1.9.3')
28+
29+
testImplementation('org.mockito:mockito-core:4.11.0')
30+
testImplementation('ch.qos.logback:logback-classic:1.3.15')
31+
testImplementation('com.github.tomakehurst:wiremock-jre8-standalone:2.35.2')
32+
testImplementation('org.assertj:assertj-core:3.27.6')
33+
testImplementation('org.hamcrest:hamcrest:2.2')
34+
testRuntimeOnly('ch.qos.logback:logback-core:1.3.15')
35+
36+
compileOnly('org.projectlombok:lombok:1.18.42')
37+
annotationProcessor('org.projectlombok:lombok:1.18.42')
38+
testCompileOnly('org.projectlombok:lombok:1.18.42')
39+
testAnnotationProcessor('org.projectlombok:lombok:1.18.42')
3840
}
3941

4042
tasks.register('sourcesJar', Jar) {
@@ -150,6 +152,8 @@ jreleaser {
150152
active = 'RELEASE'
151153
url = "https://central.sonatype.com/api/v1/publisher"
152154
stagingRepository artifactStagingDirectory.get().asFile.path
155+
retryDelay = 30
156+
maxRetries = 100
153157
}
154158
return
155159
}

src/main/java/com/factset/sdk/utils/authentication/RequestOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ public class RequestOptions {
2121
SSLSocketFactory sslSocketFactory = HttpsURLConnection.getDefaultSSLSocketFactory();
2222

2323
@Builder.Default
24-
String userAgent = "fds-sdk/java/utils/1.1.4 (" + System.getProperty("os.name") + "; Java" + System.getProperty("java.version") + ")";
24+
String userAgent = "fds-sdk/java/utils/1.1.5 (" + System.getProperty("os.name") + "; Java" + System.getProperty("java.version") + ")";
2525
}

0 commit comments

Comments
 (0)