cdk-common 2.0.442 → 2.0.443

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 CHANGED
@@ -9355,6 +9355,6 @@
9355
9355
  "symbolId": "src/main:LambdaArmFunctionProps"
9356
9356
  }
9357
9357
  },
9358
- "version": "2.0.442",
9359
- "fingerprint": "fxMtiLAAO5b1ajA19k5CiSlQPYbcjsI5dRKqw1Awj44="
9358
+ "version": "2.0.443",
9359
+ "fingerprint": "ubnPFUrdCLP59o7Q9QapZ1kK0t0O6v5dbi61yAhjGSE="
9360
9360
  }
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.442" };
44
+ LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.443" };
45
45
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbUNBQW1DO0FBQ25DLGlEQUFpRDtBQUNqRCwyQ0FBdUM7QUFLdkMsTUFBYSxpQkFBa0IsU0FBUSxzQkFBUztJQUU5QyxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQTRCO1FBQ3BFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsSUFBSSxLQUFLLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFO1lBQ2hELEdBQUcsQ0FBQyxXQUFXLENBQUMsRUFBRSxDQUFDLElBQU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HJvcHMgfSk7XG4gIH1cbn0iXX0=
@@ -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: Tue, 14 Mar 2023 06:02:37 GMT
11
+ * Last updated: Mon, 20 Mar 2023 21:32:44 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
@@ -3129,12 +3129,13 @@ declare module 'crypto' {
3129
3129
  */
3130
3130
  disableEntropyCache?: boolean | undefined;
3131
3131
  }
3132
+ type UUID = `${string}-${string}-${string}-${string}-${string}`;
3132
3133
  /**
3133
3134
  * Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a
3134
3135
  * cryptographic pseudorandom number generator.
3135
3136
  * @since v15.6.0, v14.17.0
3136
3137
  */
3137
- function randomUUID(options?: RandomUUIDOptions): string;
3138
+ function randomUUID(options?: RandomUUIDOptions): UUID;
3138
3139
  interface X509CheckOptions {
3139
3140
  /**
3140
3141
  * @default 'always'
@@ -3646,7 +3647,7 @@ declare module 'crypto' {
3646
3647
  * The UUID is generated using a cryptographic pseudorandom number generator.
3647
3648
  * @since v16.7.0
3648
3649
  */
3649
- randomUUID(): string;
3650
+ randomUUID(): UUID;
3650
3651
  CryptoKey: CryptoKeyConstructor;
3651
3652
  }
3652
3653
  // This constructor throws ILLEGAL_CONSTRUCTOR so it should not be newable.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.15.3",
3
+ "version": "18.15.5",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -232,6 +232,6 @@
232
232
  },
233
233
  "scripts": {},
234
234
  "dependencies": {},
235
- "typesPublisherContentHash": "2b0bdc90cf6594c1dad97a20429a1c7b90e2dc449ce05846f01e2ecc1f0c0467",
236
- "typeScriptVersion": "4.2"
235
+ "typesPublisherContentHash": "dbeb99b03a082a478a5124e1b36307ac5c680e2c151da45fdbb731f85ff49909",
236
+ "typeScriptVersion": "4.3"
237
237
  }
