Skip to content

Releases: sindresorhus/get-stream

v9.0.1

16 Mar 18:05
Compare
Choose a tag to compare
  • Upgrade ReadableStream[Symbol.asyncIterator] ponyfill (#128) df42674

v9.0.0...v9.0.1

v9.0.0

15 Mar 07:37
Compare
Choose a tag to compare

Breaking

Improvements

v8.0.1...v9.0.0

v8.0.1

17 Aug 15:36
Compare
Choose a tag to compare

Fixes

v8.0.0...v8.0.1

v8.0.0

16 Aug 10:53
Compare
Choose a tag to compare

Huge thanks to @ehmicky for doing all the work for this release 🙌

Breaking

Improvements

Fixes

TypeScript types

Documentation

Performance

  • Do not block the event loop when the stream ends. (#92)

v7.0.1...v8.0.0

v7.0.1

01 Jul 18:59
Compare
Choose a tag to compare
  • Work around issue with handling large sizes e58d141

v7.0.0...v7.0.1

v7.0.0

26 May 19:28
Compare
Choose a tag to compare

Breaking

  • Require Node.js 16 70571f8
  • This package is now pure ESM. Please read this.
  • Removed getStream.array()
  • const getStream = require('get-stream'); getStream.buffer(…);import {getStreamAsBuffer} from 'get-stream'; getStreamAsBuffer(…);
  • const getStream = require('get-stream'); getStream.MaxBufferError;import {MaxBufferError} from 'get-stream'; MaxBufferError;

Tip

You may not need this package anymore.


v6.0.1...v7.0.0

v6.0.1

15 Apr 04:56
Compare
Choose a tag to compare
  • Fix TypeScript type for the .buffer() method (#44) 0ee784a

v6.0.0...v6.0.1

v6.0.0

10 Aug 11:16
Compare
Choose a tag to compare

Breaking

Breaking for TypeScript users

  • Only use a CommonJS export for the TypeScript definition (reason)
    You need to change import getStream from 'get-stream'; to import getStream = require('get-stream');

Improvements

  • Use native stream.pipeline instead of pump package (#39) 5cf31ba

v5.2.0...v6.0.0

v5.2.0

09 Aug 21:06
Compare
Choose a tag to compare
  • Allow maxBuffer option to be set to Buffer MAX_LENGTH (#40) 127d83c

v5.1.0...v5.2.0

v5.1.0

05 Apr 06:57
Compare
Choose a tag to compare
  • Refactor TypeScript definition to CommonJS compatible export (#31) 0c3b07d

v5.0.0...v5.1.0