readable-stream
readable-stream copied to clipboard
Node-core streams for userland
First, thank you for your amazing work on `readable-stream`! `Readable.fromWeb` an `Readable.toWeb` are calling the [`newStreamReadableFromReadableStream`](https://github.com/nodejs/readable-stream/blob/81c52641299e5ea3a5e37179967bb13691cad081/lib/internal/streams/readable.js#L1289) and [`newReadableStreamFromStreamReadable`](https://github.com/nodejs/readable-stream/blob/81c52641299e5ea3a5e37179967bb13691cad081/lib/internal/streams/readable.js#L1293) functions on the `webStreamsAdapters`. However `webStreamsAdapters` [is only defined as an empty...
This only happens with `readable-stream@4` and Node.js 12. Later versions of Node, or earlier versions of `readable-stream`, work fine. ```js 'use strict' const net = require('net') const { pipeline, PassThrough...
Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. I'm using this library (as a...
The [CI workflow](https://github.com/nodejs/readable-stream/blob/main/.github/workflows/ci.yml) used here is almost identical to a standard Node.js library testing pattern (checkout, `npm install`, `npm test`). As part of [Package Maintenance WG](https://github.com/nodejs/package-maintenance), I've recently created [`pkgjs/action`](https://github.com/pkgjs/action)...
One important feature that Deno's std library has is the NodeJS polyfill. This allows many third party libraries developed for Node to run in Deno without a lot of effort...
When using rollup without vite...the following error occurs on pnpm install: ``` TypeError [ERR_INVALID_ARG_TYPE]: The "superCtor.prototype" property must be of type object. Received undefined │ at new NodeError (node:internal/errors:387:5) │...
I patch these 2 modules with a postinstall script ("postinstall": "esno scripts/patch.ts"): ```ts import { readFileSync, writeFileSync } from 'node:fs' const patch = () => { let content: string =...
Comparing `Readable` in Node.js 18.8.0 and `[email protected]`: ``` > stream.Readable [Function: Readable] { ReadableState: [Function: ReadableState], _fromList: [Function: fromList], from: [Function (anonymous)], fromWeb: [Function (anonymous)], toWeb: [Function (anonymous)], wrap: [Function...
Hi, Please help me to fix this error. This dependency is being used as a sub-dependency of react-native-crypto. error: Error: Unable to resolve module ../../../../../src/util from node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js: None of these...
`ERR_MULTIPLE_CALLBACK` is an `Error` subclass (eventually) defined here: https://github.com/nodejs/readable-stream/blob/a2e9aedf4aeee4a5e4d8efcb175edb67e2817eaa/lib/ours/errors.js#L70-L97 In this line, `ERR_MULTIPLE_CALLBACK` is called instead of constructed: https://github.com/nodejs/readable-stream/blob/a2e9aedf4aeee4a5e4d8efcb175edb67e2817eaa/lib/internal/streams/writable.js#L594 I ran into this in a difficult to isolate scenario 