VersionChecks

Helper class to allow for testing of logic.

class Object
trait Matchable
class Any

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)

Concrete fields

final

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.
final