Skip to content

Commit 7ba10b0

Browse files
authored
dep: bump scalajs to 1.10.0 (#459)
NOTE: We do add in https://github.com/scala-js/scala-js-fake-insecure-java-securerandom. You can see the full context to why here: GHSA-j2f9-w8wh-9ww4. However, we don't use this for anything sensitive here, but rather just the generation of non user facing unique ids by the invoker. I've included this temporary just to bump, and will address at a later time.
1 parent a39ea52 commit 7ba10b0

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

build.sbt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,14 @@ lazy val runtime = CrossProject(
120120
Test / fork := true
121121
)
122122
.jsSettings(
123-
scalaJSStage := FastOptStage
123+
scalaJSStage := FastOptStage,
124+
// While not exactlu ideal, this is only used in the invoker to assign a
125+
// unique id to ensure measurements have unique ids. It's never exposed to
126+
// the user and doesn't touch anything sensitve, so we should have no
127+
// issues here. Still, I don't like having this, so we should try to
128+
// replace it.
129+
libraryDependencies += ("org.scala-js" %%% "scalajs-fake-insecure-java-securerandom" % "1.0.0")
130+
.cross(CrossVersion.for3Use2_13)
124131
)
125132

126133
lazy val `runtimeJVM` = runtime.jvm

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.8.0")
1+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.0")
22
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.1.0")
33
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
44

0 commit comments

Comments
 (0)