Skip to content

Update dependencies to Scala3 LTS and Cie. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 27 additions & 27 deletions api-reports/2_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2336,7 +2336,7 @@ FrameType[JT]
FrameType[SO] val auxiliary: FrameType
FrameType[SO] val nested: FrameType
FrameType[SO] val none: FrameType
FrameType[SO] val `top-level` = "top-level".asInstanceOf[FrameType]
FrameType[SO] val `top-level`: FrameType
FrozenArray[JT] @js.annotation.JSBracketAccess def apply(index: Int): T
FrozenArray[JT] val length: Int
FullscreenOptions[JT] var navigationUI: js.UndefOr[String]
Expand Down Expand Up @@ -16301,11 +16301,11 @@ LockOptions[JT] var mode: js.UndefOr[LockMode]
LockOptions[JT] var signal: js.UndefOr[AbortSignal]
LockOptions[JT] var steal: js.UndefOr[Boolean]
MIMEType[JT]
MIMEType[SO] val `application/xhtml+xml` = "application/xhtml+xml".asInstanceOf[MIMEType]
MIMEType[SO] val `application/xml` = "application/xml".asInstanceOf[MIMEType]
MIMEType[SO] val `image/svg+xml` = "image/svg+xml".asInstanceOf[MIMEType]
MIMEType[SO] val `text/html` = "text/html".asInstanceOf[MIMEType]
MIMEType[SO] val `text/xml` = "text/xml".asInstanceOf[MIMEType]
MIMEType[SO] val `application/xhtml+xml`: MIMEType
MIMEType[SO] val `application/xml`: MIMEType
MIMEType[SO] val `image/svg+xml`: MIMEType
MIMEType[SO] val `text/html`: MIMEType
MIMEType[SO] val `text/xml`: MIMEType
MediaDeviceInfo[JT] val deviceId: String
MediaDeviceInfo[JT] val groupId: String
MediaDeviceInfo[JT] val kind: MediaDeviceKind
Expand Down Expand Up @@ -17099,7 +17099,7 @@ PermissionName[JT]
PermissionName[SO] val geolocation: PermissionName
PermissionName[SO] val midi: PermissionName
PermissionName[SO] val notifications: PermissionName
PermissionName[SO] val `persistent-storage` = "persistent-storage".asInstanceOf[PermissionName]
PermissionName[SO] val `persistent-storage`: PermissionName
PermissionName[SO] val push: PermissionName
PermissionState[JT]
PermissionState[SO] val denied: PermissionState
Expand Down Expand Up @@ -17318,8 +17318,8 @@ QueuingStrategy[JT] var highWaterMark: Int
QueuingStrategy[JT] var size: js.Function1[T, Int]
RTCBundlePolicy[JT]
RTCBundlePolicy[SO] val balanced: RTCBundlePolicy
RTCBundlePolicy[SO] val `max-bundle` = "max-bundle".asInstanceOf[RTCBundlePolicy]
RTCBundlePolicy[SO] val `max-compat` = "max-compat".asInstanceOf[RTCBundlePolicy]
RTCBundlePolicy[SO] val `max-bundle`: RTCBundlePolicy
RTCBundlePolicy[SO] val `max-compat`: RTCBundlePolicy
RTCConfiguration[JT] var bundlePolicy: js.UndefOr[RTCBundlePolicy]
RTCConfiguration[JT] var iceServers: js.UndefOr[js.Array[RTCIceServer]]
RTCConfiguration[JT] var iceTransportPolicy: js.UndefOr[RTCIceTransportPolicy]
Expand Down Expand Up @@ -17492,18 +17492,18 @@ RTCSessionDescriptionInit[JT] var `type`: js.UndefOr[RTCSdpType]
RTCSessionDescriptionInit[SO] def apply(`type`: js.UndefOr[RTCSdpType]?, sdp: js.UndefOr[String]?): RTCSessionDescriptionInit (@deprecated in 2.0.0)
RTCSignalingState[JT]
RTCSignalingState[SO] val closed: RTCSignalingState
RTCSignalingState[SO] val `have-local-offer` = "have-local-offer".asInstanceOf[RTCSignalingState]
RTCSignalingState[SO] val `have-local-pranswer` = "have-local-pranswer".asInstanceOf[RTCSignalingState]
RTCSignalingState[SO] val `have-remote-offer` = "have-remote-offer".asInstanceOf[RTCSignalingState]
RTCSignalingState[SO] val `have-remote-pranswer` = "have-remote-pranswer".asInstanceOf[RTCSignalingState]
RTCSignalingState[SO] val `have-local-offer`: RTCSignalingState
RTCSignalingState[SO] val `have-local-pranswer`: RTCSignalingState
RTCSignalingState[SO] val `have-remote-offer`: RTCSignalingState
RTCSignalingState[SO] val `have-remote-pranswer`: RTCSignalingState
RTCSignalingState[SO] val stable: RTCSignalingState
RTCStats[JT] val id: String
RTCStats[JT] val timestamp: Double
RTCStats[JT] val `type`: RTCStatsType
RTCStatsReport[JT] def apply(id: String): RTCStats
RTCStatsType[JT]
RTCStatsType[SO] val `inbound-rtp` = "inbound-rtp".asInstanceOf[RTCStatsType]
RTCStatsType[SO] val `outbound-rtp` = "outbound-rtp".asInstanceOf[RTCStatsType]
RTCStatsType[SO] val `inbound-rtp`: RTCStatsType
RTCStatsType[SO] val `outbound-rtp`: RTCStatsType
RadioNodeList[JC] @JSBracketAccess def apply(index: Int): T
RadioNodeList[JC] def item(index: Int): T
RadioNodeList[JC] def length: Int
Expand Down Expand Up @@ -17564,11 +17564,11 @@ ReadableStreamUnderlyingSource[JT] var start: js.UndefOr[js.Function1[ReadableSt
ReadableStreamUnderlyingSource[JT] var `type`: js.UndefOr[ReadableStreamType]
ReferrerPolicy[JT]
ReferrerPolicy[SO] val empty: ReferrerPolicy
ReferrerPolicy[SO] val `no-referrer` = "no-referrer".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `no-referrer-when-downgrade` = "no-referrer-when-downgrade".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `origin-only` = "origin-only".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `origin-when-cross-origin` = "origin-when-cross-origin".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `unsafe-url` = "unsafe-url".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `no-referrer`: ReferrerPolicy
ReferrerPolicy[SO] val `no-referrer-when-downgrade`: ReferrerPolicy
ReferrerPolicy[SO] val `origin-only`: ReferrerPolicy
ReferrerPolicy[SO] val `origin-when-cross-origin`: ReferrerPolicy
ReferrerPolicy[SO] val `unsafe-url`: ReferrerPolicy
Request[JC] def arrayBuffer(): js.Promise[ArrayBuffer]
Request[JC] def blob(): js.Promise[Blob]
Request[JC] def bodyUsed: Boolean
Expand All @@ -17591,15 +17591,15 @@ Request[JC] def text(): js.Promise[String]
Request[JC] def url: String
RequestCache[JT]
RequestCache[SO] val default: RequestCache
RequestCache[SO] val `force-cache` = "force-cache".asInstanceOf[RequestCache]
RequestCache[SO] val `no-cache` = "no-cache".asInstanceOf[RequestCache]
RequestCache[SO] val `no-store` = "no-store".asInstanceOf[RequestCache]
RequestCache[SO] val `only-if-cached` = "only-if-cached".asInstanceOf[RequestCache]
RequestCache[SO] val `force-cache`: RequestCache
RequestCache[SO] val `no-cache`: RequestCache
RequestCache[SO] val `no-store`: RequestCache
RequestCache[SO] val `only-if-cached`: RequestCache
RequestCache[SO] val reload: RequestCache
RequestCredentials[JT]
RequestCredentials[SO] val include: RequestCredentials
RequestCredentials[SO] val omit: RequestCredentials
RequestCredentials[SO] val `same-origin` = "same-origin".asInstanceOf[RequestCredentials]
RequestCredentials[SO] val `same-origin`: RequestCredentials
RequestDestination[JT]
RequestDestination[SO] val document: RequestDestination
RequestDestination[SO] val empty: RequestDestination
Expand All @@ -17626,8 +17626,8 @@ RequestInit[JT] var window: js.UndefOr[Null]
RequestMode[JT]
RequestMode[SO] val cors: RequestMode
RequestMode[SO] val navigate: RequestMode
RequestMode[SO] val `no-cors` = "no-cors".asInstanceOf[RequestMode]
RequestMode[SO] val `same-origin` = "same-origin".asInstanceOf[RequestMode]
RequestMode[SO] val `no-cors`: RequestMode
RequestMode[SO] val `same-origin`: RequestMode
RequestRedirect[JT]
RequestRedirect[SO] val error: RequestRedirect
RequestRedirect[SO] val follow: RequestRedirect
Expand Down
54 changes: 27 additions & 27 deletions api-reports/2_13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2336,7 +2336,7 @@ FrameType[JT]
FrameType[SO] val auxiliary: FrameType
FrameType[SO] val nested: FrameType
FrameType[SO] val none: FrameType
FrameType[SO] val `top-level` = "top-level".asInstanceOf[FrameType]
FrameType[SO] val `top-level`: FrameType
FrozenArray[JT] @js.annotation.JSBracketAccess def apply(index: Int): T
FrozenArray[JT] val length: Int
FullscreenOptions[JT] var navigationUI: js.UndefOr[String]
Expand Down Expand Up @@ -16301,11 +16301,11 @@ LockOptions[JT] var mode: js.UndefOr[LockMode]
LockOptions[JT] var signal: js.UndefOr[AbortSignal]
LockOptions[JT] var steal: js.UndefOr[Boolean]
MIMEType[JT]
MIMEType[SO] val `application/xhtml+xml` = "application/xhtml+xml".asInstanceOf[MIMEType]
MIMEType[SO] val `application/xml` = "application/xml".asInstanceOf[MIMEType]
MIMEType[SO] val `image/svg+xml` = "image/svg+xml".asInstanceOf[MIMEType]
MIMEType[SO] val `text/html` = "text/html".asInstanceOf[MIMEType]
MIMEType[SO] val `text/xml` = "text/xml".asInstanceOf[MIMEType]
MIMEType[SO] val `application/xhtml+xml`: MIMEType
MIMEType[SO] val `application/xml`: MIMEType
MIMEType[SO] val `image/svg+xml`: MIMEType
MIMEType[SO] val `text/html`: MIMEType
MIMEType[SO] val `text/xml`: MIMEType
MediaDeviceInfo[JT] val deviceId: String
MediaDeviceInfo[JT] val groupId: String
MediaDeviceInfo[JT] val kind: MediaDeviceKind
Expand Down Expand Up @@ -17099,7 +17099,7 @@ PermissionName[JT]
PermissionName[SO] val geolocation: PermissionName
PermissionName[SO] val midi: PermissionName
PermissionName[SO] val notifications: PermissionName
PermissionName[SO] val `persistent-storage` = "persistent-storage".asInstanceOf[PermissionName]
PermissionName[SO] val `persistent-storage`: PermissionName
PermissionName[SO] val push: PermissionName
PermissionState[JT]
PermissionState[SO] val denied: PermissionState
Expand Down Expand Up @@ -17318,8 +17318,8 @@ QueuingStrategy[JT] var highWaterMark: Int
QueuingStrategy[JT] var size: js.Function1[T, Int]
RTCBundlePolicy[JT]
RTCBundlePolicy[SO] val balanced: RTCBundlePolicy
RTCBundlePolicy[SO] val `max-bundle` = "max-bundle".asInstanceOf[RTCBundlePolicy]
RTCBundlePolicy[SO] val `max-compat` = "max-compat".asInstanceOf[RTCBundlePolicy]
RTCBundlePolicy[SO] val `max-bundle`: RTCBundlePolicy
RTCBundlePolicy[SO] val `max-compat`: RTCBundlePolicy
RTCConfiguration[JT] var bundlePolicy: js.UndefOr[RTCBundlePolicy]
RTCConfiguration[JT] var iceServers: js.UndefOr[js.Array[RTCIceServer]]
RTCConfiguration[JT] var iceTransportPolicy: js.UndefOr[RTCIceTransportPolicy]
Expand Down Expand Up @@ -17492,18 +17492,18 @@ RTCSessionDescriptionInit[JT] var `type`: js.UndefOr[RTCSdpType]
RTCSessionDescriptionInit[SO] def apply(`type`: js.UndefOr[RTCSdpType]?, sdp: js.UndefOr[String]?): RTCSessionDescriptionInit (@deprecated in 2.0.0)
RTCSignalingState[JT]
RTCSignalingState[SO] val closed: RTCSignalingState
RTCSignalingState[SO] val `have-local-offer` = "have-local-offer".asInstanceOf[RTCSignalingState]
RTCSignalingState[SO] val `have-local-pranswer` = "have-local-pranswer".asInstanceOf[RTCSignalingState]
RTCSignalingState[SO] val `have-remote-offer` = "have-remote-offer".asInstanceOf[RTCSignalingState]
RTCSignalingState[SO] val `have-remote-pranswer` = "have-remote-pranswer".asInstanceOf[RTCSignalingState]
RTCSignalingState[SO] val `have-local-offer`: RTCSignalingState
RTCSignalingState[SO] val `have-local-pranswer`: RTCSignalingState
RTCSignalingState[SO] val `have-remote-offer`: RTCSignalingState
RTCSignalingState[SO] val `have-remote-pranswer`: RTCSignalingState
RTCSignalingState[SO] val stable: RTCSignalingState
RTCStats[JT] val id: String
RTCStats[JT] val timestamp: Double
RTCStats[JT] val `type`: RTCStatsType
RTCStatsReport[JT] def apply(id: String): RTCStats
RTCStatsType[JT]
RTCStatsType[SO] val `inbound-rtp` = "inbound-rtp".asInstanceOf[RTCStatsType]
RTCStatsType[SO] val `outbound-rtp` = "outbound-rtp".asInstanceOf[RTCStatsType]
RTCStatsType[SO] val `inbound-rtp`: RTCStatsType
RTCStatsType[SO] val `outbound-rtp`: RTCStatsType
RadioNodeList[JC] @JSBracketAccess def apply(index: Int): T
RadioNodeList[JC] def item(index: Int): T
RadioNodeList[JC] def length: Int
Expand Down Expand Up @@ -17564,11 +17564,11 @@ ReadableStreamUnderlyingSource[JT] var start: js.UndefOr[js.Function1[ReadableSt
ReadableStreamUnderlyingSource[JT] var `type`: js.UndefOr[ReadableStreamType]
ReferrerPolicy[JT]
ReferrerPolicy[SO] val empty: ReferrerPolicy
ReferrerPolicy[SO] val `no-referrer` = "no-referrer".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `no-referrer-when-downgrade` = "no-referrer-when-downgrade".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `origin-only` = "origin-only".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `origin-when-cross-origin` = "origin-when-cross-origin".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `unsafe-url` = "unsafe-url".asInstanceOf[ReferrerPolicy]
ReferrerPolicy[SO] val `no-referrer`: ReferrerPolicy
ReferrerPolicy[SO] val `no-referrer-when-downgrade`: ReferrerPolicy
ReferrerPolicy[SO] val `origin-only`: ReferrerPolicy
ReferrerPolicy[SO] val `origin-when-cross-origin`: ReferrerPolicy
ReferrerPolicy[SO] val `unsafe-url`: ReferrerPolicy
Request[JC] def arrayBuffer(): js.Promise[ArrayBuffer]
Request[JC] def blob(): js.Promise[Blob]
Request[JC] def bodyUsed: Boolean
Expand All @@ -17591,15 +17591,15 @@ Request[JC] def text(): js.Promise[String]
Request[JC] def url: String
RequestCache[JT]
RequestCache[SO] val default: RequestCache
RequestCache[SO] val `force-cache` = "force-cache".asInstanceOf[RequestCache]
RequestCache[SO] val `no-cache` = "no-cache".asInstanceOf[RequestCache]
RequestCache[SO] val `no-store` = "no-store".asInstanceOf[RequestCache]
RequestCache[SO] val `only-if-cached` = "only-if-cached".asInstanceOf[RequestCache]
RequestCache[SO] val `force-cache`: RequestCache
RequestCache[SO] val `no-cache`: RequestCache
RequestCache[SO] val `no-store`: RequestCache
RequestCache[SO] val `only-if-cached`: RequestCache
RequestCache[SO] val reload: RequestCache
RequestCredentials[JT]
RequestCredentials[SO] val include: RequestCredentials
RequestCredentials[SO] val omit: RequestCredentials
RequestCredentials[SO] val `same-origin` = "same-origin".asInstanceOf[RequestCredentials]
RequestCredentials[SO] val `same-origin`: RequestCredentials
RequestDestination[JT]
RequestDestination[SO] val document: RequestDestination
RequestDestination[SO] val empty: RequestDestination
Expand All @@ -17626,8 +17626,8 @@ RequestInit[JT] var window: js.UndefOr[Null]
RequestMode[JT]
RequestMode[SO] val cors: RequestMode
RequestMode[SO] val navigate: RequestMode
RequestMode[SO] val `no-cors` = "no-cors".asInstanceOf[RequestMode]
RequestMode[SO] val `same-origin` = "same-origin".asInstanceOf[RequestMode]
RequestMode[SO] val `no-cors`: RequestMode
RequestMode[SO] val `same-origin`: RequestMode
RequestRedirect[JT]
RequestRedirect[SO] val error: RequestRedirect
RequestRedirect[SO] val follow: RequestRedirect
Expand Down
2 changes: 1 addition & 1 deletion dom/src/main/scala-2/org/scalajs/dom/FrameType.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object FrameType {
val auxiliary: FrameType = "auxiliary".asInstanceOf[FrameType]

/** The window client's global object's browsing context is a top-level browsing context. */
val `top-level` = "top-level".asInstanceOf[FrameType]
val `top-level`: FrameType = "top-level".asInstanceOf[FrameType]

/** The window client's global object's browsing context is a nested browsing context. */
val nested: FrameType = "nested".asInstanceOf[FrameType]
Expand Down
10 changes: 5 additions & 5 deletions dom/src/main/scala-2/org/scalajs/dom/MIMEType.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import scala.scalajs.js
sealed trait MIMEType extends js.Any

object MIMEType {
val `text/html` = "text/html".asInstanceOf[MIMEType]
val `text/xml` = "text/xml".asInstanceOf[MIMEType]
val `application/xml` = "application/xml".asInstanceOf[MIMEType]
val `text/html`: MIMEType = "text/html".asInstanceOf[MIMEType]
val `text/xml`: MIMEType = "text/xml".asInstanceOf[MIMEType]
val `application/xml`: MIMEType = "application/xml".asInstanceOf[MIMEType]

val `application/xhtml+xml` =
val `application/xhtml+xml`: MIMEType =
"application/xhtml+xml".asInstanceOf[MIMEType]
val `image/svg+xml` = "image/svg+xml".asInstanceOf[MIMEType]
val `image/svg+xml`: MIMEType = "image/svg+xml".asInstanceOf[MIMEType]
}
2 changes: 1 addition & 1 deletion dom/src/main/scala-2/org/scalajs/dom/PermissionName.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ object PermissionName {
val notifications: PermissionName = "notifications".asInstanceOf[PermissionName]
val push: PermissionName = "push".asInstanceOf[PermissionName]

val `persistent-storage` =
val `persistent-storage`: PermissionName =
"persistent-storage".asInstanceOf[PermissionName]
}
4 changes: 2 additions & 2 deletions dom/src/main/scala-2/org/scalajs/dom/RTCBundlePolicy.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ object RTCBundlePolicy {
/** Gather ICE candidates for each track. If the remote endpoint is not BUNDLE-aware, negotiate all media tracks on
* separate transports.
*/
val `max-compat` = "max-compat".asInstanceOf[RTCBundlePolicy]
val `max-compat`: RTCBundlePolicy = "max-compat".asInstanceOf[RTCBundlePolicy]

/** Gather ICE candidates for only one track. If the remote endpoint is not BUNDLE-aware, negotiate only one media
* track.
*/
val `max-bundle` = "max-bundle".asInstanceOf[RTCBundlePolicy]
val `max-bundle`: RTCBundlePolicy = "max-bundle".asInstanceOf[RTCBundlePolicy]
}
8 changes: 4 additions & 4 deletions dom/src/main/scala-2/org/scalajs/dom/RTCSignalingState.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ object RTCSignalingState {
val stable: RTCSignalingState = "stable".asInstanceOf[RTCSignalingState]

/** A local description, of type "offer", has been successfully applied. */
val `have-local-offer` = "have-local-offer".asInstanceOf[RTCSignalingState]
val `have-local-offer`: RTCSignalingState = "have-local-offer".asInstanceOf[RTCSignalingState]

/** A remote description, of type "offer", has been successfully applied. */
val `have-remote-offer` = "have-remote-offer".asInstanceOf[RTCSignalingState]
val `have-remote-offer`: RTCSignalingState = "have-remote-offer".asInstanceOf[RTCSignalingState]

/** A remote description of type "offer" has been successfully applied and a local description of type "pranswer" has
* been successfully applied.
*/
val `have-local-pranswer` =
val `have-local-pranswer`: RTCSignalingState =
"have-local-pranswer".asInstanceOf[RTCSignalingState]

/** A local description of type "offer" has been successfully applied and a remote description of type "pranswer" has
* been successfully applied.
*/
val `have-remote-pranswer` =
val `have-remote-pranswer`: RTCSignalingState =
"have-remote-pranswer".asInstanceOf[RTCSignalingState]

/** The connection is closed. */
Expand Down
4 changes: 2 additions & 2 deletions dom/src/main/scala-2/org/scalajs/dom/RTCStatsType.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ sealed trait RTCStatsType extends js.Any
object RTCStatsType {

/** Inbound RTP. */
val `inbound-rtp` = "inbound-rtp".asInstanceOf[RTCStatsType]
val `inbound-rtp`: RTCStatsType = "inbound-rtp".asInstanceOf[RTCStatsType]

/** Outbound RTP. */
val `outbound-rtp` = "outbound-rtp".asInstanceOf[RTCStatsType]
val `outbound-rtp`: RTCStatsType = "outbound-rtp".asInstanceOf[RTCStatsType]
}
10 changes: 5 additions & 5 deletions dom/src/main/scala-2/org/scalajs/dom/ReferrerPolicy.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ sealed trait ReferrerPolicy extends js.Any

object ReferrerPolicy {
val empty: ReferrerPolicy = "".asInstanceOf[ReferrerPolicy]
val `no-referrer` = "no-referrer".asInstanceOf[ReferrerPolicy]
val `no-referrer`: ReferrerPolicy = "no-referrer".asInstanceOf[ReferrerPolicy]

val `no-referrer-when-downgrade` =
val `no-referrer-when-downgrade`: ReferrerPolicy =
"no-referrer-when-downgrade".asInstanceOf[ReferrerPolicy]
val `origin-only` = "origin-only".asInstanceOf[ReferrerPolicy]
val `origin-only`: ReferrerPolicy = "origin-only".asInstanceOf[ReferrerPolicy]

val `origin-when-cross-origin` =
val `origin-when-cross-origin`: ReferrerPolicy =
"origin-when-cross-origin".asInstanceOf[ReferrerPolicy]
val `unsafe-url` = "unsafe-url".asInstanceOf[ReferrerPolicy]
val `unsafe-url`: ReferrerPolicy = "unsafe-url".asInstanceOf[ReferrerPolicy]
}
8 changes: 4 additions & 4 deletions dom/src/main/scala-2/org/scalajs/dom/RequestCache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ sealed trait RequestCache extends js.Any

object RequestCache {
val default: RequestCache = "default".asInstanceOf[RequestCache]
val `no-store` = "no-store".asInstanceOf[RequestCache]
val `no-store`: RequestCache = "no-store".asInstanceOf[RequestCache]
val reload: RequestCache = "reload".asInstanceOf[RequestCache]
val `no-cache` = "no-cache".asInstanceOf[RequestCache]
val `force-cache` = "force-cache".asInstanceOf[RequestCache]
val `only-if-cached` = "only-if-cached".asInstanceOf[RequestCache]
val `no-cache`: RequestCache = "no-cache".asInstanceOf[RequestCache]
val `force-cache`: RequestCache = "force-cache".asInstanceOf[RequestCache]
val `only-if-cached`: RequestCache = "only-if-cached".asInstanceOf[RequestCache]
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ sealed trait RequestCredentials extends js.Any

object RequestCredentials {
val omit: RequestCredentials = "omit".asInstanceOf[RequestCredentials]
val `same-origin` = "same-origin".asInstanceOf[RequestCredentials]
val `same-origin`: RequestCredentials = "same-origin".asInstanceOf[RequestCredentials]
val include: RequestCredentials = "include".asInstanceOf[RequestCredentials]
}
4 changes: 2 additions & 2 deletions dom/src/main/scala-2/org/scalajs/dom/RequestMode.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sealed trait RequestMode extends js.Any

object RequestMode {
val navigate: RequestMode = "navigate".asInstanceOf[RequestMode]
val `same-origin` = "same-origin".asInstanceOf[RequestMode]
val `no-cors` = "no-cors".asInstanceOf[RequestMode]
val `same-origin`: RequestMode = "same-origin".asInstanceOf[RequestMode]
val `no-cors`: RequestMode = "no-cors".asInstanceOf[RequestMode]
val cors: RequestMode = "cors".asInstanceOf[RequestMode]
}
Loading