cdk-common 2.0.235 → 2.0.238
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 +21 -3
- package/API.md +15 -0
- package/lib/main.js +1 -1
- package/lib/managed-policies.d.ts +3 -0
- package/lib/managed-policies.js +4 -1
- package/node_modules/@aws-cdk/assert/package.json +8 -8
- package/node_modules/@aws-cdk/cfnspec/CHANGELOG.md +235 -0
- package/node_modules/@aws-cdk/cfnspec/cfn.version +1 -1
- package/node_modules/@aws-cdk/cfnspec/package.json +3 -3
- package/node_modules/@aws-cdk/cfnspec/spec/specification.json +258 -151
- package/node_modules/@aws-cdk/cfnspec/tsconfig.tsbuildinfo +21 -21
- package/node_modules/@aws-cdk/cloudformation-diff/package.json +4 -4
- 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 +3 -3
|
@@ -292,8 +292,8 @@
|
|
|
292
292
|
"affectsGlobalScope": false
|
|
293
293
|
},
|
|
294
294
|
"../../../node_modules/@types/node/buffer.d.ts": {
|
|
295
|
-
"version": "
|
|
296
|
-
"signature": "
|
|
295
|
+
"version": "002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90",
|
|
296
|
+
"signature": "002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90",
|
|
297
297
|
"affectsGlobalScope": true
|
|
298
298
|
},
|
|
299
299
|
"../../../node_modules/@types/node/child_process.d.ts": {
|
|
@@ -347,13 +347,13 @@
|
|
|
347
347
|
"affectsGlobalScope": false
|
|
348
348
|
},
|
|
349
349
|
"../../../node_modules/@types/node/events.d.ts": {
|
|
350
|
-
"version": "
|
|
351
|
-
"signature": "
|
|
350
|
+
"version": "bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994",
|
|
351
|
+
"signature": "bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994",
|
|
352
352
|
"affectsGlobalScope": true
|
|
353
353
|
},
|
|
354
354
|
"../../../node_modules/@types/node/fs.d.ts": {
|
|
355
|
-
"version": "
|
|
356
|
-
"signature": "
|
|
355
|
+
"version": "cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d",
|
|
356
|
+
"signature": "cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d",
|
|
357
357
|
"affectsGlobalScope": false
|
|
358
358
|
},
|
|
359
359
|
"../../../node_modules/@types/node/fs/promises.d.ts": {
|
|
@@ -367,8 +367,8 @@
|
|
|
367
367
|
"affectsGlobalScope": false
|
|
368
368
|
},
|
|
369
369
|
"../../../node_modules/@types/node/http2.d.ts": {
|
|
370
|
-
"version": "
|
|
371
|
-
"signature": "
|
|
370
|
+
"version": "acfbb5aaef964e1d441f961a1846197f03241dba3c63b1e4d1903684888ef465",
|
|
371
|
+
"signature": "acfbb5aaef964e1d441f961a1846197f03241dba3c63b1e4d1903684888ef465",
|
|
372
372
|
"affectsGlobalScope": false
|
|
373
373
|
},
|
|
374
374
|
"../../../node_modules/@types/node/https.d.ts": {
|
|
@@ -387,8 +387,8 @@
|
|
|
387
387
|
"affectsGlobalScope": true
|
|
388
388
|
},
|
|
389
389
|
"../../../node_modules/@types/node/net.d.ts": {
|
|
390
|
-
"version": "
|
|
391
|
-
"signature": "
|
|
390
|
+
"version": "9499ba4dcd1ee0596d8c98d01341bc874840c5291156513bda667fecad54d5be",
|
|
391
|
+
"signature": "9499ba4dcd1ee0596d8c98d01341bc874840c5291156513bda667fecad54d5be",
|
|
392
392
|
"affectsGlobalScope": false
|
|
393
393
|
},
|
|
394
394
|
"../../../node_modules/@types/node/os.d.ts": {
|
|
@@ -407,8 +407,8 @@
|
|
|
407
407
|
"affectsGlobalScope": false
|
|
408
408
|
},
|
|
409
409
|
"../../../node_modules/@types/node/process.d.ts": {
|
|
410
|
-
"version": "
|
|
411
|
-
"signature": "
|
|
410
|
+
"version": "59104b2e80c588b813d03d3a45f57117ca4601ae3fc216c5ffbcbafc4effc1c5",
|
|
411
|
+
"signature": "59104b2e80c588b813d03d3a45f57117ca4601ae3fc216c5ffbcbafc4effc1c5",
|
|
412
412
|
"affectsGlobalScope": true
|
|
413
413
|
},
|
|
414
414
|
"../../../node_modules/@types/node/punycode.d.ts": {
|
|
@@ -502,8 +502,8 @@
|
|
|
502
502
|
"affectsGlobalScope": false
|
|
503
503
|
},
|
|
504
504
|
"../../../node_modules/@types/node/vm.d.ts": {
|
|
505
|
-
"version": "
|
|
506
|
-
"signature": "
|
|
505
|
+
"version": "ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c",
|
|
506
|
+
"signature": "ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c",
|
|
507
507
|
"affectsGlobalScope": false
|
|
508
508
|
},
|
|
509
509
|
"../../../node_modules/@types/node/wasi.d.ts": {
|
|
@@ -512,8 +512,8 @@
|
|
|
512
512
|
"affectsGlobalScope": false
|
|
513
513
|
},
|
|
514
514
|
"../../../node_modules/@types/node/worker_threads.d.ts": {
|
|
515
|
-
"version": "
|
|
516
|
-
"signature": "
|
|
515
|
+
"version": "d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e",
|
|
516
|
+
"signature": "d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e",
|
|
517
517
|
"affectsGlobalScope": false
|
|
518
518
|
},
|
|
519
519
|
"../../../node_modules/@types/node/zlib.d.ts": {
|
|
@@ -803,7 +803,7 @@
|
|
|
803
803
|
"affectsGlobalScope": false
|
|
804
804
|
},
|
|
805
805
|
"../../../tools/@aws-cdk/pkglint/lib/rules.ts": {
|
|
806
|
-
"version": "
|
|
806
|
+
"version": "790ee27f8137d38aac09a5e6dafc39c338039746bb29a945af9e72438d7303d3",
|
|
807
807
|
"affectsGlobalScope": false
|
|
808
808
|
},
|
|
809
809
|
"../../../tools/@aws-cdk/pkglint/lib/library-creation.ts": {
|
|
@@ -1096,8 +1096,8 @@
|
|
|
1096
1096
|
"affectsGlobalScope": false
|
|
1097
1097
|
},
|
|
1098
1098
|
"../../../node_modules/@types/aws-lambda/trigger/kinesis-stream.d.ts": {
|
|
1099
|
-
"version": "
|
|
1100
|
-
"signature": "
|
|
1099
|
+
"version": "07c723902ec6899118ecf9743cc24eb5673c51ae19b20210bf1a85cad2c30395",
|
|
1100
|
+
"signature": "07c723902ec6899118ecf9743cc24eb5673c51ae19b20210bf1a85cad2c30395",
|
|
1101
1101
|
"affectsGlobalScope": false
|
|
1102
1102
|
},
|
|
1103
1103
|
"../../../node_modules/@types/aws-lambda/trigger/lex.d.ts": {
|
|
@@ -1176,8 +1176,8 @@
|
|
|
1176
1176
|
"affectsGlobalScope": false
|
|
1177
1177
|
},
|
|
1178
1178
|
"../../../node_modules/@types/babel__traverse/ts4.1/index.d.ts": {
|
|
1179
|
-
"version": "
|
|
1180
|
-
"signature": "
|
|
1179
|
+
"version": "4dd55fea4ad11246df875a5fd4663382ed4dd0002d0a0ea77901399e3b678065",
|
|
1180
|
+
"signature": "4dd55fea4ad11246df875a5fd4663382ed4dd0002d0a0ea77901399e3b678065",
|
|
1181
1181
|
"affectsGlobalScope": false
|
|
1182
1182
|
},
|
|
1183
1183
|
"../../../node_modules/@types/babel__core/index.d.ts": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/cloudformation-diff",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.38.0",
|
|
4
4
|
"description": "Utilities to diff CDK stacks against CloudFormation templates",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-cdk/cfnspec": "2.
|
|
26
|
+
"@aws-cdk/cfnspec": "2.38.0",
|
|
27
27
|
"@types/node": "^14.18.23",
|
|
28
28
|
"chalk": "^4",
|
|
29
29
|
"diff": "^5.1.0",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"table": "^6.8.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
36
|
-
"@aws-cdk/pkglint": "2.
|
|
35
|
+
"@aws-cdk/cdk-build-tools": "2.38.0",
|
|
36
|
+
"@aws-cdk/pkglint": "2.38.0",
|
|
37
37
|
"@types/jest": "^27.5.2",
|
|
38
38
|
"@types/string-width": "^4.0.1",
|
|
39
39
|
"fast-check": "^2.25.0",
|
|
@@ -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.16",
|
|
60
60
|
"standard-version": "^9",
|
|
61
61
|
"ts-jest": "^27",
|
|
62
62
|
"typescript": "^4.7.4"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"constructs": "^10.0.5"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@aws-cdk/assert": "^2.
|
|
69
|
+
"@aws-cdk/assert": "^2.38.0",
|
|
70
70
|
"case": "^1.6.3",
|
|
71
71
|
"sync-request": "^6.1.0"
|
|
72
72
|
},
|
|
@@ -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.238",
|
|
88
88
|
"jest": {
|
|
89
89
|
"testMatch": [
|
|
90
90
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|