@@ -912,6 +912,105 @@ declare module 'stream' {
912
912
  end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
913
913
  cork(): void;
914
914
  uncork(): void;
915
+ /**
916
+ * Event emitter
917
+ * The defined events on documents including:
918
+ * 1. close
919
+ * 2. data
920
+ * 3. drain
921
+ * 4. end
922
+ * 5. error
923
+ * 6. finish
924
+ * 7. pause
925
+ * 8. pipe
926
+ * 9. readable
927
+ * 10. resume
928
+ * 11. unpipe
929
+ */
930
+ addListener(event: 'close', listener: () => void): this;
931
+ addListener(event: 'data', listener: (chunk: any) => void): this;
932
+ addListener(event: 'drain', listener: () => void): this;
933
+ addListener(event: 'end', listener: () => void): this;
934
+ addListener(event: 'error', listener: (err: Error) => void): this;
935
+ addListener(event: 'finish', listener: () => void): this;
936
+ addListener(event: 'pause', listener: () => void): this;
937
+ addListener(event: 'pipe', listener: (src: Readable) => void): this;
938
+ addListener(event: 'readable', listener: () => void): this;
939
+ addListener(event: 'resume', listener: () => void): this;
940
+ addListener(event: 'unpipe', listener: (src: Readable) => void): this;
941
+ addListener(event: string | symbol, listener: (...args: any[]) => void): this;
942
+ emit(event: 'close'): boolean;
943
+ emit(event: 'data', chunk: any): boolean;
944
+ emit(event: 'drain'): boolean;
945
+ emit(event: 'end'): boolean;
946
+ emit(event: 'error', err: Error): boolean;
947
+ emit(event: 'finish'): boolean;
948
+ emit(event: 'pause'): boolean;
949
+ emit(event: 'pipe', src: Readable): boolean;
950
+ emit(event: 'readable'): boolean;
951
+ emit(event: 'resume'): boolean;
952
+ emit(event: 'unpipe', src: Readable): boolean;
953
+ emit(event: string | symbol, ...args: any[]): boolean;
954
+ on(event: 'close', listener: () => void): this;
955
+ on(event: 'data', listener: (chunk: any) => void): this;
956
+ on(event: 'drain', listener: () => void): this;
957
+ on(event: 'end', listener: () => void): this;
958
+ on(event: 'error', listener: (err: Error) => void): this;
959
+ on(event: 'finish', listener: () => void): this;
960
+ on(event: 'pause', listener: () => void): this;
961
+ on(event: 'pipe', listener: (src: Readable) => void): this;
962
+ on(event: 'readable', listener: () => void): this;
963
+ on(event: 'resume', listener: () => void): this;
964
+ on(event: 'unpipe', listener: (src: Readable) => void): this;
965
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
966
+ once(event: 'close', listener: () => void): this;
967
+ once(event: 'data', listener: (chunk: any) => void): this;
968
+ once(event: 'drain', listener: () => void): this;
969
+ once(event: 'end', listener: () => void): this;
970
+ once(event: 'error', listener: (err: Error) => void): this;
971
+ once(event: 'finish', listener: () => void): this;
972
+ once(event: 'pause', listener: () => void): this;
973
+ once(event: 'pipe', listener: (src: Readable) => void): this;
974
+ once(event: 'readable', listener: () => void): this;
975
+ once(event: 'resume', listener: () => void): this;
976
+ once(event: 'unpipe', listener: (src: Readable) => void): this;
977
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
978
+ prependListener(event: 'close', listener: () => void): this;
979
+ prependListener(event: 'data', listener: (chunk: any) => void): this;
980
+ prependListener(event: 'drain', listener: () => void): this;
981
+ prependListener(event: 'end', listener: () => void): this;
982
+ prependListener(event: 'error', listener: (err: Error) => void): this;
983
+ prependListener(event: 'finish', listener: () => void): this;
984
+ prependListener(event: 'pause', listener: () => void): this;
985
+ prependListener(event: 'pipe', listener: (src: Readable) => void): this;
986
+ prependListener(event: 'readable', listener: () => void): this;
987
+ prependListener(event: 'resume', listener: () => void): this;
988
+ prependListener(event: 'unpipe', listener: (src: Readable) => void): this;
989
+ prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
990
+ prependOnceListener(event: 'close', listener: () => void): this;
991
+ prependOnceListener(event: 'data', listener: (chunk: any) => void): this;
992
+ prependOnceListener(event: 'drain', listener: () => void): this;
993
+ prependOnceListener(event: 'end', listener: () => void): this;
994
+ prependOnceListener(event: 'error', listener: (err: Error) => void): this;
995
+ prependOnceListener(event: 'finish', listener: () => void): this;
996
+ prependOnceListener(event: 'pause', listener: () => void): this;
997
+ prependOnceListener(event: 'pipe', listener: (src: Readable) => void): this;
998
+ prependOnceListener(event: 'readable', listener: () => void): this;
999
+ prependOnceListener(event: 'resume', listener: () => void): this;
1000
+ prependOnceListener(event: 'unpipe', listener: (src: Readable) => void): this;
1001
+ prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
1002
+ removeListener(event: 'close', listener: () => void): this;
1003
+ removeListener(event: 'data', listener: (chunk: any) => void): this;
1004
+ removeListener(event: 'drain', listener: () => void): this;
1005
+ removeListener(event: 'end', listener: () => void): this;
1006
+ removeListener(event: 'error', listener: (err: Error) => void): this;
1007
+ removeListener(event: 'finish', listener: () => void): this;
1008
+ removeListener(event: 'pause', listener: () => void): this;
1009
+ removeListener(event: 'pipe', listener: (src: Readable) => void): this;
1010
+ removeListener(event: 'readable', listener: () => void): this;
1011
+ removeListener(event: 'resume', listener: () => void): this;
1012
+ removeListener(event: 'unpipe', listener: (src: Readable) => void): this;
1013
+ removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
915
1014
  }
