From 84a833f457814fbdfa3ae01f88b8eb39d2bdc85c Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 13 Jan 2024 08:43:56 +0000 Subject: [PATCH] Update uglify-js to 3.17.4 --- build.sbt | 2 +- src/sbt-test/sbt-uglify/uglify/build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index eb5a434..0e0c818 100644 --- a/build.sbt +++ b/build.sbt @@ -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" ) diff --git a/src/sbt-test/sbt-uglify/uglify/build.sbt b/src/sbt-test/sbt-uglify/uglify/build.sbt index 7e78cf0..8f1a098 100644 --- a/src/sbt-test/sbt-uglify/uglify/build.sbt +++ b/src/sbt-test/sbt-uglify/uglify/build.sbt @@ -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") }