Skip to content

Change view type annotation to Uint8Array#63130

Open
debojeetmitra wants to merge 2 commits intonodejs:mainfrom
debojeetmitra:main
Open

Change view type annotation to Uint8Array#63130
debojeetmitra wants to merge 2 commits intonodejs:mainfrom
debojeetmitra:main

Conversation

@debojeetmitra
Copy link
Copy Markdown

This change narrows the documented return type of
ReadableStreamBYOBRequest.view from ArrayBufferView to Uint8Array,
reflecting the specification update in whatwg/streams#1367.

Closes #62952

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. web streams labels May 5, 2026
@addaleax addaleax added the request-ci Add this label to start a Jenkins CI on a PR. label May 6, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 6, 2026
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@debojeetmitra
Copy link
Copy Markdown
Author

Hi, thanks for the reviews!

It looks like the CI checks are failing across multiple environments after this change. I suspect the type narrowing to Uint8Array might be affecting some existing expectations.

Could you please advise if this change needs to be adjusted or if I should align it differently with the current implementation/tests? Happy to update accordingly.

Thanks!

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

Labels

needs-ci PRs that need a full CI run. web streams

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webstreams: narrow ReadableStreamBYOBRequest.view to Uint8Array

4 participants