Skip to content

Releases

v9.0.1

Choose a tag to compare

@sindresorhus sindresorhus released this 16 Mar 18:05
  • Upgrade ReadableStream[Symbol.asyncIterator] ponyfill (#128) df42674

v9.0.0...v9.0.1

v9.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 15 Mar 07:37

Breaking

Improvements

v8.0.1...v9.0.0

v8.0.1

Choose a tag to compare

@ehmicky ehmicky released this 17 Aug 15:36

Fixes

v8.0.0...v8.0.1

v8.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 16 Aug 10:53

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

Choose a tag to compare

@sindresorhus sindresorhus released this 01 Jul 18:59
  • Work around issue with handling large sizes e58d141

v7.0.0...v7.0.1

v7.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 26 May 19:28

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

Choose a tag to compare

@sindresorhus sindresorhus released this 15 Apr 04:56
  • Fix TypeScript type for the .buffer() method (#44) 0ee784a

v6.0.0...v6.0.1

v6.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 10 Aug 11:16

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

Choose a tag to compare

@sindresorhus sindresorhus released this 09 Aug 21:06
  • Allow maxBuffer option to be set to Buffer MAX_LENGTH (#40) 127d83c

v5.1.0...v5.2.0

v5.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 05 Apr 06:57
  • Refactor TypeScript definition to CommonJS compatible export (#31) 0c3b07d

v5.0.0...v5.1.0