@aws-sdk/middleware-sdk-s3
Advanced tools
Comparing version 3.499.0 to 3.502.0
@@ -61,3 +61,3 @@ var __defProp = Object.defineProperty; | ||
if (import_protocol_http.HttpRequest.isInstance(request)) { | ||
if (!request.headers[CONTENT_LENGTH_HEADER]) { | ||
if (!(CONTENT_LENGTH_HEADER in request.headers)) { | ||
const message = `Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.`; | ||
@@ -64,0 +64,0 @@ if (typeof ((_a = context == null ? void 0 : context.logger) == null ? void 0 : _a.warn) === "function" && !(context.logger instanceof import_smithy_client.NoOpLogger)) { |
@@ -8,3 +8,3 @@ import { HttpRequest } from "@smithy/protocol-http"; | ||
if (HttpRequest.isInstance(request)) { | ||
if (!request.headers[CONTENT_LENGTH_HEADER]) { | ||
if (!(CONTENT_LENGTH_HEADER in request.headers)) { | ||
const message = `Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.`; | ||
@@ -11,0 +11,0 @@ if (typeof context?.logger?.warn === "function" && !(context.logger instanceof NoOpLogger)) { |
{ | ||
"name": "@aws-sdk/middleware-sdk-s3", | ||
"version": "3.499.0", | ||
"version": "3.502.0", | ||
"scripts": { | ||
@@ -26,3 +26,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"dependencies": { | ||
"@aws-sdk/types": "3.496.0", | ||
"@aws-sdk/types": "3.502.0", | ||
"@aws-sdk/util-arn-parser": "3.495.0", | ||
@@ -29,0 +29,0 @@ "@smithy/node-config-provider": "^2.2.1", |
75693
+ Added@aws-sdk/types@3.502.0(transitive)
- Removed@aws-sdk/types@3.496.0(transitive)
Updated@aws-sdk/types@3.502.0