stream: remove transform-writer handling in pipeTo · nodejs/node@557bf99 · GitHub
Skip to content

Commit 557bf99

Browse files
trivikraduh95
authored andcommitted
stream: remove transform-writer handling in pipeTo
The pipeTo() and pipeToSync() argument parser already requires the destination argument to be a writer. Remove the later transform-writer handling so writer objects with a transform() method are treated only as destinations. Fixes: #63683 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #63684 Backport-PR-URL: #64675 Fixes: #63683 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 24b7831 commit 557bf99

2 files changed

Lines changed: 27 additions & 10 deletions

File tree

lib/internal/streams/iter/pull.js

Lines changed: 0 additions & 10 deletions

test/parallel/test-stream-iter-pipeto.js

Lines changed: 27 additions & 0 deletions

0 commit comments

Comments
 (0)