cdk-comprehend-s3olap 2.0.104 → 2.0.105

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 (29) 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 +9 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +99 -95
  8. package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +59 -22
  9. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +228 -142
  10. package/node_modules/aws-sdk/apis/nimble-2020-08-01.waiters2.json +1 -1
  11. package/node_modules/aws-sdk/clients/apprunner.d.ts +1 -1
  12. package/node_modules/aws-sdk/clients/ec2.d.ts +8 -0
  13. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +85 -0
  14. package/node_modules/aws-sdk/clients/lightsail.d.ts +66 -3
  15. package/node_modules/aws-sdk/clients/nimble.d.ts +14 -14
  16. package/node_modules/aws-sdk/clients/ssm.d.ts +1 -1
  17. package/node_modules/aws-sdk/clients/wafv2.d.ts +7 -7
  18. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  19. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +5 -5
  20. package/node_modules/aws-sdk/dist/aws-sdk.js +102 -98
  21. package/node_modules/aws-sdk/dist/aws-sdk.min.js +15 -15
  22. package/node_modules/aws-sdk/lib/core.js +1 -1
  23. package/node_modules/aws-sdk/package.json +1 -1
  24. package/node_modules/is-callable/CHANGELOG.md +13 -0
  25. package/node_modules/is-callable/README.md +5 -2
  26. package/node_modules/is-callable/index.js +13 -7
  27. package/node_modules/is-callable/package.json +1 -1
  28. package/node_modules/is-callable/test/index.js +26 -9
  29. package/package.json +5 -5
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1222.0',
23
+ VERSION: '2.1223.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.1222.0",
4
+ "version": "2.1223.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -5,6 +5,19 @@ 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.7](https://github.com/inspect-js/is-callable/compare/v1.2.6...v1.2.7) - 2022-09-23
9
+
10
+ ### Commits
11
+
12
+ - [Fix] recognize `document.all` in IE 6-10 [`06c1db2`](https://github.com/inspect-js/is-callable/commit/06c1db2b9b2e0f28428e1293eb572f8f93871ec7)
13
+ - [Tests] improve logic for FF 20-35 [`0f7d9b9`](https://github.com/inspect-js/is-callable/commit/0f7d9b9c7fe149ca87e71f0a125ade251a6a578c)
14
+ - [Fix] handle `document.all` in FF 27 (and +, probably) [`696c661`](https://github.com/inspect-js/is-callable/commit/696c661b8c0810c2d05ab172f1607f4e77ddf81e)
15
+ - [Tests] fix proxy tests in FF 42-63 [`985df0d`](https://github.com/inspect-js/is-callable/commit/985df0dd36f8cfe6f1993657b7c0f4cfc19dae30)
16
+ - [readme] update tested browsers [`389e919`](https://github.com/inspect-js/is-callable/commit/389e919493b1cb2010126b0411e5291bf76169bd)
17
+ - [Fix] detect `document.all` in Opera 12.16 [`b9f1022`](https://github.com/inspect-js/is-callable/commit/b9f1022b3d7e466b7f09080bd64c253caf644325)
18
+ - [Fix] HTML elements: properly report as callable in Opera 12.16 [`17391fe`](https://github.com/inspect-js/is-callable/commit/17391fe02b895777c4337be28dca3b364b743b34)
19
+ - [Tests] fix inverted logic in FF3 test [`056ebd4`](https://github.com/inspect-js/is-callable/commit/056ebd48790f46ca18ff5b12f51b44c08ccc3595)
20
+
8
21
  ## [v1.2.6](https://github.com/inspect-js/is-callable/compare/v1.2.5...v1.2.6) - 2022-09-14
9
22
 
10
23
  ### Commits
@@ -20,9 +20,12 @@ Manually tested in:
20
20
  - Chrome: v15 - v81, v83 - v106<sub>(every integer version)</sub>
21
21
  - Note: This includes Edge v80+ and Opera v15+, which matches Chrome
22
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.
23
+ - Note: 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
+ - Note: in v42 - v63, `Function.prototype.toString` throws on HTML element constructors, or a Proxy to a function
25
+ - Note: in v20 - v35, HTML element constructors are not callable, despite having typeof `function`.
26
+ - Note: in v19, `document.all` is not callable.
24
27
  - 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>
28
+ - Opera: v11.1, v11.5, v11.6, v12.1, v12.14, v12.15, v12.16, v15+ <sub>v15+ matches Chrome</sub>
26
29
 
27
30
  ## Example
28
31
 
@@ -46,14 +46,16 @@ var toStr = Object.prototype.toString;
46
46
  var objectClass = '[object Object]';
47
47
  var fnClass = '[object Function]';
48
48
  var genClass = '[object GeneratorFunction]';
49
- var ddaClass = '[object HTMLAllCollection]';
49
+ var ddaClass = '[object HTMLAllCollection]'; // IE 11
50
+ var ddaClass2 = '[object HTML document.all class]';
51
+ var ddaClass3 = '[object HTMLCollection]'; // IE 9-10
50
52
  var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`
51
53
 
52
54
  var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing
53
55
 
54
56
  var isDDA = function isDocumentDotAll() { return false; };
55
57
  if (typeof document === 'object') {
56
- // Firefox 3 canonicalized DDA to undefined when it's not accessed directly
58
+ // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly
57
59
  var all = document.all;
58
60
  if (toStr.call(all) === toStr.call(document.all)) {
59
61
  isDDA = function isDocumentDotAll(value) {
@@ -62,8 +64,12 @@ if (typeof document === 'object') {
62
64
  if ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) {
63
65
  try {
64
66
  var str = toStr.call(value);
65
- // IE 6-8 uses `objectClass`
66
- return (str === ddaClass || str === objectClass) && value('') == null; // eslint-disable-line eqeqeq
67
+ return (
68
+ str === ddaClass
69
+ || str === ddaClass2
70
+ || str === ddaClass3 // opera 12.16
71
+ || str === objectClass // IE 6-8
72
+ ) && value('') == null; // eslint-disable-line eqeqeq
67
73
  } catch (e) { /**/ }
68
74
  }
69
75
  return false;
@@ -76,13 +82,12 @@ module.exports = reflectApply
76
82
  if (isDDA(value)) { return true; }
77
83
  if (!value) { return false; }
78
84
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
79
- if (typeof value === 'function' && !value.prototype) { return true; }
80
85
  try {
81
86
  reflectApply(value, null, badArrayLike);
82
87
  } catch (e) {
83
88
  if (e !== isCallableMarker) { return false; }
84
89
  }
85
- return !isES6ClassFn(value);
90
+ return !isES6ClassFn(value) && tryFunctionObject(value);
86
91
  }
87
92
  : function isCallable(value) {
88
93
  if (isDDA(value)) { return true; }
@@ -91,5 +96,6 @@ module.exports = reflectApply
91
96
  if (hasToStringTag) { return tryFunctionObject(value); }
92
97
  if (isES6ClassFn(value)) { return false; }
93
98
  var strClass = toStr.call(value);
94
- return strClass === fnClass || strClass === genClass || tryFunctionObject(value);
99
+ if (strClass !== fnClass && strClass !== genClass && !(/^\[object HTML/).test(strClass)) { return false; }
100
+ return tryFunctionObject(value);
95
101
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-callable",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "author": {
5
5
  "name": "Jordan Harband",
6
6
  "email": "ljharb@gmail.com",
@@ -48,11 +48,8 @@ if (typeof Proxy === 'function') {
48
48
  proxy();
49
49
  String(proxy);
50
50
  } catch (_) {
51
- // If `Reflect` is supported, then `Function.prototype.toString` isn't used for callability detection.
52
- if (typeof Reflect !== 'object') {
53
- // Older engines throw a `TypeError` when `Function.prototype.toString` is called on a Proxy object.
54
- proxy = null;
55
- }
51
+ // Older engines throw a `TypeError` when `Function.prototype.toString` is called on a Proxy object.
52
+ proxy = null;
56
53
  }
57
54
  }
58
55
 
@@ -184,7 +181,7 @@ test('`async function`s', { skip: asyncs.length === 0 }, function (t) {
184
181
  });
185
182
 
186
183
  test('proxies of functions', { skip: !proxy }, function (t) {
187
- t.ok(isCallable(proxy), 'proxies of functions are callable');
184
+ t.equal(isCallable(proxy), true, 'proxies of functions are callable');
188
185
  t.end();
189
186
  });
190
187
 
@@ -202,8 +199,14 @@ test('DOM', function (t) {
202
199
  st.notOk(isCallable(document), 'document is not callable');
203
200
 
204
201
  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');
202
+ var isFF3 = !isIE68 && Object.prototype.toString(all) === Object.prototype.toString.call(document.all); // this test is true in IE 6-8 also
203
+ var expected = false;
204
+ if (!isFF3) {
205
+ try {
206
+ expected = document.all('') == null; // eslint-disable-line eqeqeq
207
+ } catch (e) { /**/ }
208
+ }
209
+ st.equal(isCallable(document.all), expected, 'document.all is ' + (isFF3 ? 'not ' : '') + 'callable');
207
210
 
208
211
  st.end();
209
212
  });
@@ -217,7 +220,21 @@ test('DOM', function (t) {
217
220
  t.test(name, { skip: !constructor }, function (st) {
218
221
  st.match(typeof constructor, /^(?:function|object)$/, name + ' is a function or object');
219
222
 
220
- st.equal(isCallable(constructor), typeof constructor === 'function', name + ' is ' + (isIE68 ? 'not ' : '') + 'callable');
223
+ var callable = isCallable(constructor);
224
+ st.equal(typeof callable, 'boolean');
225
+
226
+ if (callable) {
227
+ st.doesNotThrow(
228
+ function () { Function.prototype.toString.call(constructor); },
229
+ 'anything this library claims is callable should be accepted by Function toString'
230
+ );
231
+ } else {
232
+ st['throws'](
233
+ function () { Function.prototype.toString.call(constructor); },
234
+ TypeError,
235
+ 'anything this library claims is not callable should not be accepted by Function toString'
236
+ );
237
+ }
221
238
 
222
239
  st.end();
223
240
  });
package/package.json CHANGED
@@ -44,7 +44,7 @@
44
44
  "@types/node": "^14",
45
45
  "@typescript-eslint/eslint-plugin": "^5",
46
46
  "@typescript-eslint/parser": "^5",
47
- "aws-cdk-lib": "^2.43.0",
47
+ "aws-cdk-lib": "^2.43.1",
48
48
  "constructs": "^10.0.5",
49
49
  "esbuild": "^0.15.9",
50
50
  "eslint": "^8",
@@ -59,7 +59,7 @@
59
59
  "jsii-pacmak": "^1.68.0",
60
60
  "json-schema": "^0.4.0",
61
61
  "npm-check-updates": "^15",
62
- "projen": "^0.62.17",
62
+ "projen": "^0.62.18",
63
63
  "standard-version": "^9",
64
64
  "ts-jest": "^27",
65
65
  "typescript": "^4.8.3"
@@ -69,8 +69,8 @@
69
69
  "constructs": "^10.0.5"
70
70
  },
71
71
  "dependencies": {
72
- "aws-cdk-lib": "^2.43.0",
73
- "aws-sdk": "^2.1222.0",
72
+ "aws-cdk-lib": "^2.43.1",
73
+ "aws-sdk": "^2.1223.0",
74
74
  "constructs": "^10.0.5",
75
75
  "esbuild": "^0.15.9"
76
76
  },
@@ -92,7 +92,7 @@
92
92
  ],
93
93
  "main": "lib/index.js",
94
94
  "license": "Apache-2.0",
95
- "version": "2.0.104",
95
+ "version": "2.0.105",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",