Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
bd92e81
added overriding type to dom lib
cosmic-pixel-painter Sep 24, 2025
4be812a
added onerror test
cosmic-pixel-painter Sep 24, 2025
ac32a76
added event listener fix to html and svg element
cosmic-pixel-painter Sep 24, 2025
cf5656c
added comments to eventlistener test
cosmic-pixel-painter Sep 25, 2025
3d72672
addressed style comment
cosmic-pixel-painter Sep 25, 2025
20d4156
reverted style change
cosmic-pixel-painter Sep 25, 2025
2aa51ae
Update to bcd@7.1.6 (#2166)
saschanaz Sep 26, 2025
24c0ae0
Update to bcd@7.1.8 (#2167)
saschanaz Sep 26, 2025
854128c
Support methods without names in interfaces (#2169)
Bashamega Sep 28, 2025
c7e2a5c
Regroup patches into each spec (#2170)
saschanaz Sep 28, 2025
acf138d
Remove unneeded command maps (#2173)
Bashamega Sep 30, 2025
8339493
Make URLPatternResult properties mandatory (#2183)
Renegade334 Oct 1, 2025
77e5897
Introduce CSSStyleDeclarationBase (#2174)
saschanaz Oct 1, 2025
74cb4f6
Bump actions/setup-node from 4 to 5 (#2182)
dependabot[bot] Oct 2, 2025
2c5635a
Bump the dev-dependencies group across 1 directory with 5 updates (#2…
dependabot[bot] Oct 2, 2025
3baf463
Bump eslint from 9.34.0 to 9.36.0 in the eslint group across 1 direct…
dependabot[bot] Oct 2, 2025
eeea584
Move iterables into main d.ts files in 6.0, reference es2015 and es20…
jakebailey Oct 2, 2025
cf21d7e
Use union for FileSystemDirectoryHandle (#2186)
saschanaz Oct 3, 2025
9b934cb
Add curly rule to ESLint configuration (#2189)
Bashamega Oct 5, 2025
0a73b57
Update to bcd@7.1.10, idl@3.68.0 (#2190)
saschanaz Oct 5, 2025
8593eb5
Update core dependencies (#2149)
typescript-bot Oct 6, 2025
e1b6aac
Remove redundant SVGStyleElement override (#2192)
Renegade334 Oct 7, 2025
c917dc5
Update core dependencies (#2191)
typescript-bot Oct 10, 2025
a0a37cf
Update core dependencies (#2195)
typescript-bot Oct 13, 2025
c51c5e2
Fix a few deploy issues (#2194)
jakebailey Oct 13, 2025
41c31e6
Update core dependencies (#2196)
typescript-bot Oct 16, 2025
843135f
Update core dependencies (#2198)
typescript-bot Oct 18, 2025
35399c7
Update core dependencies (#2200)
typescript-bot Oct 22, 2025
c84a7fb
Update core dependencies (#2202)
typescript-bot Oct 23, 2025
0297597
Un-quash `ReadableStreamBYOBReader#read` options parameter (#2201)
Renegade334 Oct 23, 2025
9bdb029
Update messageerror event's type in service worker to ExtendableMessa…
dhurlburtusa Oct 25, 2025
60b79a3
Update core dependencies (#2207)
typescript-bot Oct 27, 2025
77d2da9
Update core dependencies (#2208)
typescript-bot Oct 29, 2025
b1aac77
Recreate codeql workflow (#2184)
jakebailey Oct 29, 2025
f3422d1
Bump github/codeql-action from 3.29.7 to 3.30.5 (#2181)
dependabot[bot] Oct 29, 2025
aed91e4
Adds TSGO (#2104)
Bashamega Oct 30, 2025
882eef0
Update core dependencies (#2210)
typescript-bot Oct 31, 2025
68a36dc
Update core dependencies (#2212)
typescript-bot Oct 31, 2025
3e0771e
Fix overrides for non-shared ArrayBuffer views (#2206)
Renegade334 Nov 1, 2025
d21b002
MDN description V2 (#2171)
Bashamega Nov 1, 2025
e507064
Remove unused commentCleanup function from emitDom in build.ts (#2215)
Bashamega Nov 1, 2025
1e15d5c
Migrate deprecated json file to KDL (#2214)
Bashamega Nov 1, 2025
41ce939
Bump actions/setup-node from 5 to 6 (#2223)
dependabot[bot] Nov 1, 2025
358c4d3
Bump the dev-dependencies group with 7 updates (#2220)
dependabot[bot] Nov 2, 2025
ad36cbe
Update core dependencies (#2216)
typescript-bot Nov 2, 2025
00d9145
Bump eslint from 9.36.0 to 9.39.0 in the eslint group across 1 direct…
dependabot[bot] Nov 2, 2025
27f8b71
Remove `toLowerCase` functions in MDN comments (#2224)
Bashamega Nov 2, 2025
7179603
Refactor CSS utility functions and remove unused files (#2217)
Bashamega Nov 2, 2025
17ac2ac
Comments for css (#2218)
Bashamega Nov 3, 2025
6253970
Bump @webref/css from 6.23.15 to 8.0.0 (#2230)
saschanaz Nov 3, 2025
0a38f9e
Migrate payment related interfaces & Support Interface rename (#2229)
Bashamega Nov 3, 2025
53c90c7
Add support for parsing dictionary nodes in KDL (#2228)
Bashamega Nov 4, 2025
f4264a2
Update core dependencies (#2233)
typescript-bot Nov 4, 2025
2bdd496
Migrate ValueTypeMap & MemoryDescriptor (#2232)
Bashamega Nov 5, 2025
8fc0682
Migrate file system to KDL (#2234)
Bashamega Nov 5, 2025
fb8ed4c
Migrated device-motion to KDL (#2235)
martymcnutt1 Nov 5, 2025
8517969
Add support for parsing deprecated property in member nodes (#2231)
Bashamega Nov 5, 2025
93d8936
Bump actions/checkout from 4 to 5 (#2132)
dependabot[bot] Nov 5, 2025
3ebbf4f
override scroll methods to return void until browser implementation c…
Bashamega Nov 6, 2025
609f1e1
Refactor emitFlavor function to streamline file generation (#2240)
Bashamega Nov 6, 2025
53ab565
Migrate URL patterns (#2239)
Bashamega Nov 6, 2025
2cea3f6
Migrate CSSFontFaceRule and CSSStyleProperties (#2238)
Bashamega Nov 6, 2025
84cf9ae
Sort fetched MDN data by URL before saving to file (#2243)
Bashamega Nov 6, 2025
659ad52
Add handling for type parameters and override type in dictionary memb…
Bashamega Nov 6, 2025
fd68358
Migrate websockets and remove extra websocket related events (#2246)
Bashamega Nov 6, 2025
4ce7a4d
Migrate Crypto and handle property typed (#2244)
Bashamega Nov 6, 2025
89714d0
Move the generate comments function down after all the merges (#2245)
Bashamega Nov 6, 2025
f915ac0
Support for multiple method signatures (#2227)
Bashamega Nov 7, 2025
8f1ef52
Bump js-yaml from 4.1.0 to 4.1.1 (#2251)
dependabot[bot] Nov 15, 2025
4792f8a
Bump glob from 11.0.1 to 11.1.0 (#2253)
dependabot[bot] Nov 18, 2025
8338cdf
Removed extra entries (#2248)
Bashamega Nov 23, 2025
17a020b
Adjust @webref/events listAll return type (#2255)
erik-beus Nov 23, 2025
945a62b
Bump actions/checkout from 5 to 6 (#2262)
dependabot[bot] Dec 2, 2025
2afd637
Add `"until-found"` to `HTMLElement.hidden` (#2254)
laymonage Dec 2, 2025
caaa677
Bump @webref/css from 8.0.1 to 8.1.0 (#2260)
dependabot[bot] Dec 2, 2025
67ceacc
Bump @webref/events from 1.19.1 to 1.19.2 (#2259)
dependabot[bot] Dec 2, 2025
9969062
KDL support for removals (#2250)
Bashamega Dec 2, 2025
7cbed05
Support more options for typeParameters (#2249)
Bashamega Dec 2, 2025
05aa22e
Bump the eslint group with 3 updates (#2257)
dependabot[bot] Dec 3, 2025
d486bb2
Bump @webref/idl from 3.68.4 to 3.69.0 (#2265)
saschanaz Dec 3, 2025
ad91b6a
Bump the dev-dependencies group across 1 directory with 4 updates (#2…
dependabot[bot] Dec 3, 2025
96e152c
Unhide showPopover/togglePopover options (#2266)
saschanaz Dec 4, 2025
f15f2b3
Update MDN comments (#2267)
saschanaz Dec 4, 2025
3900beb
Update to bcd@7.1.23, idl@3.69.1 (#2268)
saschanaz Dec 4, 2025
e471abc
Bump jws from 3.2.2 to 3.2.3 (#2270)
dependabot[bot] Dec 5, 2025
e7b79de
gave overriding type a more descriptive name
cosmic-pixel-painter Dec 6, 2025
0dc24aa
added overriding type to dom lib
cosmic-pixel-painter Sep 24, 2025
9b4cda8
added onerror test
cosmic-pixel-painter Sep 24, 2025
ac15d69
added event listener fix to html and svg element
cosmic-pixel-painter Sep 24, 2025
33ad906
added comments to eventlistener test
cosmic-pixel-painter Sep 25, 2025
72be5b4
addressed style comment
cosmic-pixel-painter Sep 25, 2025
88eb1fc
reverted style change
cosmic-pixel-painter Sep 25, 2025
2503891
gave overriding type a more descriptive name
cosmic-pixel-painter Dec 6, 2025
15d2335
rebased with upstream
cosmic-pixel-painter Dec 6, 2025
1eb4210
merged down
cosmic-pixel-painter Dec 6, 2025
0921ccf
merged down
cosmic-pixel-painter Dec 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true # Ensures submodules are cloned


- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "lts/*"
cache: npm

- run: npm ci
- run: npm run build
- run: npm test
- run: npx tsgo
2 changes: 1 addition & 1 deletion .github/workflows/codeowners-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Run Codeowners merge check
uses: OSS-Docs-Tools/code-owner-self-merge@1.6.8
if: github.repository == 'microsoft/TypeScript-DOM-lib-generator'
Expand Down
137 changes: 83 additions & 54 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,71 +1,100 @@
name: 'Code Scanning - Action'
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Advanced"

on:
push:
branches:
- main
branches: [ "main" ]
pull_request:
branches:
- main
branches: [ "main" ]
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: '30 1 * * 0'

permissions:
contents: read

# Ensure scripts are run with pipefail. See:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
defaults:
run:
shell: bash
- cron: '19 8 * * 6'

jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript-DOM-lib-generator'

analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
with:
config-file: ./.github/codeql/codeql-configuration.yml
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v6

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
uses: github/codeql-action/autobuild@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# ✏️ If the Autobuild fails above, remove it and uncomment the following
# three lines and modify them (or add more) to build your code if your
# project uses a compiled language
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

#- run: |
# make bootstrap
# make release
# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: true # Ensures submodules are cloned

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "lts/*"
cache: npm
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test_typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true # Ensures submodules are cloned

- uses: actions/checkout@v6

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "lts/*"
cache: npm
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/update-core-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ jobs:
update-webref:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true # Ensure submodules are checked out
- uses: actions/checkout@v6

- name: Update submodules
run: git submodule update --init --remote
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "lts/*"
cache: npm
Expand All @@ -31,6 +27,8 @@ jobs:
# This prevents annoying change when contributors run `npm i` on their local machine.
# Example: https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1463
- run: npm i
- name: Update MDN Data
run: node scripts/fetch-mdn.js
- id: build
run: npm run generate
continue-on-error: true
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

14 changes: 2 additions & 12 deletions baselines/audioworklet.asynciterable.generated.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
/////////////////////////////
/// AudioWorklet Async Iterable APIs
/////////////////////////////

interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
[Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
}

interface ReadableStream<R = any> {
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
}
// This file's contents are now included in the main types file.
// The file has been left for backward compatibility.
Loading