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.0.14 to 2.0.15

2

lib/core.js

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

*/
VERSION: '2.0.14',
VERSION: '2.0.15',

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

@@ -212,5 +212,9 @@ var AWS = require('./core');

var httpOptions = resp.request.service.config.httpOptions || {};
var stream = http.handleRequest(resp.request.httpRequest, httpOptions,
callback, error);
progress(stream);
try {
var stream = http.handleRequest(resp.request.httpRequest, httpOptions,
callback, error);
progress(stream);
} catch (err) {
error(err);
}
}

@@ -217,0 +221,0 @@

@@ -22,10 +22,2 @@ var AWS = require('../core');

if (httpOptions.timeout) {
xhr.timeout = httpOptions.timeout;
}
if (httpOptions.xhrWithCredentials) {
xhr.withCredentials = true;
}
xhr.addEventListener('readystatechange', function() {

@@ -70,2 +62,10 @@ try {

if (httpOptions.timeout) {
xhr.timeout = httpOptions.timeout;
}
if (httpOptions.xhrWithCredentials) {
xhr.withCredentials = true;
}
if (httpRequest.body && typeof httpRequest.body.buffer === 'object') {

@@ -72,0 +72,0 @@ xhr.send(httpRequest.body.buffer); // typed arrays sent as ArrayBuffer

@@ -241,6 +241,21 @@ var Collection = require('./collection');

if (shape.timestampFormat) {
if (this.location === 'header') {
property(this, 'timestampFormat', 'rfc822');
} else if (shape.timestampFormat) {
property(this, 'timestampFormat', shape.timestampFormat);
} else if (this.api) {
property(this, 'timestampFormat', this.api.timestampFormat);
if (this.api.timestampFormat) {
property(this, 'timestampFormat', this.api.timestampFormat);
} else {
switch (this.api.protocol) {
case 'json':
case 'rest-json':
property(this, 'timestampFormat', 'unixTimestamp');
break;
case 'rest-xml':
case 'query':
property(this, 'timestampFormat', 'iso8601');
break;
}
}
}

@@ -247,0 +262,0 @@

{
"name": "aws-sdk",
"description": "AWS SDK for JavaScript",
"version": "2.0.14",
"version": "2.0.15",
"author": {

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

@@ -21,3 +21,3 @@ # AWS SDK for JavaScript [![Version](https://badge.fury.io/js/aws-sdk.png)](http://badge.fury.io/js/aws-sdk) [![Build Status](https://travis-ci.org/aws/aws-sdk-js.png?branch=master)](https://travis-ci.org/aws/aws-sdk-js)

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

@@ -24,0 +24,0 @@ ### In Node.js

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