Skip to content

Commit 95d5498

Browse files
committed
Tag release v2.1.2
References: #429
1 parent e88b247 commit 95d5498

File tree

8 files changed

+15
-17
lines changed

8 files changed

+15
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ to work with the new major version.
2424
To use the SDK in the browser, simply add the following script tag to your
2525
HTML pages:
2626

27-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.1.min.js"></script>
27+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.2.min.js"></script>
2828

2929
The AWS SDK is also compatible with [browserify](http://browserify.org).
3030

dist/aws-sdk.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// AWS SDK for JavaScript v2.1.1
1+
// AWS SDK for JavaScript v2.1.2
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
44
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
@@ -247,7 +247,7 @@ module.exports = AWS;
247247
AWS.util.update(AWS, {
248248

249249

250-
VERSION: '2.1.1',
250+
VERSION: '2.1.2',
251251

252252

253253
Signers: {},
@@ -5782,7 +5782,7 @@ var util = {
57825782
data.on('data', function(chunk) { hash.update(chunk); });
57835783
data.on('error', function(err) { callback(err); });
57845784
data.on('end', function() { callback(null, hash.digest(digest)); });
5785-
} else if (callback && data.slice === 'function'
5785+
} else if (callback && typeof data.slice === 'function'
57865786
&& !isBuffer && typeof FileReader !== 'undefined') {
57875787
var index = 0, size = 1024 * 512;
57885788
var reader = new FileReader();
@@ -8010,10 +8010,8 @@ EventEmitter.prototype.emit = function(type) {
80108010
er = arguments[1];
80118011
if (er instanceof Error) {
80128012
throw er; // Unhandled 'error' event
8013-
} else {
8014-
throw TypeError('Uncaught, unspecified "error" event.');
80158013
}
8016-
return false;
8014+
throw TypeError('Uncaught, unspecified "error" event.');
80178015
}
80188016
}
80198017

dist/aws-sdk.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc-src/guide/browser-building.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ First, clone the repository from GitHub and cd into the directory:
2222
```bash
2323
git clone git://github.com/aws/aws-sdk-js
2424
cd aws-sdk-js
25-
git checkout v2.1.1
25+
git checkout v2.1.2
2626
```
2727

2828
After you have cloned the repository, you need to download the dependency modules

doc-src/guide/browser-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and authenticated with the correct credentials.
77

88
The common preamble code can be summarized as follows:
99

10-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.1.min.js"></script>
10+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.2.min.js"></script>
1111
<script type="text/javascript">
1212
// See the Configuring section to configure credentials in the SDK
1313
AWS.config.credentials = ...;

doc-src/guide/browser-intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ The quickest way to get started with the SDK is to load it using the hosted
88
package directly from Amazon Web Services. To do this, simply add the following
99
script tag to your HTML pages:
1010

11-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.1.min.js"></script>
11+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.2.min.js"></script>
1212

1313
You can also download this package by clicking the following link:
14-
[aws-sdk-2.1.1.min.js](https://sdk.amazonaws.com/js/aws-sdk-2.1.1.min.js)
14+
[aws-sdk-2.1.2.min.js](https://sdk.amazonaws.com/js/aws-sdk-2.1.2.min.js)
1515

1616
Once the SDK is loaded in your page, the module will be available from
1717
the global variable `AWS` (or `window.AWS`).

lib/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ AWS.util.update(AWS, {
1717
/**
1818
* @constant
1919
*/
20-
VERSION: '2.1.1',
20+
VERSION: '2.1.2',
2121

2222
/**
2323
* @api private

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "aws-sdk",
33
"description": "AWS SDK for JavaScript",
4-
"version": "2.1.1",
4+
"version": "2.1.2",
55
"author": {
66
"name":"Amazon Web Services",
77
"email":"",

0 commit comments

Comments
 (0)