Skip to content

Commit c96cacb

Browse files
committed
fix: vulnerable dependencies
1 parent 71b20e3 commit c96cacb

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

dependency-check-suppressions.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,7 @@
55
Below vulnerabilities are from outdated Protocol Buffers which is the dependency of Error Prone.
66
This will not affect our code.
77
-->
8-
<vulnerabilityName>CVE-2022-3171</vulnerabilityName>
9-
<vulnerabilityName>CVE-2022-3509</vulnerabilityName>
10-
<vulnerabilityName>CVE-2022-3510</vulnerabilityName>
118
<vulnerabilityName>CVE-2023-2976</vulnerabilityName>
12-
<!--
13-
Vulnerability in the Dependency Check itself, used during testing.
14-
Will not affect end-users.
15-
Ref: https://github.com/jeremylong/DependencyCheck/issues/5943 -->
16-
<vulnerabilityName>CVE-2023-4759</vulnerabilityName>
9+
<vulnerabilityName>CVE-2024-7254</vulnerabilityName>
1710
</suppress>
1811
</suppressions>

pom.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<dependency>
5252
<groupId>com.google.errorprone</groupId>
5353
<artifactId>error_prone_core</artifactId>
54-
<version>2.19.0</version>
54+
<version>2.32.0</version>
5555
<scope>provided</scope>
5656
</dependency>
5757
<dependency>
@@ -225,14 +225,12 @@
225225
<plugin>
226226
<groupId>org.apache.maven.plugins</groupId>
227227
<artifactId>maven-compiler-plugin</artifactId>
228-
<version>3.11.0</version>
228+
<version>3.13.0</version>
229229
<configuration>
230230
<release>8</release>
231231
<encoding>UTF-8</encoding>
232232
<fork>true</fork>
233233
<compilerArgs>
234-
<arg>-XDcompilePolicy=simple</arg>
235-
<arg>-Xplugin:ErrorProne</arg>
236234
<arg>-XDcompilePolicy=simple</arg>
237235
<arg>-Xplugin:ErrorProne</arg>
238236
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
@@ -250,7 +248,7 @@
250248
<path>
251249
<groupId>com.google.errorprone</groupId>
252250
<artifactId>error_prone_core</artifactId>
253-
<version>2.17.0</version>
251+
<version>2.32.0</version>
254252
</path>
255253
<path>
256254
<groupId>org.projectlombok</groupId>

src/main/java/com/easypost/service/AddressService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public Address retrieve(final String id) throws EasyPostException {
6868
*
6969
* @param params Map of parameters.
7070
* @return AddressCollection object.
71-
* @throws APIException when the request fails.
71+
* @throws EasyPostException when the request fails.
7272
*/
7373
public AddressCollection all(final Map<String, Object> params) throws EasyPostException {
7474
String endpoint = "addresses";

0 commit comments

Comments
 (0)