Skip to content

Commit 4050f91

Browse files
authored
🤖 Update core dependencies
1 parent d5fc0b1 commit 4050f91

7 files changed

+301
-479
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

+145-47
Large diffs are not rendered by default.

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

+3-30
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ interface RequestInit {
503503
method?: string;
504504
/** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */
505505
mode?: RequestMode;
506+
priority?: FetchPriority;
506507
/** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */
507508
redirect?: RequestRedirect;
508509
/** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */
@@ -691,6 +692,7 @@ interface AbortSignal extends EventTarget {
691692
/** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */
692693
readonly aborted: boolean;
693694
onabort: ((this: AbortSignal, ev: Event) => any) | null;
695+
readonly reason: any;
694696
addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
695697
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
696698
removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -880,11 +882,8 @@ declare var Clients: {
880882

881883
/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */
882884
interface CloseEvent extends Event {
883-
/** Returns the WebSocket connection close code provided by the server. */
884885
readonly code: number;
885-
/** Returns the WebSocket connection close reason provided by the server. */
886886
readonly reason: string;
887-
/** Returns true if the connection closed cleanly; false otherwise. */
888887
readonly wasClean: boolean;
889888
}
890889

@@ -1671,9 +1670,7 @@ declare var IDBCursorWithValue: {
16711670
};
16721671

16731672
interface IDBDatabaseEventMap {
1674-
"abort": Event;
16751673
"close": Event;
1676-
"error": Event;
16771674
"versionchange": IDBVersionChangeEvent;
16781675
}
16791676

@@ -1683,9 +1680,7 @@ interface IDBDatabase extends EventTarget {
16831680
readonly name: string;
16841681
/** Returns a list of the names of object stores in the database. */
16851682
readonly objectStoreNames: DOMStringList;
1686-
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
16871683
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
1688-
onerror: ((this: IDBDatabase, ev: Event) => any) | null;
16891684
onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;
16901685
/** Returns the version of the database. */
16911686
readonly version: number;
@@ -3075,13 +3070,6 @@ interface WEBGL_compressed_texture_etc1 {
30753070
readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;
30763071
}
30773072

3078-
interface WEBGL_compressed_texture_pvrtc {
3079-
readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;
3080-
readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;
3081-
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;
3082-
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;
3083-
}
3084-
30853073
/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */
30863074
interface WEBGL_compressed_texture_s3tc {
30873075
readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;
@@ -5053,33 +5041,17 @@ interface WebSocketEventMap {
50535041

50545042
/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */
50555043
interface WebSocket extends EventTarget {
5056-
/**
5057-
* Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:
5058-
*
5059-
* Can be set, to change how binary data is returned. The default is "blob".
5060-
*/
50615044
binaryType: BinaryType;
5062-
/**
5063-
* Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.
5064-
*
5065-
* If the WebSocket connection is closed, this attribute's value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)
5066-
*/
50675045
readonly bufferedAmount: number;
5068-
/** Returns the extensions selected by the server, if any. */
50695046
readonly extensions: string;
50705047
onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;
50715048
onerror: ((this: WebSocket, ev: Event) => any) | null;
50725049
onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;
50735050
onopen: ((this: WebSocket, ev: Event) => any) | null;
5074-
/** Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation. */
50755051
readonly protocol: string;
5076-
/** Returns the state of the WebSocket object's connection. It can have the values described below. */
50775052
readonly readyState: number;
5078-
/** Returns the URL that was used to establish the WebSocket connection. */
50795053
readonly url: string;
5080-
/** Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason. */
50815054
close(code?: number, reason?: string): void;
5082-
/** Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView. */
50835055
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
50845056
readonly CLOSED: number;
50855057
readonly CLOSING: number;
@@ -5559,6 +5531,7 @@ type ColorSpaceConversion = "default" | "none";
55595531
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
55605532
type DocumentVisibilityState = "hidden" | "visible";
55615533
type EndingType = "native" | "transparent";
5534+
type FetchPriority = "auto" | "high" | "low";
55625535
type FileSystemHandleKind = "directory" | "file";
55635536
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
55645537
type FontFaceSetLoadStatus = "loaded" | "loading";

baselines/sharedworker.generated.d.ts

+3-37
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ interface RequestInit {
469469
method?: string;
470470
/** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */
471471
mode?: RequestMode;
472+
priority?: FetchPriority;
472473
/** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */
473474
redirect?: RequestRedirect;
474475
/** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */
@@ -663,6 +664,7 @@ interface AbortSignal extends EventTarget {
663664
/** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */
664665
readonly aborted: boolean;
665666
onabort: ((this: AbortSignal, ev: Event) => any) | null;
667+
readonly reason: any;
666668
addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
667669
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
668670
removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -824,11 +826,8 @@ declare var CanvasPattern: {
824826

825827
/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */
826828
interface CloseEvent extends Event {
827-
/** Returns the WebSocket connection close code provided by the server. */
828829
readonly code: number;
829-
/** Returns the WebSocket connection close reason provided by the server. */
830830
readonly reason: string;
831-
/** Returns true if the connection closed cleanly; false otherwise. */
832831
readonly wasClean: boolean;
833832
}
834833

@@ -1590,9 +1589,7 @@ declare var IDBCursorWithValue: {
15901589
};
15911590

15921591
interface IDBDatabaseEventMap {
1593-
"abort": Event;
15941592
"close": Event;
1595-
"error": Event;
15961593
"versionchange": IDBVersionChangeEvent;
15971594
}
15981595

@@ -1602,9 +1599,7 @@ interface IDBDatabase extends EventTarget {
16021599
readonly name: string;
16031600
/** Returns a list of the names of object stores in the database. */
16041601
readonly objectStoreNames: DOMStringList;
1605-
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
16061602
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
1607-
onerror: ((this: IDBDatabase, ev: Event) => any) | null;
16081603
onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;
16091604
/** Returns the version of the database. */
16101605
readonly version: number;
@@ -2942,13 +2937,6 @@ interface WEBGL_compressed_texture_etc1 {
29422937
readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;
29432938
}
29442939

2945-
interface WEBGL_compressed_texture_pvrtc {
2946-
readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;
2947-
readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;
2948-
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;
2949-
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;
2950-
}
2951-
29522940
/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */
29532941
interface WEBGL_compressed_texture_s3tc {
29542942
readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;
@@ -4920,33 +4908,17 @@ interface WebSocketEventMap {
49204908

49214909
/** Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection. */
49224910
interface WebSocket extends EventTarget {
4923-
/**
4924-
* Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:
4925-
*
4926-
* Can be set, to change how binary data is returned. The default is "blob".
4927-
*/
49284911
binaryType: BinaryType;
4929-
/**
4930-
* Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.
4931-
*
4932-
* If the WebSocket connection is closed, this attribute's value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)
4933-
*/
49344912
readonly bufferedAmount: number;
4935-
/** Returns the extensions selected by the server, if any. */
49364913
readonly extensions: string;
49374914
onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;
49384915
onerror: ((this: WebSocket, ev: Event) => any) | null;
49394916
onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;
49404917
onopen: ((this: WebSocket, ev: Event) => any) | null;
4941-
/** Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation. */
49424918
readonly protocol: string;
4943-
/** Returns the state of the WebSocket object's connection. It can have the values described below. */
49444919
readonly readyState: number;
4945-
/** Returns the URL that was used to establish the WebSocket connection. */
49464920
readonly url: string;
4947-
/** Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason. */
49484921
close(code?: number, reason?: string): void;
4949-
/** Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView. */
49504922
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
49514923
readonly CLOSED: number;
49524924
readonly CLOSING: number;
@@ -5232,13 +5204,6 @@ interface XMLHttpRequestEventTargetEventMap {
52325204
}
52335205

52345206
interface XMLHttpRequestEventTarget extends EventTarget {
5235-
onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
5236-
onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
5237-
onload: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
5238-
onloadend: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
5239-
onloadstart: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
5240-
onprogress: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
5241-
ontimeout: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
52425207
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
52435208
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
52445209
removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -5573,6 +5538,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
55735538
type ColorSpaceConversion = "default" | "none";
55745539
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
55755540
type EndingType = "native" | "transparent";
5541+
type FetchPriority = "auto" | "high" | "low";
55765542
type FileSystemHandleKind = "directory" | "file";
55775543
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
55785544
type FontFaceSetLoadStatus = "loaded" | "loading";

0 commit comments

Comments
 (0)