Title: stream: `readable.compose` fails to return a Duplex · Issue #55203 · nodejs/node · GitHub
Open Graph Title: stream: `readable.compose` fails to return a Duplex · Issue #55203 · nodejs/node
X Title: stream: `readable.compose` fails to return a Duplex · Issue #55203 · nodejs/node
Description: The intention of readable.compose() is that the method returns the Duplex from the internals/streams/compose function unscathed. Unfortunately, because it's merged onto Readable.prototype as a "stream-returning operator": node/lib/stream...
Open Graph Description: The intention of readable.compose() is that the method returns the Duplex from the internals/streams/compose function unscathed. Unfortunately, because it's merged onto Readable.prototype as a "str...
X Description: The intention of readable.compose() is that the method returns the Duplex from the internals/streams/compose function unscathed. Unfortunately, because it's merged onto Readable.prototype as a ...
Opengraph URL: https://github.com/nodejs/node/issues/55203
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"stream: `readable.compose` fails to return a Duplex","articleBody":"The intention of `readable.compose()` is that the method returns the Duplex from the internals/streams/compose function unscathed.\r\n\r\nUnfortunately, because it's merged onto `Readable.prototype` as a \"stream-returning operator\":\r\nhttps://github.com/nodejs/node/blob/8a3482ec5e4cbba5b4ba3f7d6f83c829612f6976/lib/stream.js#L64-L83\r\n\r\n...its return value is passed via `Readable.from()`, clobbering the Duplex into a Readable.\r\n\r\nThe `.compose()` operator needs specifically to bypass this mechanism.\r\n\r\nRefs: #44937","author":{"url":"https://github.com/Renegade334","@type":"Person","name":"Renegade334"},"datePublished":"2024-10-01T00:14:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/55203/node/issues/55203"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bbfae676-12a4-b7a1-7e15-8a8f0cbd0d3e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD28:227D33:5F5C20:8211FA:6A4C7B3D |
| html-safe-nonce | 8b35952f69d11a09a2eaf2e3b5c5792f293625046ea923a3d15467efc66518cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDI4OjIyN0QzMzo1RjVDMjA6ODIxMUZBOjZBNEM3QjNEIiwidmlzaXRvcl9pZCI6IjU1MzAwNTc3MjQ0MDA1MzIyODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7b9564c32dedf015e0c8432484ef01a1b4e9617e20d8db17f360511514b1dead |
| hovercard-subject-tag | issue:2557902294 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/55203/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46fbfd2ec14ca8c0cee3e71c3416bb437186b3a368470aa6383cb808e8e451dc/nodejs/node/issues/55203 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46fbfd2ec14ca8c0cee3e71c3416bb437186b3a368470aa6383cb808e8e451dc/nodejs/node/issues/55203 |
| og:image:alt | The intention of readable.compose() is that the method returns the Duplex from the internals/streams/compose function unscathed. Unfortunately, because it's merged onto Readable.prototype as a "str... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Renegade334 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56ac743bebb13694b888673bb7257f4b97a4b7fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width