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.
Files changed (141) hide show
  1. package/.jsii +3 -3
  2. package/changelog.md +1 -10
  3. package/lib/codecommit-mirror/index.d.ts +1 -0
  4. package/lib/codecommit-mirror/index.d.ts.map +1 -0
  5. package/lib/codecommit-mirror/index.js +2 -2
  6. package/lib/ecs-service-roller/index.d.ts +1 -0
  7. package/lib/ecs-service-roller/index.d.ts.map +1 -0
  8. package/lib/ecs-service-roller/index.js +2 -2
  9. package/lib/email-receiver/index.d.ts +1 -0
  10. package/lib/email-receiver/index.d.ts.map +1 -0
  11. package/lib/email-receiver/receiver.d.ts +1 -0
  12. package/lib/email-receiver/receiver.d.ts.map +1 -0
  13. package/lib/email-receiver/receiver.js +1 -1
  14. package/lib/email-receiver/s3-function.d.ts +1 -0
  15. package/lib/email-receiver/s3-function.d.ts.map +1 -0
  16. package/lib/email-receiver/s3.lambda.d.ts +1 -0
  17. package/lib/email-receiver/s3.lambda.d.ts.map +1 -0
  18. package/lib/email-receiver/whitelist-function.d.ts +1 -0
  19. package/lib/email-receiver/whitelist-function.d.ts.map +1 -0
  20. package/lib/email-receiver/whitelist.lambda.d.ts +1 -0
  21. package/lib/email-receiver/whitelist.lambda.d.ts.map +1 -0
  22. package/lib/index.d.ts +1 -0
  23. package/lib/index.d.ts.map +1 -0
  24. package/lib/saml-identity-provider/index.d.ts +1 -0
  25. package/lib/saml-identity-provider/index.d.ts.map +1 -0
  26. package/lib/saml-identity-provider/index.js +2 -2
  27. package/lib/slack-app/index.d.ts +1 -0
  28. package/lib/slack-app/index.d.ts.map +1 -0
  29. package/lib/slack-app/manifest.d.ts +1 -0
  30. package/lib/slack-app/manifest.d.ts.map +1 -0
  31. package/lib/slack-app/manifest.js +1 -1
  32. package/lib/slack-app/provider-function.d.ts +1 -0
  33. package/lib/slack-app/provider-function.d.ts.map +1 -0
  34. package/lib/slack-app/provider.d.ts +1 -0
  35. package/lib/slack-app/provider.d.ts.map +1 -0
  36. package/lib/slack-app/provider.lambda.d.ts +1 -0
  37. package/lib/slack-app/provider.lambda.d.ts.map +1 -0
  38. package/lib/slack-app/slack-app.d.ts +1 -0
  39. package/lib/slack-app/slack-app.d.ts.map +1 -0
  40. package/lib/slack-app/slack-app.js +2 -2
  41. package/lib/slack-events/events-function.d.ts +1 -0
  42. package/lib/slack-events/events-function.d.ts.map +1 -0
  43. package/lib/slack-events/events.lambda.d.ts +1 -0
  44. package/lib/slack-events/events.lambda.d.ts.map +1 -0
  45. package/lib/slack-events/index.d.ts +1 -0
  46. package/lib/slack-events/index.d.ts.map +1 -0
  47. package/lib/slack-events/index.js +1 -1
  48. package/lib/slack-events/signature.d.ts +1 -0
  49. package/lib/slack-events/signature.d.ts.map +1 -0
  50. package/lib/slack-textract/detect-function.d.ts +1 -0
  51. package/lib/slack-textract/detect-function.d.ts.map +1 -0
  52. package/lib/slack-textract/detect.lambda.d.ts +1 -0
  53. package/lib/slack-textract/detect.lambda.d.ts.map +1 -0
  54. package/lib/slack-textract/index.d.ts +1 -0
  55. package/lib/slack-textract/index.d.ts.map +1 -0
  56. package/lib/slack-textract/index.js +1 -1
  57. package/lib/state-machine-cr-provider/index.d.ts +1 -0
  58. package/lib/state-machine-cr-provider/index.d.ts.map +1 -0
  59. package/lib/state-machine-cr-provider/index.js +1 -1
  60. package/lib/state-machine-cr-provider/runtime/http.d.ts +1 -0
  61. package/lib/state-machine-cr-provider/runtime/http.d.ts.map +1 -0
  62. package/lib/state-machine-cr-provider/runtime/index.d.ts +1 -0
  63. package/lib/state-machine-cr-provider/runtime/index.d.ts.map +1 -0
  64. package/lib/static-website/index.d.ts +1 -0
  65. package/lib/static-website/index.d.ts.map +1 -0
  66. package/lib/static-website/index.js +1 -1
  67. package/lib/static-website/origin-request-function.d.ts +1 -0
  68. package/lib/static-website/origin-request-function.d.ts.map +1 -0
  69. package/lib/static-website/origin-request.edge-lambda.d.ts +1 -0
  70. package/lib/static-website/origin-request.edge-lambda.d.ts.map +1 -0
  71. package/lib/toolkit-cleaner/clean-images-function.d.ts +1 -0
  72. package/lib/toolkit-cleaner/clean-images-function.d.ts.map +1 -0
  73. package/lib/toolkit-cleaner/clean-images.lambda.d.ts +1 -0
  74. package/lib/toolkit-cleaner/clean-images.lambda.d.ts.map +1 -0
  75. package/lib/toolkit-cleaner/clean-objects-function.d.ts +1 -0
  76. package/lib/toolkit-cleaner/clean-objects-function.d.ts.map +1 -0
  77. package/lib/toolkit-cleaner/clean-objects.lambda.d.ts +1 -0
  78. package/lib/toolkit-cleaner/clean-objects.lambda.d.ts.map +1 -0
  79. package/lib/toolkit-cleaner/extract-template-hashes-function.d.ts +1 -0
  80. package/lib/toolkit-cleaner/extract-template-hashes-function.d.ts.map +1 -0
  81. package/lib/toolkit-cleaner/extract-template-hashes.lambda.d.ts +1 -0
  82. package/lib/toolkit-cleaner/extract-template-hashes.lambda.d.ts.map +1 -0
  83. package/lib/toolkit-cleaner/get-stack-names-function.d.ts +1 -0
  84. package/lib/toolkit-cleaner/get-stack-names-function.d.ts.map +1 -0
  85. package/lib/toolkit-cleaner/get-stack-names.lambda.d.ts +1 -0
  86. package/lib/toolkit-cleaner/get-stack-names.lambda.d.ts.map +1 -0
  87. package/lib/toolkit-cleaner/index.d.ts +1 -0
  88. package/lib/toolkit-cleaner/index.d.ts.map +1 -0
  89. package/lib/toolkit-cleaner/index.js +1 -1
  90. package/lib/url-shortener/index.d.ts +1 -0
  91. package/lib/url-shortener/index.d.ts.map +1 -0
  92. package/lib/url-shortener/index.js +1 -1
  93. package/lib/url-shortener/redirect-function.d.ts +1 -0
  94. package/lib/url-shortener/redirect-function.d.ts.map +1 -0
  95. package/lib/url-shortener/redirect.edge-lambda.d.ts +1 -0
  96. package/lib/url-shortener/redirect.edge-lambda.d.ts.map +1 -0
  97. package/lib/url-shortener/shortener-function.d.ts +1 -0
  98. package/lib/url-shortener/shortener-function.d.ts.map +1 -0
  99. package/lib/url-shortener/shortener.lambda.d.ts +1 -0
  100. package/lib/url-shortener/shortener.lambda.d.ts.map +1 -0
  101. package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
  102. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -0
  103. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +5 -0
  104. package/node_modules/@slack/logger/node_modules/@types/node/package.json +7 -2
  105. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +13 -0
  106. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +3 -3
  107. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +2 -2
  108. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -0
  109. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +5 -0
  110. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +7 -2
  111. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +13 -0
  112. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +3 -3
  113. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
  114. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -0
  115. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +5 -0
  116. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +7 -2
  117. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +13 -0
  118. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +3 -3
  119. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +2 -2
  120. package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +1 -0
  121. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +5 -0
  122. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +7 -2
  123. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +13 -0
  124. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +3 -3
  125. package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
  126. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -0
  127. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +5 -0
  128. package/node_modules/@types/keyv/node_modules/@types/node/package.json +7 -2
  129. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +13 -0
  130. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +3 -3
  131. package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
  132. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -0
  133. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +5 -0
  134. package/node_modules/@types/responselike/node_modules/@types/node/package.json +7 -2
  135. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +13 -0
  136. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +3 -3
  137. package/node_modules/keyv/package.json +1 -1
  138. package/node_modules/keyv/src/index.d.ts +7 -1
  139. package/package.json +10 -7
  140. package/releasetag.txt +1 -1
  141. 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.31",
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": "187e51e75f3e87938751363254f337ef4fab9306b9bb5a7d36cb895b7c95c5e2",
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: Sun, 01 May 2022 20:31:38 GMT
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), and [wafuwafu13](https://github.com/wafuwafu13).
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.31",
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": "187e51e75f3e87938751363254f337ef4fab9306b9bb5a7d36cb895b7c95c5e2",
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: Sun, 01 May 2022 20:31:38 GMT
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), and [wafuwafu13](https://github.com/wafuwafu13).
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.31",
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": "187e51e75f3e87938751363254f337ef4fab9306b9bb5a7d36cb895b7c95c5e2",
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
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keyv",
3
- "version": "4.2.6",
3
+ "version": "4.2.9",
4
4
  "description": "Simple key-value storage with support for multiple backends",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -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.1131.0",
91
+ "aws-sdk": "^2.1139.0",
92
92
  "aws-sdk-mock": "^5.7.0",
93
93
  "constructs": "10.0.5",
94
- "esbuild": "^0.14.38",
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.58.0",
102
- "jsii-diff": "^1.58.0",
101
+ "jsii": "^1.59.0",
102
+ "jsii-diff": "^1.59.0",
103
103
  "jsii-docgen": "^1.8.110",
104
- "jsii-pacmak": "^1.58.0",
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.8",
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.0",
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.0
1
+ v0.5.1
package/version.txt CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1