From 339d25ac79d35c1b45c963918436b34aab139ee4 Mon Sep 17 00:00:00 2001 From: etorreborre Date: Sat, 13 Jan 2024 18:53:08 +0100 Subject: [PATCH] project: update dependencies --- examples/shared/src/test/scala/examples/StackSpec.scala | 2 +- project/depends.scala | 4 ++-- project/plugins.sbt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/shared/src/test/scala/examples/StackSpec.scala b/examples/shared/src/test/scala/examples/StackSpec.scala index f7b2917b08..ccd13517c3 100644 --- a/examples/shared/src/test/scala/examples/StackSpec.scala +++ b/examples/shared/src/test/scala/examples/StackSpec.scala @@ -61,7 +61,7 @@ class StackSpec extends Specification: val stack = newEmptyStack def e1 = stack.size must ===(0) - def e2 = stack.top must throwA[IndexOutOfBoundsException] + def e2 = stack.top must throwA[NoSuchElementException] def e3 = stack.pop must throwA[NoSuchElementException] case class nonEmpty(createStack: SizedStack): diff --git a/project/depends.scala b/project/depends.scala index 0e7616a191..03853ef8f9 100644 --- a/project/depends.scala +++ b/project/depends.scala @@ -22,7 +22,7 @@ object depends { val scalaXml = libraryDependencies += "org.scala-lang.modules" %%% "scala-xml" % "2.2.0" // used in specs2-junit - val junitVintage = "org.junit.vintage" % "junit-vintage-engine" % "5.10.0" + val junitVintage = "org.junit.vintage" % "junit-vintage-engine" % "5.10.1" val junit = libraryDependencies ++= Seq(junitVintage, "org.junit.platform" % "junit-platform-engine" % "1.10.1") val junitTest = libraryDependencies += junitVintage % Test @@ -32,7 +32,7 @@ object depends { // used in specs2-html val tagsoup = "org.ccil.cowan.tagsoup" % "tagsoup" % "1.2.1" - val Scala213 = "2.13.11" + val Scala213 = "2.13.12" val isScala3 = Def.setting(CrossVersion.partialVersion(scalaVersion.value).exists(_._1 == 3)) diff --git a/project/plugins.sbt b/project/plugins.sbt index 9ec848ec8c..89faf8f278 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).getOrElse("1.13.2") +val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).getOrElse("1.15.0") // dev addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")