From d8238482e6e59fbed5d382f999e5843d3c5bc5cb Mon Sep 17 00:00:00 2001 From: hiteshbedre <32206192+hiteshbedre@users.noreply.github.com> Date: Thu, 4 Apr 2024 14:00:25 +0530 Subject: [PATCH] updated snakeyaml version (#1057) * updated html unit dependency --------- Co-authored-by: hiteshbedre --- build.sbt | 2 +- src/main/scala/ai/privado/passes/HTMLParserPass.scala | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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