@aws-sdk/lib-storage 3.596.0 → 3.600.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +3 -0
- package/dist-es/Upload.js +1 -0
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -343,6 +343,9 @@ var _Upload = class _Upload extends import_events.EventEmitter {
|
|
|
343
343
|
const partResult = await this.client.send(
|
|
344
344
|
new import_client_s3.UploadPartCommand({
|
|
345
345
|
...this.params,
|
|
346
|
+
// dataPart.data is chunked into a non-streaming buffer
|
|
347
|
+
// so the ContentLength from the input should not be used for MPU.
|
|
348
|
+
ContentLength: void 0,
|
|
346
349
|
UploadId: this.uploadId,
|
|
347
350
|
Body: dataPart.data,
|
|
348
351
|
PartNumber: dataPart.partNumber
|
package/dist-es/Upload.js
CHANGED
|
@@ -171,6 +171,7 @@ export class Upload extends EventEmitter {
|
|
|
171
171
|
this.uploadEnqueuedPartsCount += 1;
|
|
172
172
|
const partResult = await this.client.send(new UploadPartCommand({
|
|
173
173
|
...this.params,
|
|
174
|
+
ContentLength: undefined,
|
|
174
175
|
UploadId: this.uploadId,
|
|
175
176
|
Body: dataPart.data,
|
|
176
177
|
PartNumber: dataPart.partNumber,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-storage",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.600.0",
|
|
4
4
|
"description": "Storage higher order operation",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/abort-controller": "^3.0.
|
|
30
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
31
|
-
"@smithy/smithy-client": "^3.1.
|
|
29
|
+
"@smithy/abort-controller": "^3.0.1",
|
|
30
|
+
"@smithy/middleware-endpoint": "^3.0.2",
|
|
31
|
+
"@smithy/smithy-client": "^3.1.2",
|
|
32
32
|
"buffer": "5.6.0",
|
|
33
33
|
"events": "3.3.0",
|
|
34
34
|
"stream-browserify": "3.0.0",
|
|
35
35
|
"tslib": "^2.6.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@aws-sdk/client-s3": "^3.
|
|
38
|
+
"@aws-sdk/client-s3": "^3.600.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@aws-sdk/client-s3": "3.
|
|
42
|
-
"@smithy/types": "^3.
|
|
41
|
+
"@aws-sdk/client-s3": "3.600.0",
|
|
42
|
+
"@smithy/types": "^3.1.0",
|
|
43
43
|
"@tsconfig/recommended": "1.0.1",
|
|
44
44
|
"@types/node": "^16.18.96",
|
|
45
45
|
"concurrently": "7.0.0",
|