Skip to content

Commit dbdc145

Browse files
TypeScript Botorta
andauthored
🤖 Update core dependencies (#1200)
Co-authored-by: orta <[email protected]>
1 parent de0a160 commit dbdc145

File tree

5 files changed

+321
-3166
lines changed

5 files changed

+321
-3166
lines changed

baselines/dom.generated.d.ts

Lines changed: 42 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ interface RTCAnswerOptions extends RTCOfferAnswerOptions {
11791179
}
11801180

11811181
interface RTCCertificateExpiration {
1182-
expires?: DOMTimeStamp;
1182+
expires?: EpochTimeStamp;
11831183
}
11841184

11851185
interface RTCConfiguration {
@@ -1804,50 +1804,50 @@ interface ANGLE_instanced_arrays {
18041804
}
18051805

18061806
interface ARIAMixin {
1807-
ariaAtomic: string;
1808-
ariaAutoComplete: string;
1809-
ariaBusy: string;
1810-
ariaChecked: string;
1811-
ariaColCount: string;
1812-
ariaColIndex: string;
1813-
ariaColSpan: string;
1814-
ariaCurrent: string;
1815-
ariaDisabled: string;
1816-
ariaExpanded: string;
1817-
ariaHasPopup: string;
1818-
ariaHidden: string;
1819-
ariaKeyShortcuts: string;
1820-
ariaLabel: string;
1821-
ariaLevel: string;
1822-
ariaLive: string;
1823-
ariaModal: string;
1824-
ariaMultiLine: string;
1825-
ariaMultiSelectable: string;
1826-
ariaOrientation: string;
1827-
ariaPlaceholder: string;
1828-
ariaPosInSet: string;
1829-
ariaPressed: string;
1830-
ariaReadOnly: string;
1831-
ariaRequired: string;
1832-
ariaRoleDescription: string;
1833-
ariaRowCount: string;
1834-
ariaRowIndex: string;
1835-
ariaRowSpan: string;
1836-
ariaSelected: string;
1837-
ariaSetSize: string;
1838-
ariaSort: string;
1839-
ariaValueMax: string;
1840-
ariaValueMin: string;
1841-
ariaValueNow: string;
1842-
ariaValueText: string;
1807+
ariaAtomic: string | null;
1808+
ariaAutoComplete: string | null;
1809+
ariaBusy: string | null;
1810+
ariaChecked: string | null;
1811+
ariaColCount: string | null;
1812+
ariaColIndex: string | null;
1813+
ariaColSpan: string | null;
1814+
ariaCurrent: string | null;
1815+
ariaDisabled: string | null;
1816+
ariaExpanded: string | null;
1817+
ariaHasPopup: string | null;
1818+
ariaHidden: string | null;
1819+
ariaKeyShortcuts: string | null;
1820+
ariaLabel: string | null;
1821+
ariaLevel: string | null;
1822+
ariaLive: string | null;
1823+
ariaModal: string | null;
1824+
ariaMultiLine: string | null;
1825+
ariaMultiSelectable: string | null;
1826+
ariaOrientation: string | null;
1827+
ariaPlaceholder: string | null;
1828+
ariaPosInSet: string | null;
1829+
ariaPressed: string | null;
1830+
ariaReadOnly: string | null;
1831+
ariaRequired: string | null;
1832+
ariaRoleDescription: string | null;
1833+
ariaRowCount: string | null;
1834+
ariaRowIndex: string | null;
1835+
ariaRowSpan: string | null;
1836+
ariaSelected: string | null;
1837+
ariaSetSize: string | null;
1838+
ariaSort: string | null;
1839+
ariaValueMax: string | null;
1840+
ariaValueMin: string | null;
1841+
ariaValueNow: string | null;
1842+
ariaValueText: string | null;
18431843
}
18441844

18451845
/** A controller object that allows you to abort one or more DOM requests as and when desired. */
18461846
interface AbortController {
18471847
/** Returns the AbortSignal object associated with this object. */
18481848
readonly signal: AbortSignal;
18491849
/** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */
1850-
abort(): void;
1850+
abort(reason?: any): void;
18511851
}
18521852

18531853
declare var AbortController: {
@@ -1873,7 +1873,7 @@ interface AbortSignal extends EventTarget {
18731873
declare var AbortSignal: {
18741874
prototype: AbortSignal;
18751875
new(): AbortSignal;
1876-
abort(): AbortSignal;
1876+
abort(reason?: any): AbortSignal;
18771877
};
18781878

18791879
interface AbstractRange {
@@ -4291,7 +4291,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
42914291
readonly timeline: DocumentTimeline;
42924292
/** Contains the title of the document. */
42934293
title: string;
4294-
readonly visibilityState: VisibilityState;
4294+
readonly visibilityState: DocumentVisibilityState;
42954295
/**
42964296
* Sets or gets the color of the links that the user has visited.
42974297
* @deprecated
@@ -10617,7 +10617,7 @@ declare var PushSubscriptionOptions: {
1061710617
};
1061810618

1061910619
interface RTCCertificate {
10620-
readonly expires: DOMTimeStamp;
10620+
readonly expires: EpochTimeStamp;
1062110621
getFingerprints(): RTCDtlsFingerprint[];
1062210622
}
1062310623

@@ -17614,7 +17614,6 @@ type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;
1761417614
type ConstrainDouble = number | ConstrainDoubleRange;
1761517615
type ConstrainULong = number | ConstrainULongRange;
1761617616
type DOMHighResTimeStamp = number;
17617-
type DOMTimeStamp = number;
1761817617
type EpochTimeStamp = number;
1761917618
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
1762017619
type Float32List = Float32Array | GLfloat[];
@@ -17699,6 +17698,7 @@ type DirectionSetting = "" | "lr" | "rl";
1769917698
type DisplayCaptureSurfaceType = "application" | "browser" | "monitor" | "window";
1770017699
type DistanceModelType = "exponential" | "inverse" | "linear";
1770117700
type DocumentReadyState = "complete" | "interactive" | "loading";
17701+
type DocumentVisibilityState = "hidden" | "visible";
1770217702
type EndOfStreamError = "decode" | "network";
1770317703
type EndingType = "native" | "transparent";
1770417704
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
@@ -17800,7 +17800,6 @@ type TouchType = "direct" | "stylus";
1780017800
type TransferFunction = "hlg" | "pq" | "srgb";
1780117801
type UserVerificationRequirement = "discouraged" | "preferred" | "required";
1780217802
type VideoFacingModeEnum = "environment" | "left" | "right" | "user";
17803-
type VisibilityState = "hidden" | "visible";
1780417803
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
1780517804
type WorkerType = "classic" | "module";
1780617805
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";

baselines/serviceworker.generated.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ interface AbortController {
639639
/** Returns the AbortSignal object associated with this object. */
640640
readonly signal: AbortSignal;
641641
/** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */
642-
abort(): void;
642+
abort(reason?: any): void;
643643
}
644644

645645
declare var AbortController: {
@@ -665,7 +665,7 @@ interface AbortSignal extends EventTarget {
665665
declare var AbortSignal: {
666666
prototype: AbortSignal;
667667
new(): AbortSignal;
668-
abort(): AbortSignal;
668+
abort(reason?: any): AbortSignal;
669669
};
670670

671671
interface AbstractWorkerEventMap {
@@ -4992,7 +4992,7 @@ declare var WebSocket: {
49924992
/** This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. */
49934993
interface WindowClient extends Client {
49944994
readonly focused: boolean;
4995-
readonly visibilityState: VisibilityState;
4995+
readonly visibilityState: DocumentVisibilityState;
49964996
focus(): Promise<WindowClient>;
49974997
navigate(url: string | URL): Promise<WindowClient | null>;
49984998
}
@@ -5440,6 +5440,7 @@ type ClientTypes = "all" | "sharedworker" | "window" | "worker";
54405440
type ColorGamut = "p3" | "rec2020" | "srgb";
54415441
type ColorSpaceConversion = "default" | "none";
54425442
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
5443+
type DocumentVisibilityState = "hidden" | "visible";
54435444
type EndingType = "native" | "transparent";
54445445
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
54455446
type FontFaceSetLoadStatus = "loaded" | "loading";
@@ -5474,6 +5475,5 @@ type SecurityPolicyViolationEventDisposition = "enforce" | "report";
54745475
type ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";
54755476
type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
54765477
type TransferFunction = "hlg" | "pq" | "srgb";
5477-
type VisibilityState = "hidden" | "visible";
54785478
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
54795479
type WorkerType = "classic" | "module";

baselines/sharedworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ interface AbortController {
611611
/** Returns the AbortSignal object associated with this object. */
612612
readonly signal: AbortSignal;
613613
/** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */
614-
abort(): void;
614+
abort(reason?: any): void;
615615
}
616616

617617
declare var AbortController: {
@@ -637,7 +637,7 @@ interface AbortSignal extends EventTarget {
637637
declare var AbortSignal: {
638638
prototype: AbortSignal;
639639
new(): AbortSignal;
640-
abort(): AbortSignal;
640+
abort(reason?: any): AbortSignal;
641641
};
642642

643643
interface AbstractWorkerEventMap {

baselines/webworker.generated.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ interface AbortController {
645645
/** Returns the AbortSignal object associated with this object. */
646646
readonly signal: AbortSignal;
647647
/** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */
648-
abort(): void;
648+
abort(reason?: any): void;
649649
}
650650

651651
declare var AbortController: {
@@ -671,7 +671,7 @@ interface AbortSignal extends EventTarget {
671671
declare var AbortSignal: {
672672
prototype: AbortSignal;
673673
new(): AbortSignal;
674-
abort(): AbortSignal;
674+
abort(reason?: any): AbortSignal;
675675
};
676676

677677
interface AbstractWorkerEventMap {
@@ -5067,7 +5067,7 @@ declare var WebSocket: {
50675067
/** This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. */
50685068
interface WindowClient extends Client {
50695069
readonly focused: boolean;
5070-
readonly visibilityState: VisibilityState;
5070+
readonly visibilityState: DocumentVisibilityState;
50715071
focus(): Promise<WindowClient>;
50725072
navigate(url: string | URL): Promise<WindowClient | null>;
50735073
}
@@ -5687,6 +5687,7 @@ type ClientTypes = "all" | "sharedworker" | "window" | "worker";
56875687
type ColorGamut = "p3" | "rec2020" | "srgb";
56885688
type ColorSpaceConversion = "default" | "none";
56895689
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
5690+
type DocumentVisibilityState = "hidden" | "visible";
56905691
type EndingType = "native" | "transparent";
56915692
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
56925693
type FontFaceSetLoadStatus = "loaded" | "loading";
@@ -5721,7 +5722,6 @@ type SecurityPolicyViolationEventDisposition = "enforce" | "report";
57215722
type ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";
57225723
type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
57235724
type TransferFunction = "hlg" | "pq" | "srgb";
5724-
type VisibilityState = "hidden" | "visible";
57255725
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
57265726
type WorkerType = "classic" | "module";
57275727
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";

0 commit comments

Comments
 (0)