diff --git a/build.sbt b/build.sbt index a12848e73..9a380b099 100644 --- a/build.sbt +++ b/build.sbt @@ -60,7 +60,7 @@ libraryDependencies ++= Seq( "org.apache.poi" % "poi-ooxml" % "5.2.2", "com.github.jsqlparser" % "jsqlparser" % "4.6", "org.apache.maven" % "maven-model" % "3.9.0", - "net.sourceforge.htmlunit" % "htmlunit" % "2.70.0", + "org.htmlunit" % "htmlunit" % "4.0.0", "org.yaml" % "snakeyaml" % "1.33", "org.scala-lang" % "scala-reflect" % "2.13.8", "org.scala-lang" % "scala-compiler" % "2.13.8", diff --git a/src/main/scala/ai/privado/passes/HTMLParserPass.scala b/src/main/scala/ai/privado/passes/HTMLParserPass.scala index 2cef7f2be..2d39565e6 100644 --- a/src/main/scala/ai/privado/passes/HTMLParserPass.scala +++ b/src/main/scala/ai/privado/passes/HTMLParserPass.scala @@ -28,9 +28,9 @@ import ai.privado.entrypoint.PrivadoInput import ai.privado.model.Constants import ai.privado.tagger.PrivadoParallelCpgPass import ai.privado.utility.Utilities -import com.gargoylesoftware.htmlunit.html.* -import com.gargoylesoftware.htmlunit.html.HtmlScript -import com.gargoylesoftware.htmlunit.{BrowserVersion, WebClient} +import org.htmlunit.html.* +import org.htmlunit.html.HtmlScript +import org.htmlunit.{BrowserVersion, WebClient} import io.shiftleft.codepropertygraph.generated.Cpg import io.shiftleft.codepropertygraph.generated.nodes.{NewFile, NewTemplateDom} import org.slf4j.LoggerFactory