Skip to content

Update monix to 3.4.1 #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ addSbtJsEngine("1.3.5")

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

// Customise sbt-dynver's behaviour to make it work with tags which aren't v-prefixed
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/com/typesafe/sbt/uglify/SbtUglify.scala
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ object SbtUglify extends AutoPlugin {
parallelism = java.lang.Runtime.getRuntime.availableProcessors
)
val result = Await.result(
resultObservable.toListL.runAsync(uglifyPool),
resultObservable.toListL.runToFuture(uglifyPool),
Duration.Inf // TODO: really? Do we need to run this whole thing async actually since sbt-web 1.5?
// sbt-web 1.5 removed usage of akka internally and is not async anymore, so we might
// can get rid of it here too (meaning removing this monix stuff)
Expand Down