diff --git a/build.sbt b/build.sbt index 06b40cf8..9dbb9b50 100644 --- a/build.sbt +++ b/build.sbt @@ -120,7 +120,14 @@ lazy val runtime = CrossProject( Test / fork := true ) .jsSettings( - scalaJSStage := FastOptStage + scalaJSStage := FastOptStage, + // While not exactlu ideal, this is only used in the invoker to assign a + // unique id to ensure measurements have unique ids. It's never exposed to + // the user and doesn't touch anything sensitve, so we should have no + // issues here. Still, I don't like having this, so we should try to + // replace it. + libraryDependencies += ("org.scala-js" %%% "scalajs-fake-insecure-java-securerandom" % "1.0.0") + .cross(CrossVersion.for3Use2_13) ) lazy val `runtimeJVM` = runtime.jvm diff --git a/project/plugins.sbt b/project/plugins.sbt index dadb4902..54d4cc8d 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.8.0") +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.0") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.1.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")