cloudstructs 0.6.11 → 0.6.13

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 (158) hide show
  1. package/.jsii +3 -3
  2. package/assets/slack-app/provider.lambda/index.js +4 -5
  3. package/assets/slack-textract/detect.lambda/index.js +4 -5
  4. package/assets/ssl-server-test/analyze.lambda/index.js +4 -5
  5. package/lib/codecommit-mirror/index.js +2 -2
  6. package/lib/ecs-service-roller/index.js +2 -2
  7. package/lib/email-receiver/receiver.js +1 -1
  8. package/lib/saml-identity-provider/index.js +2 -2
  9. package/lib/slack-app/manifest.js +1 -1
  10. package/lib/slack-app/slack-app.js +2 -2
  11. package/lib/slack-events/index.js +1 -1
  12. package/lib/slack-textract/index.js +1 -1
  13. package/lib/ssl-server-test/index.js +1 -1
  14. package/lib/state-machine-cr-provider/index.js +1 -1
  15. package/lib/static-website/index.js +1 -1
  16. package/lib/toolkit-cleaner/index.js +1 -1
  17. package/lib/url-shortener/index.js +1 -1
  18. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  19. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  20. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +62 -2
  21. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/test.d.ts +62 -2
  22. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  23. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  24. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +62 -2
  25. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/test.d.ts +62 -2
  26. package/node_modules/@types/cacheable-request/README.md +2 -2
  27. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  28. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  29. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +62 -2
  30. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/test.d.ts +62 -2
  31. package/node_modules/@types/cacheable-request/package.json +5 -5
  32. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  33. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  34. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +62 -2
  35. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/test.d.ts +62 -2
  36. package/node_modules/@types/keyv/README.md +16 -3
  37. package/node_modules/@types/keyv/index.d.ts +90 -0
  38. package/node_modules/@types/keyv/node_modules/@types/node/LICENSE +21 -0
  39. package/node_modules/@types/keyv/node_modules/@types/node/README.md +16 -0
  40. package/node_modules/@types/keyv/node_modules/@types/node/assert/strict.d.ts +8 -0
  41. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +961 -0
  42. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +501 -0
  43. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +2258 -0
  44. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1369 -0
  45. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +410 -0
  46. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +412 -0
  47. package/node_modules/@types/keyv/node_modules/@types/node/constants.d.ts +18 -0
  48. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +3964 -0
  49. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +545 -0
  50. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +153 -0
  51. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +370 -0
  52. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +659 -0
  53. package/node_modules/@types/keyv/node_modules/@types/node/dom-events.d.ts +126 -0
  54. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +170 -0
  55. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +678 -0
  56. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +1138 -0
  57. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +3872 -0
  58. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +300 -0
  59. package/node_modules/@types/keyv/node_modules/@types/node/globals.global.d.ts +1 -0
  60. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +1614 -0
  61. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +2134 -0
  62. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +541 -0
  63. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +133 -0
  64. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +2741 -0
  65. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +114 -0
  66. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +869 -0
  67. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +466 -0
  68. package/node_modules/@types/keyv/node_modules/@types/node/package.json +232 -0
  69. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +191 -0
  70. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +625 -0
  71. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1482 -0
  72. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +117 -0
  73. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +131 -0
  74. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +143 -0
  75. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +653 -0
  76. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +424 -0
  77. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +12 -0
  78. package/node_modules/@types/keyv/node_modules/@types/node/stream/promises.d.ts +42 -0
  79. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +330 -0
  80. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +1340 -0
  81. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +67 -0
  82. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +374 -0
  83. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +68 -0
  84. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +94 -0
  85. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +1028 -0
  86. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +171 -0
  87. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  88. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert.d.ts +961 -0
  89. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/async_hooks.d.ts +501 -0
  90. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/buffer.d.ts +2259 -0
  91. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/child_process.d.ts +1369 -0
  92. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/cluster.d.ts +410 -0
  93. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  94. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  95. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/crypto.d.ts +3964 -0
  96. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  97. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +153 -0
  98. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns/promises.d.ts +370 -0
  99. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns.d.ts +659 -0
  100. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  101. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  102. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/events.d.ts +678 -0
  103. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs/promises.d.ts +1138 -0
  104. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs.d.ts +3872 -0
  105. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.d.ts +294 -0
  106. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  107. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http.d.ts +1614 -0
  108. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http2.d.ts +2134 -0
  109. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/https.d.ts +541 -0
  110. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  111. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/inspector.d.ts +2741 -0
  112. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/module.d.ts +114 -0
  113. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/net.d.ts +869 -0
  114. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/os.d.ts +466 -0
  115. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  116. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/perf_hooks.d.ts +625 -0
  117. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/process.d.ts +1482 -0
  118. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  119. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  120. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline/promises.d.ts +143 -0
  121. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline.d.ts +653 -0
  122. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  123. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  124. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  125. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  126. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream.d.ts +1340 -0
  127. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  128. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/test.d.ts +374 -0
  129. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers/promises.d.ts +68 -0
  130. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers.d.ts +94 -0
  131. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tls.d.ts +1028 -0
  132. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/trace_events.d.ts +171 -0
  133. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tty.d.ts +206 -0
  134. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/url.d.ts +897 -0
  135. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/util.d.ts +1850 -0
  136. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/v8.d.ts +396 -0
  137. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/vm.d.ts +509 -0
  138. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/wasi.d.ts +158 -0
  139. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/worker_threads.d.ts +689 -0
  140. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  141. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +206 -0
  142. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +897 -0
  143. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +1850 -0
  144. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +396 -0
  145. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +509 -0
  146. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +158 -0
  147. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +689 -0
  148. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +517 -0
  149. package/node_modules/@types/keyv/package.json +25 -5
  150. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  151. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  152. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +62 -2
  153. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/test.d.ts +62 -2
  154. package/node_modules/keyv/README.md +23 -1
  155. package/node_modules/keyv/package.json +9 -8
  156. package/node_modules/keyv/src/index.d.ts +8 -1
  157. package/node_modules/keyv/src/index.js +4 -5
  158. package/package.json +7 -9
