Skip to content

Commit d7aefc0

Browse files
MattiasBuelensmarco-ippolito
authored andcommitted
stream: fix typo in ReadableStreamBYOBReader.readIntoRequests
PR-URL: #56560 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d84be84 commit d7aefc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/webstreams/readablestream.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ class ReadableStreamBYOBReader {
918918
throw new ERR_INVALID_ARG_TYPE('stream', 'ReadableStream', stream);
919919
this[kState] = {
920920
stream: undefined,
921-
requestIntoRequests: [],
921+
readIntoRequests: [],
922922
close: {
923923
promise: undefined,
924924
resolve: undefined,
@@ -1024,7 +1024,7 @@ class ReadableStreamBYOBReader {
10241024
[kInspect](depth, options) {
10251025
return customInspect(depth, options, this[kType], {
10261026
stream: this[kState].stream,
1027-
requestIntoRequests: this[kState].requestIntoRequests.length,
1027+
readIntoRequests: this[kState].readIntoRequests.length,
10281028
close: this[kState].close.promise,
10291029
});
10301030
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy