stream: normalize fused stateless transform results · nodejs/node@5b7d02e · GitHub
Skip to content

Commit 5b7d02e

Browse files
trivikraduh95
authored andcommitted
stream: normalize fused stateless transform results
Normalize each stateless transform result before passing it to the next transform in a fused run. This ensures that subsequent transforms always receive Uint8Array[] batches in both synchronous and asynchronous pipelines. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: codex:gpt-5.6-sol PR-URL: #65367 Fixes: #65366 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 8d39d0d commit 5b7d02e

2 files changed

Lines changed: 65 additions & 10 deletions

File tree

lib/internal/streams/iter/pull.js

Lines changed: 33 additions & 10 deletions

test/parallel/test-stream-iter-transform-output.js

Lines changed: 32 additions & 0 deletions

0 commit comments

Comments
 (0)