Skip to content

Commit 038ad18

Browse files
authored
🤖 Update core dependencies
1 parent 31e9b89 commit 038ad18

7 files changed

+354
-543
lines changed

baselines/audioworklet.generated.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ interface AbortSignal extends EventTarget {
182182
/** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */
183183
readonly aborted: boolean;
184184
onabort: ((this: AbortSignal, ev: Event) => any) | null;
185+
readonly reason: any;
185186
addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
186187
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
187188
removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

baselines/dom.generated.d.ts

+144-28
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,19 @@ interface LockOptions {
701701
steal?: boolean;
702702
}
703703

704+
interface MIDIConnectionEventInit extends EventInit {
705+
port?: MIDIPort;
706+
}
707+
708+
interface MIDIMessageEventInit extends EventInit {
709+
data?: Uint8Array;
710+
}
711+
712+
interface MIDIOptions {
713+
software?: boolean;
714+
sysex?: boolean;
715+
}
716+
704717
interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
705718
configuration?: MediaDecodingConfiguration;
706719
}
@@ -1948,6 +1961,7 @@ interface AbortSignal extends EventTarget {
19481961
/** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */
19491962
readonly aborted: boolean;
19501963
onabort: ((this: AbortSignal, ev: Event) => any) | null;
1964+
readonly reason: any;
19511965
addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
19521966
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
19531967
removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -2803,7 +2817,6 @@ interface CSSStyleDeclaration {
28032817
clipPath: string;
28042818
clipRule: string;
28052819
color: string;
2806-
colorAdjust: string;
28072820
colorInterpolation: string;
28082821
colorInterpolationFilters: string;
28092822
colorScheme: string;
@@ -2855,7 +2868,6 @@ interface CSSStyleDeclaration {
28552868
fontStyle: string;
28562869
fontSynthesis: string;
28572870
fontVariant: string;
2858-
/** @deprecated */
28592871
fontVariantAlternates: string;
28602872
fontVariantCaps: string;
28612873
fontVariantEastAsian: string;
@@ -2950,7 +2962,6 @@ interface CSSStyleDeclaration {
29502962
objectFit: string;
29512963
objectPosition: string;
29522964
offset: string;
2953-
offsetAnchor: string;
29542965
offsetDistance: string;
29552966
offsetPath: string;
29562967
offsetRotate: string;
@@ -2995,6 +3006,7 @@ interface CSSStyleDeclaration {
29953006
placeSelf: string;
29963007
pointerEvents: string;
29973008
position: string;
3009+
printColorAdjust: string;
29983010
quotes: string;
29993011
resize: string;
30003012
right: string;
@@ -4488,6 +4500,8 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
44884500
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
44894501
createEvent(eventInterface: "InputEvent"): InputEvent;
44904502
createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;
4503+
createEvent(eventInterface: "MIDIConnectionEvent"): MIDIConnectionEvent;
4504+
createEvent(eventInterface: "MIDIMessageEvent"): MIDIMessageEvent;
44914505
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
44924506
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
44934507
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
@@ -5524,7 +5538,6 @@ interface GlobalEventHandlersEventMap {
55245538
"compositionstart": CompositionEvent;
55255539
"compositionupdate": CompositionEvent;
55265540
"contextmenu": MouseEvent;
5527-
"cuechange": Event;
55285541
"dblclick": MouseEvent;
55295542
"drag": DragEvent;
55305543
"dragend": DragEvent;
@@ -5642,7 +5655,6 @@ interface GlobalEventHandlers {
56425655
* @param ev The mouse event.
56435656
*/
56445657
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
5645-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
56465658
/**
56475659
* Fires when the user double-clicks the object.
56485660
* @param ev The mouse event.
@@ -7699,6 +7711,7 @@ interface HTMLScriptElement extends HTMLElement {
76997711
declare var HTMLScriptElement: {
77007712
prototype: HTMLScriptElement;
77017713
new(): HTMLScriptElement;
7714+
supports(type: string): boolean;
77027715
};
77037716

77047717
/** A <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface. */
@@ -8446,9 +8459,7 @@ declare var IDBCursorWithValue: {
84468459
};
84478460

84488461
interface IDBDatabaseEventMap {
8449-
"abort": Event;
84508462
"close": Event;
8451-
"error": Event;
84528463
"versionchange": IDBVersionChangeEvent;
84538464
}
84548465

@@ -8458,9 +8469,7 @@ interface IDBDatabase extends EventTarget {
84588469
readonly name: string;
84598470
/** Returns a list of the names of object stores in the database. */
84608471
readonly objectStoreNames: DOMStringList;
8461-
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
84628472
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
8463-
onerror: ((this: IDBDatabase, ev: Event) => any) | null;
84648473
onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;
84658474
/** Returns the version of the database. */
84668475
readonly version: number;
@@ -9065,6 +9074,126 @@ declare var LockManager: {
90659074
new(): LockManager;
90669075
};
90679076

9077+
interface MIDIAccessEventMap {
9078+
"statechange": Event;
9079+
}
9080+
9081+
/** Available only in secure contexts. */
9082+
interface MIDIAccess extends EventTarget {
9083+
readonly inputs: MIDIInputMap;
9084+
onstatechange: ((this: MIDIAccess, ev: Event) => any) | null;
9085+
readonly outputs: MIDIOutputMap;
9086+
readonly sysexEnabled: boolean;
9087+
addEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9088+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9089+
removeEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
9090+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
9091+
}
9092+
9093+
declare var MIDIAccess: {
9094+
prototype: MIDIAccess;
9095+
new(): MIDIAccess;
9096+
};
9097+
9098+
/** Available only in secure contexts. */
9099+
interface MIDIConnectionEvent extends Event {
9100+
readonly port: MIDIPort;
9101+
}
9102+
9103+
declare var MIDIConnectionEvent: {
9104+
prototype: MIDIConnectionEvent;
9105+
new(type: string, eventInitDict?: MIDIConnectionEventInit): MIDIConnectionEvent;
9106+
};
9107+
9108+
interface MIDIInputEventMap extends MIDIPortEventMap {
9109+
"midimessage": Event;
9110+
}
9111+
9112+
/** Available only in secure contexts. */
9113+
interface MIDIInput extends MIDIPort {
9114+
onmidimessage: ((this: MIDIInput, ev: Event) => any) | null;
9115+
addEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9116+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9117+
removeEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
9118+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
9119+
}
9120+
9121+
declare var MIDIInput: {
9122+
prototype: MIDIInput;
9123+
new(): MIDIInput;
9124+
};
9125+
9126+
/** Available only in secure contexts. */
9127+
interface MIDIInputMap {
9128+
forEach(callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, thisArg?: any): void;
9129+
}
9130+
9131+
declare var MIDIInputMap: {
9132+
prototype: MIDIInputMap;
9133+
new(): MIDIInputMap;
9134+
};
9135+
9136+
/** Available only in secure contexts. */
9137+
interface MIDIMessageEvent extends Event {
9138+
readonly data: Uint8Array;
9139+
}
9140+
9141+
declare var MIDIMessageEvent: {
9142+
prototype: MIDIMessageEvent;
9143+
new(type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent;
9144+
};
9145+
9146+
/** Available only in secure contexts. */
9147+
interface MIDIOutput extends MIDIPort {
9148+
send(data: number[], timestamp?: DOMHighResTimeStamp): void;
9149+
addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9150+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9151+
removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
9152+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
9153+
}
9154+
9155+
declare var MIDIOutput: {
9156+
prototype: MIDIOutput;
9157+
new(): MIDIOutput;
9158+
};
9159+
9160+
/** Available only in secure contexts. */
9161+
interface MIDIOutputMap {
9162+
forEach(callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, thisArg?: any): void;
9163+
}
9164+
9165+
declare var MIDIOutputMap: {
9166+
prototype: MIDIOutputMap;
9167+
new(): MIDIOutputMap;
9168+
};
9169+
9170+
interface MIDIPortEventMap {
9171+
"statechange": Event;
9172+
}
9173+
9174+
/** Available only in secure contexts. */
9175+
interface MIDIPort extends EventTarget {
9176+
readonly connection: MIDIPortConnectionState;
9177+
readonly id: string;
9178+
readonly manufacturer: string | null;
9179+
readonly name: string | null;
9180+
onstatechange: ((this: MIDIPort, ev: Event) => any) | null;
9181+
readonly state: MIDIPortDeviceState;
9182+
readonly type: MIDIPortType;
9183+
readonly version: string | null;
9184+
close(): Promise<MIDIPort>;
9185+
open(): Promise<MIDIPort>;
9186+
addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9187+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9188+
removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
9189+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
9190+
}
9191+
9192+
declare var MIDIPort: {
9193+
prototype: MIDIPort;
9194+
new(): MIDIPort;
9195+
};
9196+
90689197
interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
90699198
}
90709199

@@ -9786,6 +9915,8 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentH
97869915
canShare(data?: ShareData): boolean;
97879916
getGamepads(): (Gamepad | null)[];
97889917
/** Available only in secure contexts. */
9918+
requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>;
9919+
/** Available only in secure contexts. */
97899920
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;
97909921
sendBeacon(url: string | URL, data?: BodyInit | null): boolean;
97919922
/** Available only in secure contexts. */
@@ -9855,6 +9986,7 @@ interface NavigatorOnLine {
98559986
interface NavigatorPlugins {
98569987
/** @deprecated */
98579988
readonly mimeTypes: MimeTypeArray;
9989+
readonly pdfViewerEnabled: boolean;
98589990
/** @deprecated */
98599991
readonly plugins: PluginArray;
98609992
/** @deprecated */
@@ -14396,13 +14528,6 @@ interface WEBGL_compressed_texture_etc1 {
1439614528
readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;
1439714529
}
1439814530

14399-
interface WEBGL_compressed_texture_pvrtc {
14400-
readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;
14401-
readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;
14402-
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;
14403-
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;
14404-
}
14405-
1440614531
/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */
1440714532
interface WEBGL_compressed_texture_s3tc {
1440814533
readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;
@@ -16613,8 +16738,6 @@ interface WindowEventHandlers {
1661316738
onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null;
1661416739
onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null;
1661516740
onbeforeunload: ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | null;
16616-
ongamepadconnected: ((this: WindowEventHandlers, ev: GamepadEvent) => any) | null;
16617-
ongamepaddisconnected: ((this: WindowEventHandlers, ev: GamepadEvent) => any) | null;
1661816741
onhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => any) | null;
1661916742
onlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | null;
1662016743
onmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;
@@ -16878,13 +17001,6 @@ interface XMLHttpRequestEventTargetEventMap {
1687817001
}
1687917002

1688017003
interface XMLHttpRequestEventTarget extends EventTarget {
16881-
onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
16882-
onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
16883-
onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
16884-
onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
16885-
onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
16886-
onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
16887-
ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
1688817004
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1688917005
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1689017006
removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -17669,7 +17785,6 @@ declare var onclose: ((this: Window, ev: Event) => any) | null;
1766917785
* @param ev The mouse event.
1767017786
*/
1767117787
declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
17672-
declare var oncuechange: ((this: Window, ev: Event) => any) | null;
1767317788
/**
1767417789
* Fires when the user double-clicks the object.
1767517790
* @param ev The mouse event.
@@ -17909,8 +18024,6 @@ declare var onwheel: ((this: Window, ev: WheelEvent) => any) | null;
1790918024
declare var onafterprint: ((this: Window, ev: Event) => any) | null;
1791018025
declare var onbeforeprint: ((this: Window, ev: Event) => any) | null;
1791118026
declare var onbeforeunload: ((this: Window, ev: BeforeUnloadEvent) => any) | null;
17912-
declare var ongamepadconnected: ((this: Window, ev: GamepadEvent) => any) | null;
17913-
declare var ongamepaddisconnected: ((this: Window, ev: GamepadEvent) => any) | null;
1791418027
declare var onhashchange: ((this: Window, ev: HashChangeEvent) => any) | null;
1791518028
declare var onlanguagechange: ((this: Window, ev: Event) => any) | null;
1791618029
declare var onmessage: ((this: Window, ev: MessageEvent) => any) | null;
@@ -18074,6 +18187,9 @@ type KeyType = "private" | "public" | "secret";
1807418187
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
1807518188
type LineAlignSetting = "center" | "end" | "start";
1807618189
type LockMode = "exclusive" | "shared";
18190+
type MIDIPortConnectionState = "closed" | "open" | "pending";
18191+
type MIDIPortDeviceState = "connected" | "disconnected";
18192+
type MIDIPortType = "input" | "output";
1807718193
type MediaDecodingType = "file" | "media-source" | "webrtc";
1807818194
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
1807918195
type MediaEncodingType = "record" | "webrtc";

baselines/dom.iterable.generated.d.ts

+10
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,16 @@ interface IDBObjectStore {
113113
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
114114
}
115115

116+
interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
117+
}
118+
119+
interface MIDIOutput {
120+
send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
121+
}
122+
123+
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
124+
}
125+
116126
interface MediaKeyStatusMap {
117127
[Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
118128
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;

baselines/serviceworker.generated.d.ts

+1-11
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ interface AbortSignal extends EventTarget {
691691
/** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */
692692
readonly aborted: boolean;
693693
onabort: ((this: AbortSignal, ev: Event) => any) | null;
694+
readonly reason: any;
694695
addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
695696
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
696697
removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -1671,9 +1672,7 @@ declare var IDBCursorWithValue: {
16711672
};
16721673

16731674
interface IDBDatabaseEventMap {
1674-
"abort": Event;
16751675
"close": Event;
1676-
"error": Event;
16771676
"versionchange": IDBVersionChangeEvent;
16781677
}
16791678

@@ -1683,9 +1682,7 @@ interface IDBDatabase extends EventTarget {
16831682
readonly name: string;
16841683
/** Returns a list of the names of object stores in the database. */
16851684
readonly objectStoreNames: DOMStringList;
1686-
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
16871685
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
1688-
onerror: ((this: IDBDatabase, ev: Event) => any) | null;
16891686
onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;
16901687
/** Returns the version of the database. */
16911688
readonly version: number;
@@ -3081,13 +3078,6 @@ interface WEBGL_compressed_texture_etc1 {
30813078
readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;
30823079
}
30833080

3084-
interface WEBGL_compressed_texture_pvrtc {
3085-
readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;
3086-
readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;
3087-
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;
3088-
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;
3089-
}
3090-
30913081
/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */
30923082
interface WEBGL_compressed_texture_s3tc {
30933083
readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;

0 commit comments

Comments
 (0)