Skip to content

Commit

Permalink
Upgrade to 'htmlunit-driver' 2.52.0 (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbabcoc authored Aug 15, 2021
1 parent b7e0c14 commit c0262d1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ dependencies {
compile 'org.jsoup:jsoup:1.12.1'
compile('org.hamcrest:hamcrest-core:2.2') { force = true }
compile('org.yaml:snakeyaml:1.28') { force = true }
compile('org.eclipse.jetty.websocket:websocket-client:9.4.42.v20210604') { force = true }
compile('org.eclipse.jetty.websocket:websocket-client:9.4.43.v20210629') { force = true }

apply from: "${profile}Deps.gradle"

Expand Down
9 changes: 2 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<!-- managed to resolve identified threat -->
<snakeyaml.version>1.28</snakeyaml.version>
<!-- managed to resolve identified threat -->
<websocket-client.version>9.4.42.v20210604</websocket-client.version>
<websocket-client.version>9.4.43.v20210629</websocket-client.version>
</properties>

<scm>
Expand Down Expand Up @@ -309,7 +309,7 @@
<testng-foundation.version>3.0.1-j8</testng-foundation.version>
<selenium.version>3.141.59</selenium.version>
<guava.version>30.1.1-jre</guava.version>
<htmlunit.version>2.51.0</htmlunit.version>
<htmlunit.version>2.52.0</htmlunit.version>
<jcommander.version>1.78</jcommander.version>
<mockito.version>3.1.0</mockito.version>
<!-- managed to resolve identified threat -->
Expand Down Expand Up @@ -342,11 +342,6 @@
<artifactId>selenium-server</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>${htmlunit.version}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>htmlunit-driver</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions selenium3Deps.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ dependencies {
exclude module: 'htmlunit-driver'
exclude group: 'net.sourceforge.htmlunit', module: 'htmlunit'
}
selenium3Compile('net.sourceforge.htmlunit:htmlunit:2.51.0') { force = true }
selenium3Compile 'org.seleniumhq.selenium:htmlunit-driver:2.51.0'
selenium3Compile 'org.seleniumhq.selenium:htmlunit-driver:2.52.0'
selenium3Compile('com.squareup.okhttp3:okhttp:4.9.1') { force = true }
selenium3Compile('com.squareup.okio:okio:2.8.0') { force = true }
testCompile 'org.mockito:mockito-core:3.1.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public HtmlUnitPlugin() {
* <pre>&lt;dependency&gt;
* &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
* &lt;artifactId&gt;htmlunit-driver&lt;/artifactId&gt;
* &lt;version&gt;2.40.0&lt;/version&gt;
* &lt;version&gt;2.52.0&lt;/version&gt;
*&lt;/dependency&gt;</pre>
*/
private static final String[] DEPENDENCY_CONTEXTS = {
Expand All @@ -41,7 +41,7 @@ public HtmlUnitPlugin() {
"org.eclipse.jetty.websocket.api.Session",
"net.sourceforge.htmlunit.corejs.javascript.Token",
"net.sourceforge.htmlunit.cyberneko.filters.DefaultFilter",
"org.apache.xmlcommons.Version", "com.gargoylesoftware.css.parser.CSSParser",
"org.apache.xmlcommons.Version", "com.gargoylesoftware.css.util.LangUtils",
"org.apache.commons.net.io.Util", "org.eclipse.jetty.client.Origin",
"org.eclipse.jetty.http.Syntax", "org.brotli.dec.Utils"};

Expand Down

0 comments on commit c0262d1

Please sign in to comment.