916
1015
  type TransformCallback = (error?: Error | null, data?: any) => void;
917
1016
  interface TransformOptions extends DuplexOptions {
@@ -912,6 +912,105 @@ declare module 'stream' {
912
912
  end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
913
913
  cork(): void;
914
914
  uncork(): void;
915
+ /**
916
+ * Event emitter
917
+ * The defined events on documents including:
918
+ * 1. close
919
+ * 2. data
920
+ * 3. drain
921
+ * 4. end
922
+ * 5. error
923
+ * 6. finish
924
+ * 7. pause
925
+ * 8. pipe
926
+ * 9. readable
927
+ * 10. resume
928
+ * 11. unpipe
929
+ */
930
+ addListener(event: 'close', listener: () => void): this;
931
+ addListener(event: 'data', listener: (chunk: any) => void): this;
932
+ addListener(event: 'drain', listener: () => void): this;
933
+ addListener(event: 'end', listener: () => void): this;
934
+ addListener(event: 'error', listener: (err: Error) => void): this;
935
+ addListener(event: 'finish', listener: () => void): this;
936
+ addListener(event: 'pause', listener: () => void): this;
937
+ addListener(event: 'pipe', listener: (src: Readable) => void): this;
938
+ addListener(event: 'readable', listener: () => void): this;
939
+ addListener(event: 'resume', listener: () => void): this;
940
+ addListener(event: 'unpipe', listener: (src: Readable) => void): this;
941
+ addListener(event: string | symbol, listener: (...args: any[]) => void): this;
942
+ emit(event: 'close'): boolean;
943
+ emit(event: 'data', chunk: any): boolean;
944
+ emit(event: 'drain'): boolean;
945
+ emit(event: 'end'): boolean;
946
+ emit(event: 'error', err: Error): boolean;
947
+ emit(event: 'finish'): boolean;
948
+ emit(event: 'pause'): boolean;
949
+ emit(event: 'pipe', src: Readable): boolean;
950
+ emit(event: 'readable'): boolean;
951
+ emit(event: 'resume'): boolean;
952
+ emit(event: 'unpipe', src: Readable): boolean;
953
+ emit(event: string | symbol, ...args: any[]): boolean;
954
+ on(event: 'close', listener: () => void): this;
955
+ on(event: 'data', listener: (chunk: any) => void): this;
956
+ on(event: 'drain', listener: () => void): this;
957
+ on(event: 'end', listener: () => void): this;
958
+ on(event: 'error', listener: (err: Error) => void): this;
959
+ on(event: 'finish', listener: () => void): this;
960
+ on(event: 'pause', listener: () => void): this;
961
+ on(event: 'pipe', listener: (src: Readable) => void): this;
962
+ on(event: 'readable', listener: () => void): this;
963
+ on(event: 'resume', listener: () => void): this;
964
+ on(event: 'unpipe', listener: (src: Readable) => void): this;
965
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
966
+ once(event: 'close', listener: () => void): this;
967
+ once(event: 'data', listener: (chunk: any) => void): this;
968
+ once(event: 'drain', listener: () => void): this;
969
+ once(event: 'end', listener: () => void): this;
970
+ once(event: 'error', listener: (err: Error) => void): this;
971
+ once(event: 'finish', listener: () => void): this;
972
+ once(event: 'pause', listener: () => void): this;
973
+ once(event: 'pipe', listener: (src: Readable) => void): this;
974
+ once(event: 'readable', listener: () => void): this;
975
+ once(event: 'resume', listener: () => void): this;
976
+ once(event: 'unpipe', listener: (src: Readable) => void): this;
977
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
978
+ prependListener(event: 'close', listener: () => void): this;
979
+ prependListener(event: 'data', listener: (chunk: any) => void): this;
980
+ prependListener(event: 'drain', listener: () => void): this;
981
+ prependListener(event: 'end', listener: () => void): this;
982
+ prependListener(event: 'error', listener: (err: Error) => void): this;
983
+ prependListener(event: 'finish', listener: () => void): this;
984
+ prependListener(event: 'pause', listener: () => void): this;
985
+ prependListener(event: 'pipe', listener: (src: Readable) => void): this;
986
+ prependListener(event: 'readable', listener: () => void): this;
987
+ prependListener(event: 'resume', listener: () => void): this;
988
+ prependListener(event: 'unpipe', listener: (src: Readable) => void): this;
989
+ prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
990
+ prependOnceListener(event: 'close', listener: () => void): this;
991
+ prependOnceListener(event: 'data', listener: (chunk: any) => void): this;
992
+ prependOnceListener(event: 'drain', listener: () => void): this;
993
+ prependOnceListener(event: 'end', listener: () => void): this;
994
+ prependOnceListener(event: 'error', listener: (err: Error) => void): this;
995
+ prependOnceListener(event: 'finish', listener: () => void): this;
996
+ prependOnceListener(event: 'pause', listener: () => void): this;
997
+ prependOnceListener(event: 'pipe', listener: (src: Readable) => void): this;
998
+ prependOnceListener(event: 'readable', listener: () => void): this;
999
+ prependOnceListener(event: 'resume', listener: () => void): this;
1000
+ prependOnceListener(event: 'unpipe', listener: (src: Readable) => void): this;
1001
+ prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
1002
+ removeListener(event: 'close', listener: () => void): this;
1003
+ removeListener(event: 'data', listener: (chunk: any) => void): this;
1004
+ removeListener(event: 'drain', listener: () => void): this;
1005
+ removeListener(event: 'end', listener: () => void): this;
1006
+ removeListener(event: 'error', listener: (err: Error) => void): this;
1007
+ removeListener(event: 'finish', listener: () => void): this;
1008
+ removeListener(event: 'pause', listener: () => void): this;
1009
+ removeListener(event: 'pipe', listener: (src: Readable) => void): this;
1010
+ removeListener(event: 'readable', listener: () => void): this;
1011
+ removeListener(event: 'resume', listener: () => void): this;
1012
+ removeListener(event: 'unpipe', listener: (src: Readable) => void): this;
1013
+ removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
915
1014
  }
916
1015
  type TransformCallback = (error?: Error | null, data?: any) => void;
917
1016
  interface TransformOptions extends DuplexOptions {
@@ -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: Tue, 14 Mar 2023 06:02:37 GMT
11
+ * Last updated: Mon, 20 Mar 2023 21:32:44 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
@@ -3129,12 +3129,13 @@ declare module 'crypto' {
3129
3129
  */
3130
3130
  disableEntropyCache?: boolean | undefined;
3131
3131
  }
3132
+ type UUID = `${string}-${string}-${string}-${string}-${string}`;
3132
3133
  /**
3133
3134
  * Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a
3134
3135
  * cryptographic pseudorandom number generator.
3135
3136
  * @since v15.6.0, v14.17.0
3136
3137
  */
3137
- function randomUUID(options?: RandomUUIDOptions): string;
3138
+ function randomUUID(options?: RandomUUIDOptions): UUID;
3138
3139
  interface X509CheckOptions {
3139
3140
  /**
3140
3141
  * @default 'always'
@@ -3646,7 +3647,7 @@ declare module 'crypto' {
3646
3647
  * The UUID is generated using a cryptographic pseudorandom number generator.
3647
3648
  * @since v16.7.0
3648
3649
  */
3649
- randomUUID(): string;
3650
+ randomUUID(): UUID;
3650
3651
  CryptoKey: CryptoKeyConstructor;
3651
3652
  }
3652
3653
  // This constructor throws ILLEGAL_CONSTRUCTOR so it should not be newable.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.15.3",
3
+ "version": "18.15.5",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -232,6 +232,6 @@
232
232
  },
233
233
  "scripts": {},
234
234
  "dependencies": {},
235
- "typesPublisherContentHash": "2b0bdc90cf6594c1dad97a20429a1c7b90e2dc449ce05846f01e2ecc1f0c0467",
236
- "typeScriptVersion": "4.2"
235
+ "typesPublisherContentHash": "dbeb99b03a082a478a5124e1b36307ac5c680e2c151da45fdbb731f85ff49909",
236
+ "typeScriptVersion": "4.3"
237
237
  }
