FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Change view type annotation to Uint8Array by debojeetmitra · Pull Request #63130 · nodejs/node · GitHub

/ node Public

Change view type annotation to Uint8Array - #63130

Closed
debojeetmitra wants to merge 2 commits into
nodejs:mainfrom
debojeetmitra:main
Closed

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

Conversation

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 added needs-ci PRs that need a full CI run. web streams labels May 5, 2026
addaleax added the request-ci Add this label to start a Jenkins CI on a PR. label May 6, 2026
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 6, 2026

Copy link
Copy Markdown
Collaborator

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!

Copy link
Copy Markdown
Contributor

This has already been fixed in #63017.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

5 participants


Back | FazBrowse Home | New Git URL