Skip to content

Commit b3cc10b

Browse files
ortagithub-actions[bot]
authored andcommitted
🤖 Update core dependencies
1 parent f3acf1a commit b3cc10b

22 files changed

+699
-357
lines changed

baselines/audioworklet.generated.d.ts

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,18 @@ declare var MessagePort: {
831831
new(): MessagePort;
832832
};
833833

834+
interface Origin {
835+
readonly opaque: boolean;
836+
isSameOrigin(other: Origin): boolean;
837+
isSameSite(other: Origin): boolean;
838+
}
839+
840+
declare var Origin: {
841+
prototype: Origin;
842+
new(): Origin;
843+
from(value: any): Origin;
844+
};
845+
834846
/**
835847
* The **`PromiseRejectionEvent`** interface represents events which are sent to the global script context when JavaScript Promises are rejected. These events are particularly useful for telemetry and debugging purposes.
836848
*
@@ -1668,7 +1680,7 @@ declare namespace WebAssembly {
16681680

16691681
var Module: {
16701682
prototype: Module;
1671-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
1683+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
16721684
/**
16731685
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
16741686
*
@@ -1819,12 +1831,12 @@ declare namespace WebAssembly {
18191831
type ValueType = keyof ValueTypeMap;
18201832
var JSTag: Tag;
18211833
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
1822-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
1834+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
18231835
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
1824-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1836+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
18251837
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
18261838
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
1827-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
1839+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
18281840
}
18291841

18301842
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -2035,7 +2047,7 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
20352047
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
20362048
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
20372049
type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
2038-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
2050+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
20392051
type ReadableStreamReaderMode = "byob";
20402052
type ReadableStreamType = "bytes";
20412053

baselines/dom.generated.d.ts

Lines changed: 48 additions & 21 deletions
Large diffs are not rendered by default.

baselines/serviceworker.generated.d.ts

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7267,6 +7267,18 @@ declare var OffscreenCanvasRenderingContext2D: {
72677267
new(): OffscreenCanvasRenderingContext2D;
72687268
};
72697269

7270+
interface Origin {
7271+
readonly opaque: boolean;
7272+
isSameOrigin(other: Origin): boolean;
7273+
isSameSite(other: Origin): boolean;
7274+
}
7275+
7276+
declare var Origin: {
7277+
prototype: Origin;
7278+
new(): Origin;
7279+
from(value: any): Origin;
7280+
};
7281+
72707282
/**
72717283
* The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
72727284
*
@@ -7548,6 +7560,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
75487560
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
75497561
*/
75507562
readonly connectStart: DOMHighResTimeStamp;
7563+
/**
7564+
* The **`contentType`** read-only property of the PerformanceResourceTiming interface is a string indicating the content type of the fetched resource, formatted as a MIME type and subtype separated by a forward slash.
7565+
*
7566+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
7567+
*/
7568+
readonly contentType: string;
75517569
/**
75527570
* The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
75537571
*
@@ -8490,7 +8508,7 @@ interface SecurityPolicyViolationEvent extends Event {
84908508
*/
84918509
readonly blockedURI: string;
84928510
/**
8493-
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
8511+
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
84948512
*
84958513
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
84968514
*/
@@ -12897,7 +12915,7 @@ declare namespace WebAssembly {
1289712915

1289812916
var Module: {
1289912917
prototype: Module;
12900-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
12918+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
1290112919
/**
1290212920
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
1290312921
*
@@ -13048,16 +13066,16 @@ declare namespace WebAssembly {
1304813066
type ValueType = keyof ValueTypeMap;
1304913067
var JSTag: Tag;
1305013068
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
13051-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13069+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
1305213070
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
1305313071
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
1305413072
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
13055-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13073+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1305613074
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
1305713075
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
1305813076
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1305913077
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
13060-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
13078+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
1306113079
}
1306213080

1306313081
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -13496,7 +13514,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
1349613514
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
1349713515
type ColorGamut = "p3" | "rec2020" | "srgb";
1349813516
type ColorSpaceConversion = "default" | "none";
13499-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
13517+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
1350013518
type CookieSameSite = "lax" | "none" | "strict";
1350113519
type DocumentVisibilityState = "hidden" | "visible";
1350213520
type EndingType = "native" | "transparent";
@@ -13568,7 +13586,7 @@ type ReadableStreamType = "bytes";
1356813586
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
1356913587
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
1357013588
type RequestCredentials = "include" | "omit" | "same-origin";
13571-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13589+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "text" | "track" | "video" | "worker" | "xslt";
1357213590
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
1357313591
type RequestPriority = "auto" | "high" | "low";
1357413592
type RequestRedirect = "error" | "follow" | "manual";

baselines/sharedworker.generated.d.ts

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6925,6 +6925,18 @@ declare var OffscreenCanvasRenderingContext2D: {
69256925
new(): OffscreenCanvasRenderingContext2D;
69266926
};
69276927

6928+
interface Origin {
6929+
readonly opaque: boolean;
6930+
isSameOrigin(other: Origin): boolean;
6931+
isSameSite(other: Origin): boolean;
6932+
}
6933+
6934+
declare var Origin: {
6935+
prototype: Origin;
6936+
new(): Origin;
6937+
from(value: any): Origin;
6938+
};
6939+
69286940
/**
69296941
* The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
69306942
*
@@ -7206,6 +7218,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
72067218
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
72077219
*/
72087220
readonly connectStart: DOMHighResTimeStamp;
7221+
/**
7222+
* The **`contentType`** read-only property of the PerformanceResourceTiming interface is a string indicating the content type of the fetched resource, formatted as a MIME type and subtype separated by a forward slash.
7223+
*
7224+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
7225+
*/
7226+
readonly contentType: string;
72097227
/**
72107228
* The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
72117229
*
@@ -8073,7 +8091,7 @@ interface SecurityPolicyViolationEvent extends Event {
80738091
*/
80748092
readonly blockedURI: string;
80758093
/**
8076-
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
8094+
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
80778095
*
80788096
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
80798097
*/
@@ -12623,7 +12641,7 @@ declare namespace WebAssembly {
1262312641

1262412642
var Module: {
1262512643
prototype: Module;
12626-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
12644+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
1262712645
/**
1262812646
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
1262912647
*
@@ -12774,16 +12792,16 @@ declare namespace WebAssembly {
1277412792
type ValueType = keyof ValueTypeMap;
1277512793
var JSTag: Tag;
1277612794
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
12777-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
12795+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
1277812796
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
1277912797
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
1278012798
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
12781-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
12799+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1278212800
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
1278312801
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
1278412802
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1278512803
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
12786-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
12804+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
1278712805
}
1278812806

1278912807
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -13184,7 +13202,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
1318413202
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
1318513203
type ColorGamut = "p3" | "rec2020" | "srgb";
1318613204
type ColorSpaceConversion = "default" | "none";
13187-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
13205+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
1318813206
type EndingType = "native" | "transparent";
1318913207
type FileSystemHandleKind = "directory" | "file";
1319013208
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
@@ -13253,7 +13271,7 @@ type ReadableStreamType = "bytes";
1325313271
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
1325413272
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
1325513273
type RequestCredentials = "include" | "omit" | "same-origin";
13256-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13274+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "text" | "track" | "video" | "worker" | "xslt";
1325713275
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
1325813276
type RequestPriority = "auto" | "high" | "low";
1325913277
type RequestRedirect = "error" | "follow" | "manual";

baselines/ts5.5/audioworklet.generated.d.ts

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,18 @@ declare var MessagePort: {
828828
new(): MessagePort;
829829
};
830830

831+
interface Origin {
832+
readonly opaque: boolean;
833+
isSameOrigin(other: Origin): boolean;
834+
isSameSite(other: Origin): boolean;
835+
}
836+
837+
declare var Origin: {
838+
prototype: Origin;
839+
new(): Origin;
840+
from(value: any): Origin;
841+
};
842+
831843
/**
832844
* The **`PromiseRejectionEvent`** interface represents events which are sent to the global script context when JavaScript Promises are rejected. These events are particularly useful for telemetry and debugging purposes.
833845
*
@@ -1665,7 +1677,7 @@ declare namespace WebAssembly {
16651677

16661678
var Module: {
16671679
prototype: Module;
1668-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
1680+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
16691681
/**
16701682
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
16711683
*
@@ -1816,12 +1828,12 @@ declare namespace WebAssembly {
18161828
type ValueType = keyof ValueTypeMap;
18171829
var JSTag: Tag;
18181830
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
1819-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
1831+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
18201832
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
1821-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1833+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
18221834
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
18231835
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
1824-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
1836+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
18251837
}
18261838

18271839
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -2032,6 +2044,6 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
20322044
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
20332045
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
20342046
type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
2035-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
2047+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
20362048
type ReadableStreamReaderMode = "byob";
20372049
type ReadableStreamType = "bytes";

0 commit comments

Comments
 (0)