cdk-common 2.0.234 → 2.0.237
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 +2 -2
- package/lib/main.js +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/fs/promises.d.ts +20 -15
- package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/perf_hooks.d.ts +13 -3
- package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/crypto.d.ts +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/fs/promises.d.ts +20 -15
- package/node_modules/@types/form-data/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/perf_hooks.d.ts +13 -3
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/fs/promises.d.ts +15 -12
- package/node_modules/@types/node/package.json +2 -2
- package/package.json +2 -2
package/.jsii
CHANGED
|
@@ -8833,6 +8833,6 @@
|
|
|
8833
8833
|
"symbolId": "src/main:LambdaArmFunctionProps"
|
|
8834
8834
|
}
|
|
8835
8835
|
},
|
|
8836
|
-
"version": "2.0.
|
|
8837
|
-
"fingerprint": "
|
|
8836
|
+
"version": "2.0.237",
|
|
8837
|
+
"fingerprint": "zzm6fCWUZxFKDVHjtFaoNOFP/SdO6JQzM04JiAAmlps="
|
|
8838
8838
|
}
|
package/lib/main.js
CHANGED
|
@@ -41,5 +41,5 @@ class LambdaArmFunction extends constructs_1.Construct {
|
|
|
41
41
|
}
|
|
42
42
|
exports.LambdaArmFunction = LambdaArmFunction;
|
|
43
43
|
_a = JSII_RTTI_SYMBOL_1;
|
|
44
|
-
LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.
|
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lIGlmIChwcm9wcy5ydW50aW1lID09PSBsYW1iZGEuUnVudGltZS5SVUJZXzJfNykge1xuICAgICAgY2RrLkFubm90YXRpb25zLm9mKHRoaXMpLmFkZFdhcm5pbmcoJ1lvdSBhcmUgdXNpbmcgUlVCWSAyLjcgYXQgQVJNJyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgSW52YWxpZCBSdW50aW1lICR7cHJvcHMucnVudGltZX0gYXQgQVJNLCBTZWUgaHR0cHM6Ly9kb2NzLmF3cy5hbWF6b24uY29tL2xhbWJkYS9sYXRlc3QvZGcvZm91bmRhdGlvbi1hcmNoLmh0bWw/aWNtcGlkPWRvY3NfbGFtYmRhX3Jzc2ApO1xuICAgIH1cblxuICAgIHRoaXMubGFtYmRhRnVuY3Rpb24gPSBuZXcgbGFtYmRhLkZ1bmN0aW9uKHRoaXMsICdMYW1iZGFGdW5jdGlvbicsIHsgYXJjaGl0ZWN0dXJlOiBsYW1iZGEuQXJjaGl0ZWN0dXJlLkFSTV82NCwgLi4ucHJvcHMgfSk7XG4gIH1cbn0iXX0=
|
|
@@ -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: Tue, 16 Aug 2022 14:02:31 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
|
@@ -2309,11 +2309,11 @@ declare module 'crypto' {
|
|
|
2309
2309
|
* If `encoding` is specified, a string is returned; otherwise a `Buffer` is
|
|
2310
2310
|
* returned.
|
|
2311
2311
|
* @since v0.11.14
|
|
2312
|
-
* @param encoding The `encoding` of the return value.
|
|
2312
|
+
* @param [encoding] The `encoding` of the return value.
|
|
2313
2313
|
* @param [format='uncompressed']
|
|
2314
2314
|
* @return The EC Diffie-Hellman public key in the specified `encoding` and `format`.
|
|
2315
2315
|
*/
|
|
2316
|
-
getPublicKey(): Buffer;
|
|
2316
|
+
getPublicKey(encoding?: null, format?: ECDHKeyFormat): Buffer;
|
|
2317
2317
|
getPublicKey(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string;
|
|
2318
2318
|
/**
|
|
2319
2319
|
* 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.6",
|
|
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": "cd432c68b37a5e2bdfd29e94c83191aa3220708137ac9cad45a6d88d2f8f9b17",
|
|
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
|
*/
|
|
@@ -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: Tue, 16 Aug 2022 14:02:31 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
|
@@ -2309,11 +2309,11 @@ declare module 'crypto' {
|
|
|
2309
2309
|
* If `encoding` is specified, a string is returned; otherwise a `Buffer` is
|
|
2310
2310
|
* returned.
|
|
2311
2311
|
* @since v0.11.14
|
|
2312
|
-
* @param encoding The `encoding` of the return value.
|
|
2312
|
+
* @param [encoding] The `encoding` of the return value.
|
|
2313
2313
|
* @param [format='uncompressed']
|
|
2314
2314
|
* @return The EC Diffie-Hellman public key in the specified `encoding` and `format`.
|
|
2315
2315
|
*/
|
|
2316
|
-
getPublicKey(): Buffer;
|
|
2316
|
+
getPublicKey(encoding?: null, format?: ECDHKeyFormat): Buffer;
|
|
2317
2317
|
getPublicKey(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string;
|
|
2318
2318
|
/**
|
|
2319
2319
|
* 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.6",
|
|
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": "cd432c68b37a5e2bdfd29e94c83191aa3220708137ac9cad45a6d88d2f8f9b17",
|
|
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
|
*/
|
|
@@ -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/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 15 Aug 2022 18:32:43 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
declare module 'fs/promises' {
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
BaseEncodingOptions,
|
|
4
4
|
BigIntStats,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
PathLike,
|
|
9
|
-
RmDirOptions,
|
|
10
|
-
RmOptions,
|
|
11
|
-
MakeDirectoryOptions,
|
|
5
|
+
BufferEncodingOption,
|
|
6
|
+
constants as fsConstants,
|
|
7
|
+
Dir,
|
|
12
8
|
Dirent,
|
|
9
|
+
MakeDirectoryOptions,
|
|
10
|
+
Mode,
|
|
13
11
|
OpenDirOptions,
|
|
14
|
-
Dir,
|
|
15
|
-
BaseEncodingOptions,
|
|
16
|
-
BufferEncodingOption,
|
|
17
12
|
OpenMode,
|
|
18
|
-
|
|
13
|
+
PathLike,
|
|
14
|
+
ReadVResult,
|
|
15
|
+
RmDirOptions,
|
|
16
|
+
RmOptions,
|
|
17
|
+
StatOptions,
|
|
18
|
+
Stats,
|
|
19
|
+
WriteVResult,
|
|
19
20
|
} from 'fs';
|
|
20
21
|
|
|
21
22
|
interface FileHandle {
|
|
@@ -161,6 +162,8 @@ declare module 'fs/promises' {
|
|
|
161
162
|
close(): Promise<void>;
|
|
162
163
|
}
|
|
163
164
|
|
|
165
|
+
const constants: typeof fsConstants;
|
|
166
|
+
|
|
164
167
|
/**
|
|
165
168
|
* Asynchronously tests a user's permissions for the file specified by path.
|
|
166
169
|
* @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.18.
|
|
3
|
+
"version": "14.18.24",
|
|
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": "0d6282534ea851ab2bd3427dd6705c2353d9f3e55173f87ab76179d3deb892e9",
|
|
224
224
|
"typeScriptVersion": "4.0"
|
|
225
225
|
}
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"jsii-pacmak": "^1.64.0",
|
|
57
57
|
"json-schema": "^0.4.0",
|
|
58
58
|
"npm-check-updates": "^15",
|
|
59
|
-
"projen": "0.61.
|
|
59
|
+
"projen": "0.61.12",
|
|
60
60
|
"standard-version": "^9",
|
|
61
61
|
"ts-jest": "^27",
|
|
62
62
|
"typescript": "^4.7.4"
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
],
|
|
85
85
|
"main": "lib/index.js",
|
|
86
86
|
"license": "Apache-2.0",
|
|
87
|
-
"version": "2.0.
|
|
87
|
+
"version": "2.0.237",
|
|
88
88
|
"jest": {
|
|
89
89
|
"testMatch": [
|
|
90
90
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|