Skip to content

Commit b3feaf7

Browse files
committed
Merge branch 'main' into builtiniteratorreturn
2 parents 13ee015 + 2939d4f commit b3feaf7

21 files changed

+998
-1829
lines changed

.github/dependabot.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,24 @@ updates:
1010
# Check the npm registry for updates every month
1111
schedule:
1212
interval: "monthly"
13-
# Bump versions only in package-lock.json
14-
versioning-strategy: "lockfile-only"
13+
# Usually only bump versions in package-lock.json, but update package.json for major version updates
14+
versioning-strategy: "increase-if-necessary"
15+
# Update all dependencies in a single PR
16+
groups:
17+
# ESLint usually requires updating together for major updates
18+
eslint:
19+
patterns:
20+
- "eslint*"
21+
- "@typescript-eslint/*"
22+
# Other updates should be okay all at once
23+
dev-dependencies:
24+
patterns:
25+
- "*"
26+
exclude-patterns:
27+
- "@mdn/*"
28+
- "@webref/*"
29+
# Enable version updates for GitHub Actions
30+
- package-ecosystem: "github-actions"
31+
directory: "/"
32+
schedule:
33+
interval: "monthly"

.github/workflows/codeowners-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Run Codeowners merge check
18-
uses: OSS-Docs-Tools/[email protected].3
18+
uses: OSS-Docs-Tools/[email protected].6
1919
if: github.repository == 'microsoft/TypeScript-DOM-lib-generator'
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040

4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
43+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
47+
uses: github/codeql-action/init@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7
4848
with:
4949
config-file: ./.github/codeql/codeql-configuration.yml
5050
# Override language selection by uncommenting this and choosing your languages
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below).
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
57+
uses: github/codeql-action/autobuild@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -68,4 +68,4 @@ jobs:
6868
# make release
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
71+
uses: github/codeql-action/analyze@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7

.github/workflows/pr-to-typescript.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- run: npm run build
1818
- run: npm test
1919

20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
with:
2222
repository: "microsoft/TypeScript"
2323
path: "TypeScript"
@@ -33,7 +33,7 @@ jobs:
3333
gulp baseline-accept
3434
git restore package-lock.json
3535
36-
- uses: peter-evans/create-pull-request@v3
36+
- uses: peter-evans/create-pull-request@v6
3737
with:
3838
path: TypeScript
3939
commit-message: "🤖 Update TypeScript DOM Libs"

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
# Use ncu to detect major version changes
2121
- run: npm i -g npm-check-updates
22-
- run: ncu -u
22+
- run: ncu -u @mdn* @webref*
2323
- run: npm i
2424
- run: git restore package.json
2525
# package-lock wants to remember the original version numbers of package.json
@@ -31,10 +31,12 @@ jobs:
3131
continue-on-error: true
3232
- if: ${{ steps.build.outcome == 'failure' }}
3333
run: node deploy/onUpdateFailure.js
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.TS_GITHUB_BOT_AUTH }}
3436
- id: git-diff
3537
run: git diff --quiet HEAD baselines
3638
continue-on-error: true
37-
- uses: peter-evans/create-pull-request@v3
39+
- uses: peter-evans/create-pull-request@v6
3840
if: ${{ steps.git-diff.outcome == 'failure' }}
3941
with:
4042
commit-message: "🤖 Update core dependencies"

baselines/audioworklet.generated.d.ts

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -424,15 +424,10 @@ declare var DecompressionStream: {
424424
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
425425
*/
426426
interface ErrorEvent extends Event {
427-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
428427
readonly colno: number;
429-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
430428
readonly error: any;
431-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
432429
readonly filename: string;
433-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
434430
readonly lineno: number;
435-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
436431
readonly message: string;
437432
}
438433

@@ -664,11 +659,7 @@ interface MessageEvent<T = any> extends Event {
664659
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
665660
*/
666661
readonly source: MessageEventSource | null;
667-
/**
668-
* @deprecated
669-
*
670-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
671-
*/
662+
/** @deprecated */
672663
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
673664
}
674665

@@ -1025,7 +1016,9 @@ declare var URL: {
10251016
prototype: URL;
10261017
new(url: string | URL, base?: string | URL): URL;
10271018
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
1028-
canParse(url: string | URL, base?: string): boolean;
1019+
canParse(url: string | URL, base?: string | URL): boolean;
1020+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
1021+
parse(url: string | URL, base?: string | URL): URL | null;
10291022
};
10301023

10311024
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
@@ -1166,7 +1159,7 @@ interface Console {
11661159
clear(): void;
11671160
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
11681161
count(label?: string): void;
1169-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
1162+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
11701163
countReset(label?: string): void;
11711164
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
11721165
debug(...data: any[]): void;
@@ -1178,9 +1171,9 @@ interface Console {
11781171
error(...data: any[]): void;
11791172
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
11801173
group(...data: any[]): void;
1181-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
1174+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
11821175
groupCollapsed(...data: any[]): void;
1183-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
1176+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
11841177
groupEnd(): void;
11851178
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
11861179
info(...data: any[]): void;
@@ -1190,9 +1183,9 @@ interface Console {
11901183
table(tabularData?: any, properties?: string[]): void;
11911184
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
11921185
time(label?: string): void;
1193-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
1186+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
11941187
timeEnd(label?: string): void;
1195-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
1188+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
11961189
timeLog(label?: string, ...data: any[]): void;
11971190
timeStamp(label?: string): void;
11981191
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
@@ -1215,9 +1208,7 @@ declare namespace WebAssembly {
12151208

12161209
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
12171210
interface Global<T extends ValueType = ValueType> {
1218-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
12191211
value: ValueTypeMap[T];
1220-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
12211212
valueOf(): ValueTypeMap[T];
12221213
}
12231214

baselines/audioworklet.iterable.generated.d.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ interface AbortSignal {
88
}
99

1010
interface MessageEvent<T = any> {
11-
/**
12-
* @deprecated
13-
*
14-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
15-
*/
11+
/** @deprecated */
1612
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
1713
}
1814

0 commit comments

Comments
 (0)