cloudstructs 0.5.0 → 0.5.1
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 +3 -3
- package/changelog.md +1 -10
- package/lib/codecommit-mirror/index.d.ts +1 -0
- package/lib/codecommit-mirror/index.d.ts.map +1 -0
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/ecs-service-roller/index.d.ts +1 -0
- package/lib/ecs-service-roller/index.d.ts.map +1 -0
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/index.d.ts +1 -0
- package/lib/email-receiver/index.d.ts.map +1 -0
- package/lib/email-receiver/receiver.d.ts +1 -0
- package/lib/email-receiver/receiver.d.ts.map +1 -0
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/email-receiver/s3-function.d.ts +1 -0
- package/lib/email-receiver/s3-function.d.ts.map +1 -0
- package/lib/email-receiver/s3.lambda.d.ts +1 -0
- package/lib/email-receiver/s3.lambda.d.ts.map +1 -0
- package/lib/email-receiver/whitelist-function.d.ts +1 -0
- package/lib/email-receiver/whitelist-function.d.ts.map +1 -0
- package/lib/email-receiver/whitelist.lambda.d.ts +1 -0
- package/lib/email-receiver/whitelist.lambda.d.ts.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/saml-identity-provider/index.d.ts +1 -0
- package/lib/saml-identity-provider/index.d.ts.map +1 -0
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/index.d.ts +1 -0
- package/lib/slack-app/index.d.ts.map +1 -0
- package/lib/slack-app/manifest.d.ts +1 -0
- package/lib/slack-app/manifest.d.ts.map +1 -0
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/provider-function.d.ts +1 -0
- package/lib/slack-app/provider-function.d.ts.map +1 -0
- package/lib/slack-app/provider.d.ts +1 -0
- package/lib/slack-app/provider.d.ts.map +1 -0
- package/lib/slack-app/provider.lambda.d.ts +1 -0
- package/lib/slack-app/provider.lambda.d.ts.map +1 -0
- package/lib/slack-app/slack-app.d.ts +1 -0
- package/lib/slack-app/slack-app.d.ts.map +1 -0
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/events-function.d.ts +1 -0
- package/lib/slack-events/events-function.d.ts.map +1 -0
- package/lib/slack-events/events.lambda.d.ts +1 -0
- package/lib/slack-events/events.lambda.d.ts.map +1 -0
- package/lib/slack-events/index.d.ts +1 -0
- package/lib/slack-events/index.d.ts.map +1 -0
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-events/signature.d.ts +1 -0
- package/lib/slack-events/signature.d.ts.map +1 -0
- package/lib/slack-textract/detect-function.d.ts +1 -0
- package/lib/slack-textract/detect-function.d.ts.map +1 -0
- package/lib/slack-textract/detect.lambda.d.ts +1 -0
- package/lib/slack-textract/detect.lambda.d.ts.map +1 -0
- package/lib/slack-textract/index.d.ts +1 -0
- package/lib/slack-textract/index.d.ts.map +1 -0
- package/lib/slack-textract/index.js +1 -1
- package/lib/state-machine-cr-provider/index.d.ts +1 -0
- package/lib/state-machine-cr-provider/index.d.ts.map +1 -0
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/state-machine-cr-provider/runtime/http.d.ts +1 -0
- package/lib/state-machine-cr-provider/runtime/http.d.ts.map +1 -0
- package/lib/state-machine-cr-provider/runtime/index.d.ts +1 -0
- package/lib/state-machine-cr-provider/runtime/index.d.ts.map +1 -0
- package/lib/static-website/index.d.ts +1 -0
- package/lib/static-website/index.d.ts.map +1 -0
- package/lib/static-website/index.js +1 -1
- package/lib/static-website/origin-request-function.d.ts +1 -0
- package/lib/static-website/origin-request-function.d.ts.map +1 -0
- package/lib/static-website/origin-request.edge-lambda.d.ts +1 -0
- package/lib/static-website/origin-request.edge-lambda.d.ts.map +1 -0
- package/lib/toolkit-cleaner/clean-images-function.d.ts +1 -0
- package/lib/toolkit-cleaner/clean-images-function.d.ts.map +1 -0
- package/lib/toolkit-cleaner/clean-images.lambda.d.ts +1 -0
- package/lib/toolkit-cleaner/clean-images.lambda.d.ts.map +1 -0
- package/lib/toolkit-cleaner/clean-objects-function.d.ts +1 -0
- package/lib/toolkit-cleaner/clean-objects-function.d.ts.map +1 -0
- package/lib/toolkit-cleaner/clean-objects.lambda.d.ts +1 -0
- package/lib/toolkit-cleaner/clean-objects.lambda.d.ts.map +1 -0
- package/lib/toolkit-cleaner/extract-template-hashes-function.d.ts +1 -0
- package/lib/toolkit-cleaner/extract-template-hashes-function.d.ts.map +1 -0
- package/lib/toolkit-cleaner/extract-template-hashes.lambda.d.ts +1 -0
- package/lib/toolkit-cleaner/extract-template-hashes.lambda.d.ts.map +1 -0
- package/lib/toolkit-cleaner/get-stack-names-function.d.ts +1 -0
- package/lib/toolkit-cleaner/get-stack-names-function.d.ts.map +1 -0
- package/lib/toolkit-cleaner/get-stack-names.lambda.d.ts +1 -0
- package/lib/toolkit-cleaner/get-stack-names.lambda.d.ts.map +1 -0
- package/lib/toolkit-cleaner/index.d.ts +1 -0
- package/lib/toolkit-cleaner/index.d.ts.map +1 -0
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.d.ts +1 -0
- package/lib/url-shortener/index.d.ts.map +1 -0
- package/lib/url-shortener/index.js +1 -1
- package/lib/url-shortener/redirect-function.d.ts +1 -0
- package/lib/url-shortener/redirect-function.d.ts.map +1 -0
- package/lib/url-shortener/redirect.edge-lambda.d.ts +1 -0
- package/lib/url-shortener/redirect.edge-lambda.d.ts.map +1 -0
- package/lib/url-shortener/shortener-function.d.ts +1 -0
- package/lib/url-shortener/shortener-function.d.ts.map +1 -0
- package/lib/url-shortener/shortener.lambda.d.ts +1 -0
- package/lib/url-shortener/shortener.lambda.d.ts.map +1 -0
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +5 -0
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +7 -2
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +13 -0
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +7 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +13 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +5 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +7 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +13 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +5 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +7 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +13 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +7 -2
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +13 -0
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +7 -2
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +13 -0
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +3 -3
- package/node_modules/keyv/package.json +1 -1
- package/node_modules/keyv/src/index.d.ts +7 -1
- package/package.json +10 -7
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
// NodeJS Contributors <https://github.com/NodeJS>
|
|
41
41
|
// Linus Unnebäck <https://github.com/LinusU>
|
|
42
42
|
// wafuwafu13 <https://github.com/wafuwafu13>
|
|
43
|
+
// Matteo Collina <https://github.com/mcollina>
|
|
43
44
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
44
45
|
|
|
45
46
|
/**
|
|
@@ -285,6 +285,11 @@ declare module 'net' {
|
|
|
285
285
|
* @since v0.5.10
|
|
286
286
|
*/
|
|
287
287
|
readonly remotePort?: number | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
|
|
290
|
+
* @since v10.7.0
|
|
291
|
+
*/
|
|
292
|
+
readonly timeout?: number | undefined;
|
|
288
293
|
/**
|
|
289
294
|
* Half-closes the socket. i.e., it sends a FIN packet. It is possible the
|
|
290
295
|
* server will still send some data.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.35",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -204,6 +204,11 @@
|
|
|
204
204
|
"name": "wafuwafu13",
|
|
205
205
|
"url": "https://github.com/wafuwafu13",
|
|
206
206
|
"githubUsername": "wafuwafu13"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "Matteo Collina",
|
|
210
|
+
"url": "https://github.com/mcollina",
|
|
211
|
+
"githubUsername": "mcollina"
|
|
207
212
|
}
|
|
208
213
|
],
|
|
209
214
|
"main": "",
|
|
@@ -215,6 +220,6 @@
|
|
|
215
220
|
},
|
|
216
221
|
"scripts": {},
|
|
217
222
|
"dependencies": {},
|
|
218
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "6238ccaa7b50cbe1d37bc66eabdea21a4bfb4a7fd6bd780350e84241e2810a00",
|
|
219
224
|
"typeScriptVersion": "3.9"
|
|
220
225
|
}
|
|
@@ -1238,6 +1238,19 @@ declare module 'stream' {
|
|
|
1238
1238
|
ref(): void;
|
|
1239
1239
|
unref(): void;
|
|
1240
1240
|
}
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Returns whether the stream has encountered an error.
|
|
1244
|
+
* @since v17.3.0
|
|
1245
|
+
*/
|
|
1246
|
+
function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean;
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Returns whether the stream is readable.
|
|
1250
|
+
* @since v17.4.0
|
|
1251
|
+
*/
|
|
1252
|
+
function isReadable(stream: Readable | NodeJS.ReadableStream): boolean;
|
|
1253
|
+
|
|
1241
1254
|
const promises: typeof streamPromises;
|
|
1242
1255
|
const consumers: typeof streamConsumers;
|
|
1243
1256
|
}
|
|
@@ -69,7 +69,7 @@ declare module 'timers' {
|
|
|
69
69
|
namespace setTimeout {
|
|
70
70
|
const __promisify__: typeof setTimeoutPromise;
|
|
71
71
|
}
|
|
72
|
-
function clearTimeout(timeoutId: NodeJS.Timeout): void;
|
|
72
|
+
function clearTimeout(timeoutId: NodeJS.Timeout | undefined): void;
|
|
73
73
|
function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timer;
|
|
74
74
|
// util.promisify no rest args compability
|
|
75
75
|
// tslint:disable-next-line void-return
|
|
@@ -77,7 +77,7 @@ declare module 'timers' {
|
|
|
77
77
|
namespace setInterval {
|
|
78
78
|
const __promisify__: typeof setIntervalPromise;
|
|
79
79
|
}
|
|
80
|
-
function clearInterval(intervalId: NodeJS.Timeout): void;
|
|
80
|
+
function clearInterval(intervalId: NodeJS.Timeout | undefined): void;
|
|
81
81
|
function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): NodeJS.Immediate;
|
|
82
82
|
// util.promisify no rest args compability
|
|
83
83
|
// tslint:disable-next-line void-return
|
|
@@ -85,7 +85,7 @@ declare module 'timers' {
|
|
|
85
85
|
namespace setImmediate {
|
|
86
86
|
const __promisify__: typeof setImmediatePromise;
|
|
87
87
|
}
|
|
88
|
-
function clearImmediate(immediateId: NodeJS.Immediate): void;
|
|
88
|
+
function clearImmediate(immediateId: NodeJS.Immediate | undefined): void;
|
|
89
89
|
function queueMicrotask(callback: () => void): void;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -8,9 +8,9 @@ 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: Thu, 19 May 2022 14:01:40 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU),
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), and [Matteo Collina](https://github.com/mcollina).
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
// NodeJS Contributors <https://github.com/NodeJS>
|
|
41
41
|
// Linus Unnebäck <https://github.com/LinusU>
|
|
42
42
|
// wafuwafu13 <https://github.com/wafuwafu13>
|
|
43
|
+
// Matteo Collina <https://github.com/mcollina>
|
|
43
44
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
44
45
|
|
|
45
46
|
/**
|
|
@@ -285,6 +285,11 @@ declare module 'net' {
|
|
|
285
285
|
* @since v0.5.10
|
|
286
286
|
*/
|
|
287
287
|
readonly remotePort?: number | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
|
|
290
|
+
* @since v10.7.0
|
|
291
|
+
*/
|
|
292
|
+
readonly timeout?: number | undefined;
|
|
288
293
|
/**
|
|
289
294
|
* Half-closes the socket. i.e., it sends a FIN packet. It is possible the
|
|
290
295
|
* server will still send some data.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.35",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -204,6 +204,11 @@
|
|
|
204
204
|
"name": "wafuwafu13",
|
|
205
205
|
"url": "https://github.com/wafuwafu13",
|
|
206
206
|
"githubUsername": "wafuwafu13"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "Matteo Collina",
|
|
210
|
+
"url": "https://github.com/mcollina",
|
|
211
|
+
"githubUsername": "mcollina"
|
|
207
212
|
}
|
|
208
213
|
],
|
|
209
214
|
"main": "",
|
|
@@ -215,6 +220,6 @@
|
|
|
215
220
|
},
|
|
216
221
|
"scripts": {},
|
|
217
222
|
"dependencies": {},
|
|
218
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "6238ccaa7b50cbe1d37bc66eabdea21a4bfb4a7fd6bd780350e84241e2810a00",
|
|
219
224
|
"typeScriptVersion": "3.9"
|
|
220
225
|
}
|
|
@@ -1238,6 +1238,19 @@ declare module 'stream' {
|
|
|
1238
1238
|
ref(): void;
|
|
1239
1239
|
unref(): void;
|
|
1240
1240
|
}
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Returns whether the stream has encountered an error.
|
|
1244
|
+
* @since v17.3.0
|
|
1245
|
+
*/
|
|
1246
|
+
function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean;
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Returns whether the stream is readable.
|
|
1250
|
+
* @since v17.4.0
|
|
1251
|
+
*/
|
|
1252
|
+
function isReadable(stream: Readable | NodeJS.ReadableStream): boolean;
|
|
1253
|
+
|
|
1241
1254
|
const promises: typeof streamPromises;
|
|
1242
1255
|
const consumers: typeof streamConsumers;
|
|
1243
1256
|
}
|
|
@@ -69,7 +69,7 @@ declare module 'timers' {
|
|
|
69
69
|
namespace setTimeout {
|
|
70
70
|
const __promisify__: typeof setTimeoutPromise;
|
|
71
71
|
}
|
|
72
|
-
function clearTimeout(timeoutId: NodeJS.Timeout): void;
|
|
72
|
+
function clearTimeout(timeoutId: NodeJS.Timeout | undefined): void;
|
|
73
73
|
function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timer;
|
|
74
74
|
// util.promisify no rest args compability
|
|
75
75
|
// tslint:disable-next-line void-return
|
|
@@ -77,7 +77,7 @@ declare module 'timers' {
|
|
|
77
77
|
namespace setInterval {
|
|
78
78
|
const __promisify__: typeof setIntervalPromise;
|
|
79
79
|
}
|
|
80
|
-
function clearInterval(intervalId: NodeJS.Timeout): void;
|
|
80
|
+
function clearInterval(intervalId: NodeJS.Timeout | undefined): void;
|
|
81
81
|
function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): NodeJS.Immediate;
|
|
82
82
|
// util.promisify no rest args compability
|
|
83
83
|
// tslint:disable-next-line void-return
|
|
@@ -85,7 +85,7 @@ declare module 'timers' {
|
|
|
85
85
|
namespace setImmediate {
|
|
86
86
|
const __promisify__: typeof setImmediatePromise;
|
|
87
87
|
}
|
|
88
|
-
function clearImmediate(immediateId: NodeJS.Immediate): void;
|
|
88
|
+
function clearImmediate(immediateId: NodeJS.Immediate | undefined): void;
|
|
89
89
|
function queueMicrotask(callback: () => void): void;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -8,9 +8,9 @@ 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: Thu, 19 May 2022 14:01:40 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU),
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), and [Matteo Collina](https://github.com/mcollina).
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
// NodeJS Contributors <https://github.com/NodeJS>
|
|
41
41
|
// Linus Unnebäck <https://github.com/LinusU>
|
|
42
42
|
// wafuwafu13 <https://github.com/wafuwafu13>
|
|
43
|
+
// Matteo Collina <https://github.com/mcollina>
|
|
43
44
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
44
45
|
|
|
45
46
|
/**
|
|
@@ -285,6 +285,11 @@ declare module 'net' {
|
|
|
285
285
|
* @since v0.5.10
|
|
286
286
|
*/
|
|
287
287
|
readonly remotePort?: number | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
|
|
290
|
+
* @since v10.7.0
|
|
291
|
+
*/
|
|
292
|
+
readonly timeout?: number | undefined;
|
|
288
293
|
/**
|
|
289
294
|
* Half-closes the socket. i.e., it sends a FIN packet. It is possible the
|
|
290
295
|
* server will still send some data.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.35",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -204,6 +204,11 @@
|
|
|
204
204
|
"name": "wafuwafu13",
|
|
205
205
|
"url": "https://github.com/wafuwafu13",
|
|
206
206
|
"githubUsername": "wafuwafu13"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "Matteo Collina",
|
|
210
|
+
"url": "https://github.com/mcollina",
|
|
211
|
+
"githubUsername": "mcollina"
|
|
207
212
|
}
|
|
208
213
|
],
|
|
209
214
|
"main": "",
|
|
@@ -215,6 +220,6 @@
|
|
|
215
220
|
},
|
|
216
221
|
"scripts": {},
|
|
217
222
|
"dependencies": {},
|
|
218
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "6238ccaa7b50cbe1d37bc66eabdea21a4bfb4a7fd6bd780350e84241e2810a00",
|
|
219
224
|
"typeScriptVersion": "3.9"
|
|
220
225
|
}
|
|
@@ -1238,6 +1238,19 @@ declare module 'stream' {
|
|
|
1238
1238
|
ref(): void;
|
|
1239
1239
|
unref(): void;
|
|
1240
1240
|
}
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Returns whether the stream has encountered an error.
|
|
1244
|
+
* @since v17.3.0
|
|
1245
|
+
*/
|
|
1246
|
+
function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean;
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Returns whether the stream is readable.
|
|
1250
|
+
* @since v17.4.0
|
|
1251
|
+
*/
|
|
1252
|
+
function isReadable(stream: Readable | NodeJS.ReadableStream): boolean;
|
|
1253
|
+
|
|
1241
1254
|
const promises: typeof streamPromises;
|
|
1242
1255
|
const consumers: typeof streamConsumers;
|
|
1243
1256
|
}
|
|
@@ -69,7 +69,7 @@ declare module 'timers' {
|
|
|
69
69
|
namespace setTimeout {
|
|
70
70
|
const __promisify__: typeof setTimeoutPromise;
|
|
71
71
|
}
|
|
72
|
-
function clearTimeout(timeoutId: NodeJS.Timeout): void;
|
|
72
|
+
function clearTimeout(timeoutId: NodeJS.Timeout | undefined): void;
|
|
73
73
|
function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timer;
|
|
74
74
|
// util.promisify no rest args compability
|
|
75
75
|
// tslint:disable-next-line void-return
|
|
@@ -77,7 +77,7 @@ declare module 'timers' {
|
|
|
77
77
|
namespace setInterval {
|
|
78
78
|
const __promisify__: typeof setIntervalPromise;
|
|
79
79
|
}
|
|
80
|
-
function clearInterval(intervalId: NodeJS.Timeout): void;
|
|
80
|
+
function clearInterval(intervalId: NodeJS.Timeout | undefined): void;
|
|
81
81
|
function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): NodeJS.Immediate;
|
|
82
82
|
// util.promisify no rest args compability
|
|
83
83
|
// tslint:disable-next-line void-return
|
|
@@ -85,7 +85,7 @@ declare module 'timers' {
|
|
|
85
85
|
namespace setImmediate {
|
|
86
86
|
const __promisify__: typeof setImmediatePromise;
|
|
87
87
|
}
|
|
88
|
-
function clearImmediate(immediateId: NodeJS.Immediate): void;
|
|
88
|
+
function clearImmediate(immediateId: NodeJS.Immediate | undefined): void;
|
|
89
89
|
function queueMicrotask(callback: () => void): void;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -49,6 +49,12 @@ declare class Keyv<Value = any, Options extends Record<string, any> = Record<str
|
|
|
49
49
|
has(key: string): Promise<boolean>;
|
|
50
50
|
/** Iterator */
|
|
51
51
|
iterator(namespace: string | undefined): AsyncGenerator<any, void, any>;
|
|
52
|
+
/**
|
|
53
|
+
* Closes the connection.
|
|
54
|
+
*
|
|
55
|
+
* Returns `undefined` when the connection closes.
|
|
56
|
+
*/
|
|
57
|
+
disconnect(): Promise<void>;
|
|
52
58
|
}
|
|
53
59
|
|
|
54
60
|
declare namespace Keyv {
|
|
@@ -82,7 +88,7 @@ declare namespace Keyv {
|
|
|
82
88
|
set(key: string, value: Value, ttl?: number): any;
|
|
83
89
|
delete(key: string): boolean | Promise<boolean>;
|
|
84
90
|
clear(): void | Promise<void>;
|
|
85
|
-
has(key: string): boolean | Promise<boolean>;
|
|
91
|
+
has?(key: string): boolean | Promise<boolean>;
|
|
86
92
|
}
|
|
87
93
|
}
|
|
88
94
|
|
package/package.json
CHANGED
|
@@ -88,24 +88,24 @@
|
|
|
88
88
|
"@typescript-eslint/parser": "^5",
|
|
89
89
|
"aws-cdk": "^2",
|
|
90
90
|
"aws-cdk-lib": "2.1.0",
|
|
91
|
-
"aws-sdk": "^2.
|
|
91
|
+
"aws-sdk": "^2.1139.0",
|
|
92
92
|
"aws-sdk-mock": "^5.7.0",
|
|
93
93
|
"constructs": "10.0.5",
|
|
94
|
-
"esbuild": "^0.14.
|
|
94
|
+
"esbuild": "^0.14.39",
|
|
95
95
|
"eslint": "^8",
|
|
96
96
|
"eslint-import-resolver-node": "^0.3.6",
|
|
97
97
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
98
98
|
"eslint-plugin-import": "^2.26.0",
|
|
99
99
|
"jest": "^27",
|
|
100
100
|
"jest-junit": "^13",
|
|
101
|
-
"jsii": "^1.
|
|
102
|
-
"jsii-diff": "^1.
|
|
101
|
+
"jsii": "^1.59.0",
|
|
102
|
+
"jsii-diff": "^1.59.0",
|
|
103
103
|
"jsii-docgen": "^1.8.110",
|
|
104
|
-
"jsii-pacmak": "^1.
|
|
104
|
+
"jsii-pacmak": "^1.59.0",
|
|
105
105
|
"json-schema": "^0.4.0",
|
|
106
106
|
"nock": "^13.2.4",
|
|
107
107
|
"npm-check-updates": "^12",
|
|
108
|
-
"projen": "^0.56.
|
|
108
|
+
"projen": "^0.56.20",
|
|
109
109
|
"standard-version": "^9",
|
|
110
110
|
"ts-jest": "^27",
|
|
111
111
|
"ts-node": "^10.7.0",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
],
|
|
131
131
|
"main": "lib/index.js",
|
|
132
132
|
"license": "Apache-2.0",
|
|
133
|
-
"version": "0.5.
|
|
133
|
+
"version": "0.5.1",
|
|
134
134
|
"jest": {
|
|
135
135
|
"testMatch": [
|
|
136
136
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
@@ -186,6 +186,9 @@
|
|
|
186
186
|
"rootDir": "src"
|
|
187
187
|
}
|
|
188
188
|
},
|
|
189
|
+
"resolutions": {
|
|
190
|
+
"@types/prettier": "2.6.0"
|
|
191
|
+
},
|
|
189
192
|
"exports": {
|
|
190
193
|
".": "./lib/index.js",
|
|
191
194
|
"./package.json": "./package.json",
|
package/releasetag.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v0.5.
|
|
1
|
+
v0.5.1
|
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.1
|