Skip to content

Commit 1413c88

Browse files
ortagithub-actions[bot]
authored andcommitted
🤖 Update core dependencies
1 parent 5bd485e commit 1413c88

23 files changed

+619
-70
lines changed

baselines/dom.generated.d.ts

Lines changed: 62 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ interface DeviceOrientationEventInit extends EventInit {
545545
interface DisplayMediaStreamOptions {
546546
audio?: boolean | MediaTrackConstraints;
547547
video?: boolean | MediaTrackConstraints;
548+
windowAudio?: WindowAudioPreferenceEnum;
548549
}
549550

550551
interface DocumentTimelineOptions {
@@ -5079,7 +5080,7 @@ declare var CSSMathClamp: {
50795080
};
50805081

50815082
/**
5082-
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>).` It inherits properties and methods from its parent CSSNumericValue.
5083+
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
50835084
*
50845085
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
50855086
*/
@@ -6621,6 +6622,7 @@ interface CSSStyleDeclaration {
66216622
vectorEffect: string;
66226623
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
66236624
verticalAlign: string;
6625+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
66246626
viewTransitionClass: string;
66256627
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
66266628
viewTransitionName: string;
@@ -8279,6 +8281,38 @@ declare var CookieStore: {
82798281
new(): CookieStore;
82808282
};
82818283

8284+
/**
8285+
* The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.
8286+
* Available only in secure contexts.
8287+
*
8288+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
8289+
*/
8290+
interface CookieStoreManager {
8291+
/**
8292+
* The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
8293+
*
8294+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
8295+
*/
8296+
getSubscriptions(): Promise<CookieStoreGetOptions[]>;
8297+
/**
8298+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
8299+
*
8300+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
8301+
*/
8302+
subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8303+
/**
8304+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
8305+
*
8306+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
8307+
*/
8308+
unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8309+
}
8310+
8311+
declare var CookieStoreManager: {
8312+
prototype: CookieStoreManager;
8313+
new(): CookieStoreManager;
8314+
};
8315+
82828316
/**
82838317
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
82848318
*
@@ -10691,7 +10725,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1069110725
*/
1069210726
id: string;
1069310727
/**
10694-
* The Element property **`innerHTML`** gets or sets the HTML or XML markup contained within the element.
10728+
* The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.
1069510729
*
1069610730
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
1069710731
*/
@@ -12634,6 +12668,7 @@ interface GlobalEventHandlersEventMap {
1263412668
"pointermove": PointerEvent;
1263512669
"pointerout": PointerEvent;
1263612670
"pointerover": PointerEvent;
12671+
"pointerrawupdate": Event;
1263712672
"pointerup": PointerEvent;
1263812673
"progress": ProgressEvent;
1263912674
"ratechange": Event;
@@ -12805,6 +12840,12 @@ interface GlobalEventHandlers {
1280512840
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1280612841
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
1280712842
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12843+
/**
12844+
* Available only in secure contexts.
12845+
*
12846+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
12847+
*/
12848+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1280812849
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
1280912850
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1281012851
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
@@ -17393,14 +17434,14 @@ interface HTMLTextAreaElement extends HTMLElement {
1739317434
*/
1739417435
setCustomValidity(error: string): void;
1739517436
/**
17396-
* The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in an textarea element with new text passed as the argument.
17437+
* The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in a textarea element with new text passed as the argument.
1739717438
*
1739817439
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText)
1739917440
*/
1740017441
setRangeText(replacement: string): void;
1740117442
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
1740217443
/**
17403-
* The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in an textarea element.
17444+
* The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in a textarea element.
1740417445
*
1740517446
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
1740617447
*/
@@ -24096,7 +24137,7 @@ declare var ProcessingInstruction: {
2409624137
};
2409724138

2409824139
/**
24099-
* The **`ProgressEvent`** interface represents events measuring progress of an underlying process, like an HTTP request (for an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
24140+
* The **`ProgressEvent`** interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
2410024141
*
2410124142
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
2410224143
*/
@@ -24108,14 +24149,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
2410824149
*/
2410924150
readonly lengthComputable: boolean;
2411024151
/**
24111-
* The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
24152+
* The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
2411224153
*
2411324154
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
2411424155
*/
2411524156
readonly loaded: number;
2411624157
readonly target: T | null;
2411724158
/**
24118-
* The **`ProgressEvent.total`** read-only property is a 64-bit unsigned integer indicating the total size, in bytes, of the data being transmitted or processed.
24159+
* The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
2411924160
*
2412024161
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
2412124162
*/
@@ -30569,6 +30610,12 @@ interface ServiceWorkerRegistration extends EventTarget {
3056930610
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
3057030611
*/
3057130612
readonly active: ServiceWorker | null;
30613+
/**
30614+
* The **`cookies`** read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.
30615+
*
30616+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)
30617+
*/
30618+
readonly cookies: CookieStoreManager;
3057230619
/**
3057330620
* The **`installing`** read-only property of the initially set to `null`.
3057430621
*
@@ -30671,7 +30718,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
3067130718
*/
3067230719
readonly host: Element;
3067330720
/**
30674-
* The **`innerHTML`** property of the ShadowRoot interface sets or returns a reference to the DOM tree inside the `ShadowRoot`.
30721+
* The **`innerHTML`** property of the ShadowRoot interface sets gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.
3067530722
*
3067630723
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML)
3067730724
*/
@@ -38893,6 +38940,12 @@ declare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;
3889338940
declare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;
3889438941
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
3889538942
declare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;
38943+
/**
38944+
* Available only in secure contexts.
38945+
*
38946+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
38947+
*/
38948+
declare var onpointerrawupdate: ((this: Window, ev: Event) => any) | null;
3889638949
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
3889738950
declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;
3889838951
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
@@ -39338,6 +39391,7 @@ type WakeLockType = "screen";
3933839391
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
3933939392
type WebTransportCongestionControl = "default" | "low-latency" | "throughput";
3934039393
type WebTransportErrorSource = "session" | "stream";
39394+
type WindowAudioPreferenceEnum = "exclude" | "system" | "window";
3934139395
type WorkerType = "classic" | "module";
3934239396
type WriteCommandType = "seek" | "truncate" | "write";
3934339397
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";

baselines/dom.iterable.generated.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,21 @@ interface CanvasPathDrawingStyles {
8181
setLineDash(segments: Iterable<number>): void;
8282
}
8383

84+
interface CookieStoreManager {
85+
/**
86+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
87+
*
88+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
89+
*/
90+
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
91+
/**
92+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
93+
*
94+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
95+
*/
96+
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
97+
}
98+
8499
interface CustomStateSet extends Set<string> {
85100
}
86101

baselines/serviceworker.generated.d.ts

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ declare var CSSMathClamp: {
11111111
};
11121112

11131113
/**
1114-
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>).` It inherits properties and methods from its parent CSSNumericValue.
1114+
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
11151115
*
11161116
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
11171117
*/
@@ -2182,6 +2182,38 @@ declare var CookieStore: {
21822182
new(): CookieStore;
21832183
};
21842184

2185+
/**
2186+
* The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.
2187+
* Available only in secure contexts.
2188+
*
2189+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
2190+
*/
2191+
interface CookieStoreManager {
2192+
/**
2193+
* The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
2194+
*
2195+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
2196+
*/
2197+
getSubscriptions(): Promise<CookieStoreGetOptions[]>;
2198+
/**
2199+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
2200+
*
2201+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
2202+
*/
2203+
subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
2204+
/**
2205+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
2206+
*
2207+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
2208+
*/
2209+
unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
2210+
}
2211+
2212+
declare var CookieStoreManager: {
2213+
prototype: CookieStoreManager;
2214+
new(): CookieStoreManager;
2215+
};
2216+
21852217
/**
21862218
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
21872219
*
@@ -6025,7 +6057,7 @@ declare var Permissions: {
60256057
};
60266058

60276059
/**
6028-
* The **`ProgressEvent`** interface represents events measuring progress of an underlying process, like an HTTP request (for an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
6060+
* The **`ProgressEvent`** interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
60296061
*
60306062
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
60316063
*/
@@ -6037,14 +6069,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
60376069
*/
60386070
readonly lengthComputable: boolean;
60396071
/**
6040-
* The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
6072+
* The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
60416073
*
60426074
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
60436075
*/
60446076
readonly loaded: number;
60456077
readonly target: T | null;
60466078
/**
6047-
* The **`ProgressEvent.total`** read-only property is a 64-bit unsigned integer indicating the total size, in bytes, of the data being transmitted or processed.
6079+
* The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
60486080
*
60496081
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
60506082
*/
@@ -6945,6 +6977,7 @@ declare var ServiceWorkerContainer: {
69456977

69466978
interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
69476979
"activate": ExtendableEvent;
6980+
"cookiechange": ExtendableCookieChangeEvent;
69486981
"fetch": FetchEvent;
69496982
"install": ExtendableEvent;
69506983
"message": ExtendableMessageEvent;
@@ -6976,6 +7009,8 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
69767009
readonly cookieStore: CookieStore;
69777010
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */
69787011
onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;
7012+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/cookiechange_event) */
7013+
oncookiechange: ((this: ServiceWorkerGlobalScope, ev: ExtendableCookieChangeEvent) => any) | null;
69797014
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/fetch_event) */
69807015
onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;
69817016
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/install_event) */
@@ -7038,6 +7073,12 @@ interface ServiceWorkerRegistration extends EventTarget {
70387073
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
70397074
*/
70407075
readonly active: ServiceWorker | null;
7076+
/**
7077+
* The **`cookies`** read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.
7078+
*
7079+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)
7080+
*/
7081+
readonly cookies: CookieStoreManager;
70417082
/**
70427083
* The **`installing`** read-only property of the initially set to `null`.
70437084
*
@@ -11162,6 +11203,8 @@ declare var clients: Clients;
1116211203
declare var cookieStore: CookieStore;
1116311204
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */
1116411205
declare var onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;
11206+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/cookiechange_event) */
11207+
declare var oncookiechange: ((this: ServiceWorkerGlobalScope, ev: ExtendableCookieChangeEvent) => any) | null;
1116511208
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/fetch_event) */
1116611209
declare var onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;
1116711210
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/install_event) */

baselines/serviceworker.iterable.generated.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@ interface CanvasPathDrawingStyles {
4242
setLineDash(segments: Iterable<number>): void;
4343
}
4444

45+
interface CookieStoreManager {
46+
/**
47+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
48+
*
49+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
50+
*/
51+
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
52+
/**
53+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
54+
*
55+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
56+
*/
57+
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
58+
}
59+
4560
interface DOMStringList {
4661
[Symbol.iterator](): ArrayIterator<string>;
4762
}

0 commit comments

Comments
 (0)