cloudstructs 0.3.0 → 0.4.2

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.
Files changed (68) hide show
  1. package/.jsii +1444 -126
  2. package/API.md +343 -2
  3. package/assets/codecommit-mirror/docker/mirror.sh +0 -0
  4. package/changelog.md +2 -0
  5. package/lib/codecommit-mirror/index.js +4 -5
  6. package/lib/ecs-service-roller/index.js +2 -2
  7. package/lib/email-receiver/receiver.js +3 -4
  8. package/lib/saml-identity-provider/index.js +2 -2
  9. package/lib/slack-app/index.d.ts +2 -95
  10. package/lib/slack-app/index.js +13 -47
  11. package/lib/slack-app/manifest.d.ts +482 -0
  12. package/lib/slack-app/manifest.js +198 -0
  13. package/lib/slack-app/provider.handler.js +4 -3
  14. package/lib/slack-app/provider.js +1 -3
  15. package/lib/slack-app/slack-app.d.ts +127 -0
  16. package/lib/slack-app/slack-app.js +103 -0
  17. package/lib/slack-events/index.js +2 -4
  18. package/lib/slack-textract/index.js +2 -4
  19. package/lib/state-machine-cr-provider/index.js +4 -4
  20. package/lib/static-website/index.js +1 -1
  21. package/lib/url-shortener/index.js +2 -4
  22. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  23. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +3 -3
  24. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +11 -1
  25. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +3 -3
  26. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +4 -3
  27. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  28. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +8 -0
  29. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +2 -0
  30. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
  31. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +8 -8
  32. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +2 -1
  33. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  34. package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +3 -3
  35. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +11 -1
  36. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +3 -3
  37. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +4 -3
  38. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  39. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +8 -0
  40. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +2 -0
  41. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +1 -1
  42. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +8 -8
  43. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +2 -1
  44. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  45. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +3 -3
  46. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +11 -1
  47. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +3 -3
  48. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +4 -3
  49. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  50. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +8 -0
  51. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +2 -0
  52. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
  53. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +8 -8
  54. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +2 -1
  55. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  56. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +3 -3
  57. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +11 -1
  58. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +3 -3
  59. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +4 -3
  60. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  61. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +8 -0
  62. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +2 -0
  63. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
  64. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +8 -8
  65. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +2 -1
  66. package/package.json +10 -7
  67. package/releasetag.txt +1 -0
  68. package/version.txt +1 -0
