You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@aws-sdk/lib-storage

Package Overview
Dependencies
Maintainers
5
Versions
502
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/lib-storage - npm Package Compare versions

Comparing version

to
3.729.0

4

dist-cjs/index.js

@@ -306,4 +306,8 @@ "use strict";

async __createMultipartUpload() {
const requestChecksumCalculation = await this.client.config.requestChecksumCalculation();
if (!this.createMultiPartPromise) {
const createCommandParams = { ...this.params, Body: void 0 };
if (requestChecksumCalculation === "WHEN_SUPPORTED") {
createCommandParams.ChecksumAlgorithm = this.params.ChecksumAlgorithm || import_client_s3.ChecksumAlgorithm.CRC32;
}
this.createMultiPartPromise = this.client.send(new import_client_s3.CreateMultipartUploadCommand(createCommandParams)).then((createMpuResponse) => {

@@ -310,0 +314,0 @@ this.abortMultipartUploadCommand = new import_client_s3.AbortMultipartUploadCommand({

@@ -1,2 +0,2 @@

import { AbortMultipartUploadCommand, CompleteMultipartUploadCommand, CreateMultipartUploadCommand, PutObjectCommand, PutObjectTaggingCommand, UploadPartCommand, } from "@aws-sdk/client-s3";
import { AbortMultipartUploadCommand, ChecksumAlgorithm, CompleteMultipartUploadCommand, CreateMultipartUploadCommand, PutObjectCommand, PutObjectTaggingCommand, UploadPartCommand, } from "@aws-sdk/client-s3";
import { AbortController } from "@smithy/abort-controller";

@@ -124,4 +124,8 @@ import { getEndpointFromInstructions, toEndpointV1, } from "@smithy/middleware-endpoint";

async __createMultipartUpload() {
const requestChecksumCalculation = await this.client.config.requestChecksumCalculation();
if (!this.createMultiPartPromise) {
const createCommandParams = { ...this.params, Body: undefined };
if (requestChecksumCalculation === "WHEN_SUPPORTED") {
createCommandParams.ChecksumAlgorithm = this.params.ChecksumAlgorithm || ChecksumAlgorithm.CRC32;
}
this.createMultiPartPromise = this.client

@@ -128,0 +132,0 @@ .send(new CreateMultipartUploadCommand(createCommandParams))

6

package.json
{
"name": "@aws-sdk/lib-storage",
"version": "3.726.1",
"version": "3.729.0",
"description": "Storage higher order operation",

@@ -40,6 +40,6 @@ "main": "./dist-cjs/index.js",

"peerDependencies": {
"@aws-sdk/client-s3": "^3.726.1"
"@aws-sdk/client-s3": "^3.729.0"
},
"devDependencies": {
"@aws-sdk/client-s3": "3.726.1",
"@aws-sdk/client-s3": "3.729.0",
"@smithy/types": "^4.0.0",

@@ -46,0 +46,0 @@ "@tsconfig/recommended": "1.0.1",