cdk-comprehend-s3olap 2.0.95 → 2.0.97

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 (28) hide show
  1. package/.jsii +3 -3
  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/aws-sdk/CHANGELOG.md +10 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +651 -18
  8. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.paginators.json +11 -0
  9. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1377 -1108
  10. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +510 -494
  11. package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +632 -0
  12. package/node_modules/aws-sdk/clients/dynamodb.d.ts +7 -7
  13. package/node_modules/aws-sdk/clients/ec2.d.ts +267 -3
  14. package/node_modules/aws-sdk/clients/sagemaker.d.ts +32 -10
  15. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +24 -11
  16. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +51 -25
  17. package/node_modules/aws-sdk/dist/aws-sdk.js +1380 -1111
  18. package/node_modules/aws-sdk/dist/aws-sdk.min.js +70 -70
  19. package/node_modules/aws-sdk/lib/core.js +1 -1
  20. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +3 -3
  21. package/node_modules/aws-sdk/package.json +1 -1
  22. package/node_modules/is-callable/.editorconfig +5 -0
  23. package/node_modules/is-callable/CHANGELOG.md +12 -0
  24. package/node_modules/is-callable/README.md +13 -0
  25. package/node_modules/is-callable/index.js +23 -10
  26. package/node_modules/is-callable/package.json +1 -1
  27. package/node_modules/is-callable/test/index.js +40 -4
  28. package/package.json +3 -3
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1215.0',
23
+ VERSION: '2.1217.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -3088,7 +3088,7 @@ export namespace DocumentClient {
3088
3088
  export type TransactGetItemList = TransactGetItem[];
3089
3089
  export interface TransactGetItemsInput {
3090
3090
  /**
3091
- * An ordered array of up to 25 TransactGetItem objects, each of which contains a Get structure.
3091
+ * An ordered array of up to 100 TransactGetItem objects, each of which contains a Get structure.
3092
3092
  */
3093
3093
  TransactItems: TransactGetItemList;
3094
3094
  /**
@@ -3102,7 +3102,7 @@ export namespace DocumentClient {
3102
3102
  */
3103
3103
  ConsumedCapacity?: ConsumedCapacityMultiple;
3104
3104
  /**
3105
- * An ordered array of up to 25 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item. If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.
3105
+ * An ordered array of up to 100 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item. If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.
3106
3106
  */
3107
3107
  Responses?: ItemResponseList;
3108
3108
  }
@@ -3127,7 +3127,7 @@ export namespace DocumentClient {
3127
3127
  export type TransactWriteItemList = TransactWriteItem[];
3128
3128
  export interface TransactWriteItemsInput {
3129
3129
  /**
3130
- * An ordered array of up to 25 TransactWriteItem objects, each of which contains a ConditionCheck, Put, Update, or Delete object. These can operate on items in different tables, but the tables must reside in the same Amazon Web Services account and Region, and no two of them can operate on the same item.
3130
+ * An ordered array of up to 100 TransactWriteItem objects, each of which contains a ConditionCheck, Put, Update, or Delete object. These can operate on items in different tables, but the tables must reside in the same Amazon Web Services account and Region, and no two of them can operate on the same item.
3131
3131
  */
3132
3132
  TransactItems: TransactWriteItemList;
3133
3133
  ReturnConsumedCapacity?: ReturnConsumedCapacity;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1215.0",
4
+ "version": "2.1217.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -14,6 +14,11 @@ indent_style = space
14
14
  indent_size = 2
15
15
  max_line_length = off
16
16
 
17
+ [README.md]
18
+ indent_style = off
19
+ indent_size = off
20
+ max_line_length = off
21
+
17
22
  [*.json]
18
23
  max_line_length = off
19
24
 
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v1.2.6](https://github.com/inspect-js/is-callable/compare/v1.2.5...v1.2.6) - 2022-09-14
9
+
10
+ ### Commits
11
+
12
+ - [Fix] work for `document.all` in Firefox 3 and IE 6-8 [`015132a`](https://github.com/inspect-js/is-callable/commit/015132aaef886ec777b5b3593ef4ce461dd0c7d4)
13
+ - [Test] skip function toString check for nullish values [`8698116`](https://github.com/inspect-js/is-callable/commit/8698116f95eb59df8b48ec8e4585fc1cdd8cae9f)
14
+ - [readme] add "supported engines" section [`0442207`](https://github.com/inspect-js/is-callable/commit/0442207a89a1554d41ba36daf21862ef7ccbd500)
15
+ - [Tests] skip one of the fixture objects in FF 3.6 [`a501141`](https://github.com/inspect-js/is-callable/commit/a5011410bc6edb276c6ec8b47ce5c5d83c4bee15)
16
+ - [Tests] allow `class` constructor tests to fail in FF v45 - v54, which has undetectable classes [`b12e4a4`](https://github.com/inspect-js/is-callable/commit/b12e4a4d8c438678bd7710f9f896680150766b51)
17
+ - [Fix] Safari 4: regexes should not be considered callable [`4b732ff`](https://github.com/inspect-js/is-callable/commit/4b732ffa34346db3f0193ea4e46b7d4e637e6c82)
18
+ - [Fix] properly recognize `document.all` in Safari 4 [`3193735`](https://github.com/inspect-js/is-callable/commit/319373525dc4603346661641840cd9a3e0613136)
19
+
8
20
  ## [v1.2.5](https://github.com/inspect-js/is-callable/compare/v1.2.4...v1.2.5) - 2022-09-11
9
21
 
10
22
  ### Commits
@@ -11,6 +11,19 @@
11
11
 
12
12
  Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
13
13
 
14
+ ## Supported engines
15
+ Automatically tested in every minor version of node.
16
+
17
+ Manually tested in:
18
+ - Safari: v4 - v15 <sub>(4, 5, 5.1, 6.0.5, 6.2, 7.1, 8, 9.1.3, 10.1.2, 11.1.2, 12.1, 13.1.2, 14.1.2, 15.3, 15.6.1)</sub>
19
+ - Note: Safari 9 has `class`, but `Function.prototype.toString` hides that progeny and makes them look like functions, so `class` constructors will be reported by this package as callable, when they are not in fact callable.
20
+ - Chrome: v15 - v81, v83 - v106<sub>(every integer version)</sub>
21
+ - Note: This includes Edge v80+ and Opera v15+, which matches Chrome
22
+ - Firefox: v3, v3.6, v4 - v105 <sub>(every integer version)</sub>
23
+ - Note: Firefox v45 - v54 has `class`, but `Function.prototype.toString` hides that progeny and makes them look like functions, so `class` constructors will be reported by this package as callable, when they are not in fact callable.
24
+ - IE: v6 - v11<sub>(every integer version</sub>
25
+ - Opera: v11.1, v11.5, v11.6, 12?, v12.1, v12.12?, v12.14, v12.15, v12.16, v15+ <sub>v15+ matches Chrome</sub>
26
+
14
27
  ## Example
15
28
 
16
29
  ```js
@@ -43,19 +43,33 @@ var tryFunctionObject = function tryFunctionToStr(value) {
43
43
  }
44
44
  };
45
45
  var toStr = Object.prototype.toString;
46
+ var objectClass = '[object Object]';
46
47
  var fnClass = '[object Function]';
47
48
  var genClass = '[object GeneratorFunction]';
49
+ var ddaClass = '[object HTMLAllCollection]';
48
50
  var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`
49
- var isDDA = typeof document === 'object' ? function isDocumentDotAll(value) {
50
- /* globals document: false */
51
- // in IE 8, typeof document.all is "object"
52
- if (typeof value === 'undefined' || typeof value === 'object') {
53
- try {
54
- return value('') === null;
55
- } catch (e) { /**/ }
51
+
52
+ var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing
53
+
54
+ var isDDA = function isDocumentDotAll() { return false; };
55
+ if (typeof document === 'object') {
56
+ // Firefox 3 canonicalized DDA to undefined when it's not accessed directly
57
+ var all = document.all;
58
+ if (toStr.call(all) === toStr.call(document.all)) {
59
+ isDDA = function isDocumentDotAll(value) {
60
+ /* globals document: false */
61
+ // in IE 6-8, typeof document.all is "object" and it's truthy
62
+ if ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) {
63
+ try {
64
+ var str = toStr.call(value);
65
+ // IE 6-8 uses `objectClass`
66
+ return (str === ddaClass || str === objectClass) && value('') == null; // eslint-disable-line eqeqeq
67
+ } catch (e) { /**/ }
68
+ }
69
+ return false;
70
+ };
56
71
  }
57
- return false;
58
- } : function () { return false; };
72
+ }
59
73
 
60
74
  module.exports = reflectApply
61
75
  ? function isCallable(value) {
@@ -74,7 +88,6 @@ module.exports = reflectApply
74
88
  if (isDDA(value)) { return true; }
75
89
  if (!value) { return false; }
76
90
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
77
- if (typeof value === 'function' && !value.prototype) { return true; }
78
91
  if (hasToStringTag) { return tryFunctionObject(value); }
79
92
  if (isES6ClassFn(value)) { return false; }
80
93
  var strClass = toStr.call(value);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-callable",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "author": {
5
5
  "name": "Jordan Harband",
6
6
  "email": "ljharb@gmail.com",
@@ -20,6 +20,14 @@ try {
20
20
  } catch (e) { /**/ }
21
21
 
22
22
  var isIE68 = !(0 in [undefined]);
23
+ var isFirefox = typeof window !== 'undefined' && ('netscape' in window) && (/ rv:/).test(navigator.userAgent);
24
+ var fnToStringCoerces;
25
+ try {
26
+ Function.prototype.toString.call(v.uncoercibleFnObject);
27
+ fnToStringCoerces = true;
28
+ } catch (e) {
29
+ fnToStringCoerces = false;
30
+ }
23
31
 
24
32
  var noop = function () {};
25
33
  var classFake = function classFake() { }; // eslint-disable-line func-name-matching
@@ -60,6 +68,7 @@ var invokeFunction = function invokeFunctionString(str) {
60
68
  };
61
69
 
62
70
  var classConstructor = invokeFunction('"use strict"; return class Foo {}');
71
+ var hasDetectableClasses = classConstructor && Function.prototype.toString.call(classConstructor) === 'class Foo {}';
63
72
 
64
73
  var commentedClass = invokeFunction('"use strict"; return class/*kkk*/\n//blah\n Bar\n//blah\n {}');
65
74
  var commentedClassOneLine = invokeFunction('"use strict"; return class/**/A{}');
@@ -78,6 +87,25 @@ test('not callables', function (t) {
78
87
  new RegExp('a', 'g'),
79
88
  new Date()
80
89
  ]), function (nonFunction) {
90
+ if (fnToStringCoerces && nonFunction === v.coercibleFnObject) {
91
+ t.comment('FF 3.6 has a Function toString that coerces its receiver, so this test is skipped');
92
+ return;
93
+ }
94
+ if (nonFunction != null) { // eslint-disable-line eqeqeq
95
+ if (isFirefox) {
96
+ // Firefox 3 throws some kind of *object* here instead of a proper error
97
+ t['throws'](
98
+ function () { Function.prototype.toString.call(nonFunction); },
99
+ inspect(nonFunction) + ' can not be used with Function toString'
100
+ );
101
+ } else {
102
+ t['throws'](
103
+ function () { Function.prototype.toString.call(nonFunction); },
104
+ TypeError,
105
+ inspect(nonFunction) + ' can not be used with Function toString'
106
+ );
107
+ }
108
+ }
81
109
  t.equal(isCallable(nonFunction), false, inspect(nonFunction) + ' is not callable');
82
110
  });
83
111
 
@@ -134,7 +162,12 @@ test('Arrow functions', { skip: arrows.length === 0 }, function (t) {
134
162
  t.end();
135
163
  });
136
164
 
137
- test('"Class" constructors', { skip: !classConstructor || !commentedClass || !commentedClassOneLine || !classAnonymous }, function (t) {
165
+ test('"Class" constructors', {
166
+ skip: !classConstructor || !commentedClass || !commentedClassOneLine || !classAnonymous, todo: !hasDetectableClasses
167
+ }, function (t) {
168
+ if (!hasDetectableClasses) {
169
+ t.comment('WARNING: This engine does not support detectable classes');
170
+ }
138
171
  t.notOk(isCallable(classConstructor), 'class constructors are not callable');
139
172
  t.notOk(isCallable(commentedClass), 'class constructors with comments in the signature are not callable');
140
173
  t.notOk(isCallable(commentedClassOneLine), 'one-line class constructors with comments in the signature are not callable');
@@ -167,7 +200,10 @@ test('DOM', function (t) {
167
200
 
168
201
  t.test('document.all', { skip: typeof document !== 'object' }, function (st) {
169
202
  st.notOk(isCallable(document), 'document is not callable');
170
- st.ok(isCallable(document.all), 'document.all is callable');
203
+
204
+ var all = document.all;
205
+ var isFF3 = Object.prototype.toString(all) === Object.prototype.toString.call(document.all);
206
+ st.equal(isCallable(document.all), isFF3, 'document.all is ' + (isFF3 ? 'not ' : '') + 'callable');
171
207
 
172
208
  st.end();
173
209
  });
@@ -179,9 +215,9 @@ test('DOM', function (t) {
179
215
  var constructor = global[name];
180
216
 
181
217
  t.test(name, { skip: !constructor }, function (st) {
182
- st.match(typeof constructor, /^(?:function|object)$/, name + ' is a function');
218
+ st.match(typeof constructor, /^(?:function|object)$/, name + ' is a function or object');
183
219
 
184
- st.equal(isCallable(constructor), !isIE68, name + ' is ' + (isIE68 ? 'not ' : '') + 'callable');
220
+ st.equal(isCallable(constructor), typeof constructor === 'function', name + ' is ' + (isIE68 ? 'not ' : '') + 'callable');
185
221
 
186
222
  st.end();
187
223
  });
package/package.json CHANGED
@@ -59,7 +59,7 @@
59
59
  "jsii-pacmak": "^1.67.0",
60
60
  "json-schema": "^0.4.0",
61
61
  "npm-check-updates": "^15",
62
- "projen": "^0.62.6",
62
+ "projen": "^0.62.9",
63
63
  "standard-version": "^9",
64
64
  "ts-jest": "^27",
65
65
  "typescript": "^4.8.3"
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "aws-cdk-lib": "^2.41.0",
73
- "aws-sdk": "^2.1215.0",
73
+ "aws-sdk": "^2.1217.0",
74
74
  "constructs": "^10.0.5",
75
75
  "esbuild": "^0.15.7"
76
76
  },
@@ -92,7 +92,7 @@
92
92
  ],
93
93
  "main": "lib/index.js",
94
94
  "license": "Apache-2.0",
95
- "version": "2.0.95",
95
+ "version": "2.0.97",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",