Closed feross closed 9 years ago
I believe we needed objectMode in the past because the readable stream could emit data that was ArrayBuffer or Uint8Array, etc.
Now that we always emit data as Buffers, objectMode is not necessary.
This PR doesn't change the FileWriteStream case since users might want to push various types (besides strings and Buffers) to the stream.
Cool - I'll make the same change on the writer also.
3.0.1 published :)
3.0.1
I believe we needed objectMode in the past because the readable stream could emit data that was ArrayBuffer or Uint8Array, etc.
Now that we always emit data as Buffers, objectMode is not necessary.
This PR doesn't change the FileWriteStream case since users might want to push various types (besides strings and Buffers) to the stream.