[Snyk] Upgrade get-stream from 5.1.0 to 9.0.1 #253
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 was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade get-stream from 5.1.0 to 9.0.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 9 versions ahead of your current version.
The recommended version was released on 4 months ago.
Release notes
Package name: get-stream
ReadableStream[Symbol.asyncIterator]
ponyfill (#128) df42674v9.0.0...v9.0.1
Breaking
Improvements
v8.0.1...v9.0.0
Fixes
error.bufferedData
is as full as possible. (#106)maxBuffer
option being one byte off in some edge case. (#105)v8.0.0...v8.0.1
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...v8.0.0
v7.0.0...v7.0.1
Breaking
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.
v6.0.1...v7.0.0
.buffer()
method (#44) 0ee784av6.0.0...v6.0.1
Breaking
Breaking for TypeScript users
You need to change
import getStream from 'get-stream';
toimport getStream = require('get-stream');
Improvements
stream.pipeline
instead ofpump
package (#39) 5cf31bav5.2.0...v6.0.0
maxBuffer
option to be set to BufferMAX_LENGTH
(#40) 127d83cv5.1.0...v5.2.0
v5.0.0...v5.1.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: