Skip to content

Commit f4ce5c5

Browse files
committed
Merge branch 'main' into merge-iterables
2 parents 5760356 + 2c5635a commit f4ce5c5

39 files changed

+405
-912
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
submodules: true # Ensures submodules are cloned
1212

1313

14-
- uses: actions/setup-node@v4
14+
- uses: actions/setup-node@v5
1515
with:
1616
node-version: "lts/*"
1717
cache: npm

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
submodules: true # Ensures submodules are cloned
2121

22-
- uses: actions/setup-node@v4
22+
- uses: actions/setup-node@v5
2323
with:
2424
node-version: "lts/*"
2525
cache: npm

.github/workflows/test_typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
submodules: true # Ensures submodules are cloned
1919

2020

21-
- uses: actions/setup-node@v4
21+
- uses: actions/setup-node@v5
2222
with:
2323
node-version: "lts/*"
2424
cache: npm

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- name: Update submodules
1919
run: git submodule update --init --remote
20-
- uses: actions/setup-node@v4
20+
- uses: actions/setup-node@v5
2121
with:
2222
node-version: "lts/*"
2323
cache: npm

baselines/dom.generated.d.ts

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2366,8 +2366,8 @@ interface ULongRange {
23662366
}
23672367

23682368
interface URLPatternComponentResult {
2369-
groups?: Record<string, string | undefined>;
2370-
input?: string;
2369+
groups: Record<string, string | undefined>;
2370+
input: string;
23712371
}
23722372

