Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aws-sdk

Package Overview
Dependencies
Maintainers
1
Versions
1965
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-sdk - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

41

apis/elasticmapreduce-2009-03-31.min.json

@@ -143,3 +143,7 @@ {

},
"ServiceRole": {}
"ServiceRole": {},
"NormalizedInstanceHours": {
"type": "integer"
},
"MasterPublicDnsName": {}
}

@@ -367,13 +371,3 @@ }

"Config": {
"type": "structure",
"members": {
"Jar": {},
"Properties": {
"shape": "S17"
},
"MainClass": {},
"Args": {
"shape": "S16"
}
}
"shape": "S1x"
},

@@ -449,2 +443,5 @@ "ActionOnFailure": {},

"shape": "Sw"
},
"NormalizedInstanceHours": {
"type": "integer"
}

@@ -599,2 +596,5 @@ }

},
"StepIds": {
"shape": "Sj"
},
"Marker": {}

@@ -613,2 +613,6 @@ }

"Name": {},
"Config": {
"shape": "S1x"
},
"ActionOnFailure": {},
"Status": {

@@ -942,2 +946,15 @@ "shape": "S1y"

},
"S1x": {
"type": "structure",
"members": {
"Jar": {},
"Properties": {
"shape": "S17"
},
"MainClass": {},
"Args": {
"shape": "S16"
}
}
},
"S1y": {

@@ -944,0 +961,0 @@ "type": "structure",

@@ -941,2 +941,3 @@ {

"DiskNode": {},
"DiskStatus": {},
"DiskSizeInBytes": {

@@ -1018,2 +1019,19 @@ "type": "long"

},
"ResetCache": {
"input": {
"type": "structure",
"required": [
"GatewayARN"
],
"members": {
"GatewayARN": {}
}
},
"output": {
"type": "structure",
"members": {
"GatewayARN": {}
}
}
},
"RetrieveTapeArchive": {

@@ -1227,2 +1245,21 @@ "input": {

}
},
"UpdateVTLDeviceType": {
"input": {
"type": "structure",
"required": [
"VTLDeviceARN",
"DeviceType"
],
"members": {
"VTLDeviceARN": {},
"DeviceType": {}
}
},
"output": {
"type": "structure",
"members": {
"VTLDeviceARN": {}
}
}
}

@@ -1229,0 +1266,0 @@ },

@@ -20,3 +20,3 @@ /**

*/
VERSION: '2.1.2',
VERSION: '2.1.3',

@@ -23,0 +23,0 @@ /**

@@ -165,3 +165,3 @@ var AWS = require('../core');

self.isDoneChunking = true;
self.numParts = self.totalPartNumbers + 1;
self.numParts = self.totalPartNumbers;
self.fillQueue.call(self);

@@ -176,2 +176,28 @@ });

/**
* Aborts a managed upload, including all concurrent upload requests.
* @note By default, calling this function will cleanup a multipart upload
* if one was created. To leave the multipart upload around after aborting
* a request, configure `leavePartsOnError` to `true` in the {constructor}.
* @!macro nobrowser
* @example Aborting an upload
* var params = {
* Bucket: 'bucket', Key: 'key',
* Body: new Buffer(1024 * 1024 * 25) // 25MB payload
* };
* var upload = s3.upload(params);
* upload.send(function (err, data) {
* if (err) console.log("Error:", err.code, err.message);
* else console.log(data);
* });
*
* // abort request in 1 second
* setTimeout(upload.abort.bind(upload), 1000);
*/
abort: function() {
this.cleanup(AWS.util.error(new Error('Request aborted by user'), {
code: 'RequestAbortedError', retryable: false
}));
},
/**
* @api private

@@ -327,6 +353,10 @@ */

if (self.partBuffer.length >= self.partSize) {
self.nextChunk(self.partBuffer.slice(0, self.partSize));
self.partBuffer = self.partBuffer.slice(self.partSize);
} else if (self.isDoneChunking && self.partBuffer.length > 0) {
} else if (self.isDoneChunking) {
self.totalBytes = self.totalChunkedBytes;
self.nextChunk(self.partBuffer);
if (self.partBuffer.length > 0) {
self.numParts++;
self.nextChunk(self.partBuffer);
}
self.partBuffer = new AWS.util.Buffer(0);

@@ -333,0 +363,0 @@ }

{
"name": "aws-sdk",
"description": "AWS SDK for JavaScript",
"version": "2.1.2",
"version": "2.1.3",
"author": {

@@ -6,0 +6,0 @@ "name":"Amazon Web Services",

@@ -27,3 +27,3 @@ # AWS SDK for JavaScript

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.2.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.3.min.js"></script>

@@ -30,0 +30,0 @@ The AWS SDK is also compatible with [browserify](http://browserify.org).

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