Skip to content

Bump mdn BCD to 8.0.5 - #2557

Merged
github-actions[bot] merged 13 commits into
microsoft:mainfrom
Bashamega:bump-mdn
Nov 8, 2026
Merged

github-actions[bot] merged 13 commits into
microsoft:mainfrom
Bashamega:bump-mdn

Conversation

@Bashamega

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Bashamega <adambashaahmednaji@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by Kagami Sascha Rosylight (@saschanaz) - if they write a comment saying "LGTM" then it will be merged.

*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/from_static)
*/
from(asyncIterable: never): ReadableStream;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now we need to deal with this

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just made it never what it should be?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something not never, likely AsyncIterable | Iterable per https://webidl.spec.whatwg.org/#js-async-iterable. And skip AsyncIterable where it's not available.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@saschanaz

Copy link
Copy Markdown
Contributor

Please tell the version in the PR title

@Bashamega Adam Naji (Bashamega) changed the title Bump mdn BCD Bump mdn BCD to 8.0.5 Sep 19, 2026
Signed-off-by: Bashamega <adambashaahmednaji@gmail.com>
Signed-off-by: Bashamega <adambashaahmednaji@gmail.com>
Comment thread src/build/emitter.ts Outdated
JSON.stringify(obj),
);
return "never"; // Use 'never' to signal omission in type generation
if (compilerBehavior.treatAsyncSequence) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not letting asynciterable.d.ts emit the extra signature, it should.

@Bashamega Adam Naji (Bashamega) Sep 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do we emit to asynciterable.d.ts, I tried to understand how it emits but couldn't solve it.. feel free to cherry pick the pr if you want

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refer to existing logic to have Iterable signatures conditionally, we should be able to do the same.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And Iterable itself should be there so ES5 won't get it.

I'm not sure how much we want to spend time to support older TS compilers though? There's no policy, and I never really intend to maintain all the matrix, it was only added to cover the massive ArrayBuffer change and since then it only added up.

Thoughts? Jake Bailey (@jakebailey)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how old you're planning on dropping, but we could probably drop anything older than 5.8, or at least match DT

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, let's drop them, in a separate PR

Adam Naji (Bashamega) and others added 6 commits October 6, 2026 21:14
-
Signed-off-by: Bashamega <adambashaahmednaji@gmail.com>
Signed-off-by: Bashamega <adambashaahmednaji@gmail.com>
Signed-off-by: Bashamega <adambashaahmednaji@gmail.com>
@Bashamega

Copy link
Copy Markdown
Contributor Author

I have updated it Kagami Sascha Rosylight (@saschanaz)

@Bashamega

Copy link
Copy Markdown
Contributor Author

What do you think for this pr what is left to get this going? Kagami Sascha Rosylight (@saschanaz)

@saschanaz

Copy link
Copy Markdown
Contributor

Type additions are good, will accept once the test finishes

@saschanaz

Copy link
Copy Markdown
Contributor

LGTM

@github-actions
github-actions Bot merged commit 2511236 into microsoft:main Nov 8, 2026
6 checks passed
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Merging because Kagami Sascha Rosylight (@saschanaz) is a code-owner of all the changes - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants