get-stream
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -5,2 +5,4 @@ import {Buffer, constants as BufferConstants} from 'node:buffer'; | ||
const maxHighWaterMark = 2_147_483_647; | ||
export class MaxBufferError extends Error { | ||
@@ -32,3 +34,3 @@ name = 'MaxBufferError'; | ||
const stream = new PassThroughStream(); | ||
const stream = new PassThroughStream({highWaterMark: maxHighWaterMark}); | ||
@@ -35,0 +37,0 @@ if (encoding) { |
{ | ||
"name": "get-stream", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Get a stream as a string or buffer", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9402
110