New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/lib-storage

Package Overview
Dependencies
Maintainers
5
Versions
459
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 3.726.1 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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc