sindresorhus/get-stream
### [`v7.0.0`](https://togithub.com/sindresorhus/get-stream/releases/tag/v7.0.0)
[Compare Source](https://togithub.com/sindresorhus/get-stream/compare/v6.0.1...v7.0.0)
##### Breaking
- Require Node.js 16 [`70571f8`](https://togithub.com/sindresorhus/get-stream/commit/70571f8)
- This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).**
- Removed `getStream.array()`
- It complicated the codebase considerably and I personally never used it.
- You can use [`readableStream.toArray()`](https://nodejs.org/api/stream.html#readabletoarrayoptions) instead. [Example](https://togithub.com/sindresorhus/get-stream#tip)
- `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.](https://togithub.com/sindresorhus/get-stream#tip)
***
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^6.0.0
->^7.0.0
Release Notes
sindresorhus/get-stream
### [`v7.0.0`](https://togithub.com/sindresorhus/get-stream/releases/tag/v7.0.0) [Compare Source](https://togithub.com/sindresorhus/get-stream/compare/v6.0.1...v7.0.0) ##### Breaking - Require Node.js 16 [`70571f8`](https://togithub.com/sindresorhus/get-stream/commit/70571f8) - This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** - Removed `getStream.array()` - It complicated the codebase considerably and I personally never used it. - You can use [`readableStream.toArray()`](https://nodejs.org/api/stream.html#readabletoarrayoptions) instead. [Example](https://togithub.com/sindresorhus/get-stream#tip) - `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.](https://togithub.com/sindresorhus/get-stream#tip) ***Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.