23732373
interface URLPatternInit {
@@ -2387,15 +2387,15 @@ interface URLPatternOptions {
23872387
}
23882388

23892389
interface URLPatternResult {
2390-
hash?: URLPatternComponentResult;
2391-
hostname?: URLPatternComponentResult;
2392-
inputs?: URLPatternInput[];
2393-
password?: URLPatternComponentResult;
2394-
pathname?: URLPatternComponentResult;
2395-
port?: URLPatternComponentResult;
2396-
protocol?: URLPatternComponentResult;
2397-
search?: URLPatternComponentResult;
2398-
username?: URLPatternComponentResult;
2390+
hash: URLPatternComponentResult;
2391+
hostname: URLPatternComponentResult;
2392+
inputs: URLPatternInput[];
2393+
password: URLPatternComponentResult;
2394+
pathname: URLPatternComponentResult;
2395+
port: URLPatternComponentResult;
2396+
protocol: URLPatternComponentResult;
2397+
search: URLPatternComponentResult;
2398+
username: URLPatternComponentResult;
23992399
}
24002400

24012401
interface UnderlyingByteSource {
@@ -4824,7 +4824,7 @@ interface CSSFontFaceRule extends CSSRule {
48244824
*
48254825
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
48264826
*/
4827-
get style(): CSSStyleProperties;
4827+
get style(): CSSStyleDeclaration;
48284828
set style(cssText: string);
48294829
}
48304830

@@ -4994,7 +4994,7 @@ interface CSSKeyframeRule extends CSSRule {
49944994
*
49954995
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
49964996
*/
4997-
get style(): CSSStyleProperties;
4997+
get style(): CSSStyleDeclaration;
49984998
set style(cssText: string);
49994999
}
50005000

@@ -5329,7 +5329,7 @@ interface CSSNestedDeclarations extends CSSRule {
53295329
*
53305330
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)
53315331
*/
5332-
get style(): CSSStyleProperties;
5332+
get style(): CSSStyleDeclaration;
53335333
set style(cssText: string);
53345334
}
53355335

@@ -5443,7 +5443,7 @@ declare var CSSNumericValue: {
54435443
*
54445444
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors)
54455445
*/
5446-
interface CSSPageDescriptors extends CSSStyleDeclaration {
5446+
interface CSSPageDescriptors extends CSSStyleDeclarationBase {
54475447
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin) */
54485448
margin: string;
54495449
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-bottom) */
@@ -5521,7 +5521,7 @@ declare var CSSPerspective: {
55215521
*
55225522
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors)
55235523
*/
5524-
interface CSSPositionTryDescriptors extends CSSStyleDeclaration {
5524+
interface CSSPositionTryDescriptors extends CSSStyleDeclarationBase {
55255525
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
55265526
"align-self": string;
55275527
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
@@ -5995,7 +5995,7 @@ declare var CSSStartingStyleRule: {
59955995
*
59965996
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
59975997
*/
5998-
interface CSSStyleDeclaration {
5998+
interface CSSStyleDeclarationBase {
59995999
/**
60006000
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
60016001
*
@@ -6047,12 +6047,15 @@ interface CSSStyleDeclaration {
60476047
[index: number]: string;
60486048
}
60496049

6050+
interface CSSStyleDeclaration extends CSSStyleProperties {
6051+
}
6052+
60506053
declare var CSSStyleDeclaration: {
60516054
prototype: CSSStyleDeclaration;
60526055
new(): CSSStyleDeclaration;
60536056
};
60546057

6055-
interface CSSStyleProperties extends CSSStyleDeclaration {
6058+
interface CSSStyleProperties extends CSSStyleDeclarationBase {
60566059
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
60576060
accentColor: string;
60586061
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content) */
@@ -7417,7 +7420,7 @@ interface CSSStyleRule extends CSSGroupingRule {
74177420
*
74187421
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
74197422
*/
7420-
get style(): CSSStyleProperties;
7423+
get style(): CSSStyleDeclaration;
74217424
set style(cssText: string);
74227425
/**
74237426
* The **`styleMap`** read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access to the rule's property-value pairs.
@@ -11461,7 +11464,7 @@ interface ElementCSSInlineStyle {
1146111464
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */
1146211465
readonly attributeStyleMap: StylePropertyMap;
1146311466
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
11464-
get style(): CSSStyleProperties;
11467+
get style(): CSSStyleDeclaration;
1146511468
set style(cssText: string);
1146611469
}
1146711470

@@ -37358,7 +37361,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
3735837361
*
3735937362
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
3736037363
*/
37361-
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
37364+
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;
3736237365
/**
3736337366
* The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret.
3736437367
*
@@ -39460,7 +39463,7 @@ declare function focus(): void;
3946039463
*
3946139464
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
3946239465
*/
39463-
declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
39466+
declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;
3946439467
/**
3946539468
* The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret.
3946639469
*

baselines/serviceworker.generated.d.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -743,8 +743,8 @@ interface Transformer<I = any, O = any> {
743743
}
744744

745745
interface URLPatternComponentResult {
746-
groups?: Record<string, string | undefined>;
747-
input?: string;
746+
groups: Record<string, string | undefined>;
747+
input: string;
748748
}
749749

750750
interface URLPatternInit {
@@ -764,15 +764,15 @@ interface URLPatternOptions {
764764
}
765765

766766
interface URLPatternResult {
767-
hash?: URLPatternComponentResult;
768-
hostname?: URLPatternComponentResult;
769-
inputs?: URLPatternInput[];
770-
password?: URLPatternComponentResult;
771-
pathname?: URLPatternComponentResult;
772-
port?: URLPatternComponentResult;
773-
protocol?: URLPatternComponentResult;
774-
search?: URLPatternComponentResult;
775-
username?: URLPatternComponentResult;
767+
hash: URLPatternComponentResult;
768+
hostname: URLPatternComponentResult;
769+
inputs: URLPatternInput[];
770+
password: URLPatternComponentResult;
771+
pathname: URLPatternComponentResult;
772+
port: URLPatternComponentResult;
773+
protocol: URLPatternComponentResult;
774+
search: URLPatternComponentResult;
775+
username: URLPatternComponentResult;
776776
}
777777

778778
interface UnderlyingByteSource {

baselines/sharedworker.generated.d.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,8 @@ interface Transformer<I = any, O = any> {
673673
}
674674

675675
interface URLPatternComponentResult {
676-
groups?: Record<string, string | undefined>;
677-
input?: string;
676+
groups: Record<string, string | undefined>;
677+
input: string;
678678
}
679679

680680
interface URLPatternInit {
@@ -694,15 +694,15 @@ interface URLPatternOptions {
694694
}
695695

696696
interface URLPatternResult {
697-
hash?: URLPatternComponentResult;
698-
hostname?: URLPatternComponentResult;
699-
inputs?: URLPatternInput[];
700-
password?: URLPatternComponentResult;
701-
pathname?: URLPatternComponentResult;
702-
port?: URLPatternComponentResult;
703-
protocol?: URLPatternComponentResult;
704-
search?: URLPatternComponentResult;
705-
username?: URLPatternComponentResult;
697+
hash: URLPatternComponentResult;
698+
hostname: URLPatternComponentResult;
699+
inputs: URLPatternInput[];
700+
password: URLPatternComponentResult;
701+
pathname: URLPatternComponentResult;
702+
port: URLPatternComponentResult;
703+
protocol: URLPatternComponentResult;
704+
search: URLPatternComponentResult;
705+
username: URLPatternComponentResult;
706706
}
707707

708708
interface UnderlyingByteSource {

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

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2363,8 +2363,8 @@ interface ULongRange {
23632363
}
23642364

23652365
interface URLPatternComponentResult {
2366-
groups?: Record<string, string | undefined>;
2367-
input?: string;
2366+
groups: Record<string, string | undefined>;
2367+
input: string;
23682368
}
23692369

23702370
interface URLPatternInit {
@@ -2384,15 +2384,15 @@ interface URLPatternOptions {
23842384
}
23852385

23862386
interface URLPatternResult {
2387-
hash?: URLPatternComponentResult;
2388-
hostname?: URLPatternComponentResult;
2389-
inputs?: URLPatternInput[];
2390-
password?: URLPatternComponentResult;
2391-
pathname?: URLPatternComponentResult;
2392-
port?: URLPatternComponentResult;
2393-
protocol?: URLPatternComponentResult;
2394-
search?: URLPatternComponentResult;
2395-
username?: URLPatternComponentResult;
2387+
hash: URLPatternComponentResult;
2388+
hostname: URLPatternComponentResult;
2389+
inputs: URLPatternInput[];
2390+
password: URLPatternComponentResult;
2391+
pathname: URLPatternComponentResult;
2392+
port: URLPatternComponentResult;
2393+
protocol: URLPatternComponentResult;
2394+
search: URLPatternComponentResult;
2395+
username: URLPatternComponentResult;
23962396
}
23972397

23982398
interface UnderlyingByteSource {
@@ -4821,7 +4821,7 @@ interface CSSFontFaceRule extends CSSRule {
48214821
*
48224822
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
48234823
*/
4824-
readonly style: CSSStyleProperties;
4824+
readonly style: CSSStyleDeclaration;
48254825
}
48264826

48274827
declare var CSSFontFaceRule: {
@@ -4989,7 +4989,7 @@ interface CSSKeyframeRule extends CSSRule {
49894989
*
49904990
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
49914991
*/
4992-
readonly style: CSSStyleProperties;
4992+
readonly style: CSSStyleDeclaration;
49934993
}
49944994

49954995
declare var CSSKeyframeRule: {
@@ -5322,7 +5322,7 @@ interface CSSNestedDeclarations extends CSSRule {
53225322
*
53235323
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)
53245324
*/
5325-
readonly style: CSSStyleProperties;
5325+
readonly style: CSSStyleDeclaration;
53265326
}
53275327

53285328
declare var CSSNestedDeclarations: {
@@ -5435,7 +5435,7 @@ declare var CSSNumericValue: {
54355435
*
54365436
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors)
54375437
*/
5438-
interface CSSPageDescriptors extends CSSStyleDeclaration {
5438+
interface CSSPageDescriptors extends CSSStyleDeclarationBase {
54395439
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin) */
54405440
margin: string;
54415441
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-bottom) */
@@ -5512,7 +5512,7 @@ declare var CSSPerspective: {
55125512
*
55135513
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors)
55145514
*/
5515-
interface CSSPositionTryDescriptors extends CSSStyleDeclaration {
5515+
interface CSSPositionTryDescriptors extends CSSStyleDeclarationBase {
55165516
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
55175517
"align-self": string;
55185518
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
@@ -5985,7 +5985,7 @@ declare var CSSStartingStyleRule: {
59855985
*
59865986
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
59875987
*/
5988-
interface CSSStyleDeclaration {
5988+
interface CSSStyleDeclarationBase {
59895989
/**
59905990
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
59915991
*
@@ -6037,12 +6037,15 @@ interface CSSStyleDeclaration {
60376037
[index: number]: string;
60386038
}
60396039

6040+
interface CSSStyleDeclaration extends CSSStyleProperties {
6041+
}
6042+
60406043
declare var CSSStyleDeclaration: {
60416044
prototype: CSSStyleDeclaration;
60426045
new(): CSSStyleDeclaration;
60436046
};
60446047

6045-
interface CSSStyleProperties extends CSSStyleDeclaration {
6048+
interface CSSStyleProperties extends CSSStyleDeclarationBase {
60466049
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
60476050
accentColor: string;
60486051
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content) */
@@ -7407,7 +7410,7 @@ interface CSSStyleRule extends CSSGroupingRule {
74077410
*
74087411
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
74097412
*/
7410-
readonly style: CSSStyleProperties;
7413+
readonly style: CSSStyleDeclaration;
74117414
/**
74127415
* The **`styleMap`** read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access to the rule's property-value pairs.
74137416
*
@@ -11448,7 +11451,7 @@ interface ElementCSSInlineStyle {
1144811451
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */
1144911452
readonly attributeStyleMap: StylePropertyMap;
1145011453
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
11451-
readonly style: CSSStyleProperties;
11454+
readonly style: CSSStyleDeclaration;
1145211455
}
1145311456

1145411457
interface ElementContentEditable {
@@ -37332,7 +37335,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
3733237335
*
3733337336
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
3733437337
*/
37335-
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
37338+
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;
3733637339
/**
3733737340
* The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret.
3733837341
*
@@ -39434,7 +39437,7 @@ declare function focus(): void;
3943439437
*
3943539438
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
3943639439
*/
39437-
declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
39440+
declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;
3943839441
/**
3943939442
* The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret.
3944039443
*

0 commit comments

Comments
 (0)