Skip to content

Commit

Permalink
Update uglify-js to 3.17.4
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward authored and mkurz committed Jan 15, 2024
1 parent 1cc1226 commit 84a833f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ developers += Developer(
addSbtJsEngine("1.3.5")

libraryDependencies ++= Seq(
"org.webjars.npm" % "uglify-js" % "3.16.3",
"org.webjars.npm" % "uglify-js" % "3.17.4",
"io.monix" %% "monix" % "3.4.1"
)

Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-uglify/uglify/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ val checkMapFileContents = taskKey[Unit]("check that map contents are correct")

checkMapFileContents := {
val contents = IO.read(file("target/web/stage/javascripts/a.min.js.map"))
val r = """\{"version":3,"file":"a.min.js","sources":\["a.js"\],"names":\["a"\],"mappings":"AAAA,SAASA,IACR,OAAO"\}""".r
val r = """\{"version":3,"file":"a.min.js","sources":\["a.js"\],"names":\["a"\],"mappings":"AAAA,SAASA,IACR,OAAO,CACR"\}""".r
if (r.findAllIn(contents).isEmpty) {
sys.error(s"Unexpected contents: $contents")
}
Expand Down

0 comments on commit 84a833f

Please sign in to comment.