Skip to content

Commit 60a6b59

Browse files
committed
Merge branch 'master' into HEAD
2 parents 00dccef + b613096 commit 60a6b59

File tree

275 files changed

+5031
-3123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

275 files changed

+5031
-3123
lines changed

api-reports/2_12.txt

Lines changed: 1488 additions & 1283 deletions
Large diffs are not rendered by default.

api-reports/2_13.txt

Lines changed: 1488 additions & 1283 deletions
Large diffs are not rendered by default.

project/Lib.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ object Lib {
1414
"-deprecation",
1515
"-feature",
1616
),
17-
scalacOptions ++= (if (!inCI) Seq.empty else Seq(
17+
scalacOptions ++= (if (!inCI || CrossVersion.partialVersion(scalaVersion.value).contains(2, 11)) Seq.empty else Seq(
1818
"-Xfatal-warnings",
1919
)),
2020
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ libraryDependencies += "org.scala-js" %% "scalajs-env-selenium" % "1.1.1"
33

44
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.31")
55
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0")
6-
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.9")
6+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
77
addSbtPlugin("com.lihaoyi" % "scalatex-sbt-plugin" % "0.3.11")
88
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.1")
99
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3")
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package org.scalajs.dom
2+
3+
import scala.scalajs.js
4+
5+
@js.native
6+
sealed trait AppendMode extends js.Any
7+
8+
object AppendMode {
9+
val segments: AppendMode = "segments".asInstanceOf[AppendMode]
10+
val sequence: AppendMode = "sequence".asInstanceOf[AppendMode]
11+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.scalajs.dom.experimental.serviceworkers
1+
package org.scalajs.dom
22

33
import scala.scalajs.js
44

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package org.scalajs.dom
2+
3+
import scala.scalajs.js
4+
5+
@js.native
6+
sealed trait EndOfStreamError extends js.Any
7+
8+
object EndOfStreamError {
9+
val decode: EndOfStreamError = "decode".asInstanceOf[EndOfStreamError]
10+
val network: EndOfStreamError = "network".asInstanceOf[EndOfStreamError]
11+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.scalajs.dom.experimental.serviceworkers
1+
package org.scalajs.dom
22

33
import scala.scalajs.js
44

src/main/scala/org/scalajs/dom/IDBCursorDirection.scala renamed to src/main/scala-2/org/scalajs/dom/IDBCursorDirection.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ object IDBCursorDirection {
1616
/** The cursor shows all records, including duplicates. It starts at the upper bound of the key range and moves
1717
* downwards (monotonically decreasing in the order of keys).
1818
*/
19-
@inline def prev: IDBCursorDirection = "prev".asInstanceOf[IDBCursorDirection]
19+
val prev: IDBCursorDirection = "prev".asInstanceOf[IDBCursorDirection]
2020

2121
/** The cursor shows all records, excluding duplicates. If multiple records exist with the same key, only the first
2222
* one iterated is retrieved. It starts at the upper bound of the key range and moves downwards.
2323
*/
24-
@inline def prevunique: IDBCursorDirection = "prevunique".asInstanceOf[IDBCursorDirection]
24+
val prevunique: IDBCursorDirection = "prevunique".asInstanceOf[IDBCursorDirection]
2525

2626
/** The cursor shows all records, including duplicates. It starts at the lower bound of the key range and moves
2727
* upwards (monotonically increasing in the order of keys).
2828
*/
29-
@inline def next: IDBCursorDirection = "next".asInstanceOf[IDBCursorDirection]
29+
val next: IDBCursorDirection = "next".asInstanceOf[IDBCursorDirection]
3030

3131
/** The cursor shows all records, excluding duplicates. If multiple records exist with the same key, only the first
3232
* one iterated is retrieved. It starts at the lower bound of the key range and moves upwards.
3333
*/
34-
@inline def nextunique: IDBCursorDirection = "nextunique".asInstanceOf[IDBCursorDirection]
34+
val nextunique: IDBCursorDirection = "nextunique".asInstanceOf[IDBCursorDirection]
3535
}

src/main/scala/org/scalajs/dom/IDBTransactionDurability.scala renamed to src/main/scala-2/org/scalajs/dom/IDBTransactionDurability.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import scala.scalajs.js
1212
sealed trait IDBTransactionDurability extends js.Any
1313

1414
object IDBTransactionDurability {
15-
@inline def default: IDBTransactionDurability = "default".asInstanceOf[IDBTransactionDurability]
16-
@inline def strict: IDBTransactionDurability = "strict".asInstanceOf[IDBTransactionDurability]
17-
@inline def relaxed: IDBTransactionDurability = "relaxed".asInstanceOf[IDBTransactionDurability]
15+
val default: IDBTransactionDurability = "default".asInstanceOf[IDBTransactionDurability]
16+
val strict: IDBTransactionDurability = "strict".asInstanceOf[IDBTransactionDurability]
17+
val relaxed: IDBTransactionDurability = "relaxed".asInstanceOf[IDBTransactionDurability]
1818
}

0 commit comments

Comments
 (0)