@@ -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: Sun, 30 Oct 2022 19:32:58 GMT
11
+ * Last updated: Tue, 01 Nov 2022 09:32:58 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.11.8",
3
+ "version": "18.11.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",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "a23a6d5ceb48ac0215ccd7cba47e75f2a3ae678b228d576c89294138777a2847",
230
+ "typesPublisherContentHash": "c4994f0d5655c5ba44d4248f7f2765c3b1f8319a258377d18d73093af02d11b3",
231
231
  "typeScriptVersion": "4.1"
232
232
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The `node:test` module provides a standalone testing module.
3
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/test.js)
3
+ * @see [source](https://github.com/nodejs/node/blob/v18.8.0/lib/test.js)
4
4
  */
5
5
  declare module 'node:test' {
6
6
  /**
@@ -310,5 +310,65 @@ declare module 'node:test' {
310
310
  todo?: boolean | string;
311
311
  }
312
312
 
313
- export { test as default, run, test, describe, it };
313
+ /**
314
+ * This function is used to create a hook running before running a suite.
315
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
316
+ * the second argument. Default: A no-op function.
317
+ * @param options Configuration options for the hook.
318
+ * @since v18.8.0
319
+ */
320
+ function before(fn?: HookFn, options?: HookOptions): void;
321
+
322
+ /**
323
+ * This function is used to create a hook running after running a suite.
324
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
325
+ * the second argument. Default: A no-op function.
326
+ * @param options Configuration options for the hook.
327
+ * @since v18.8.0
328
+ */
329
+ function after(fn?: HookFn, options?: HookOptions): void;
330
+
331
+ /**
332
+ * This function is used to create a hook running before each subtest of the current suite.
333
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
334
+ * the second argument. Default: A no-op function.
335
+ * @param options Configuration options for the hook.
336
+ * @since v18.8.0
337
+ */
338
+ function beforeEach(fn?: HookFn, options?: HookOptions): void;
339
+
340
+ /**
341
+ * This function is used to create a hook running after each subtest of the current test.
342
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
343
+ * the second argument. Default: A no-op function.
344
+ * @param options Configuration options for the hook.
345
+ * @since v18.8.0
346
+ */
347
+ function afterEach(fn?: HookFn, options?: HookOptions): void;
348
+
349
+ /**
350
+ * The hook function. If the hook uses callbacks, the callback function is passed as the
351
+ * second argument.
352
+ */
353
+ type HookFn = (done: (result?: any) => void) => any;
354
+
355
+ /**
356
+ * Configuration options for hooks.
357
+ * @since v18.8.0
358
+ */
359
+ interface HookOptions {
360
+ /**
361
+ * Allows aborting an in-progress hook.
362
+ */
363
+ signal?: AbortSignal;
364
+
365
+ /**
366
+ * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this
367
+ * value from their parent.
368
+ * @default Infinity
369
+ */
370
+ timeout?: number;
371
+ }
372
+
373
+ export { test as default, run, test, describe, it, before, after, beforeEach, afterEach };
314
374
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The `node:test` module provides a standalone testing module.
3
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/test.js)
3
+ * @see [source](https://github.com/nodejs/node/blob/v18.8.0/lib/test.js)
4
4
  */
5
5
  declare module 'node:test' {
6
6
  /**
@@ -310,5 +310,65 @@ declare module 'node:test' {
310
310
  todo?: boolean | string;
311
311
  }
312
312
 
313
- export { test as default, run, test, describe, it };
313
+ /**
314
+ * This function is used to create a hook running before running a suite.
315
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
316
+ * the second argument. Default: A no-op function.
317
+ * @param options Configuration options for the hook.
318
+ * @since v18.8.0
319
+ */
320
+ function before(fn?: HookFn, options?: HookOptions): void;
321
+
322
+ /**
323
+ * This function is used to create a hook running after running a suite.
324
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
325
+ * the second argument. Default: A no-op function.
326
+ * @param options Configuration options for the hook.
327
+ * @since v18.8.0
328
+ */
329
+ function after(fn?: HookFn, options?: HookOptions): void;
330
+
331
+ /**
332
+ * This function is used to create a hook running before each subtest of the current suite.
333
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
334
+ * the second argument. Default: A no-op function.
335
+ * @param options Configuration options for the hook.
336
+ * @since v18.8.0
337
+ */
338
+ function beforeEach(fn?: HookFn, options?: HookOptions): void;
339
+
340
+ /**
341
+ * This function is used to create a hook running after each subtest of the current test.
342
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
343
+ * the second argument. Default: A no-op function.
344
+ * @param options Configuration options for the hook.
345
+ * @since v18.8.0
346
+ */
347
+ function afterEach(fn?: HookFn, options?: HookOptions): void;
348
+
349
+ /**
350
+ * The hook function. If the hook uses callbacks, the callback function is passed as the
351
+ * second argument.
352
+ */
353
+ type HookFn = (done: (result?: any) => void) => any;
354
+
355
+ /**
356
+ * Configuration options for hooks.
357
+ * @since v18.8.0
358
+ */
359
+ interface HookOptions {
360
+ /**
361
+ * Allows aborting an in-progress hook.
362
+ */
363
+ signal?: AbortSignal;
364
+
365
+ /**
366
+ * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this
367
+ * value from their parent.
368
+ * @default Infinity
369
+ */
370
+ timeout?: number;
371
+ }
372
+
373
+ export { test as default, run, test, describe, it, before, after, beforeEach, afterEach };
314
374
  }
@@ -8,8 +8,8 @@ This package contains type definitions for cacheable-request (https://github.com
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cacheable-request.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 06 Jul 2021 18:05:48 GMT
12
- * Dependencies: [@types/keyv](https://npmjs.com/package/@types/keyv), [@types/http-cache-semantics](https://npmjs.com/package/@types/http-cache-semantics), [@types/responselike](https://npmjs.com/package/@types/responselike), [@types/node](https://npmjs.com/package/@types/node)
11
+ * Last updated: Wed, 09 Nov 2022 16:32:53 GMT
12
+ * Dependencies: [@types/http-cache-semantics](https://npmjs.com/package/@types/http-cache-semantics), [@types/keyv](https://npmjs.com/package/@types/keyv), [@types/node](https://npmjs.com/package/@types/node), [@types/responselike](https://npmjs.com/package/@types/responselike)
13
13
  * Global values: none
14
14
 
15
15
  # Credits
@@ -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: Sun, 30 Oct 2022 19:32:58 GMT
11
+ * Last updated: Tue, 01 Nov 2022 09:32:58 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.11.8",
3
+ "version": "18.11.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",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "a23a6d5ceb48ac0215ccd7cba47e75f2a3ae678b228d576c89294138777a2847",
230
+ "typesPublisherContentHash": "c4994f0d5655c5ba44d4248f7f2765c3b1f8319a258377d18d73093af02d11b3",
231
231
  "typeScriptVersion": "4.1"
232
232
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The `node:test` module provides a standalone testing module.
3
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/test.js)
3
+ * @see [source](https://github.com/nodejs/node/blob/v18.8.0/lib/test.js)
4
4
  */
5
5
  declare module 'node:test' {
6
6
  /**
@@ -310,5 +310,65 @@ declare module 'node:test' {
310
310
  todo?: boolean | string;
311
311
  }
312
312
 
313
- export { test as default, run, test, describe, it };
313
+ /**
314
+ * This function is used to create a hook running before running a suite.
315
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
316
+ * the second argument. Default: A no-op function.
317
+ * @param options Configuration options for the hook.
318
+ * @since v18.8.0
319
+ */
320
+ function before(fn?: HookFn, options?: HookOptions): void;
321
+
322
+ /**
323
+ * This function is used to create a hook running after running a suite.
324
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
325
+ * the second argument. Default: A no-op function.
326
+ * @param options Configuration options for the hook.
327
+ * @since v18.8.0
328
+ */
329
+ function after(fn?: HookFn, options?: HookOptions): void;
330
+
331
+ /**
332
+ * This function is used to create a hook running before each subtest of the current suite.
333
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
334
+ * the second argument. Default: A no-op function.
335
+ * @param options Configuration options for the hook.
336
+ * @since v18.8.0
337
+ */
338
+ function beforeEach(fn?: HookFn, options?: HookOptions): void;
339
+
340
+ /**
341
+ * This function is used to create a hook running after each subtest of the current test.
342
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
343
+ * the second argument. Default: A no-op function.
344
+ * @param options Configuration options for the hook.
345
+ * @since v18.8.0
346
+ */
347
+ function afterEach(fn?: HookFn, options?: HookOptions): void;
348
+
349
+ /**
350
+ * The hook function. If the hook uses callbacks, the callback function is passed as the
351
+ * second argument.
352
+ */
353
+ type HookFn = (done: (result?: any) => void) => any;
354
+
355
+ /**
356
+ * Configuration options for hooks.
357
+ * @since v18.8.0
358
+ */
359
+ interface HookOptions {
360
+ /**
361
+ * Allows aborting an in-progress hook.
362
+ */
363
+ signal?: AbortSignal;
364
+
365
+ /**
366
+ * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this
367
+ * value from their parent.
368
+ * @default Infinity
369
+ */
370
+ timeout?: number;
371
+ }
372
+
373
+ export { test as default, run, test, describe, it, before, after, beforeEach, afterEach };
314
374
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The `node:test` module provides a standalone testing module.
3
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/test.js)
3
+ * @see [source](https://github.com/nodejs/node/blob/v18.8.0/lib/test.js)
4
4
  */
5
5
  declare module 'node:test' {
6
6
  /**
@@ -310,5 +310,65 @@ declare module 'node:test' {
310
310
  todo?: boolean | string;
311
311
  }
312
312
 
313
- export { test as default, run, test, describe, it };
313
+ /**
314
+ * This function is used to create a hook running before running a suite.
315
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
316
+ * the second argument. Default: A no-op function.
317
+ * @param options Configuration options for the hook.
318
+ * @since v18.8.0
319
+ */
320
+ function before(fn?: HookFn, options?: HookOptions): void;
321
+
322
+ /**
323
+ * This function is used to create a hook running after running a suite.
324
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
325
+ * the second argument. Default: A no-op function.
326
+ * @param options Configuration options for the hook.
327
+ * @since v18.8.0
328
+ */
329
+ function after(fn?: HookFn, options?: HookOptions): void;
330
+
331
+ /**
332
+ * This function is used to create a hook running before each subtest of the current suite.
333
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
334
+ * the second argument. Default: A no-op function.
335
+ * @param options Configuration options for the hook.
336
+ * @since v18.8.0
337
+ */
338
+ function beforeEach(fn?: HookFn, options?: HookOptions): void;
339
+
340
+ /**
341
+ * This function is used to create a hook running after each subtest of the current test.
342
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
343
+ * the second argument. Default: A no-op function.
344
+ * @param options Configuration options for the hook.
345
+ * @since v18.8.0
346
+ */
347
+ function afterEach(fn?: HookFn, options?: HookOptions): void;
348
+
349
+ /**
350
+ * The hook function. If the hook uses callbacks, the callback function is passed as the
351
+ * second argument.
352
+ */
353
+ type HookFn = (done: (result?: any) => void) => any;
354
+
355
+ /**
356
+ * Configuration options for hooks.
357
+ * @since v18.8.0
358
+ */
359
+ interface HookOptions {
360
+ /**
361
+ * Allows aborting an in-progress hook.
362
+ */
363
+ signal?: AbortSignal;
364
+
365
+ /**
366
+ * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this
367
+ * value from their parent.
368
+ * @default Infinity
369
+ */
370
+ timeout?: number;
371
+ }
372
+
373
+ export { test as default, run, test, describe, it, before, after, beforeEach, afterEach };
314
374
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/cacheable-request",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "TypeScript definitions for cacheable-request",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cacheable-request",
6
6
  "license": "MIT",
@@ -26,10 +26,10 @@
26
26
  "scripts": {},
27
27
  "dependencies": {
28
28
  "@types/http-cache-semantics": "*",
29
- "@types/keyv": "*",
29
+ "@types/keyv": "^3.1.4",
30
30
  "@types/node": "*",
31
- "@types/responselike": "*"
31
+ "@types/responselike": "^1.0.0"
32
32
  },
33
- "typesPublisherContentHash": "5bc07db78df7c21a4d6250dbb806ad088df376f7ed46c63b60bb0e08488dcdc4",
34
- "typeScriptVersion": "3.6"
33
+ "typesPublisherContentHash": "9345f1216c9d26f9046880c34f6329b2874405d68cf13d1f1f771fbb4d96549f",
34
+ "typeScriptVersion": "4.1"
35
35
  }
@@ -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: Sun, 30 Oct 2022 19:32:58 GMT
11
+ * Last updated: Tue, 01 Nov 2022 09:32:58 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.11.8",
3
+ "version": "18.11.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",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "a23a6d5ceb48ac0215ccd7cba47e75f2a3ae678b228d576c89294138777a2847",
230
+ "typesPublisherContentHash": "c4994f0d5655c5ba44d4248f7f2765c3b1f8319a258377d18d73093af02d11b3",
231
231
  "typeScriptVersion": "4.1"
232
232
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The `node:test` module provides a standalone testing module.
3
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/test.js)
3
+ * @see [source](https://github.com/nodejs/node/blob/v18.8.0/lib/test.js)
4
4
  */
5
5
  declare module 'node:test' {
6
6
  /**
@@ -310,5 +310,65 @@ declare module 'node:test' {
310
310
  todo?: boolean | string;
311
311
  }
312
312
 
313
- export { test as default, run, test, describe, it };
313
+ /**
314
+ * This function is used to create a hook running before running a suite.
315
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
316
+ * the second argument. Default: A no-op function.
317
+ * @param options Configuration options for the hook.
318
+ * @since v18.8.0
319
+ */
320
+ function before(fn?: HookFn, options?: HookOptions): void;
321
+
322
+ /**
323
+ * This function is used to create a hook running after running a suite.
324
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
325
+ * the second argument. Default: A no-op function.
326
+ * @param options Configuration options for the hook.
327
+ * @since v18.8.0
328
+ */
329
+ function after(fn?: HookFn, options?: HookOptions): void;
330
+
331
+ /**
332
+ * This function is used to create a hook running before each subtest of the current suite.
333
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
334
+ * the second argument. Default: A no-op function.
335
+ * @param options Configuration options for the hook.
336
+ * @since v18.8.0
337
+ */
338
+ function beforeEach(fn?: HookFn, options?: HookOptions): void;
339
+
340
+ /**
341
+ * This function is used to create a hook running after each subtest of the current test.
342
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
343
+ * the second argument. Default: A no-op function.
344
+ * @param options Configuration options for the hook.
345
+ * @since v18.8.0
346
+ */
347
+ function afterEach(fn?: HookFn, options?: HookOptions): void;
348
+
349
+ /**
350
+ * The hook function. If the hook uses callbacks, the callback function is passed as the
351
+ * second argument.
352
+ */
353
+ type HookFn = (done: (result?: any) => void) => any;
354
+
355
+ /**
356
+ * Configuration options for hooks.
357
+ * @since v18.8.0
358
+ */
359
+ interface HookOptions {
360
+ /**
361
+ * Allows aborting an in-progress hook.
362
+ */
363
+ signal?: AbortSignal;
364
+
365
+ /**
366
+ * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this
367
+ * value from their parent.
368
+ * @default Infinity
369
+ */
370
+ timeout?: number;
371
+ }
372
+
373
+ export { test as default, run, test, describe, it, before, after, beforeEach, afterEach };
314
374
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The `node:test` module provides a standalone testing module.
3
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/test.js)
3
+ * @see [source](https://github.com/nodejs/node/blob/v18.8.0/lib/test.js)
4
4
  */
5
5
  declare module 'node:test' {
6
6
  /**
@@ -310,5 +310,65 @@ declare module 'node:test' {
310
310
  todo?: boolean | string;
311
311
  }
312
312
 
313
- export { test as default, run, test, describe, it };
313
+ /**
314
+ * This function is used to create a hook running before running a suite.
315
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
316
+ * the second argument. Default: A no-op function.
317
+ * @param options Configuration options for the hook.
318
+ * @since v18.8.0
319
+ */
320
+ function before(fn?: HookFn, options?: HookOptions): void;
321
+
322
+ /**
323
+ * This function is used to create a hook running after running a suite.
324
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
325
+ * the second argument. Default: A no-op function.
326
+ * @param options Configuration options for the hook.
327
+ * @since v18.8.0
328
+ */
329
+ function after(fn?: HookFn, options?: HookOptions): void;
330
+
331
+ /**
332
+ * This function is used to create a hook running before each subtest of the current suite.
333
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
334
+ * the second argument. Default: A no-op function.
335
+ * @param options Configuration options for the hook.
336
+ * @since v18.8.0
337
+ */
338
+ function beforeEach(fn?: HookFn, options?: HookOptions): void;
339
+
340
+ /**
341
+ * This function is used to create a hook running after each subtest of the current test.
342
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
343
+ * the second argument. Default: A no-op function.
344
+ * @param options Configuration options for the hook.
345
+ * @since v18.8.0
346
+ */
347
+ function afterEach(fn?: HookFn, options?: HookOptions): void;
348
+
349
+ /**
350
+ * The hook function. If the hook uses callbacks, the callback function is passed as the
351
+ * second argument.
352
+ */
353
+ type HookFn = (done: (result?: any) => void) => any;
354
+
355
+ /**
356
+ * Configuration options for hooks.
357
+ * @since v18.8.0
358
+ */
359
+ interface HookOptions {
360
+ /**
361
+ * Allows aborting an in-progress hook.
362
+ */
363
+ signal?: AbortSignal;
364
+
365
+ /**
366
+ * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this
367
+ * value from their parent.
368
+ * @default Infinity
369
+ */
370
+ timeout?: number;
371
+ }
372
+
373
+ export { test as default, run, test, describe, it, before, after, beforeEach, afterEach };
314
374
  }
@@ -1,3 +1,16 @@
1
- This is a stub types definition for @types/keyv (https://github.com/jaredwray/keyv).
2
-
3
- keyv provides its own type definitions, so you don't need @types/keyv installed!
1
+ # Installation
2
+ > `npm install --save @types/keyv`
3
+
4
+ # Summary
5
+ This package contains type definitions for keyv (https://github.com/lukechilds/keyv).
6
+
7
+ # Details
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keyv.
9
+
10
+ ### Additional Details
11
+ * Last updated: Thu, 17 Mar 2022 05:31:42 GMT
12
+ * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
13
+ * Global values: none
14
+
15
+ # Credits
16
+ These definitions were written by [AryloYeung](https://github.com/Arylo), and [BendingBender](https://github.com/BendingBender).