cloudstructs 0.6.5 → 0.6.6
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/assets/slack-app/provider.lambda/index.js +2 -5
- package/assets/slack-textract/detect.lambda/index.js +2 -5
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +2 -5
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +20 -15
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +13 -3
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +14 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +2 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +20 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +13 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +14 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +2 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +20 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +13 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +14 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +2 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +20 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +13 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +14 -0
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +2 -5
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +20 -15
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +13 -3
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +14 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +2 -5
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +20 -15
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +13 -3
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +14 -0
- package/node_modules/keyv/package.json +4 -4
- package/node_modules/keyv/src/index.d.ts +1 -1
- package/node_modules/keyv/src/index.js +2 -6
- package/package.json +7 -7
|
@@ -85,6 +85,14 @@ declare module 'perf_hooks' {
|
|
|
85
85
|
* @since v16.0.0
|
|
86
86
|
*/
|
|
87
87
|
readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type.
|
|
88
|
+
toJSON(): any;
|
|
89
|
+
}
|
|
90
|
+
class PerformanceMark extends PerformanceEntry {
|
|
91
|
+
readonly duration: 0;
|
|
92
|
+
readonly entryType: 'mark';
|
|
93
|
+
}
|
|
94
|
+
class PerformanceMeasure extends PerformanceEntry {
|
|
95
|
+
readonly entryType: 'measure';
|
|
88
96
|
}
|
|
89
97
|
/**
|
|
90
98
|
* _This property is an extension by Node.js. It is not available in Web browsers._
|
|
@@ -226,8 +234,9 @@ declare module 'perf_hooks' {
|
|
|
226
234
|
* and whose performanceEntry.duration is always 0.
|
|
227
235
|
* Performance marks are used to mark specific significant moments in the Performance Timeline.
|
|
228
236
|
* @param name
|
|
237
|
+
* @return The PerformanceMark entry that was created
|
|
229
238
|
*/
|
|
230
|
-
mark(name?: string, options?: MarkOptions):
|
|
239
|
+
mark(name?: string, options?: MarkOptions): PerformanceMark;
|
|
231
240
|
/**
|
|
232
241
|
* Creates a new PerformanceMeasure entry in the Performance Timeline.
|
|
233
242
|
* A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure',
|
|
@@ -242,9 +251,10 @@ declare module 'perf_hooks' {
|
|
|
242
251
|
* @param name
|
|
243
252
|
* @param startMark
|
|
244
253
|
* @param endMark
|
|
254
|
+
* @return The PerformanceMeasure entry that was created
|
|
245
255
|
*/
|
|
246
|
-
measure(name: string, startMark?: string, endMark?: string):
|
|
247
|
-
measure(name: string, options: MeasureOptions):
|
|
256
|
+
measure(name: string, startMark?: string, endMark?: string): PerformanceMeasure;
|
|
257
|
+
measure(name: string, options: MeasureOptions): PerformanceMeasure;
|
|
248
258
|
/**
|
|
249
259
|
* An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
|
|
250
260
|
*/
|
|
@@ -157,6 +157,12 @@ declare module 'node:test' {
|
|
|
157
157
|
*/
|
|
158
158
|
only?: boolean;
|
|
159
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Allows aborting an in-progress test.
|
|
162
|
+
* @since 8.7.0
|
|
163
|
+
*/
|
|
164
|
+
signal?: AbortSignal;
|
|
165
|
+
|
|
160
166
|
/**
|
|
161
167
|
* If truthy, the test is skipped. If a string is provided, that string is displayed in the
|
|
162
168
|
* test results as the reason for skipping the test.
|
|
@@ -164,6 +170,14 @@ declare module 'node:test' {
|
|
|
164
170
|
*/
|
|
165
171
|
skip?: boolean | string;
|
|
166
172
|
|
|
173
|
+
/**
|
|
174
|
+
* A number of milliseconds the test will fail after. If unspecified, subtests inherit this
|
|
175
|
+
* value from their parent.
|
|
176
|
+
* @default Infinity
|
|
177
|
+
* @since 8.7.0
|
|
178
|
+
*/
|
|
179
|
+
timeout?: number;
|
|
180
|
+
|
|
167
181
|
/**
|
|
168
182
|
* If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in
|
|
169
183
|
* the test results as the reason why the test is `TODO`.
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 22 Aug 2022 20:32:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
|
@@ -556,9 +556,6 @@ declare module 'crypto' {
|
|
|
556
556
|
*/
|
|
557
557
|
namedCurve?: string | undefined;
|
|
558
558
|
}
|
|
559
|
-
interface JwkKeyExportOptions {
|
|
560
|
-
format: 'jwk';
|
|
561
|
-
}
|
|
562
559
|
/**
|
|
563
560
|
* Node.js uses a `KeyObject` class to represent a symmetric or asymmetric key,
|
|
564
561
|
* and each kind of key exposes different functions. The {@link createSecretKey}, {@link createPublicKey} and {@link createPrivateKey} methods are used to create `KeyObject`instances. `KeyObject`
|
|
@@ -2309,11 +2306,11 @@ declare module 'crypto' {
|
|
|
2309
2306
|
* If `encoding` is specified, a string is returned; otherwise a `Buffer` is
|
|
2310
2307
|
* returned.
|
|
2311
2308
|
* @since v0.11.14
|
|
2312
|
-
* @param encoding The `encoding` of the return value.
|
|
2309
|
+
* @param [encoding] The `encoding` of the return value.
|
|
2313
2310
|
* @param [format='uncompressed']
|
|
2314
2311
|
* @return The EC Diffie-Hellman public key in the specified `encoding` and `format`.
|
|
2315
2312
|
*/
|
|
2316
|
-
getPublicKey(): Buffer;
|
|
2313
|
+
getPublicKey(encoding?: null, format?: ECDHKeyFormat): Buffer;
|
|
2317
2314
|
getPublicKey(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string;
|
|
2318
2315
|
/**
|
|
2319
2316
|
* Sets the EC Diffie-Hellman private key.
|
|
@@ -13,29 +13,31 @@ declare module 'fs/promises' {
|
|
|
13
13
|
import { Stream } from 'node:stream';
|
|
14
14
|
import { ReadableStream } from 'node:stream/web';
|
|
15
15
|
import {
|
|
16
|
-
Stats,
|
|
17
16
|
BigIntStats,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
PathLike,
|
|
22
|
-
RmDirOptions,
|
|
23
|
-
RmOptions,
|
|
24
|
-
MakeDirectoryOptions,
|
|
25
|
-
Dirent,
|
|
26
|
-
OpenDirOptions,
|
|
17
|
+
BufferEncodingOption,
|
|
18
|
+
constants as fsConstants,
|
|
19
|
+
CopyOptions,
|
|
27
20
|
Dir,
|
|
21
|
+
Dirent,
|
|
22
|
+
MakeDirectoryOptions,
|
|
23
|
+
Mode,
|
|
28
24
|
ObjectEncodingOptions,
|
|
29
|
-
|
|
25
|
+
OpenDirOptions,
|
|
30
26
|
OpenMode,
|
|
31
|
-
|
|
32
|
-
WatchOptions,
|
|
33
|
-
WatchEventType,
|
|
34
|
-
CopyOptions,
|
|
27
|
+
PathLike,
|
|
35
28
|
ReadStream,
|
|
29
|
+
ReadVResult,
|
|
30
|
+
RmDirOptions,
|
|
31
|
+
RmOptions,
|
|
32
|
+
StatOptions,
|
|
33
|
+
Stats,
|
|
36
34
|
TimeLike,
|
|
35
|
+
WatchEventType,
|
|
36
|
+
WatchOptions,
|
|
37
37
|
WriteStream,
|
|
38
|
+
WriteVResult,
|
|
38
39
|
} from 'node:fs';
|
|
40
|
+
|
|
39
41
|
interface FileChangeInfo<T extends string | Buffer> {
|
|
40
42
|
eventType: WatchEventType;
|
|
41
43
|
filename: T;
|
|
@@ -427,6 +429,9 @@ declare module 'fs/promises' {
|
|
|
427
429
|
*/
|
|
428
430
|
close(): Promise<void>;
|
|
429
431
|
}
|
|
432
|
+
|
|
433
|
+
const constants: typeof fsConstants;
|
|
434
|
+
|
|
430
435
|
/**
|
|
431
436
|
* Tests a user's permissions for the file or directory specified by `path`.
|
|
432
437
|
* The `mode` argument is an optional integer that specifies the accessibility
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.7.
|
|
3
|
+
"version": "18.7.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
},
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "2276f7706b7dc01b87e597a7f6d2139aef6178472539ee3b171167046b8c8182",
|
|
224
224
|
"typeScriptVersion": "4.0"
|
|
225
225
|
}
|
|
@@ -85,6 +85,14 @@ declare module 'perf_hooks' {
|
|
|
85
85
|
* @since v16.0.0
|
|
86
86
|
*/
|
|
87
87
|
readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type.
|
|
88
|
+
toJSON(): any;
|
|
89
|
+
}
|
|
90
|
+
class PerformanceMark extends PerformanceEntry {
|
|
91
|
+
readonly duration: 0;
|
|
92
|
+
readonly entryType: 'mark';
|
|
93
|
+
}
|
|
94
|
+
class PerformanceMeasure extends PerformanceEntry {
|
|
95
|
+
readonly entryType: 'measure';
|
|
88
96
|
}
|
|
89
97
|
/**
|
|
90
98
|
* _This property is an extension by Node.js. It is not available in Web browsers._
|
|
@@ -226,8 +234,9 @@ declare module 'perf_hooks' {
|
|
|
226
234
|
* and whose performanceEntry.duration is always 0.
|
|
227
235
|
* Performance marks are used to mark specific significant moments in the Performance Timeline.
|
|
228
236
|
* @param name
|
|
237
|
+
* @return The PerformanceMark entry that was created
|
|
229
238
|
*/
|
|
230
|
-
mark(name?: string, options?: MarkOptions):
|
|
239
|
+
mark(name?: string, options?: MarkOptions): PerformanceMark;
|
|
231
240
|
/**
|
|
232
241
|
* Creates a new PerformanceMeasure entry in the Performance Timeline.
|
|
233
242
|
* A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure',
|
|
@@ -242,9 +251,10 @@ declare module 'perf_hooks' {
|
|
|
242
251
|
* @param name
|
|
243
252
|
* @param startMark
|
|
244
253
|
* @param endMark
|
|
254
|
+
* @return The PerformanceMeasure entry that was created
|
|
245
255
|
*/
|
|
246
|
-
measure(name: string, startMark?: string, endMark?: string):
|
|
247
|
-
measure(name: string, options: MeasureOptions):
|
|
256
|
+
measure(name: string, startMark?: string, endMark?: string): PerformanceMeasure;
|
|
257
|
+
measure(name: string, options: MeasureOptions): PerformanceMeasure;
|
|
248
258
|
/**
|
|
249
259
|
* An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
|
|
250
260
|
*/
|
|
@@ -157,6 +157,12 @@ declare module 'node:test' {
|
|
|
157
157
|
*/
|
|
158
158
|
only?: boolean;
|
|
159
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Allows aborting an in-progress test.
|
|
162
|
+
* @since 8.7.0
|
|
163
|
+
*/
|
|
164
|
+
signal?: AbortSignal;
|
|
165
|
+
|
|
160
166
|
/**
|
|
161
167
|
* If truthy, the test is skipped. If a string is provided, that string is displayed in the
|
|
162
168
|
* test results as the reason for skipping the test.
|
|
@@ -164,6 +170,14 @@ declare module 'node:test' {
|
|
|
164
170
|
*/
|
|
165
171
|
skip?: boolean | string;
|
|
166
172
|
|
|
173
|
+
/**
|
|
174
|
+
* A number of milliseconds the test will fail after. If unspecified, subtests inherit this
|
|
175
|
+
* value from their parent.
|
|
176
|
+
* @default Infinity
|
|
177
|
+
* @since 8.7.0
|
|
178
|
+
*/
|
|
179
|
+
timeout?: number;
|
|
180
|
+
|
|
167
181
|
/**
|
|
168
182
|
* If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in
|
|
169
183
|
* the test results as the reason why the test is `TODO`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keyv",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.1",
|
|
4
4
|
"description": "Simple key-value storage with support for multiple backends",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@keyv/test-suite": "*",
|
|
40
|
-
"ava": "^4.3.
|
|
41
|
-
"eslint": "^8.
|
|
40
|
+
"ava": "^4.3.1",
|
|
41
|
+
"eslint": "^8.22.0",
|
|
42
42
|
"eslint-plugin-promise": "^6.0.0",
|
|
43
43
|
"nyc": "^15.1.0",
|
|
44
44
|
"pify": "5.0.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"timekeeper": "^2.2.0",
|
|
47
47
|
"tsd": "^0.22.0",
|
|
48
48
|
"typescript": "^4.7.4",
|
|
49
|
-
"xo": "^0.
|
|
49
|
+
"xo": "^0.51.0"
|
|
50
50
|
},
|
|
51
51
|
"tsd": {
|
|
52
52
|
"directory": "test"
|
|
@@ -79,7 +79,7 @@ declare namespace Keyv {
|
|
|
79
79
|
/** The connection string URI. */
|
|
80
80
|
uri?: string | undefined;
|
|
81
81
|
/** The storage adapter instance to be used by Keyv. */
|
|
82
|
-
store?: Store<
|
|
82
|
+
store?: Store<string | undefined> | undefined;
|
|
83
83
|
/** Default TTL. Can be overridden by specififying a TTL on `.set()`. */
|
|
84
84
|
ttl?: number | undefined;
|
|
85
85
|
/** Specify an adapter to use. e.g `'redis'` or `'mongodb'`. */
|
|
@@ -144,7 +144,7 @@ class Keyv extends EventEmitter {
|
|
|
144
144
|
data.push(value.value);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
return data
|
|
147
|
+
return data;
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -159,10 +159,6 @@ class Keyv extends EventEmitter {
|
|
|
159
159
|
if (isArray) {
|
|
160
160
|
const result = [];
|
|
161
161
|
|
|
162
|
-
if (data.length === 0) {
|
|
163
|
-
return [];
|
|
164
|
-
}
|
|
165
|
-
|
|
166
162
|
for (let row of data) {
|
|
167
163
|
if ((typeof row === 'string')) {
|
|
168
164
|
row = this.opts.deserialize(row);
|
|
@@ -181,7 +177,7 @@ class Keyv extends EventEmitter {
|
|
|
181
177
|
}
|
|
182
178
|
}
|
|
183
179
|
|
|
184
|
-
return result
|
|
180
|
+
return result;
|
|
185
181
|
}
|
|
186
182
|
|
|
187
183
|
if (typeof data.expires === 'number' && Date.now() > data.expires) {
|
package/package.json
CHANGED
|
@@ -90,24 +90,24 @@
|
|
|
90
90
|
"@typescript-eslint/parser": "^5",
|
|
91
91
|
"aws-cdk": "^2",
|
|
92
92
|
"aws-cdk-lib": "2.1.0",
|
|
93
|
-
"aws-sdk": "^2.
|
|
93
|
+
"aws-sdk": "^2.1200.0",
|
|
94
94
|
"aws-sdk-mock": "^5.7.0",
|
|
95
95
|
"constructs": "10.0.5",
|
|
96
|
-
"esbuild": "^0.15.
|
|
96
|
+
"esbuild": "^0.15.5",
|
|
97
97
|
"eslint": "^8",
|
|
98
98
|
"eslint-import-resolver-node": "^0.3.6",
|
|
99
99
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
100
100
|
"eslint-plugin-import": "^2.26.0",
|
|
101
101
|
"jest": "^27",
|
|
102
102
|
"jest-junit": "^13",
|
|
103
|
-
"jsii": "^1.
|
|
104
|
-
"jsii-diff": "^1.
|
|
103
|
+
"jsii": "^1.65.0",
|
|
104
|
+
"jsii-diff": "^1.65.0",
|
|
105
105
|
"jsii-docgen": "^1.8.110",
|
|
106
|
-
"jsii-pacmak": "^1.
|
|
106
|
+
"jsii-pacmak": "^1.65.0",
|
|
107
107
|
"json-schema": "^0.4.0",
|
|
108
108
|
"nock": "^13.2.9",
|
|
109
109
|
"npm-check-updates": "^15",
|
|
110
|
-
"projen": "^0.61.
|
|
110
|
+
"projen": "^0.61.24",
|
|
111
111
|
"standard-version": "^9",
|
|
112
112
|
"ts-jest": "^27",
|
|
113
113
|
"ts-node": "^10.9.1",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
],
|
|
133
133
|
"main": "lib/index.js",
|
|
134
134
|
"license": "Apache-2.0",
|
|
135
|
-
"version": "0.6.
|
|
135
|
+
"version": "0.6.6",
|
|
136
136
|
"jest": {
|
|
137
137
|
"testMatch": [
|
|
138
138
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|