aws-sdk 2.813.0 → 2.814.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/core.js CHANGED
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.813.0',
23
+ VERSION: '2.814.0',
24
24
 
25
25
  /**
26
26
  * @api private
package/lib/util.js CHANGED
@@ -219,6 +219,11 @@ var util = {
219
219
  var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/);
220
220
  if (section) {
221
221
  currentSection = section[1];
222
+ if (currentSection === '__proto__' || currentSection.split(/\s/)[1] === '__proto__') {
223
+ throw util.error(
224
+ new Error('Cannot load profile name \'' + currentSection + '\' from shared ini file.')
225
+ );
226
+ }
222
227
  } else if (currentSection) {
223
228
  var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);
224
229
  if (item) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.813.0",
4
+ "version": "2.814.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",