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.
- package/.jsii +3 -3
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +10 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +651 -18
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.paginators.json +11 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1377 -1108
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +510 -494
- package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +632 -0
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +7 -7
- package/node_modules/aws-sdk/clients/ec2.d.ts +267 -3
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +32 -10
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +24 -11
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +51 -25
- package/node_modules/aws-sdk/dist/aws-sdk.js +1380 -1111
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +70 -70
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +3 -3
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/is-callable/.editorconfig +5 -0
- package/node_modules/is-callable/CHANGELOG.md +12 -0
- package/node_modules/is-callable/README.md +13 -0
- package/node_modules/is-callable/index.js +23 -10
- package/node_modules/is-callable/package.json +1 -1
- package/node_modules/is-callable/test/index.js +40 -4
- package/package.json +3 -3
@@ -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
|
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
|
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
|
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;
|
@@ -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
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
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
|
-
|
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);
|
@@ -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', {
|
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
|
-
|
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),
|
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.
|
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.
|
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
|
+
"version": "2.0.97",
|
96
96
|
"jest": {
|
97
97
|
"testMatch": [
|
98
98
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|