cdk-lambda-subminute 2.0.216 → 2.0.218

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 (52) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +15 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +20 -4
  6. package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +41 -4
  7. package/node_modules/aws-sdk/apis/grafana-2020-08-18.paginators.json +6 -0
  8. package/node_modules/aws-sdk/apis/m2-2021-04-28.min.json +19 -3
  9. package/node_modules/aws-sdk/apis/medical-imaging-2023-07-19.examples.json +5 -0
  10. package/node_modules/aws-sdk/apis/medical-imaging-2023-07-19.min.json +1098 -0
  11. package/node_modules/aws-sdk/apis/medical-imaging-2023-07-19.paginators.json +28 -0
  12. package/node_modules/aws-sdk/apis/medical-imaging-2023-07-19.waiters2.json +5 -0
  13. package/node_modules/aws-sdk/apis/metadata.json +4 -0
  14. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +854 -54
  15. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.paginators.json +30 -0
  16. package/node_modules/aws-sdk/apis/ram-2018-01-04.min.json +49 -36
  17. package/node_modules/aws-sdk/apis/snowball-2016-06-30.examples.json +26 -0
  18. package/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json +113 -55
  19. package/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json +5 -0
  20. package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.min.json +98 -24
  21. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +134 -123
  22. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  23. package/node_modules/aws-sdk/clients/all.js +2 -1
  24. package/node_modules/aws-sdk/clients/cloudformation.d.ts +21 -0
  25. package/node_modules/aws-sdk/clients/codegurusecurity.d.ts +3 -3
  26. package/node_modules/aws-sdk/clients/connect.d.ts +2 -2
  27. package/node_modules/aws-sdk/clients/ec2.d.ts +200 -200
  28. package/node_modules/aws-sdk/clients/grafana.d.ts +47 -5
  29. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +1035 -33
  30. package/node_modules/aws-sdk/clients/m2.d.ts +14 -4
  31. package/node_modules/aws-sdk/clients/medicalimaging.d.ts +1102 -0
  32. package/node_modules/aws-sdk/clients/medicalimaging.js +19 -0
  33. package/node_modules/aws-sdk/clients/ram.d.ts +14 -1
  34. package/node_modules/aws-sdk/clients/snowball.d.ts +101 -9
  35. package/node_modules/aws-sdk/clients/ssmsap.d.ts +131 -7
  36. package/node_modules/aws-sdk/clients/translate.d.ts +1 -1
  37. package/node_modules/aws-sdk/clients/wafv2.d.ts +12 -2
  38. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +60 -81
  39. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +175 -173
  40. package/node_modules/aws-sdk/dist/aws-sdk.js +27 -7
  41. package/node_modules/aws-sdk/dist/aws-sdk.min.js +97 -97
  42. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  43. package/node_modules/aws-sdk/lib/core.js +1 -1
  44. package/node_modules/aws-sdk/package.json +1 -1
  45. package/node_modules/is-typed-array/CHANGELOG.md +6 -0
  46. package/node_modules/is-typed-array/index.js +2 -81
  47. package/node_modules/is-typed-array/package.json +4 -6
  48. package/node_modules/which-typed-array/CHANGELOG.md +7 -0
  49. package/node_modules/which-typed-array/index.js +55 -22
  50. package/node_modules/which-typed-array/package.json +3 -4
  51. package/node_modules/which-typed-array/test/index.js +1 -1
  52. package/package.json +4 -4
@@ -351,6 +351,7 @@ export abstract class ConfigurationServicePlaceholders {
351
351
  codegurusecurity?: AWS.CodeGuruSecurity.Types.ClientConfiguration;
352
352
  verifiedpermissions?: AWS.VerifiedPermissions.Types.ClientConfiguration;
353
353
  appfabric?: AWS.AppFabric.Types.ClientConfiguration;
354
+ medicalimaging?: AWS.MedicalImaging.Types.ClientConfiguration;
354
355
  }
