@aws-sdk/middleware-sdk-s3
Advanced tools
Comparing version 3.629.0 to 3.633.0
@@ -540,2 +540,6 @@ "use strict"; | ||
} | ||
const isSplittableStream = typeof (sourceBody == null ? void 0 : sourceBody.stream) === "function" || typeof (sourceBody == null ? void 0 : sourceBody.pipe) === "function" || typeof (sourceBody == null ? void 0 : sourceBody.tee) === "function"; | ||
if (!isSplittableStream) { | ||
return result; | ||
} | ||
let bodyCopy = sourceBody; | ||
@@ -542,0 +546,0 @@ let body = sourceBody; |
@@ -19,2 +19,8 @@ import { HttpResponse } from "@smithy/protocol-http"; | ||
} | ||
const isSplittableStream = typeof sourceBody?.stream === "function" || | ||
typeof sourceBody?.pipe === "function" || | ||
typeof sourceBody?.tee === "function"; | ||
if (!isSplittableStream) { | ||
return result; | ||
} | ||
let bodyCopy = sourceBody; | ||
@@ -21,0 +27,0 @@ let body = sourceBody; |
{ | ||
"name": "@aws-sdk/middleware-sdk-s3", | ||
"version": "3.629.0", | ||
"version": "3.633.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
91058
1935