chore(deps): update dependency get-stream to v8 #265
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.0.1
->^8.0.0
Release Notes
sindresorhus/get-stream (get-stream)
v8.0.1
Compare Source
Fixes
error.bufferedData
is as full as possible. (#106)maxBuffer
option being one byte off in some edge case. (#105)v8.0.0
Compare Source
Huge thanks to @ehmicky for doing all the work for this release 🙌
Breaking
encoding
option. (#69, #67)buffer.toString('hex')
orbuffer.toString('base64')
can also be used.Improvements
ReadableStream
). (#82, #78, #79, #80)getStreamAsArray()
method to pass streams in object mode. (#86)getStreamAsArrayBuffer()
method to return the stream as anArrayBuffer
. (#81)ArrayBuffer
, seterror.bufferedData
with the partially read data instead of leaving it empty. (#68, #48)Fixes
maxBuffer
stops infinite streams. (#62)maxBuffer
. (#42, #69).error.bufferedData
when the stream errors for other reasons thanmaxBuffer
. (#56, #63)error.bufferedData
is smaller thanmaxBuffer
. (#89)TypeScript types
stream
argument must be aReadable
,ReadableStream
orAsyncIterable
. (#71)Documentation
Blob
and JSON streaming. (#58, #95, #96, #97)Performance
v7.0.1
Compare Source
e58d141
v7.0.0
Compare Source
Breaking
70571f8
getStream.array()
readableStream.toArray()
instead. Exampleconst 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.
Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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 using a curated preset maintained by . View repository job log here