@@ -11,6 +11,7 @@
11
11
  declare module 'tls' {
12
12
  import { X509Certificate } from 'node:crypto';
13
13
  import * as net from 'node:net';
14
+ import * as stream from 'stream';
14
15
  const CLIENT_RENEG_LIMIT: number;
15
16
  const CLIENT_RENEG_WINDOW: number;
16
17
  interface Certificate {
@@ -516,7 +517,7 @@ declare module 'tls' {
516
517
  host?: string | undefined;
517
518
  port?: number | undefined;
518
519
  path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored.
519
- socket?: net.Socket | undefined; // Establish secure connection on a given socket rather than creating a new socket
520
+ socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket
520
521
  checkServerIdentity?: typeof checkServerIdentity | undefined;
521
522
  servername?: string | undefined; // SNI TLS Extension
522
523
  session?: Buffer | undefined;
@@ -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: Mon, 20 Dec 2021 23:01:20 GMT
11
+ * Last updated: Mon, 17 Jan 2022 09:01:27 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
@@ -205,9 +205,9 @@ declare namespace NodeJS {
205
205
  writable: boolean;
206
206
  write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
207
207
  write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
208
- end(cb?: () => void): void;
209
- end(data: string | Uint8Array, cb?: () => void): void;
210
- end(str: string, encoding?: BufferEncoding, cb?: () => void): void;
208
+ end(cb?: () => void): this;
209
+ end(data: string | Uint8Array, cb?: () => void): this;
210
+ end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
211
211
  }
212
212
 
213
213
  interface ReadWriteStream extends ReadableStream, WritableStream { }
@@ -621,6 +621,16 @@ declare module 'http' {
621
621
  * @since v14.5.0, v12.19.0
622
622
  */
623
623
  protocol: string;
624
+ /**
625
+ * Whether the request is send through a reused socket.
626
+ * @since v13.0.0, v12.16.0
627
+ */
628
+ reusedSocket: boolean;
629
+ /**
630
+ * Limits maximum response headers count. If set to 0, no limit will be applied.
631
+ * @default 2000
632
+ */
633
+ maxHeadersCount: number;
624
634
  constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
625
635
  /**
626
636
  * The request method.
@@ -966,7 +976,7 @@ declare module 'http' {
966
976
  * as an argument to any listeners on the event.
967
977
  * @since v0.3.0
968
978
  */
969
- destroy(error?: Error): void;
979
+ destroy(error?: Error): this;
970
980
  }
971
981
  interface AgentOptions extends Partial<TcpSocketConnectOpts> {
972
982
  /**
@@ -1516,9 +1516,9 @@ declare module 'http2' {
1516
1516
  * is finished.
1517
1517
  * @since v8.4.0
1518
1518
  */
1519
- end(callback?: () => void): void;
1520
- end(data: string | Uint8Array, callback?: () => void): void;
1521
- end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void;
1519
+ end(callback?: () => void): this;
1520
+ end(data: string | Uint8Array, callback?: () => void): this;
1521
+ end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this;
1522
1522
  /**
1523
1523
  * Reads out a header that has already been queued but not sent to the client.
1524
1524
  * The name is case-insensitive.
@@ -27,6 +27,7 @@ declare module 'net' {
27
27
  allowHalfOpen?: boolean | undefined;
28
28
  readable?: boolean | undefined;
29
29
  writable?: boolean | undefined;
30
+ signal?: AbortSignal;
30
31
  }
31
32
  interface OnReadOpts {
32
33
  buffer: Uint8Array | (() => Uint8Array);
@@ -287,9 +288,9 @@ declare module 'net' {
287
288
  * @param callback Optional callback for when the socket is finished.
288
289
  * @return The socket itself.
289
290
  */
290
- end(callback?: () => void): void;
291
- end(buffer: Uint8Array | string, callback?: () => void): void;
292
- end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): void;
291
+ end(callback?: () => void): this;
292
+ end(buffer: Uint8Array | string, callback?: () => void): this;
293
+ end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this;
293
294
  /**
294
295
  * events.EventEmitter
295
296
  * 1. close
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.2",
3
+ "version": "17.0.9",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -225,6 +225,6 @@
225
225
  },
226
226
  "scripts": {},
227
227
  "dependencies": {},
228
- "typesPublisherContentHash": "f682c1e74631e5d2b576b504a97a862521ab1154681acc21f2eebef0315ff659",
228
+ "typesPublisherContentHash": "5cb436d01fb10eee34657c48c4cdfa4544d4fe09454836c3a08d045ead2ac643",
229
229
  "typeScriptVersion": "3.8"
230
230
  }
@@ -170,3 +170,11 @@ declare module 'node:path' {
170
170
  import path = require('path');
171
171
  export = path;
172
172
  }
173
+ declare module 'node:path/posix' {
174
+ import path = require('path/posix');
175
+ export = path;
176
+ }
177
+ declare module 'node:path/win32' {
178
+ import path = require('path/win32');
179
+ export = path;
180
+ }
@@ -397,9 +397,11 @@ declare module 'perf_hooks' {
397
397
  options:
398
398
  | {
399
399
  entryTypes: ReadonlyArray<EntryType>;
400
+ buffered?: boolean | undefined;
400
401
  }
401
402
  | {
402
403
  type: EntryType;
404
+ buffered?: boolean | undefined;
403
405
  }
404
406
  ): void;
405
407
  }
@@ -146,7 +146,7 @@ declare module 'process' {
146
146
  /**
147
147
  * If true, a diagnostic report is generated when the process
148
148
  * receives the signal specified by process.report.signal.
149
- * @defaul false
149
+ * @default false
150
150
  */
151
151
  reportOnSignal: boolean;
152
152
  /**
@@ -408,7 +408,7 @@ declare module 'stream' {
408
408
  * @since v8.0.0
409
409
  * @param error Error which will be passed as payload in `'error'` event
410
410
  */
411
- destroy(error?: Error): void;
411
+ destroy(error?: Error): this;
412
412
  /**
413
413
  * Event emitter
414
414
  * The defined events on documents including:
@@ -639,9 +639,9 @@ declare module 'stream' {
639
639
  * @param encoding The encoding if `chunk` is a string
640
640
  * @param callback Callback for when the stream is finished.
641
641
  */
642
- end(cb?: () => void): void;
643
- end(chunk: any, cb?: () => void): void;
644
- end(chunk: any, encoding: BufferEncoding, cb?: () => void): void;
642
+ end(cb?: () => void): this;
643
+ end(chunk: any, cb?: () => void): this;
644
+ end(chunk: any, encoding: BufferEncoding, cb?: () => void): this;
645
645
  /**
646
646
  * The `writable.cork()` method forces all written data to be buffered in memory.
647
647
  * The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called.
@@ -707,7 +707,7 @@ declare module 'stream' {
707
707
  * @since v8.0.0
708
708
  * @param error Optional, an error to emit with `'error'` event.
709
709
  */
710
- destroy(error?: Error): void;
710
+ destroy(error?: Error): this;
711
711
  /**
712
712
  * Event emitter
713
713
  * The defined events on documents including:
@@ -853,9 +853,9 @@ declare module 'stream' {
853
853
  write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
854
854
  write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
855
855
  setDefaultEncoding(encoding: BufferEncoding): this;
856
- end(cb?: () => void): void;
857
- end(chunk: any, cb?: () => void): void;
858
- end(chunk: any, encoding?: BufferEncoding, cb?: () => void): void;
856
+ end(cb?: () => void): this;
857
+ end(chunk: any, cb?: () => void): this;
858
+ end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
859
859
  cork(): void;
860
860
  uncork(): void;
861
861
  }
@@ -11,6 +11,7 @@
11
11
  declare module 'tls' {
12
12
  import { X509Certificate } from 'node:crypto';
13
13
  import * as net from 'node:net';
14
+ import * as stream from 'stream';
14
15
  const CLIENT_RENEG_LIMIT: number;
15
16
  const CLIENT_RENEG_WINDOW: number;
16
17
  interface Certificate {
@@ -516,7 +517,7 @@ declare module 'tls' {
516
517
  host?: string | undefined;
517
518
  port?: number | undefined;
518
519
  path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored.
519
- socket?: net.Socket | undefined; // Establish secure connection on a given socket rather than creating a new socket
520
+ socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket
520
521
  checkServerIdentity?: typeof checkServerIdentity | undefined;
521
522
  servername?: string | undefined; // SNI TLS Extension
522
523
  session?: Buffer | undefined;
@@ -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: Mon, 20 Dec 2021 23:01:20 GMT
11
+ * Last updated: Mon, 17 Jan 2022 09:01:27 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
@@ -205,9 +205,9 @@ declare namespace NodeJS {
205
205
  writable: boolean;
206
206
  write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
207
207
  write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
208
- end(cb?: () => void): void;
209
- end(data: string | Uint8Array, cb?: () => void): void;
210
- end(str: string, encoding?: BufferEncoding, cb?: () => void): void;
208
+ end(cb?: () => void): this;
209
+ end(data: string | Uint8Array, cb?: () => void): this;
210
+ end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
211
211
  }
212
212
 
213
213
  interface ReadWriteStream extends ReadableStream, WritableStream { }
@@ -621,6 +621,16 @@ declare module 'http' {
621
621
  * @since v14.5.0, v12.19.0
622
622
  */
623
623
  protocol: string;
624
+ /**
625
+ * Whether the request is send through a reused socket.
626
+ * @since v13.0.0, v12.16.0
627
+ */
628
+ reusedSocket: boolean;
629
+ /**
630
+ * Limits maximum response headers count. If set to 0, no limit will be applied.
631
+ * @default 2000
632
+ */
633
+ maxHeadersCount: number;
624
634
  constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
625
635
  /**
626
636
  * The request method.
@@ -966,7 +976,7 @@ declare module 'http' {
966
976
  * as an argument to any listeners on the event.
967
977
  * @since v0.3.0
968
978
  */
969
- destroy(error?: Error): void;
979
+ destroy(error?: Error): this;
970
980
  }
971
981
  interface AgentOptions extends Partial<TcpSocketConnectOpts> {
972
982
  /**
@@ -1516,9 +1516,9 @@ declare module 'http2' {
1516
1516
  * is finished.
1517
1517
  * @since v8.4.0
1518
1518
  */
1519
- end(callback?: () => void): void;
1520
- end(data: string | Uint8Array, callback?: () => void): void;
1521
- end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void;
1519
+ end(callback?: () => void): this;
1520
+ end(data: string | Uint8Array, callback?: () => void): this;
1521
+ end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this;
1522
1522
  /**
1523
1523
  * Reads out a header that has already been queued but not sent to the client.
1524
1524
  * The name is case-insensitive.
@@ -27,6 +27,7 @@ declare module 'net' {
27
27
  allowHalfOpen?: boolean | undefined;
28
28
  readable?: boolean | undefined;
29
29
  writable?: boolean | undefined;
30
+ signal?: AbortSignal;
30
31
  }
31
32
  interface OnReadOpts {
32
33
  buffer: Uint8Array | (() => Uint8Array);
@@ -287,9 +288,9 @@ declare module 'net' {
287
288
  * @param callback Optional callback for when the socket is finished.
288
289
  * @return The socket itself.
289
290
  */
290
- end(callback?: () => void): void;
291
- end(buffer: Uint8Array | string, callback?: () => void): void;
292
- end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): void;
291
+ end(callback?: () => void): this;
292
+ end(buffer: Uint8Array | string, callback?: () => void): this;
293
+ end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this;
293
294
  /**
294
295
  * events.EventEmitter
295
296
  * 1. close
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.2",
3
+ "version": "17.0.9",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -225,6 +225,6 @@
225
225
  },
226
226
  "scripts": {},
227
227
  "dependencies": {},
228
- "typesPublisherContentHash": "f682c1e74631e5d2b576b504a97a862521ab1154681acc21f2eebef0315ff659",
228
+ "typesPublisherContentHash": "5cb436d01fb10eee34657c48c4cdfa4544d4fe09454836c3a08d045ead2ac643",
229
229
  "typeScriptVersion": "3.8"
230
230
  }
@@ -170,3 +170,11 @@ declare module 'node:path' {
170
170
  import path = require('path');
171
171
  export = path;
172
172
  }
173
+ declare module 'node:path/posix' {
174
+ import path = require('path/posix');
175
+ export = path;
176
+ }
177
+ declare module 'node:path/win32' {
178
+ import path = require('path/win32');
179
+ export = path;
180
+ }
@@ -397,9 +397,11 @@ declare module 'perf_hooks' {
397
397
  options:
398
398
  | {
399
399
  entryTypes: ReadonlyArray<EntryType>;
400
+ buffered?: boolean | undefined;
400
401
  }
401
402
  | {
402
403
  type: EntryType;
404
+ buffered?: boolean | undefined;
403
405
  }
404
406
  ): void;
405
407
  }
@@ -146,7 +146,7 @@ declare module 'process' {
146
146
  /**
147
147
  * If true, a diagnostic report is generated when the process
148
148
  * receives the signal specified by process.report.signal.
149
- * @defaul false
149
+ * @default false
150
150
  */
151
151
  reportOnSignal: boolean;
152
152
  /**
@@ -408,7 +408,7 @@ declare module 'stream' {
408
408
  * @since v8.0.0
409
409
  * @param error Error which will be passed as payload in `'error'` event
410
410
  */
411
- destroy(error?: Error): void;
411
+ destroy(error?: Error): this;
412
412
  /**
413
413
  * Event emitter
414
414
  * The defined events on documents including:
@@ -639,9 +639,9 @@ declare module 'stream' {
639
639
  * @param encoding The encoding if `chunk` is a string
640
640
  * @param callback Callback for when the stream is finished.
641
641
  */
642
- end(cb?: () => void): void;
643
- end(chunk: any, cb?: () => void): void;
644
- end(chunk: any, encoding: BufferEncoding, cb?: () => void): void;
642
+ end(cb?: () => void): this;
643
+ end(chunk: any, cb?: () => void): this;
644
+ end(chunk: any, encoding: BufferEncoding, cb?: () => void): this;
645
645
  /**
646
646
  * The `writable.cork()` method forces all written data to be buffered in memory.
647
647
  * The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called.
@@ -707,7 +707,7 @@ declare module 'stream' {
707
707
  * @since v8.0.0
708
708
  * @param error Optional, an error to emit with `'error'` event.
709
709
  */
710
- destroy(error?: Error): void;
710
+ destroy(error?: Error): this;
711
711
  /**
712
712
  * Event emitter
713
713
  * The defined events on documents including:
@@ -853,9 +853,9 @@ declare module 'stream' {
853
853
  write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
854
854
  write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
855
855
  setDefaultEncoding(encoding: BufferEncoding): this;
856
- end(cb?: () => void): void;
857
- end(chunk: any, cb?: () => void): void;
858
- end(chunk: any, encoding?: BufferEncoding, cb?: () => void): void;
856
+ end(cb?: () => void): this;
857
+ end(chunk: any, cb?: () => void): this;
858
+ end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
859
859
  cork(): void;
860
860
  uncork(): void;
861
861
  }
@@ -11,6 +11,7 @@
11
11
  declare module 'tls' {
12
12
  import { X509Certificate } from 'node:crypto';
13
13
  import * as net from 'node:net';
14
+ import * as stream from 'stream';
14
15
  const CLIENT_RENEG_LIMIT: number;
15
16
  const CLIENT_RENEG_WINDOW: number;
16
17
  interface Certificate {
@@ -516,7 +517,7 @@ declare module 'tls' {
516
517
  host?: string | undefined;
517
518
  port?: number | undefined;
518
519
  path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored.
519
- socket?: net.Socket | undefined; // Establish secure connection on a given socket rather than creating a new socket
520
+ socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket
520
521
  checkServerIdentity?: typeof checkServerIdentity | undefined;
521
522
  servername?: string | undefined; // SNI TLS Extension
522
523
  session?: Buffer | undefined;
package/package.json CHANGED
@@ -20,7 +20,10 @@
20
20
  "integ:slack-app:snapshot": "npx projen integ:slack-app:snapshot",
21
21
  "integ:slack-app:watch": "npx projen integ:slack-app:watch",
22
22
  "package": "npx projen package",
23
+ "package-all": "npx projen package-all",
24
+ "package:js": "npx projen package:js",
23
25
  "post-compile": "npx projen post-compile",
26
+ "post-upgrade": "npx projen post-upgrade",
24
27
  "pre-compile": "npx projen pre-compile",
25
28
  "release": "npx projen release",
26
29
  "test": "npx projen test",
@@ -38,8 +41,8 @@
38
41
  "organization": false
39
42
  },
40
43
  "devDependencies": {
41
- "@aws-cdk/aws-apigatewayv2-alpha": "^2.1.0-alpha.0",
42
- "@aws-cdk/aws-apigatewayv2-integrations-alpha": "^2.1.0-alpha.0",
44
+ "@aws-cdk/aws-apigatewayv2-alpha": "2.1.0-alpha.0",
45
+ "@aws-cdk/aws-apigatewayv2-integrations-alpha": "2.1.0-alpha.0",
43
46
  "@types/aws-lambda": "^8.10.87",
44
47
  "@types/jest": "^26.0.24",
45
48
  "@types/node": "^12",
@@ -61,11 +64,10 @@
61
64
  "jsii": "^1.48.0",
62
65
  "jsii-diff": "^1.48.0",
63
66
  "jsii-docgen": "^1.8.110",
64
- "jsii-pacmak": "^1.48.0",
65
67
  "json-schema": "^0.4.0",
66
68
  "nock": "^13.2.1",
67
69
  "npm-check-updates": "^12",
68
- "projen": "^0.45.4",
70
+ "projen": "^0.50.33",
69
71
  "standard-version": "^9",
70
72
  "ts-jest": "^26.5.6",
71
73
  "ts-node": "^10.4.0",
@@ -90,11 +92,11 @@
90
92
  ],
91
93
  "main": "lib/index.js",
92
94
  "license": "Apache-2.0",
93
- "version": "0.3.0",
95
+ "version": "0.4.2",
94
96
  "jest": {
95
97
  "testMatch": [
96
- "**/__tests__/**/*.ts?(x)",
97
- "**/?(*.)+(spec|test).ts?(x)"
98
+ "<rootDir>/src/**/__tests__/**/*.ts?(x)",
99
+ "<rootDir>/(test|src)/**/?(*.)+(spec|test).ts?(x)"
98
100
  ],
99
101
  "clearMocks": true,
100
102
  "collectCoverage": true,
@@ -102,6 +104,7 @@
102
104
  "json",
103
105
  "lcov",
104
106
  "clover",
107
+ "cobertura",
105
108
  "text"
106
109
  ],
107
110
  "coverageDirectory": "coverage",
package/releasetag.txt ADDED
@@ -0,0 +1 @@
1
+ v0.4.2
package/version.txt ADDED
@@ -0,0 +1 @@
1
+ 0.4.2