FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

update some test dependencies that have security issues · java4dz/unirest-java@3aefdda · GitHub

Commit 3aefdda

Browse files
committed
update some test dependencies that have security issues
1 parent 2379d15 commit 3aefdda

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<properties>
2828
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2929
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
30-
<jackson.version>2.9.8</jackson.version>
30+
<jackson.version>2.9.9</jackson.version>
3131
<main.dir>${project.basedir}</main.dir>
3232
</properties>
3333

‎unirest/pom.xml‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,24 @@
8787
<dependency>
8888
<groupId>com.sparkjava</groupId>
8989
<artifactId>spark-core</artifactId>
90-
<version>2.8.0</version>
90+
<version>2.9.0</version>
9191
<scope>test</scope>
9292
</dependency>
93+
<!-- Remove these once Spark gets updated with secure jetty -->
94+
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty.websocket/websocket-server -->
95+
<dependency>
96+
<groupId>org.eclipse.jetty.websocket</groupId>
97+
<artifactId>websocket-server</artifactId>
98+
<version>9.4.18.v20190429</version>
99+
<scope>test</scope>
100+
</dependency>
101+
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server -->
102+
<dependency>
103+
<groupId>org.eclipse.jetty</groupId>
104+
<artifactId>jetty-server</artifactId>
105+
<version>9.4.18.v20190429</version>
106+
</dependency>
107+
93108
<dependency>
94109
<groupId>org.skyscreamer</groupId>
95110
<artifactId>jsonassert</artifactId>

‎unirest/src/test/java/BehaviorTests/ResponseHeaderTest.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public void responseHeadersAreInTheSameOrderAsTheResponse() {
5454
assertHeader("zed", "grapes", h.all().get(6));
5555
assertHeader("Content-Type", "text/html;charset=utf-8", h.all().get(7));
5656
assertHeader("Transfer-Encoding", "chunked", h.all().get(8));
57-
assertHeader("Server", "Jetty(9.4.12.v20180830)", h.all().get(9));
5857

5958
}
6059

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL