Skip to content

Commit 48d0aa3

Browse files
committed
refs #3968 refs #3969 - fix security alerts
1 parent 2695c2e commit 48d0aa3

File tree

6 files changed

+28
-5
lines changed

6 files changed

+28
-5
lines changed

modules/swagger-gradle-plugin/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ dependencies {
3333
exclude group: 'org.eclipse.jetty', module: 'jetty-webapp'
3434
exclude group: 'org.eclipse.jetty', module: 'jetty-proxy'
3535
exclude group: 'commons-codec', module: 'commons-codec'
36+
exclude group: 'com.github.jknack', module: 'handlebars'
37+
exclude group: 'com.github.jknack', module: 'handlebars-helpers'
3638
}
3739
testImplementation 'javax.servlet:javax.servlet-api:3.1.0'
3840
testImplementation 'com.google.guava:guava:30.1-jre'
@@ -48,6 +50,8 @@ dependencies {
4850
testImplementation "commons-codec:commons-codec:1.15"
4951
testImplementation "commons-io:commons-io:2.7"
5052
testImplementation "org.apache.commons:commons-compress:1.20"
53+
testImplementation "com.github.jknack:handlebars:4.1.2"
54+
testImplementation "com.github.jknack:handlebars-helpers:4.1.2"
5155
}
5256

5357
// * * * * * * * * * * * *
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version=2.1.10-SNAPSHOT
2-
jettyVersion=9.4.39.v20210325
2+
jettyVersion=9.4.42.v20210604

modules/swagger-gradle-plugin/src/test/java/io/swagger/v3/plugins/gradle/SwaggerResolveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void testSwaggerResolveTask() throws IOException {
8585
" compile group: 'io.swagger.core.v3', name: 'swagger-jaxrs2', version:'2.1.10-SNAPSHOT'\n" +
8686
" compile group: 'javax.ws.rs', name: 'javax.ws.rs-api', version:'2.1'\n" +
8787
" compile group: 'javax.servlet', name: 'javax.servlet-api', version:'3.1.0'\n" +
88-
" testCompile group: 'com.github.tomakehurst', name: 'wiremock', version:'2.14.0'\n" +
88+
" testCompile group: 'com.github.tomakehurst', name: 'wiremock', version:'2.27.2'\n" +
8989
" testCompile 'junit:junit:4+'\n" +
9090
"\n" +
9191
"\n" +

modules/swagger-maven-plugin/pom.xml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,14 @@
214214
<groupId>commons-codec</groupId>
215215
<artifactId>commons-codec</artifactId>
216216
</exclusion>
217+
<exclusion>
218+
<groupId>com.github.jknack</groupId>
219+
<artifactId>handlebars-helpers</artifactId>
220+
</exclusion>
221+
<exclusion>
222+
<groupId>com.github.jknack</groupId>
223+
<artifactId>handlebars</artifactId>
224+
</exclusion>
217225
</exclusions>
218226
</dependency>
219227
<dependency>
@@ -267,7 +275,18 @@
267275
<artifactId>jakarta.ws.rs-api</artifactId>
268276
<scope>test</scope>
269277
</dependency>
270-
278+
<dependency>
279+
<groupId>com.github.jknack</groupId>
280+
<artifactId>handlebars-helpers</artifactId>
281+
<scope>test</scope>
282+
<version>4.1.2</version>
283+
</dependency>
284+
<dependency>
285+
<groupId>com.github.jknack</groupId>
286+
<artifactId>handlebars</artifactId>
287+
<scope>test</scope>
288+
<version>4.1.2</version>
289+
</dependency>
271290
</dependencies>
272291
<properties>
273292
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

modules/swagger-project-jakarta/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@
571571
<commons-lang-version>3.7</commons-lang-version>
572572
<commons-io-version>2.7</commons-io-version>
573573
<slf4j-version>1.7.25</slf4j-version>
574-
<jetty-version>9.4.39.v20210325</jetty-version>
574+
<jetty-version>9.4.42.v20210604</jetty-version>
575575
<testng-version>7.3.0</testng-version>
576576
<mockito-version>2.28.2</mockito-version>
577577
<rest-assured-version>4.3.2</rest-assured-version>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@
632632
<commons-lang-version>3.7</commons-lang-version>
633633
<commons-io-version>2.7</commons-io-version>
634634
<slf4j-version>1.7.25</slf4j-version>
635-
<jetty-version>9.4.39.v20210325</jetty-version>
635+
<jetty-version>9.4.42.v20210604</jetty-version>
636636
<testng-version>7.3.0</testng-version>
637637
<mockito-version>2.28.2</mockito-version>
638638
<rest-assured-version>4.3.2</rest-assured-version>

0 commit comments

Comments
 (0)