@aws-sdk/util-stream
Advanced tools
Comparing version 3.329.0 to 3.331.0
@@ -14,3 +14,6 @@ "use strict"; | ||
readableStream.on("data", (data) => { | ||
awsChunkedEncodingStream.push(`${(bodyLengthChecker(data) || 0).toString(16)}\r\n${data.toString()}\r\n`); | ||
const length = bodyLengthChecker(data) || 0; | ||
awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`); | ||
awsChunkedEncodingStream.push(data); | ||
awsChunkedEncodingStream.push("\r\n"); | ||
}); | ||
@@ -17,0 +20,0 @@ readableStream.on("end", async () => { |
@@ -11,3 +11,6 @@ import { Readable } from "stream"; | ||
readableStream.on("data", (data) => { | ||
awsChunkedEncodingStream.push(`${(bodyLengthChecker(data) || 0).toString(16)}\r\n${data.toString()}\r\n`); | ||
const length = bodyLengthChecker(data) || 0; | ||
awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`); | ||
awsChunkedEncodingStream.push(data); | ||
awsChunkedEncodingStream.push("\r\n"); | ||
}); | ||
@@ -14,0 +17,0 @@ readableStream.on("end", async () => { |
{ | ||
"name": "@aws-sdk/util-stream", | ||
"version": "3.329.0", | ||
"version": "3.331.0", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", |
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
31694
398