cdk-lambda-subminute 2.0.359 → 2.0.360

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.
@@ -4574,7 +4574,7 @@ module.exports =
4574
4574
  // Generated by CoffeeScript 1.12.7
4575
4575
  (function() {
4576
4576
  "use strict";
4577
- var bom, defaults, events, isEmpty, processItem, processors, sax, setImmediate,
4577
+ var bom, defaults, defineProperty, events, isEmpty, processItem, processors, sax, setImmediate,
4578
4578
  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
4579
4579
  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
4580
4580
  hasProp = {}.hasOwnProperty;
@@ -4604,6 +4604,16 @@ module.exports =
4604
4604
  return item;
4605
4605
  };
4606
4606
 
4607
+ defineProperty = function(obj, key, value) {
4608
+ var descriptor;
4609
+ descriptor = Object.create(null);
4610
+ descriptor.value = value;
4611
+ descriptor.writable = true;
4612
+ descriptor.enumerable = true;
4613
+ descriptor.configurable = true;
4614
+ return Object.defineProperty(obj, key, descriptor);
4615
+ };
4616
+
4607
4617
  exports.Parser = (function(superClass) {
4608
4618
  extend(Parser, superClass);
4609
4619
 
@@ -4667,13 +4677,13 @@ module.exports =
4667
4677
  Parser.prototype.assignOrPush = function(obj, key, newValue) {
4668
4678
  if (!(key in obj)) {
4669
4679
  if (!this.options.explicitArray) {
4670
- return obj[key] = newValue;
4680
+ return defineProperty(obj, key, newValue);
4671
4681
  } else {
4672
- return obj[key] = [newValue];
4682
+ return defineProperty(obj, key, [newValue]);
4673
4683
  }
4674
4684
  } else {
4675
4685
  if (!(obj[key] instanceof Array)) {
4676
- obj[key] = [obj[key]];
4686
+ defineProperty(obj, key, [obj[key]]);
4677
4687
  }
4678
4688
  return obj[key].push(newValue);
4679
4689
  }
@@ -4714,21 +4724,21 @@ module.exports =
4714
4724
  this.saxParser.onopentag = (function(_this) {
4715
4725
  return function(node) {
4716
4726
  var key, newValue, obj, processedKey, ref;
4717
- obj = Object.create(null);
4727
+ obj = {};
4718
4728
  obj[charkey] = "";
4719
4729
  if (!_this.options.ignoreAttrs) {
4720
4730
  ref = node.attributes;
4721
4731
  for (key in ref) {
4722
4732
  if (!hasProp.call(ref, key)) continue;
4723
4733
  if (!(attrkey in obj) && !_this.options.mergeAttrs) {
4724
- obj[attrkey] = Object.create(null);
4734
+ obj[attrkey] = {};
4725
4735
  }
4726
4736
  newValue = _this.options.attrValueProcessors ? processItem(_this.options.attrValueProcessors, node.attributes[key], key) : node.attributes[key];
4727
4737
  processedKey = _this.options.attrNameProcessors ? processItem(_this.options.attrNameProcessors, key) : key;
4728
4738
  if (_this.options.mergeAttrs) {
4729
4739
  _this.assignOrPush(obj, processedKey, newValue);
4730
4740
  } else {
4731
- obj[attrkey][processedKey] = newValue;
4741
+ defineProperty(obj[attrkey], processedKey, newValue);
4732
4742
  }
4733
4743
  }
4734
4744
  }
@@ -4799,7 +4809,7 @@ module.exports =
4799
4809
  }
4800
4810
  if (_this.options.explicitChildren && !_this.options.mergeAttrs && typeof obj === 'object') {
4801
4811
  if (!_this.options.preserveChildrenOrder) {
4802
- node = Object.create(null);
4812
+ node = {};
4803
4813
  if (_this.options.attrkey in obj) {
4804
4814
  node[_this.options.attrkey] = obj[_this.options.attrkey];
4805
4815
  delete obj[_this.options.attrkey];
@@ -4814,10 +4824,10 @@ module.exports =
4814
4824
  obj = node;
4815
4825
  } else if (s) {
4816
4826
  s[_this.options.childkey] = s[_this.options.childkey] || [];
4817
- objClone = Object.create(null);
4827
+ objClone = {};
4818
4828
  for (key in obj) {
4819
4829
  if (!hasProp.call(obj, key)) continue;
4820
- objClone[key] = obj[key];
4830
+ defineProperty(objClone, key, obj[key]);
4821
4831
  }
4822
4832
  s[_this.options.childkey].push(objClone);
4823
4833
  delete obj["#name"];
@@ -4831,8 +4841,8 @@ module.exports =
4831
4841
  } else {
4832
4842
  if (_this.options.explicitRoot) {
4833
4843
  old = obj;
4834
- obj = Object.create(null);
4835
- obj[nodeName] = old;
4844
+ obj = {};
4845
+ defineProperty(obj, nodeName, old);
4836
4846
  }
4837
4847
  _this.resultObject = obj;
4838
4848
  _this.saxParser.ended = true;
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1541.0',
23
+ VERSION: '2.1542.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1541.0",
4
+ "version": "2.1542.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -50,7 +50,7 @@
50
50
  "url": "0.10.3",
51
51
  "util": "^0.12.4",
52
52
  "uuid": "8.0.0",
53
- "xml2js": "0.5.0"
53
+ "xml2js": "0.6.2"
54
54
  },
55
55
  "main": "lib/aws.js",
56
56
  "browser": {
@@ -1,7 +1,7 @@
1
1
  // Generated by CoffeeScript 1.12.7
2
2
  (function() {
3
3
  "use strict";
4
- var bom, defaults, events, isEmpty, processItem, processors, sax, setImmediate,
4
+ var bom, defaults, defineProperty, events, isEmpty, processItem, processors, sax, setImmediate,
5
5
  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
6
6
  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
7
7
  hasProp = {}.hasOwnProperty;
@@ -31,6 +31,16 @@
31
31
  return item;
32
32
  };
33
33
 
34
+ defineProperty = function(obj, key, value) {
35
+ var descriptor;
36
+ descriptor = Object.create(null);
37
+ descriptor.value = value;
38
+ descriptor.writable = true;
39
+ descriptor.enumerable = true;
40
+ descriptor.configurable = true;
41
+ return Object.defineProperty(obj, key, descriptor);
42
+ };
43
+
34
44
  exports.Parser = (function(superClass) {
35
45
  extend(Parser, superClass);
36
46
 
@@ -94,13 +104,13 @@
94
104
  Parser.prototype.assignOrPush = function(obj, key, newValue) {
95
105
  if (!(key in obj)) {
96
106
  if (!this.options.explicitArray) {
97
- return obj[key] = newValue;
107
+ return defineProperty(obj, key, newValue);
98
108
  } else {
99
- return obj[key] = [newValue];
109
+ return defineProperty(obj, key, [newValue]);
100
110
  }
101
111
  } else {
102
112
  if (!(obj[key] instanceof Array)) {
103
- obj[key] = [obj[key]];
113
+ defineProperty(obj, key, [obj[key]]);
104
114
  }
105
115
  return obj[key].push(newValue);
106
116
  }
@@ -141,21 +151,21 @@
141
151
  this.saxParser.onopentag = (function(_this) {
142
152
  return function(node) {
143
153
  var key, newValue, obj, processedKey, ref;
144
- obj = Object.create(null);
154
+ obj = {};
145
155
  obj[charkey] = "";
146
156
  if (!_this.options.ignoreAttrs) {
147
157
  ref = node.attributes;
148
158
  for (key in ref) {
149
159
  if (!hasProp.call(ref, key)) continue;
150
160
  if (!(attrkey in obj) && !_this.options.mergeAttrs) {
151
- obj[attrkey] = Object.create(null);
161
+ obj[attrkey] = {};
152
162
  }
153
163
  newValue = _this.options.attrValueProcessors ? processItem(_this.options.attrValueProcessors, node.attributes[key], key) : node.attributes[key];
154
164
  processedKey = _this.options.attrNameProcessors ? processItem(_this.options.attrNameProcessors, key) : key;
155
165
  if (_this.options.mergeAttrs) {
156
166
  _this.assignOrPush(obj, processedKey, newValue);
157
167
  } else {
158
- obj[attrkey][processedKey] = newValue;
168
+ defineProperty(obj[attrkey], processedKey, newValue);
159
169
  }
160
170
  }
161
171
  }
@@ -226,7 +236,7 @@
226
236
  }
227
237
  if (_this.options.explicitChildren && !_this.options.mergeAttrs && typeof obj === 'object') {
228
238
  if (!_this.options.preserveChildrenOrder) {
229
- node = Object.create(null);
239
+ node = {};
230
240
  if (_this.options.attrkey in obj) {
231
241
  node[_this.options.attrkey] = obj[_this.options.attrkey];
232
242
  delete obj[_this.options.attrkey];
@@ -241,10 +251,10 @@
241
251
  obj = node;
242
252
  } else if (s) {
243
253
  s[_this.options.childkey] = s[_this.options.childkey] || [];
244
- objClone = Object.create(null);
254
+ objClone = {};
245
255
  for (key in obj) {
246
256
  if (!hasProp.call(obj, key)) continue;
247
- objClone[key] = obj[key];
257
+ defineProperty(objClone, key, obj[key]);
248
258
  }
249
259
  s[_this.options.childkey].push(objClone);
250
260
  delete obj["#name"];
@@ -258,8 +268,8 @@
258
268
  } else {
259
269
  if (_this.options.explicitRoot) {
260
270
  old = obj;
261
- obj = Object.create(null);
262
- obj[nodeName] = old;
271
+ obj = {};
272
+ defineProperty(obj, nodeName, old);
263
273
  }
264
274
  _this.resultObject = obj;
265
275
  _this.saxParser.ended = true;