Skip to content

Commit 33e2d3c

Browse files
authored
Merge branch 'microsoft:main' into main
2 parents 23541ea + 227aa3f commit 33e2d3c

23 files changed

+249
-741
lines changed

.github/workflows/update-core-deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- id: git-diff
4040
run: git diff --quiet HEAD baselines
4141
continue-on-error: true
42-
- uses: peter-evans/create-pull-request@v7
42+
- uses: peter-evans/create-pull-request@v8
4343
if: ${{ steps.git-diff.outcome == 'failure' }}
4444
with:
4545
commit-message: "🤖 Update core dependencies"

baselines/dom.generated.d.ts

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6245,6 +6245,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
62456245
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/anchor-name)
62466246
*/
62476247
anchorName: string;
6248+
/** The anchor-scope CSS property can be used to limit the scope in which a positioned element can be associated with anchor elements to a particular subtree. */
62486249
anchorScope: string;
62496250
/**
62506251
* The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state, and animation-timeline.
@@ -23815,6 +23816,13 @@ declare var NavigateEvent: {
2381523816
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
2381623817
};
2381723818

23819+
interface NavigationEventMap {
23820+
"currententrychange": NavigationCurrentEntryChangeEvent;
23821+
"navigate": NavigateEvent;
23822+
"navigateerror": ErrorEvent;
23823+
"navigatesuccess": Event;
23824+
}
23825+
2381823826
/**
2381923827
* The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
2382023828
*
@@ -23845,6 +23853,14 @@ interface Navigation extends EventTarget {
2384523853
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
2384623854
*/
2384723855
readonly currentEntry: NavigationHistoryEntry | null;
23856+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
23857+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
23858+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
23859+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
23860+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
23861+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
23862+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
23863+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
2384823864
/**
2384923865
* The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
2385023866
*
@@ -23893,6 +23909,10 @@ interface Navigation extends EventTarget {
2389323909
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
2389423910
*/
2389523911
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
23912+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
23913+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
23914+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
23915+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2389623916
}
2389723917