@@ -912,6 +912,105 @@ declare module 'stream' {
912
912
  end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
913
913
  cork(): void;
914
914
  uncork(): void;
915
+ /**
916
+ * Event emitter
917
+ * The defined events on documents including:
918
+ * 1. close
919
+ * 2. data
920
+ * 3. drain
921
+ * 4. end
922
+ * 5. error
923
+ * 6. finish
924
+ * 7. pause
925
+ * 8. pipe
926
+ * 9. readable
927
+ * 10. resume
928
+ * 11. unpipe
929
+ */
930
+ addListener(event: 'close', listener: () => void): this;
931
+ addListener(event: 'data', listener: (chunk: any) => void): this;
932
+ addListener(event: 'drain', listener: () => void): this;
933
+ addListener(event: 'end', listener: () => void): this;
934
+ addListener(event: 'error', listener: (err: Error) => void): this;
935
+ addListener(event: 'finish', listener: () => void): this;
936
+ addListener(event: 'pause', listener: () => void): this;
937
+ addListener(event: 'pipe', listener: (src: Readable) => void): this;
938
+ addListener(event: 'readable', listener: () => void): this;
939
+ addListener(event: 'resume', listener: () => void): this;
940
+ addListener(event: 'unpipe', listener: (src: Readable) => void): this;
941
+ addListener(event: string | symbol, listener: (...args: any[]) => void): this;
942
+ emit(event: 'close'): boolean;
943
+ emit(event: 'data', chunk: any): boolean;
944
+ emit(event: 'drain'): boolean;
945
+ emit(event: 'end'): boolean;
946
+ emit(event: 'error', err: Error): boolean;
947
+ emit(event: 'finish'): boolean;
948
+ emit(event: 'pause'): boolean;
949
+ emit(event: 'pipe', src: Readable): boolean;
950
+ emit(event: 'readable'): boolean;
951
+ emit(event: 'resume'): boolean;
952
+ emit(event: 'unpipe', src: Readable): boolean;
953
+ emit(event: string | symbol, ...args: any[]): boolean;
954
+ on(event: 'close', listener: () => void): this;
955
+ on(event: 'data', listener: (chunk: any) => void): this;
956
+ on(event: 'drain', listener: () => void): this;
957
+ on(event: 'end', listener: () => void): this;
958
+ on(event: 'error', listener: (err: Error) => void): this;
959
+ on(event: 'finish', listener: () => void): this;
960
+ on(event: 'pause', listener: () => void): this;
961
+ on(event: 'pipe', listener: (src: Readable) => void): this;
962
+ on(event: 'readable', listener: () => void): this;
963
+ on(event: 'resume', listener: () => void): this;
964
+ on(event: 'unpipe', listener: (src: Readable) => void): this;
965
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
966
+ once(event: 'close', listener: () => void): this;
967
+ once(event: 'data', listener: (chunk: any) => void): this;
968
+ once(event: 'drain', listener: () => void): this;
969
+ once(event: 'end', listener: () => void): this;
970
+ once(event: 'error', listener: (err: Error) => void): this;
971
+ once(event: 'finish', listener: () => void): this;
972
+ once(event: 'pause', listener: () => void): this;
973
+ once(event: 'pipe', listener: (src: Readable) => void): this;
974
+ once(event: 'readable', listener: () => void): this;
975
+ once(event: 'resume', listener: () => void): this;
976
+ once(event: 'unpipe', listener: (src: Readable) => void): this;
977
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
978
+ prependListener(event: 'close', listener: () => void): this;
979
+ prependListener(event: 'data', listener: (chunk: any) => void): this;
980
+ prependListener(event: 'drain', listener: () => void): this;
981
+ prependListener(event: 'end', listener: () => void): this;
982
+ prependListener(event: 'error', listener: (err: Error) => void): this;
983
+ prependListener(event: 'finish', listener: () => void): this;
984
+ prependListener(event: 'pause', listener: () => void): this;
985
+ prependListener(event: 'pipe', listener: (src: Readable) => void): this;
986
+ prependListener(event: 'readable', listener: () => void): this;
987
+ prependListener(event: 'resume', listener: () => void): this;
988
+ prependListener(event: 'unpipe', listener: (src: Readable) => void): this;
989
+ prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
990
+ prependOnceListener(event: 'close', listener: () => void): this;
991
+ prependOnceListener(event: 'data', listener: (chunk: any) => void): this;
992
+ prependOnceListener(event: 'drain', listener: () => void): this;
993
+ prependOnceListener(event: 'end', listener: () => void): this;
994
+ prependOnceListener(event: 'error', listener: (err: Error) => void): this;
995
+ prependOnceListener(event: 'finish', listener: () => void): this;
996
+ prependOnceListener(event: 'pause', listener: () => void): this;
997
+ prependOnceListener(event: 'pipe', listener: (src: Readable) => void): this;
998
+ prependOnceListener(event: 'readable', listener: () => void): this;
999
+ prependOnceListener(event: 'resume', listener: () => void): this;
1000
+ prependOnceListener(event: 'unpipe', listener: (src: Readable) => void): this;
1001
+ prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
1002
+ removeListener(event: 'close', listener: () => void): this;
1003
+ removeListener(event: 'data', listener: (chunk: any) => void): this;
1004
+ removeListener(event: 'drain', listener: () => void): this;
1005
+ removeListener(event: 'end', listener: () => void): this;
1006
+ removeListener(event: 'error', listener: (err: Error) => void): this;
1007
+ removeListener(event: 'finish', listener: () => void): this;
1008
+ removeListener(event: 'pause', listener: () => void): this;
1009
+ removeListener(event: 'pipe', listener: (src: Readable) => void): this;
1010
+ removeListener(event: 'readable', listener: () => void): this;
1011
+ removeListener(event: 'resume', listener: () => void): this;
1012
+ removeListener(event: 'unpipe', listener: (src: Readable) => void): this;
1013
+ removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
915
1014
  }
