VersionChecks

org.scalajs.ir.VersionChecks

Helper class to allow for testing of logic.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ScalaJSVersions.type

Members list

Value members

Concrete methods

final def checkSupported(version: String): Unit

Check we can support this binary version (used by deserializer)

Check we can support this binary version (used by deserializer)

Attributes

Concrete fields

final val binaryCross: String

The cross binary version.

The cross binary version.

This is the version advertised in artifacts released by Scala.js users.

  • For a pre-release version with a minor version == 0, it is the full binaryEmitted. Such a version is ''before'' the final major version is released, and as such any release is typically fully breaking.
  • For a non-pre-release, or the pre-release of a minor version, it is only the major version, since binary minor versions are backwards compatible.

Attributes

final val binaryEmitted: String
final val current: String