cdk-lambda-subminute 2.0.215 → 2.0.217
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 +4 -4
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +14 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +3 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +294 -278
- package/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json +39 -18
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +8 -4
- package/node_modules/aws-sdk/apis/m2-2021-04-28.min.json +19 -3
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +854 -54
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.paginators.json +30 -0
- package/node_modules/aws-sdk/apis/snowball-2016-06-30.examples.json +26 -0
- package/node_modules/aws-sdk/apis/snowball-2016-06-30.min.json +113 -55
- package/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json +5 -0
- package/node_modules/aws-sdk/clients/codeartifact.d.ts +1 -1
- package/node_modules/aws-sdk/clients/codegurusecurity.d.ts +3 -3
- package/node_modules/aws-sdk/clients/connect.d.ts +2 -2
- package/node_modules/aws-sdk/clients/docdb.d.ts +5 -1
- package/node_modules/aws-sdk/clients/ec2.d.ts +17 -0
- package/node_modules/aws-sdk/clients/glue.d.ts +1 -1
- package/node_modules/aws-sdk/clients/ivs.d.ts +33 -1
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +14 -6
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +1035 -33
- package/node_modules/aws-sdk/clients/m2.d.ts +14 -4
- package/node_modules/aws-sdk/clients/snowball.d.ts +101 -9
- package/node_modules/aws-sdk/clients/translate.d.ts +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +59 -80
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +126 -168
- package/node_modules/aws-sdk/dist/aws-sdk.js +297 -281
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +71 -71
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/is-typed-array/CHANGELOG.md +14 -0
- package/node_modules/is-typed-array/index.js +2 -55
- package/node_modules/is-typed-array/package.json +8 -10
- package/node_modules/which-typed-array/CHANGELOG.md +7 -0
- package/node_modules/which-typed-array/index.js +55 -22
- package/node_modules/which-typed-array/package.json +3 -4
- package/node_modules/which-typed-array/test/index.js +1 -1
- package/package.json +6 -6
|
@@ -5,6 +5,20 @@ 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
|
+
|
|
14
|
+
## [v1.1.11](https://github.com/inspect-js/is-typed-array/compare/v1.1.10...v1.1.11) - 2023-07-17
|
|
15
|
+
|
|
16
|
+
### Commits
|
|
17
|
+
|
|
18
|
+
- [Fix] `node < v0.6` lacks proper Object toString behavior [`c94b90d`](https://github.com/inspect-js/is-typed-array/commit/c94b90dc6bc457783d6f8cc208415a49da0933b7)
|
|
19
|
+
- [Robustness] use `call-bind` [`573b00b`](https://github.com/inspect-js/is-typed-array/commit/573b00b8deec42ac1ac262415e442ea0b7e1c96b)
|
|
20
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` [`c88c2d4`](https://github.com/inspect-js/is-typed-array/commit/c88c2d479976110478fa4038fe8921251c06a163)
|
|
21
|
+
|
|
8
22
|
## [v1.1.10](https://github.com/inspect-js/is-typed-array/compare/v1.1.9...v1.1.10) - 2022-11-02
|
|
9
23
|
|
|
10
24
|
### Commits
|
|
@@ -1,60 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var availableTypedArrays = require('available-typed-arrays');
|
|
5
|
-
var callBound = require('call-bind/callBound');
|
|
6
|
-
|
|
7
|
-
var $toString = callBound('Object.prototype.toString');
|
|
8
|
-
var hasToStringTag = require('has-tostringtag/shams')();
|
|
9
|
-
var gOPD = require('gopd');
|
|
10
|
-
|
|
11
|
-
var g = typeof globalThis === 'undefined' ? global : globalThis;
|
|
12
|
-
var typedArrays = availableTypedArrays();
|
|
13
|
-
|
|
14
|
-
var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
|
|
15
|
-
for (var i = 0; i < array.length; i += 1) {
|
|
16
|
-
if (array[i] === value) {
|
|
17
|
-
return i;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return -1;
|
|
21
|
-
};
|
|
22
|
-
var $slice = callBound('String.prototype.slice');
|
|
23
|
-
var toStrTags = {};
|
|
24
|
-
var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
|
|
25
|
-
if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
26
|
-
forEach(typedArrays, function (typedArray) {
|
|
27
|
-
var arr = new g[typedArray]();
|
|
28
|
-
if (Symbol.toStringTag in arr) {
|
|
29
|
-
var proto = getPrototypeOf(arr);
|
|
30
|
-
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
31
|
-
if (!descriptor) {
|
|
32
|
-
var superProto = getPrototypeOf(proto);
|
|
33
|
-
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
34
|
-
}
|
|
35
|
-
toStrTags[typedArray] = descriptor.get;
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
41
|
-
var anyTrue = false;
|
|
42
|
-
forEach(toStrTags, function (getter, typedArray) {
|
|
43
|
-
if (!anyTrue) {
|
|
44
|
-
try {
|
|
45
|
-
anyTrue = getter.call(value) === typedArray;
|
|
46
|
-
} catch (e) { /**/ }
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
return anyTrue;
|
|
50
|
-
};
|
|
3
|
+
var whichTypedArray = require('which-typed-array');
|
|
51
4
|
|
|
52
5
|
module.exports = function isTypedArray(value) {
|
|
53
|
-
|
|
54
|
-
if (!hasToStringTag || !(Symbol.toStringTag in value)) {
|
|
55
|
-
var tag = $slice($toString(value), 8, -1);
|
|
56
|
-
return $indexOf(typedArrays, tag) > -1;
|
|
57
|
-
}
|
|
58
|
-
if (!gOPD) { return false; }
|
|
59
|
-
return tryTypedArrays(value);
|
|
6
|
+
return !!whichTypedArray(value);
|
|
60
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "is-typed-array",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Jordan Harband",
|
|
6
6
|
"email": "ljharb@gmail.com",
|
|
@@ -58,27 +58,25 @@
|
|
|
58
58
|
"@@toStringTag"
|
|
59
59
|
],
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"
|
|
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
|
-
"@ljharb/eslint-config": "^21.
|
|
69
|
-
"aud": "^2.0.
|
|
64
|
+
"@ljharb/eslint-config": "^21.1.0",
|
|
65
|
+
"aud": "^2.0.3",
|
|
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",
|
|
76
74
|
"make-generator-function": "^2.0.0",
|
|
77
75
|
"npmignore": "^0.3.0",
|
|
78
76
|
"nyc": "^10.3.2",
|
|
79
|
-
"object-inspect": "^1.12.
|
|
77
|
+
"object-inspect": "^1.12.3",
|
|
80
78
|
"safe-publish-latest": "^2.0.0",
|
|
81
|
-
"tape": "^5.6.
|
|
79
|
+
"tape": "^5.6.5"
|
|
82
80
|
},
|
|
83
81
|
"testling": {
|
|
84
82
|
"files": "test/index.js",
|
|
@@ -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 < 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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
|
37
|
-
forEach(
|
|
38
|
-
if (!
|
|
48
|
+
var found = false;
|
|
49
|
+
forEach(cache, function (getter, typedArray) {
|
|
50
|
+
if (!found) {
|
|
39
51
|
try {
|
|
40
|
-
|
|
41
|
-
|
|
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
|
|
58
|
+
return found;
|
|
48
59
|
};
|
|
49
60
|
|
|
50
|
-
var
|
|
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 (!
|
|
54
|
-
if (!hasToStringTag
|
|
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.
|
|
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.
|
|
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(
|
|
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.
|
|
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",
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
"jest": "^27",
|
|
54
54
|
"jest-junit": "^15",
|
|
55
55
|
"jsii": "1.x",
|
|
56
|
-
"jsii-diff": "^1.
|
|
56
|
+
"jsii-diff": "^1.85.0",
|
|
57
57
|
"jsii-docgen": "^1.8.110",
|
|
58
|
-
"jsii-pacmak": "^1.
|
|
58
|
+
"jsii-pacmak": "^1.85.0",
|
|
59
59
|
"jsii-rosetta": "1.x",
|
|
60
60
|
"npm-check-updates": "^16",
|
|
61
|
-
"projen": "^0.71.
|
|
61
|
+
"projen": "^0.71.142",
|
|
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.
|
|
73
|
+
"aws-sdk": "^2.1417.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.
|
|
95
|
+
"version": "2.0.217",
|
|
96
96
|
"jest": {
|
|
97
97
|
"testMatch": [
|
|
98
98
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|