916
1015
  type TransformCallback = (error?: Error | null, data?: any) => void;
917
1016
  interface TransformOptions extends DuplexOptions {
@@ -912,6 +912,105 @@ declare module 'stream' {
912
912
  end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
913
913
  cork(): void;
914
914
  uncork(): void;
915
+ /**
916
+ * Event emitter
917
+ * The defined events on documents including:
918
+ * 1. close
919
+ * 2. data
920
+ * 3. drain
921
+ * 4. end
922
+ * 5. error
923
+ * 6. finish
924
+ * 7. pause
925
+ * 8. pipe
926
+ * 9. readable
927
+ * 10. resume
928
+ * 11. unpipe
929
+ */
930
+ addListener(event: 'close', listener: () => void): this;
931
+ addListener(event: 'data', listener: (chunk: any) => void): this;
932
+ addListener(event: 'drain', listener: () => void): this;
933
+ addListener(event: 'end', listener: () => void): this;
934
+ addListener(event: 'error', listener: (err: Error) => void): this;
935
+ addListener(event: 'finish', listener: () => void): this;
936
+ addListener(event: 'pause', listener: () => void): this;
937
+ addListener(event: 'pipe', listener: (src: Readable) => void): this;
938
+ addListener(event: 'readable', listener: () => void): this;
939
+ addListener(event: 'resume', listener: () => void): this;
940
+ addListener(event: 'unpipe', listener: (src: Readable) => void): this;
941
+ addListener(event: string | symbol, listener: (...args: any[]) => void): this;
942
+ emit(event: 'close'): boolean;
943
+ emit(event: 'data', chunk: any): boolean;
944
+ emit(event: 'drain'): boolean;
945
+ emit(event: 'end'): boolean;
946
+ emit(event: 'error', err: Error): boolean;
947
+ emit(event: 'finish'): boolean;
948
+ emit(event: 'pause'): boolean;
949
+ emit(event: 'pipe', src: Readable): boolean;
950
+ emit(event: 'readable'): boolean;
951
+ emit(event: 'resume'): boolean;
952
+ emit(event: 'unpipe', src: Readable): boolean;
953
+ emit(event: string | symbol, ...args: any[]): boolean;
954
+ on(event: 'close', listener: () => void): this;
955
+ on(event: 'data', listener: (chunk: any) => void): this;
956
+ on(event: 'drain', listener: () => void): this;
957
+ on(event: 'end', listener: () => void): this;
958
+ on(event: 'error', listener: (err: Error) => void): this;
959
+ on(event: 'finish', listener: () => void): this;
960
+ on(event: 'pause', listener: () => void): this;
961
+ on(event: 'pipe', listener: (src: Readable) => void): this;
962
+ on(event: 'readable', listener: () => void): this;
963
+ on(event: 'resume', listener: () => void): this;
964
+ on(event: 'unpipe', listener: (src: Readable) => void): this;
965
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
966
+ once(event: 'close', listener: () => void): this;
967
+ once(event: 'data', listener: (chunk: any) => void): this;
968
+ once(event: 'drain', listener: () => void): this;
969
+ once(event: 'end', listener: () => void): this;
970
+ once(event: 'error', listener: (err: Error) => void): this;
971
+ once(event: 'finish', listener: () => void): this;
972
+ once(event: 'pause', listener: () => void): this;
973
+ once(event: 'pipe', listener: (src: Readable) => void): this;
974
+ once(event: 'readable', listener: () => void): this;
975
+ once(event: 'resume', listener: () => void): this;
976
+ once(event: 'unpipe', listener: (src: Readable) => void): this;
977
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
978
+ prependListener(event: 'close', listener: () => void): this;
979
+ prependListener(event: 'data', listener: (chunk: any) => void): this;
980
+ prependListener(event: 'drain', listener: () => void): this;
981
+ prependListener(event: 'end', listener: () => void): this;
982
+ prependListener(event: 'error', listener: (err: Error) => void): this;
983
+ prependListener(event: 'finish', listener: () => void): this;
984
+ prependListener(event: 'pause', listener: () => void): this;
985
+ prependListener(event: 'pipe', listener: (src: Readable) => void): this;
986
+ prependListener(event: 'readable', listener: () => void): this;
987
+ prependListener(event: 'resume', listener: () => void): this;
988
+ prependListener(event: 'unpipe', listener: (src: Readable) => void): this;
989
+ prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
990
+ prependOnceListener(event: 'close', listener: () => void): this;
991
+ prependOnceListener(event: 'data', listener: (chunk: any) => void): this;
992
+ prependOnceListener(event: 'drain', listener: () => void): this;
993
+ prependOnceListener(event: 'end', listener: () => void): this;
994
+ prependOnceListener(event: 'error', listener: (err: Error) => void): this;
995
+ prependOnceListener(event: 'finish', listener: () => void): this;
996
+ prependOnceListener(event: 'pause', listener: () => void): this;
997
+ prependOnceListener(event: 'pipe', listener: (src: Readable) => void): this;
998
+ prependOnceListener(event: 'readable', listener: () => void): this;
999
+ prependOnceListener(event: 'resume', listener: () => void): this;
1000
+ prependOnceListener(event: 'unpipe', listener: (src: Readable) => void): this;
1001
+ prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
1002
+ removeListener(event: 'close', listener: () => void): this;
1003
+ removeListener(event: 'data', listener: (chunk: any) => void): this;
1004
+ removeListener(event: 'drain', listener: () => void): this;
1005
+ removeListener(event: 'end', listener: () => void): this;
1006
+ removeListener(event: 'error', listener: (err: Error) => void): this;
1007
+ removeListener(event: 'finish', listener: () => void): this;
1008
+ removeListener(event: 'pause', listener: () => void): this;
1009
+ removeListener(event: 'pipe', listener: (src: Readable) => void): this;
1010
+ removeListener(event: 'readable', listener: () => void): this;
1011
+ removeListener(event: 'resume', listener: () => void): this;
1012
+ removeListener(event: 'unpipe', listener: (src: Readable) => void): this;
1013
+ removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
915
1014
  }
916
1015
  type TransformCallback = (error?: Error | null, data?: any) => void;
917
1016
  interface TransformOptions extends DuplexOptions {
package/package.json CHANGED
@@ -54,7 +54,7 @@
54
54
  "jsii-docgen": "^3.8.31",
55
55
  "jsii-pacmak": "^1.78.1",
56
56
  "npm-check-updates": "^16",
57
- "projen": "0.68.13",
57
+ "projen": "0.68.15",
58
58
  "standard-version": "^9",
59
59
  "ts-jest": "^27",
60
60
  "typescript": "3.9.10"
@@ -82,7 +82,7 @@
82
82
  ],
83
83
  "main": "lib/index.js",
84
84
  "license": "Apache-2.0",
85
- "version": "2.0.442",
85
+ "version": "2.0.443",
86
86
  "jest": {
87
87
  "testMatch": [
88
88
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",