Skip to content

Commit

Permalink
Minor version updates (#906)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsvehla authored Mar 18, 2023
1 parent ec6fa08 commit a5440bb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ addCommandAlias(

addCommandAlias("testJS", "zioJsonJS/test")

val zioVersion = "2.0.8"
val zioVersion = "2.0.10"

lazy val root = project
.in(file("."))
Expand Down Expand Up @@ -248,7 +248,7 @@ lazy val zioJsonYaml = project
.settings(buildInfoSettings("zio.json.yaml"))
.settings(
libraryDependencies ++= Seq(
"org.yaml" % "snakeyaml" % "1.32",
"org.yaml" % "snakeyaml" % "1.33",
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-test" % zioVersion % "test",
"dev.zio" %% "zio-test-sbt" % zioVersion % "test"
Expand Down Expand Up @@ -324,7 +324,7 @@ lazy val zioJsonInteropScalaz7x = crossProject(JSPlatform, JVMPlatform)
.settings(
crossScalaVersions -= ScalaDotty,
libraryDependencies ++= Seq(
"org.scalaz" %%% "scalaz-core" % "7.3.6",
"org.scalaz" %%% "scalaz-core" % "7.3.7",
"dev.zio" %%% "zio-test" % zioVersion % "test",
"dev.zio" %%% "zio-test-sbt" % zioVersion % "test"
),
Expand Down
2 changes: 1 addition & 1 deletion project/BuildHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object BuildHelper {
val Scala213: String = versions("2.13")
val ScalaDotty: String = "3.2.2"

val SilencerVersion = "1.7.10"
val SilencerVersion = "1.7.12"

private val stdOptions = Seq(
"-deprecation",
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.9.0")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.2.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.0")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.10")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.11")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")
addSbtPlugin("pl.project13.scala" % "sbt-jcstress" % "0.2.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.7")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ package object golden {
Gen
.listOfN(sampleSize)(gen)
.sample
.collectSome
.map(_.value)
.map { elements =>
val jsonElements = elements.map(_.toJsonAST).collect { case Right(a) => a }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ package zio.json.yaml.internal

import org.yaml.snakeyaml.constructor.SafeConstructor
import org.yaml.snakeyaml.nodes.{ MappingNode, Node }
import scala.annotation.nowarn

@nowarn
private[yaml] final class YamlValueConstruction extends SafeConstructor {
def toJavaValue(node: Node): AnyRef =
getConstructor(node).construct(node)
Expand Down

0 comments on commit a5440bb

Please sign in to comment.