355
356
  export interface ConfigurationServiceApiVersions {
356
357
  acm?: AWS.ACM.Types.apiVersion;
@@ -704,4 +705,5 @@ export interface ConfigurationServiceApiVersions {
704
705
  codegurusecurity?: AWS.CodeGuruSecurity.Types.apiVersion;
705
706
  verifiedpermissions?: AWS.VerifiedPermissions.Types.apiVersion;
706
707
  appfabric?: AWS.AppFabric.Types.apiVersion;
708
+ medicalimaging?: AWS.MedicalImaging.Types.apiVersion;
707
709
  }
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1416.0',
23
+ VERSION: '2.1418.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.1416.0",
4
+ "version": "2.1418.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -5,6 +5,12 @@ 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.1.12](https://github.com/inspect-js/is-typed-array/compare/v1.1.11...v1.1.12) - 2023-07-17
9
+
10
+ ### Commits
11
+
12
+ - [Refactor] use `which-typed-array` for all internals [`7619405`](https://github.com/inspect-js/is-typed-array/commit/761940532de595f6721fed101b02814dcfa7fe4e)
13
+
8
14
  ## [v1.1.11](https://github.com/inspect-js/is-typed-array/compare/v1.1.10...v1.1.11) - 2023-07-17
9
15
 
10
16
  ### Commits
@@ -1,86 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var forEach = require('for-each');
4
- var availableTypedArrays = require('available-typed-arrays');
5
- var callBind = require('call-bind');
6
- var callBound = require('call-bind/callBound');
7
-
8
- var $toString = callBound('Object.prototype.toString');
9
- var hasToStringTag = require('has-tostringtag/shams')();
10
- var gOPD = require('gopd');
11
-
12
- var g = typeof globalThis === 'undefined' ? global : globalThis;
13
- var typedArrays = availableTypedArrays();
14
-
15
- var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
16
- for (var i = 0; i < array.length; i += 1) {
17
- if (array[i] === value) {
18
- return i;
19
- }
20
- }
21
- return -1;
22
- };
23
- var $slice = callBound('String.prototype.slice');
24
- var cache = { __proto__: null };
25
- var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
26
- if (hasToStringTag && gOPD && getPrototypeOf) {
27
- forEach(typedArrays, function (typedArray) {
28
- var arr = new g[typedArray]();
29
- if (Symbol.toStringTag in arr) {
30
- var proto = getPrototypeOf(arr);
31
- var descriptor = gOPD(proto, Symbol.toStringTag);
32
- if (!descriptor) {
33
- var superProto = getPrototypeOf(proto);
34
- descriptor = gOPD(superProto, Symbol.toStringTag);
35
- }
36
- cache['$' + typedArray] = callBind(descriptor.get);
37
- }
38
- });
39
- } else {
40
- forEach(typedArrays, function (typedArray) {
41
- var arr = new g[typedArray]();
42
- cache['$' + typedArray] = callBind(arr.slice);
43
- });
44
- }
45
-
46
- var tryTypedArrays = function tryAllTypedArrays(value) {
47
- var anyTrue = false;
48
- forEach(cache, function (getter, typedArray) {
49
- if (!anyTrue) {
50
- try {
51
- anyTrue = ('$' + getter(value)) === typedArray;
52
- } catch (e) { /**/ }
53
- }
54
- });
55
- return anyTrue;
56
- };
57
-
58
- var trySlices = function tryAllSlices(value) {
59
- var anyTrue = false;
60
- forEach(cache, function (getter) {
61
- if (!anyTrue) {
62
- try {
63
- getter(value);
64
- anyTrue = true;
65
- } catch (e) { /**/ }
66
- }
67
- });
68
- return anyTrue;
69
- };
3
+ var whichTypedArray = require('which-typed-array');
70
4
 
71
5
  module.exports = function isTypedArray(value) {
72
- if (!value || typeof value !== 'object') { return false; }
73
- if (!hasToStringTag) {
74
- var tag = $slice($toString(value), 8, -1);
75
- if ($indexOf(typedArrays, tag) > -1) {
76
- return true;
77
- }
78
- if (tag !== 'Object') {
79
- return false;
80
- }
81
- // node < 0.6 hits here on real Typed Arrays
82
- return trySlices(value);
83
- }
84
- if (!gOPD) { return null; } // unknown engine
85
- return tryTypedArrays(value);
6
+ return !!whichTypedArray(value);
86
7
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-typed-array",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "author": {
5
5
  "name": "Jordan Harband",
6
6
  "email": "ljharb@gmail.com",
@@ -58,11 +58,7 @@
58
58
  "@@toStringTag"
59
59
  ],
60
60
  "dependencies": {
61
- "available-typed-arrays": "^1.0.5",
62
- "call-bind": "^1.0.2",
63
- "for-each": "^0.3.3",
64
- "gopd": "^1.0.1",
65
- "has-tostringtag": "^1.0.0"
61
+ "which-typed-array": "^1.1.11"
66
62
  },
67
63
  "devDependencies": {
68
64
  "@ljharb/eslint-config": "^21.1.0",
@@ -70,6 +66,8 @@
70
66
  "auto-changelog": "^2.4.0",
71
67
  "eslint": "=8.8.0",
72
68
  "evalmd": "^0.0.19",
69
+ "for-each": "^0.3.3",
70
+ "has-tostringtag": "^1.0.0",
73
71
  "in-publish": "^2.0.1",
74
72
  "is-callable": "^1.2.7",
75
73
  "make-arrow-function": "^1.2.0",
@@ -5,6 +5,13 @@ 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.1.11](https://github.com/inspect-js/which-typed-array/compare/v1.1.10...v1.1.11) - 2023-07-17
9
+
10
+ ### Commits
11
+
12
+ - [Fix] `node &lt; v0.6` lacks proper Object toString behavior [`b8fd654`](https://github.com/inspect-js/which-typed-array/commit/b8fd65479c0bd18385378cfae79750ebf7cb6ee7)
13
+ - [Dev Deps] update `tape` [`e1734c9`](https://github.com/inspect-js/which-typed-array/commit/e1734c99d79880ab11efa55220498a7a1e887834)
14
+
8
15
  ## [v1.1.10](https://github.com/inspect-js/which-typed-array/compare/v1.1.9...v1.1.10) - 2023-07-10
9
16
 
10
17
  ### Commits
@@ -13,44 +13,77 @@ var g = typeof globalThis === 'undefined' ? global : globalThis;
13
13
  var typedArrays = availableTypedArrays();
14
14
 
15
15
  var $slice = callBound('String.prototype.slice');
16
- var toStrTags = { __proto__: null };
17
16
  var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
17
+
18
+ var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
19
+ for (var i = 0; i < array.length; i += 1) {
20
+ if (array[i] === value) {
21
+ return i;
22
+ }
23
+ }
24
+ return -1;
25
+ };
26
+ var cache = { __proto__: null };
18
27
  if (hasToStringTag && gOPD && getPrototypeOf) {
19
28
  forEach(typedArrays, function (typedArray) {
20
- if (typeof g[typedArray] === 'function') {
21
- var arr = new g[typedArray]();
22
- if (Symbol.toStringTag in arr) {
23
- var proto = getPrototypeOf(arr);
24
- var descriptor = gOPD(proto, Symbol.toStringTag);
25
- if (!descriptor) {
26
- var superProto = getPrototypeOf(proto);
27
- descriptor = gOPD(superProto, Symbol.toStringTag);
28
- }
29
- toStrTags[typedArray] = callBind(descriptor.get);
29
+ var arr = new g[typedArray]();
30
+ if (Symbol.toStringTag in arr) {
31
+ var proto = getPrototypeOf(arr);
32
+ var descriptor = gOPD(proto, Symbol.toStringTag);
33
+ if (!descriptor) {
34
+ var superProto = getPrototypeOf(proto);
35
+ descriptor = gOPD(superProto, Symbol.toStringTag);
30
36
  }
37
+ cache['$' + typedArray] = callBind(descriptor.get);
31
38
  }
32
39
  });
40
+ } else {
41
+ forEach(typedArrays, function (typedArray) {
42
+ var arr = new g[typedArray]();
43
+ cache['$' + typedArray] = callBind(arr.slice);
44
+ });
33
45
  }
34
46
 
35
47
  var tryTypedArrays = function tryAllTypedArrays(value) {
36
- var foundName = false;
37
- forEach(toStrTags, function (getter, typedArray) {
38
- if (!foundName) {
48
+ var found = false;
49
+ forEach(cache, function (getter, typedArray) {
50
+ if (!found) {
39
51
  try {
40
- var name = getter(value);
41
- if (name === typedArray) {
42
- foundName = name;
52
+ if ('$' + getter(value) === typedArray) {
53
+ found = $slice(typedArray, 1);
43
54
  }
44
- } catch (e) {}
55
+ } catch (e) { /**/ }
45
56
  }
46
57
  });
47
- return foundName;
58
+ return found;
48
59
  };
49
60
 
50
- var isTypedArray = require('is-typed-array');
61
+ var trySlices = function tryAllSlices(value) {
62
+ var found = false;
63
+ forEach(cache, function (getter, name) {
64
+ if (!found) {
65
+ try {
66
+ getter(value);
67
+ found = $slice(name, 1);
68
+ } catch (e) { /**/ }
69
+ }
70
+ });
71
+ return found;
72
+ };
51
73
 
52
74
  module.exports = function whichTypedArray(value) {
53
- if (!isTypedArray(value)) { return false; }
54
- if (!hasToStringTag || !(Symbol.toStringTag in value)) { return $slice($toString(value), 8, -1); }
75
+ if (!value || typeof value !== 'object') { return false; }
76
+ if (!hasToStringTag) {
77
+ var tag = $slice($toString(value), 8, -1);
78
+ if ($indexOf(typedArrays, tag) > -1) {
79
+ return tag;
80
+ }
81
+ if (tag !== 'Object') {
82
+ return false;
83
+ }
84
+ // node < 0.6 hits here on real Typed Arrays
85
+ return trySlices(value);
86
+ }
87
+ if (!gOPD) { return null; } // unknown engine
55
88
  return tryTypedArrays(value);
56
89
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "which-typed-array",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "author": {
5
5
  "name": "Jordan Harband",
6
6
  "email": "ljharb@gmail.com",
@@ -62,8 +62,7 @@
62
62
  "call-bind": "^1.0.2",
63
63
  "for-each": "^0.3.3",
64
64
  "gopd": "^1.0.1",
65
- "has-tostringtag": "^1.0.0",
66
- "is-typed-array": "^1.1.10"
65
+ "has-tostringtag": "^1.0.0"
67
66
  },
68
67
  "devDependencies": {
69
68
  "@ljharb/eslint-config": "^21.1.0",
@@ -77,7 +76,7 @@
77
76
  "npmignore": "^0.3.0",
78
77
  "nyc": "^10.3.2",
79
78
  "safe-publish-latest": "^2.0.0",
80
- "tape": "^5.6.4"
79
+ "tape": "^5.6.5"
81
80
  },
82
81
  "testling": {
83
82
  "files": "test/index.js",
@@ -90,7 +90,7 @@ test('Typed Arrays', function (t) {
90
90
  var TypedArray = global[typedArray];
91
91
  if (isCallable(TypedArray)) {
92
92
  var arr = new TypedArray(10);
93
- t.equal(typedArray, whichTypedArray(arr), 'new ' + typedArray + '(10) is typed array of type ' + typedArray);
93
+ t.equal(whichTypedArray(arr), typedArray, 'new ' + typedArray + '(10) is typed array of type ' + typedArray);
94
94
  } else {
95
95
  t.comment('# SKIP ' + typedArray + ' is not supported');
96
96
  }
package/package.json CHANGED
@@ -45,7 +45,7 @@
45
45
  "@typescript-eslint/parser": "^5",
46
46
  "aws-cdk-lib": "^2.87.0",
47
47
  "constructs": "^10.0.5",
48
- "esbuild": "^0.18.13",
48
+ "esbuild": "^0.18.14",
49
49
  "eslint": "^8",
50
50
  "eslint-import-resolver-node": "^0.3.7",
51
51
  "eslint-import-resolver-typescript": "^2.7.1",
@@ -58,7 +58,7 @@
58
58
  "jsii-pacmak": "^1.85.0",
59
59
  "jsii-rosetta": "1.x",
60
60
  "npm-check-updates": "^16",
61
- "projen": "^0.71.141",
61
+ "projen": "^0.71.144",
62
62
  "source-map-support": "^0.5.21",
63
63
  "standard-version": "^9",
64
64
  "ts-jest": "^27",
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "aws-cdk-lib": "^2.87.0",
73
- "aws-sdk": "^2.1416.0",
73
+ "aws-sdk": "^2.1418.0",
74
74
  "constructs": "^10.0.5"
75
75
  },
76
76
  "bundledDependencies": [
@@ -92,7 +92,7 @@
92
92
  ],
93
93
  "main": "lib/index.js",
94
94
  "license": "Apache-2.0",
95
- "version": "2.0.216",
95
+ "version": "2.0.218",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",