Skip to content

Commit b980a1e

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

22 files changed

+737
-395
lines changed

baselines/audioworklet.generated.d.ts

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ interface Event {
600600
*/
601601
readonly eventPhase: number;
602602
/**
603-
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The only exception is the click event, which initializes the isTrusted property to false in user agents.
603+
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The click event fired through HTMLElement.click() sets the isTrusted property to false.
604604
*
605605
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
606606
*/
@@ -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: 50 additions & 23 deletions
Large diffs are not rendered by default.

baselines/serviceworker.generated.d.ts

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3736,7 +3736,7 @@ interface Event {
37363736
*/
37373737
readonly eventPhase: number;
37383738
/**
3739-
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The only exception is the click event, which initializes the isTrusted property to false in user agents.
3739+
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The click event fired through HTMLElement.click() sets the isTrusted property to false.
37403740
*
37413741
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
37423742
*/
@@ -7236,7 +7236,7 @@ interface OffscreenCanvas extends EventTarget {
72367236
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
72377237
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
72387238
/**
7239-
* The **`OffscreenCanvas.transferToImageBitmap()`** method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The OffscreenCanvas allocates a new image for its subsequent rendering.
7239+
* The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
72407240
*
72417241
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
72427242
*/
@@ -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";

0 commit comments

Comments
 (0)