Skip to content

Commit 064445d

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

22 files changed

+1229
-486
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: 90 additions & 29 deletions
Large diffs are not rendered by default.

baselines/serviceworker.generated.d.ts

Lines changed: 51 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,9 +1560,29 @@ declare var CSSKeywordValue: {
15601560
new(value: string): CSSKeywordValue;
15611561
};
15621562

1563+
/**
1564+
* The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
1565+
*
1566+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
1567+
*/
15631568
interface CSSMathClamp extends CSSMathValue {
1569+
/**
1570+
* The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
1571+
*
1572+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
1573+
*/
15641574
readonly lower: CSSNumericValue;
1575+
/**
1576+
* The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
1577+
*
1578+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
1579+
*/
15651580
readonly upper: CSSNumericValue;
1581+
/**
1582+
* The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
1583+
*
1584+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
1585+
*/
15661586
readonly value: CSSNumericValue;
15671587
}
15681588

@@ -2073,13 +2093,13 @@ declare var CSSTranslate: {
20732093
};
20742094

20752095
/**
2076-
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.
2096+
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
20772097
*
20782098
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
20792099
*/
20802100
interface CSSUnitValue extends CSSNumericValue {
20812101
/**
2082-
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type of unit.
2102+
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
20832103
*
20842104
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
20852105
*/
@@ -3736,7 +3756,7 @@ interface Event {
37363756
*/
37373757
readonly eventPhase: number;
37383758
/**
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.
3759+
* 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.
37403760
*
37413761
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
37423762
*/
@@ -7236,7 +7256,7 @@ interface OffscreenCanvas extends EventTarget {
72367256
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
72377257
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
72387258
/**
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.
7259+
* 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.
72407260
*
72417261
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
72427262
*/
@@ -7267,6 +7287,18 @@ declare var OffscreenCanvasRenderingContext2D: {
72677287
new(): OffscreenCanvasRenderingContext2D;
72687288
};
72697289

7290+
interface Origin {
7291+
readonly opaque: boolean;
7292+
isSameOrigin(other: Origin): boolean;
7293+
isSameSite(other: Origin): boolean;
7294+
}
7295+
7296+
declare var Origin: {
7297+
prototype: Origin;
7298+
new(): Origin;
7299+
from(value: any): Origin;
7300+
};
7301+
72707302
/**
72717303
* 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.
72727304
*
@@ -7548,6 +7580,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
75487580
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
75497581
*/
75507582
readonly connectStart: DOMHighResTimeStamp;
7583+
/**
7584+
* 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.
7585+
*
7586+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
7587+
*/
7588+
readonly contentType: string;
75517589
/**
75527590
* 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.
75537591
*
@@ -8490,7 +8528,7 @@ interface SecurityPolicyViolationEvent extends Event {
84908528
*/
84918529
readonly blockedURI: string;
84928530
/**
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.
8531+
* 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.
84948532
*
84958533
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
84968534
*/
@@ -9784,13 +9822,13 @@ interface WEBGL_draw_buffers {
97849822
*/
97859823
interface WEBGL_lose_context {
97869824
/**
9787-
* The **`WEBGL_lose_context.loseContext()`** method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.
9825+
* The **`loseContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext.
97889826
*
97899827
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)
97909828
*/
97919829
loseContext(): void;
97929830
/**
9793-
* The **`WEBGL_lose_context.restoreContext()`** method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object.
9831+
* The **`restoreContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext.
97949832
*
97959833
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)
97969834
*/
@@ -12897,7 +12935,7 @@ declare namespace WebAssembly {
1289712935

1289812936
var Module: {
1289912937
prototype: Module;
12900-
new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
12938+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
1290112939
/**
1290212940
* 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.
1290312941
*
@@ -13048,16 +13086,16 @@ declare namespace WebAssembly {
1304813086
type ValueType = keyof ValueTypeMap;
1304913087
var JSTag: Tag;
1305013088
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
13051-
function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13089+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
1305213090
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
1305313091
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
1305413092
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
13055-
function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13093+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1305613094
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
1305713095
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
1305813096
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
1305913097
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
13060-
function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
13098+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
1306113099
}
1306213100

1306313101
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -13496,7 +13534,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
1349613534
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
1349713535
type ColorGamut = "p3" | "rec2020" | "srgb";
1349813536
type ColorSpaceConversion = "default" | "none";
13499-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
13537+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
1350013538
type CookieSameSite = "lax" | "none" | "strict";
1350113539
type DocumentVisibilityState = "hidden" | "visible";
1350213540
type EndingType = "native" | "transparent";
@@ -13568,7 +13606,7 @@ type ReadableStreamType = "bytes";
1356813606
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
1356913607
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
1357013608
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";
13609+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "text" | "track" | "video" | "worker" | "xslt";
1357213610
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
1357313611
type RequestPriority = "auto" | "high" | "low";
1357413612
type RequestRedirect = "error" | "follow" | "manual";

0 commit comments

Comments
 (0)