2389823918
declare var Navigation: {
@@ -26242,7 +26262,11 @@ declare var PerformanceObserverEntryList: {
2624226262
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
2624326263
*/
2624426264
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
26245-
/** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
26265+
/**
26266+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
26267+
*
26268+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
26269+
*/
2624626270
toJSON(): any;
2624726271
}
2624826272

@@ -28047,7 +28071,7 @@ interface RTCRtpReceiver {
2804728071
*
2804828072
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform)
2804928073
*/
28050-
transform: RTCRtpTransform | null;
28074+
transform: RTCRtpReceiverTransform | null;
2805128075
/**
2805228076
* The read-only **`transport`** property of an RTCRtpReceiver object provides the RTCDtlsTransport object used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.
2805328077
*
@@ -28127,7 +28151,7 @@ interface RTCRtpSender {
2812728151
*
2812828152
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transform)
2812928153
*/
28130-
transform: RTCRtpTransform | null;
28154+
transform: RTCRtpSenderTransform | null;
2813128155
/**
2813228156
* The read-only **`transport`** property of an RTCRtpSender object provides the RTCDtlsTransport object used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.
2813328157
*
@@ -29561,13 +29585,13 @@ declare var SVGAnimatedRect: {
2956129585
*/
2956229586
interface SVGAnimatedString {
2956329587
/**
29564-
* The **`animVal`** read-only property of the SVGAnimatedString interface contains the same value as the SVGAnimatedString.baseVal property. If the given attribute or property is being animated, it contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, then it contains the same value as baseVal.
29588+
* The **`animVal`** read-only property of the SVGAnimatedString interface is a string representing the animated value of the reflected attribute.
2956529589
*
2956629590
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/animVal)
2956729591
*/
2956829592
readonly animVal: string;
2956929593
/**
29570-
* BaseVal gets or sets the base value of the given attribute before any animations are applied. The base value of the given attribute before applying any animations. Setter throws DOMException.
29594+
* The **`baseVal`** property of the SVGAnimatedString interface gets or sets the base value of the given attribute.
2957129595
*
2957229596
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/baseVal)
2957329597
*/
@@ -33441,7 +33465,7 @@ interface ServiceWorkerContainer extends EventTarget {
3344133465
*/
3344233466
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
3344333467
/**
33444-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
33468+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
3344533469
*
3344633470
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
3344733471
*/
@@ -34344,12 +34368,6 @@ declare var StorageManager: {
3434434368
new(): StorageManager;
3434534369
};
3434634370

34347-
/** @deprecated */
34348-
interface StyleMedia {
34349-
type: string;
34350-
matchMedium(mediaquery: string): boolean;
34351-
}
34352-
3435334371
/**
3435434372
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
3435534373
*
@@ -42471,7 +42489,8 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
4247142489
type OptionalPrefixToken<T extends string> = `${T} ` | "";
4247242490
type PerformanceEntryList = PerformanceEntry[];
4247342491
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
42474-
type RTCRtpTransform = RTCRtpScriptTransform;
42492+
type RTCRtpReceiverTransform = RTCRtpScriptTransform;
42493+
type RTCRtpSenderTransform = RTCRtpScriptTransform;
4247542494
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
4247642495
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
4247742496
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;

baselines/serviceworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7058,7 +7058,7 @@ interface ServiceWorkerContainer extends EventTarget {
70587058
*/
70597059
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
70607060
/**
7061-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
7061+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
70627062
*
70637063
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
70647064
*/

baselines/sharedworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6635,7 +6635,7 @@ interface ServiceWorkerContainer extends EventTarget {
66356635
*/
66366636
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
66376637
/**
6638-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
6638+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
66396639
*
66406640
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
66416641
*/

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

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6235,6 +6235,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
62356235
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/anchor-name)
62366236
*/
62376237
anchorName: string;
6238+
/** The anchor-scope CSS property can be used to limit the scope in which a positioned element can be associated with anchor elements to a particular subtree. */
62386239
anchorScope: string;
62396240
/**
62406241
* The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state, and animation-timeline.
@@ -23791,6 +23792,13 @@ declare var NavigateEvent: {
2379123792
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
2379223793
};
2379323794

23795+
interface NavigationEventMap {
23796+
"currententrychange": NavigationCurrentEntryChangeEvent;
23797+
"navigate": NavigateEvent;
23798+
"navigateerror": ErrorEvent;
23799+
"navigatesuccess": Event;
23800+
}
23801+
2379423802
/**
2379523803
* The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
2379623804
*
@@ -23821,6 +23829,14 @@ interface Navigation extends EventTarget {
2382123829
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
2382223830
*/
2382323831
readonly currentEntry: NavigationHistoryEntry | null;
23832+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
23833+
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
23834+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
23835+
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
23836+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
23837+
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
23838+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
23839+
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
2382423840
/**
2382523841
* The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
2382623842
*
@@ -23869,6 +23885,10 @@ interface Navigation extends EventTarget {
2386923885
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
2387023886
*/
2387123887
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
23888+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
23889+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
23890+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
23891+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2387223892
}
2387323893

2387423894
declare var Navigation: {
@@ -26218,7 +26238,11 @@ declare var PerformanceObserverEntryList: {
2621826238
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
2621926239
*/
2622026240
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
26221-
/** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
26241+
/**
26242+
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
26243+
*
26244+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
26245+
*/
2622226246
toJSON(): any;
2622326247
}
2622426248

@@ -28023,7 +28047,7 @@ interface RTCRtpReceiver {
2802328047
*
2802428048
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform)
2802528049
*/
28026-
transform: RTCRtpTransform | null;
28050+
transform: RTCRtpReceiverTransform | null;
2802728051
/**
2802828052
* The read-only **`transport`** property of an RTCRtpReceiver object provides the RTCDtlsTransport object used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.
2802928053
*
@@ -28103,7 +28127,7 @@ interface RTCRtpSender {
2810328127
*
2810428128
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transform)
2810528129
*/
28106-
transform: RTCRtpTransform | null;
28130+
transform: RTCRtpSenderTransform | null;
2810728131
/**
2810828132
* The read-only **`transport`** property of an RTCRtpSender object provides the RTCDtlsTransport object used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.
2810928133
*
@@ -29536,13 +29560,13 @@ declare var SVGAnimatedRect: {
2953629560
*/
2953729561
interface SVGAnimatedString {
2953829562
/**
29539-
* The **`animVal`** read-only property of the SVGAnimatedString interface contains the same value as the SVGAnimatedString.baseVal property. If the given attribute or property is being animated, it contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, then it contains the same value as baseVal.
29563+
* The **`animVal`** read-only property of the SVGAnimatedString interface is a string representing the animated value of the reflected attribute.
2954029564
*
2954129565
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/animVal)
2954229566
*/
2954329567
readonly animVal: string;
2954429568
/**
29545-
* BaseVal gets or sets the base value of the given attribute before any animations are applied. The base value of the given attribute before applying any animations. Setter throws DOMException.
29569+
* The **`baseVal`** property of the SVGAnimatedString interface gets or sets the base value of the given attribute.
2954629570
*
2954729571
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/baseVal)
2954829572
*/
@@ -33416,7 +33440,7 @@ interface ServiceWorkerContainer extends EventTarget {
3341633440
*/
3341733441
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
3341833442
/**
33419-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
33443+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
3342033444
*
3342133445
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
3342233446
*/
@@ -34319,12 +34343,6 @@ declare var StorageManager: {
3431934343
new(): StorageManager;
3432034344
};
3432134345

34322-
/** @deprecated */
34323-
interface StyleMedia {
34324-
type: string;
34325-
matchMedium(mediaquery: string): boolean;
34326-
}
34327-
3432834346
/**
3432934347
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
3433034348
*
@@ -42445,7 +42463,8 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
4244542463
type OptionalPrefixToken<T extends string> = `${T} ` | "";
4244642464
type PerformanceEntryList = PerformanceEntry[];
4244742465
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
42448-
type RTCRtpTransform = RTCRtpScriptTransform;
42466+
type RTCRtpReceiverTransform = RTCRtpScriptTransform;
42467+
type RTCRtpSenderTransform = RTCRtpScriptTransform;
4244942468
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
4245042469
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
4245142470
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7055,7 +7055,7 @@ interface ServiceWorkerContainer extends EventTarget {
70557055
*/
70567056
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
70577057
/**
7058-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
7058+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
70597059
*
70607060
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
70617061
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6632,7 +6632,7 @@ interface ServiceWorkerContainer extends EventTarget {
66326632
*/
66336633
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
66346634
/**
6635-
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
6635+
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
66366636
*
66376637
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
66386638
*/

0 commit comments

Comments
 (0)