cdk-comprehend-s3olap 2.0.120 → 2.0.122

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.
Files changed (79) hide show
  1. package/.jsii +4 -4
  2. package/lib/cdk-comprehend-s3olap.js +2 -2
  3. package/lib/comprehend-lambdas.js +2 -2
  4. package/lib/iam-roles.js +4 -4
  5. package/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
  6. package/node_modules/@esbuild/linux-x64/package.json +1 -1
  7. package/node_modules/aws-sdk/CHANGELOG.md +9 -1
  8. package/node_modules/aws-sdk/README.md +1 -1
  9. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +196 -187
  10. package/node_modules/aws-sdk/apis/marketplace-catalog-2018-09-17.min.json +82 -15
  11. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +56 -32
  12. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +224 -138
  13. package/node_modules/aws-sdk/clients/connect.d.ts +15 -4
  14. package/node_modules/aws-sdk/clients/ecs.d.ts +24 -24
  15. package/node_modules/aws-sdk/clients/marketplacecatalog.d.ts +67 -7
  16. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +20 -1
  17. package/node_modules/aws-sdk/clients/omics.d.ts +2 -2
  18. package/node_modules/aws-sdk/clients/rekognition.d.ts +114 -16
  19. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  20. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +2532 -875
  21. package/node_modules/aws-sdk/dist/aws-sdk.js +505 -343
  22. package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -79
  23. package/node_modules/aws-sdk/dist/xml2js.js +2579 -922
  24. package/node_modules/aws-sdk/lib/core.js +1 -1
  25. package/node_modules/aws-sdk/package.json +2 -2
  26. package/node_modules/esbuild/bin/esbuild +1 -1
  27. package/node_modules/esbuild/lib/main.js +8 -8
  28. package/node_modules/esbuild/package.json +23 -23
  29. package/node_modules/xml2js/README.md +108 -7
  30. package/node_modules/xml2js/lib/parser.js +35 -7
  31. package/node_modules/xml2js/lib/xml2js.js +2 -0
  32. package/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +47 -0
  33. package/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +21 -21
  34. package/node_modules/xml2js/node_modules/xmlbuilder/README.md +86 -85
  35. package/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +20 -0
  36. package/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +10 -0
  37. package/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
  38. package/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +23 -0
  39. package/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +11 -0
  40. package/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +11 -1
  41. package/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +10 -0
  42. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +86 -9
  43. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +10 -6
  44. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +79 -0
  45. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +10 -6
  46. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +64 -0
  47. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +16 -0
  48. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +32 -0
  49. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +28 -0
  50. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +16 -11
  51. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +7 -4
  52. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +49 -8
  53. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +20 -5
  54. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +5 -2
  55. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +84 -5
  56. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +199 -5
  57. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +165 -39
  58. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +24 -0
  59. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +31 -0
  60. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +207 -20
  61. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +58 -0
  62. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +403 -50
  63. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +48 -0
  64. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +28 -0
  65. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +19 -5
  66. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +6 -3
  67. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +94 -197
  68. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +6 -305
  69. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +109 -32
  70. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +43 -6
  71. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +21 -0
  72. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +16 -0
  73. package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +397 -59
  74. package/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +15 -3
  75. package/node_modules/xml2js/node_modules/xmlbuilder/package.json +5 -3
  76. package/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +153 -0
  77. package/node_modules/xml2js/package.json +11 -5
  78. package/package.json +5 -5
  79. package/node_modules/xml2js/node_modules/xmlbuilder/.npmignore +0 -5
@@ -0,0 +1,31 @@
1
+ // Generated by CoffeeScript 1.12.7
2
+ (function() {
3
+ var NodeType, XMLDummy, XMLNode,
4
+ 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; },
5
+ hasProp = {}.hasOwnProperty;
6
+
7
+ XMLNode = require('./XMLNode');
8
+
9
+ NodeType = require('./NodeType');
10
+
11
+ module.exports = XMLDummy = (function(superClass) {
12
+ extend(XMLDummy, superClass);
13
+
14
+ function XMLDummy(parent) {
15
+ XMLDummy.__super__.constructor.call(this, parent);
16
+ this.type = NodeType.Dummy;
17
+ }
18
+
19
+ XMLDummy.prototype.clone = function() {
20
+ return Object.create(this);
21
+ };
22
+
23
+ XMLDummy.prototype.toString = function(options) {
24
+ return '';
25
+ };
26
+
27
+ return XMLDummy;
28
+
29
+ })(XMLNode);
30
+
31
+ }).call(this);
@@ -1,47 +1,115 @@
1
1
  // Generated by CoffeeScript 1.12.7
