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.
- package/.jsii +1444 -126
- package/API.md +343 -2
- package/assets/codecommit-mirror/docker/mirror.sh +0 -0
- package/changelog.md +2 -0
- package/lib/codecommit-mirror/index.js +4 -5
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +3 -4
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/index.d.ts +2 -95
- package/lib/slack-app/index.js +13 -47
- package/lib/slack-app/manifest.d.ts +482 -0
- package/lib/slack-app/manifest.js +198 -0
- package/lib/slack-app/provider.handler.js +4 -3
- package/lib/slack-app/provider.js +1 -3
- package/lib/slack-app/slack-app.d.ts +127 -0
- package/lib/slack-app/slack-app.js +103 -0
- package/lib/slack-events/index.js +2 -4
- package/lib/slack-textract/index.js +2 -4
- package/lib/state-machine-cr-provider/index.js +4 -4
- package/lib/static-website/index.js +1 -1
- package/lib/url-shortener/index.js +2 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +11 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +4 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +8 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +8 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +2 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +11 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +4 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +8 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +2 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +8 -8
- package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +11 -1
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +4 -3
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +8 -0
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +8 -8
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +11 -1
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +4 -3
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +8 -0
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +8 -8
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +2 -1
- package/package.json +10 -7
- package/releasetag.txt +1 -0
- 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?:
|
|
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,
|
|
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):
|
|
209
|
-
end(data: string | Uint8Array, cb?: () => void):
|
|
210
|
-
end(str: string, encoding?: BufferEncoding, cb?: () => 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):
|
|
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):
|
|
1520
|
-
end(data: string | Uint8Array, callback?: () => void):
|
|
1521
|
-
end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => 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):
|
|
291
|
-
end(buffer: Uint8Array | string, callback?: () => void):
|
|
292
|
-
end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => 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.
|
|
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": "
|
|
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
|
+
}
|
|
@@ -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):
|
|
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):
|
|
643
|
-
end(chunk: any, cb?: () => void):
|
|
644
|
-
end(chunk: any, encoding: BufferEncoding, cb?: () => 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):
|
|
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):
|
|
857
|
-
end(chunk: any, cb?: () => void):
|
|
858
|
-
end(chunk: any, encoding?: BufferEncoding, cb?: () => 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?:
|
|
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,
|
|
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):
|
|
209
|
-
end(data: string | Uint8Array, cb?: () => void):
|
|
210
|
-
end(str: string, encoding?: BufferEncoding, cb?: () => 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):
|
|
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):
|
|
1520
|
-
end(data: string | Uint8Array, callback?: () => void):
|
|
1521
|
-
end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => 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):
|
|
291
|
-
end(buffer: Uint8Array | string, callback?: () => void):
|
|
292
|
-
end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => 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.
|
|
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": "
|
|
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
|
+
}
|
|
@@ -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):
|
|
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):
|
|
643
|
-
end(chunk: any, cb?: () => void):
|
|
644
|
-
end(chunk: any, encoding: BufferEncoding, cb?: () => 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):
|
|
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):
|
|
857
|
-
end(chunk: any, cb?: () => void):
|
|
858
|
-
end(chunk: any, encoding?: BufferEncoding, cb?: () => 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?:
|
|
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": "
|
|
42
|
-
"@aws-cdk/aws-apigatewayv2-integrations-alpha": "
|
|
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.
|
|
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.
|
|
95
|
+
"version": "0.4.2",
|
|
94
96
|
"jest": {
|
|
95
97
|
"testMatch": [
|
|
96
|
-
"
|
|
97
|
-
"
|
|
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
|