Skip to content

Commit c34e59d

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

9 files changed

+140
-255
lines changed

baselines/dom.generated.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3259,6 +3259,7 @@ interface CanvasDrawPath {
32593259
interface CanvasFillStrokeStyles {
32603260
fillStyle: string | CanvasGradient | CanvasPattern;
32613261
strokeStyle: string | CanvasGradient | CanvasPattern;
3262+
createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;
32623263
createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;
32633264
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;
32643265
createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;
@@ -3582,6 +3583,8 @@ interface Crypto {
35823583
/** Available only in secure contexts. */
35833584
readonly subtle: SubtleCrypto;
35843585
getRandomValues<T extends ArrayBufferView | null>(array: T): T;
3586+
/** Available only in secure contexts. */
3587+
randomUUID(): string;
35853588
}
35863589

35873590
declare var Crypto: {
@@ -7599,6 +7602,7 @@ declare var HTMLSlotElement: {
75997602

76007603
/** Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements. */
76017604
interface HTMLSourceElement extends HTMLElement {
7605+
height: number;
76027606
/** Gets or sets the intended media type of the media source. */
76037607
media: string;
76047608
sizes: string;
@@ -7607,6 +7611,7 @@ interface HTMLSourceElement extends HTMLElement {
76077611
srcset: string;
76087612
/** Gets or sets the MIME type of a media resource. */
76097613
type: string;
7614+
width: number;
76107615
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
76117616
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
76127617
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -8562,6 +8567,7 @@ interface IDBTransactionEventMap {
85628567
interface IDBTransaction extends EventTarget {
85638568
/** Returns the transaction's connection. */
85648569
readonly db: IDBDatabase;
8570+
readonly durability: IDBTransactionDurability;
85658571
/** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
85668572
readonly error: DOMException | null;
85678573
/** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
@@ -14130,6 +14136,13 @@ interface WEBGL_lose_context {
1413014136
restoreContext(): void;
1413114137
}
1413214138

14139+
interface WEBGL_multi_draw {
14140+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
14141+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
14142+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
14143+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
14144+
}
14145+
1413314146
/** A WaveShaperNode always has exactly one input and one output. */
1413414147
interface WaveShaperNode extends AudioNode {
1413514148
curve: Float32Array | null;
@@ -17697,6 +17710,7 @@ type GamepadMappingType = "" | "standard" | "xr-standard";
1769717710
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
1769817711
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
1769917712
type IDBRequestReadyState = "done" | "pending";
17713+
type IDBTransactionDurability = "default" | "relaxed" | "strict";
1770017714
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
1770117715
type ImageOrientation = "flipY" | "none";
1770217716
type ImageSmoothingQuality = "high" | "low" | "medium";

baselines/dom.iterable.generated.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,13 @@ interface WEBGL_draw_buffers {
243243
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
244244
}
245245

246+
interface WEBGL_multi_draw {
247+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
248+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
249+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
250+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
251+
}
252+
246253
interface WebGL2RenderingContextBase {
247254
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
248255
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;

baselines/serviceworker.generated.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,8 @@ interface Crypto {
874874
/** Available only in secure contexts. */
875875
readonly subtle: SubtleCrypto;
876876
getRandomValues<T extends ArrayBufferView | null>(array: T): T;
877+
/** Available only in secure contexts. */
878+
randomUUID(): string;
877879
}
878880

879881
declare var Crypto: {
@@ -1911,6 +1913,7 @@ interface IDBTransactionEventMap {
19111913
interface IDBTransaction extends EventTarget {
19121914
/** Returns the transaction's connection. */
19131915
readonly db: IDBDatabase;
1916+
readonly durability: IDBTransactionDurability;
19141917
/** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
19151918
readonly error: DOMException | null;
19161919
/** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
@@ -3041,6 +3044,13 @@ interface WEBGL_lose_context {
30413044
restoreContext(): void;
30423045
}
30433046

3047+
interface WEBGL_multi_draw {
3048+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
3049+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
3050+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
3051+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
3052+
}
3053+
30443054
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
30453055
}
30463056

@@ -5437,6 +5447,7 @@ type FrameType = "auxiliary" | "nested" | "none" | "top-level";
54375447
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
54385448
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
54395449
type IDBRequestReadyState = "done" | "pending";
5450+
type IDBTransactionDurability = "default" | "relaxed" | "strict";
54405451
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
54415452
type ImageOrientation = "flipY" | "none";
54425453
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

baselines/serviceworker.iterable.generated.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ interface WEBGL_draw_buffers {
8080
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
8181
}
8282

83+
interface WEBGL_multi_draw {
84+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
85+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
86+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
87+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
88+
}
89+
8390
interface WebGL2RenderingContextBase {
8491
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
8592
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;

baselines/sharedworker.generated.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,8 @@ interface Crypto {
818818
/** Available only in secure contexts. */
819819
readonly subtle: SubtleCrypto;
820820
getRandomValues<T extends ArrayBufferView | null>(array: T): T;
821+
/** Available only in secure contexts. */
822+
randomUUID(): string;
821823
}
822824

823825
declare var Crypto: {
@@ -1831,6 +1833,7 @@ interface IDBTransactionEventMap {
18311833
interface IDBTransaction extends EventTarget {
18321834
/** Returns the transaction's connection. */
18331835
readonly db: IDBDatabase;
1836+
readonly durability: IDBTransactionDurability;
18341837
/** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
18351838
readonly error: DOMException | null;
18361839
/** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
@@ -2909,6 +2912,13 @@ interface WEBGL_lose_context {
29092912
restoreContext(): void;
29102913
}
29112914

2915+
interface WEBGL_multi_draw {
2916+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
2917+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
2918+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
2919+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
2920+
}
2921+
29122922
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
29132923
}
29142924

@@ -5452,6 +5462,7 @@ type FontFaceSetLoadStatus = "loaded" | "loading";
54525462
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
54535463
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
54545464
type IDBRequestReadyState = "done" | "pending";
5465+
type IDBTransactionDurability = "default" | "relaxed" | "strict";
54555466
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
54565467
type ImageOrientation = "flipY" | "none";
54575468
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

baselines/sharedworker.iterable.generated.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ interface WEBGL_draw_buffers {
8080
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
8181
}
8282

83+
interface WEBGL_multi_draw {
84+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
85+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
86+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
87+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
88+
}
89+
8390
interface WebGL2RenderingContextBase {
8491
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
8592
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;

baselines/webworker.generated.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,8 @@ interface Crypto {
885885
/** Available only in secure contexts. */
886886
readonly subtle: SubtleCrypto;
887887
getRandomValues<T extends ArrayBufferView | null>(array: T): T;
888+
/** Available only in secure contexts. */
889+
randomUUID(): string;
888890
}
889891

890892
declare var Crypto: {
@@ -1963,6 +1965,7 @@ interface IDBTransactionEventMap {
19631965
interface IDBTransaction extends EventTarget {
19641966
/** Returns the transaction's connection. */
19651967
readonly db: IDBDatabase;
1968+
readonly durability: IDBTransactionDurability;
19661969
/** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
19671970
readonly error: DOMException | null;
19681971
/** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
@@ -3116,6 +3119,13 @@ interface WEBGL_lose_context {
31163119
restoreContext(): void;
31173120
}
31183121

3122+
interface WEBGL_multi_draw {
3123+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
3124+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
3125+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
3126+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
3127+
}
3128+
31193129
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
31203130
}
31213131

@@ -5684,6 +5694,7 @@ type FrameType = "auxiliary" | "nested" | "none" | "top-level";
56845694
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
56855695
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
56865696
type IDBRequestReadyState = "done" | "pending";
5697+
type IDBTransactionDurability = "default" | "relaxed" | "strict";
56875698
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
56885699
type ImageOrientation = "flipY" | "none";
56895700
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

baselines/webworker.iterable.generated.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ interface WEBGL_draw_buffers {
8080
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
8181
}
8282

83+
interface WEBGL_multi_draw {
84+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
85+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
86+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
87+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
88+
}
89+
8390
interface WebGL2RenderingContextBase {
8491
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
8592
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;

0 commit comments

Comments
 (0)