2
2
  (function() {
3
- var XMLAttribute, XMLElement, XMLNode, isFunction, isObject, ref,
3
+ var NodeType, XMLAttribute, XMLElement, XMLNamedNodeMap, XMLNode, getValue, isFunction, isObject, ref,
4
4
  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; },
5
5
  hasProp = {}.hasOwnProperty;
6
6
 
7
- ref = require('./Utility'), isObject = ref.isObject, isFunction = ref.isFunction;
7
+ ref = require('./Utility'), isObject = ref.isObject, isFunction = ref.isFunction, getValue = ref.getValue;
8
8
 
9
9
  XMLNode = require('./XMLNode');
10
10
 
11
+ NodeType = require('./NodeType');
12
+
11
13
  XMLAttribute = require('./XMLAttribute');
12
14
 
15
+ XMLNamedNodeMap = require('./XMLNamedNodeMap');
16
+
13
17
  module.exports = XMLElement = (function(superClass) {
14
18
  extend(XMLElement, superClass);
15
19
 
16
20
  function XMLElement(parent, name, attributes) {
21
+ var child, j, len, ref1;
17
22
  XMLElement.__super__.constructor.call(this, parent);
18
23
  if (name == null) {
19
- throw new Error("Missing element name");
24
+ throw new Error("Missing element name. " + this.debugInfo());
20
25
  }
21
- this.name = this.stringify.eleName(name);
22
- this.attributes = {};
26
+ this.name = this.stringify.name(name);
27
+ this.type = NodeType.Element;
28
+ this.attribs = {};
29
+ this.schemaTypeInfo = null;
23
30
  if (attributes != null) {
24
31
  this.attribute(attributes);
25
32
  }
26
- if (parent.isDocument) {
33
+ if (parent.type === NodeType.Document) {
27
34
  this.isRoot = true;
28
35
  this.documentObject = parent;
29
36
  parent.rootObject = this;
37
+ if (parent.children) {
38
+ ref1 = parent.children;
39
+ for (j = 0, len = ref1.length; j < len; j++) {
40
+ child = ref1[j];
41
+ if (child.type === NodeType.DocType) {
42
+ child.name = this.name;
43
+ break;
44
+ }
45
+ }
46
+ }
30
47
  }
31
48
  }
32
49
 
50
+ Object.defineProperty(XMLElement.prototype, 'tagName', {
51
+ get: function() {
52
+ return this.name;
53
+ }
54
+ });
55
+
56
+ Object.defineProperty(XMLElement.prototype, 'namespaceURI', {
57
+ get: function() {
58
+ return '';
59
+ }
60
+ });
61
+
62
+ Object.defineProperty(XMLElement.prototype, 'prefix', {
63
+ get: function() {
64
+ return '';
65
+ }
66
+ });
67
+
68
+ Object.defineProperty(XMLElement.prototype, 'localName', {
69
+ get: function() {
70
+ return this.name;
71
+ }
72
+ });
73
+
74
+ Object.defineProperty(XMLElement.prototype, 'id', {
75
+ get: function() {
76
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
77
+ }
78
+ });
79
+
80
+ Object.defineProperty(XMLElement.prototype, 'className', {
81
+ get: function() {
82
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
83
+ }
84
+ });
85
+
86
+ Object.defineProperty(XMLElement.prototype, 'classList', {
87
+ get: function() {
88
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
89
+ }
90
+ });
91
+
92
+ Object.defineProperty(XMLElement.prototype, 'attributes', {
93
+ get: function() {
94
+ if (!this.attributeMap || !this.attributeMap.nodes) {
95
+ this.attributeMap = new XMLNamedNodeMap(this.attribs);
96
+ }
97
+ return this.attributeMap;
98
+ }
99
+ });
100
+
33
101
  XMLElement.prototype.clone = function() {
34
102
  var att, attName, clonedSelf, ref1;
35
103
  clonedSelf = Object.create(this);
36
104
  if (clonedSelf.isRoot) {
37
105
  clonedSelf.documentObject = null;
38
106
  }
39
- clonedSelf.attributes = {};
40
- ref1 = this.attributes;
107
+ clonedSelf.attribs = {};
108
+ ref1 = this.attribs;
41
109
  for (attName in ref1) {
42
110
  if (!hasProp.call(ref1, attName)) continue;
43
111
  att = ref1[attName];
44
- clonedSelf.attributes[attName] = att.clone();
112
+ clonedSelf.attribs[attName] = att.clone();
45
113
  }
46
114
  clonedSelf.children = [];
47
115
  this.children.forEach(function(child) {
@@ -56,7 +124,7 @@
56
124
  XMLElement.prototype.attribute = function(name, value) {
57
125
  var attName, attValue;
58
126
  if (name != null) {
59
- name = name.valueOf();
127
+ name = getValue(name);
60
128
  }
61
129
  if (isObject(name)) {
62
130
  for (attName in name) {
@@ -68,32 +136,34 @@
68
136
  if (isFunction(value)) {
69
137
  value = value.apply();
70
138
  }
71
- if (!this.options.skipNullAttributes || (value != null)) {
72
- this.attributes[name] = new XMLAttribute(this, name, value);
139
+ if (this.options.keepNullAttributes && (value == null)) {
140
+ this.attribs[name] = new XMLAttribute(this, name, "");
141
+ } else if (value != null) {
142
+ this.attribs[name] = new XMLAttribute(this, name, value);
73
143
  }
74
144
  }
75
145
  return this;
76
146
  };
77
147
 
78
148
  XMLElement.prototype.removeAttribute = function(name) {
79
- var attName, i, len;
149
+ var attName, j, len;
80
150
  if (name == null) {
81
- throw new Error("Missing attribute name");
151
+ throw new Error("Missing attribute name. " + this.debugInfo());
82
152
  }
83
- name = name.valueOf();
153
+ name = getValue(name);
84
154
  if (Array.isArray(name)) {
85
- for (i = 0, len = name.length; i < len; i++) {
86
- attName = name[i];
87
- delete this.attributes[attName];
155
+ for (j = 0, len = name.length; j < len; j++) {
156
+ attName = name[j];
157
+ delete this.attribs[attName];
88
158
  }
89
159
  } else {
90
- delete this.attributes[name];
160
+ delete this.attribs[name];
91
161
  }
92
162
  return this;
93
163
  };
94
164
 
95
165
  XMLElement.prototype.toString = function(options) {
96
- return this.options.writer.set(options).element(this);
166
+ return this.options.writer.element(this, this.options.writer.filterOptions(options));
97
167
  };
98
168
 
99
169
  XMLElement.prototype.att = function(name, value) {
@@ -104,6 +174,123 @@
104
174
  return this.attribute(name, value);
105
175
  };
106
176
 
177
+ XMLElement.prototype.getAttribute = function(name) {
178
+ if (this.attribs.hasOwnProperty(name)) {
179
+ return this.attribs[name].value;
180
+ } else {
181
+ return null;
182
+ }
183
+ };
184
+
185
+ XMLElement.prototype.setAttribute = function(name, value) {
186
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
187
+ };
188
+
189
+ XMLElement.prototype.getAttributeNode = function(name) {
190
+ if (this.attribs.hasOwnProperty(name)) {
191
+ return this.attribs[name];
192
+ } else {
193
+ return null;
194
+ }
195
+ };
196
+
197
+ XMLElement.prototype.setAttributeNode = function(newAttr) {
198
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
199
+ };
200
+
201
+ XMLElement.prototype.removeAttributeNode = function(oldAttr) {
202
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
203
+ };
204
+
205
+ XMLElement.prototype.getElementsByTagName = function(name) {
206
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
207
+ };
208
+
209
+ XMLElement.prototype.getAttributeNS = function(namespaceURI, localName) {
210
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
211
+ };
212
+
213
+ XMLElement.prototype.setAttributeNS = function(namespaceURI, qualifiedName, value) {
214
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
215
+ };
216
+
217
+ XMLElement.prototype.removeAttributeNS = function(namespaceURI, localName) {
218
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
219
+ };
220
+
221
+ XMLElement.prototype.getAttributeNodeNS = function(namespaceURI, localName) {
222
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
223
+ };
224
+
225
+ XMLElement.prototype.setAttributeNodeNS = function(newAttr) {
226
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
227
+ };
228
+
229
+ XMLElement.prototype.getElementsByTagNameNS = function(namespaceURI, localName) {
230
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
231
+ };
232
+
233
+ XMLElement.prototype.hasAttribute = function(name) {
234
+ return this.attribs.hasOwnProperty(name);
235
+ };
236
+
237
+ XMLElement.prototype.hasAttributeNS = function(namespaceURI, localName) {
238
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
239
+ };
240
+
241
+ XMLElement.prototype.setIdAttribute = function(name, isId) {
242
+ if (this.attribs.hasOwnProperty(name)) {
243
+ return this.attribs[name].isId;
244
+ } else {
245
+ return isId;
246
+ }
247
+ };
248
+
249
+ XMLElement.prototype.setIdAttributeNS = function(namespaceURI, localName, isId) {
250
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
251
+ };
252
+
253
+ XMLElement.prototype.setIdAttributeNode = function(idAttr, isId) {
254
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
255
+ };
256
+
257
+ XMLElement.prototype.getElementsByTagName = function(tagname) {
258
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
259
+ };
260
+
261
+ XMLElement.prototype.getElementsByTagNameNS = function(namespaceURI, localName) {
262
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
263
+ };
264
+
265
+ XMLElement.prototype.getElementsByClassName = function(classNames) {
266
+ throw new Error("This DOM method is not implemented." + this.debugInfo());
267
+ };
268
+
269
+ XMLElement.prototype.isEqualNode = function(node) {
270
+ var i, j, ref1;
271
+ if (!XMLElement.__super__.isEqualNode.apply(this, arguments).isEqualNode(node)) {
272
+ return false;
273
+ }
274
+ if (node.namespaceURI !== this.namespaceURI) {
275
+ return false;
276
+ }
277
+ if (node.prefix !== this.prefix) {
278
+ return false;
279
+ }
280
+ if (node.localName !== this.localName) {
281
+ return false;
282
+ }
283
+ if (node.attribs.length !== this.attribs.length) {
284
+ return false;
285
+ }
286
+ for (i = j = 0, ref1 = this.attribs.length - 1; 0 <= ref1 ? j <= ref1 : j >= ref1; i = 0 <= ref1 ? ++j : --j) {
287
+ if (!this.attribs[i].isEqualNode(node.attribs[i])) {
288
+ return false;
289
+ }
290
+ }
291
+ return true;
292
+ };
293
+
107
294
  return XMLElement;
108
295
 
109
296
  })(XMLNode);
@@ -0,0 +1,58 @@
1
+ // Generated by CoffeeScript 1.12.7
2
+ (function() {
3
+ var XMLNamedNodeMap;
4
+
5
+ module.exports = XMLNamedNodeMap = (function() {
6
+ function XMLNamedNodeMap(nodes) {
7
+ this.nodes = nodes;
8
+ }
9
+
10
+ Object.defineProperty(XMLNamedNodeMap.prototype, 'length', {
11
+ get: function() {
12
+ return Object.keys(this.nodes).length || 0;
13
+ }
14
+ });
15
+
16
+ XMLNamedNodeMap.prototype.clone = function() {
17
+ return this.nodes = null;
18
+ };
19
+
20
+ XMLNamedNodeMap.prototype.getNamedItem = function(name) {
21
+ return this.nodes[name];
22
+ };
23
+
24
+ XMLNamedNodeMap.prototype.setNamedItem = function(node) {
25
+ var oldNode;
26
+ oldNode = this.nodes[node.nodeName];
27
+ this.nodes[node.nodeName] = node;
28
+ return oldNode || null;
29
+ };
30
+
31
+ XMLNamedNodeMap.prototype.removeNamedItem = function(name) {
32
+ var oldNode;
33
+ oldNode = this.nodes[name];
34
+ delete this.nodes[name];
35
+ return oldNode || null;
36
+ };
37
+
38
+ XMLNamedNodeMap.prototype.item = function(index) {
39
+ return this.nodes[Object.keys(this.nodes)[index]] || null;
40
+ };
41
+
42
+ XMLNamedNodeMap.prototype.getNamedItemNS = function(namespaceURI, localName) {
43
+ throw new Error("This DOM method is not implemented.");
44
+ };
45
+
46
+ XMLNamedNodeMap.prototype.setNamedItemNS = function(node) {
47
+ throw new Error("This DOM method is not implemented.");
48
+ };
49
+
50
+ XMLNamedNodeMap.prototype.removeNamedItemNS = function(namespaceURI, localName) {
51
+ throw new Error("This DOM method is not implemented.");
52
+ };
53
+
54
+ return XMLNamedNodeMap;
55
+
56
+ })();
57
+
58
+ }).call(this);