cloudstructs 0.9.8 → 0.9.9

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 (132) hide show
  1. package/.jsii +3 -3
  2. package/lib/codecommit-mirror/index.js +2 -2
  3. package/lib/dmarc/index.js +1 -1
  4. package/lib/ecs-service-roller/index.js +2 -2
  5. package/lib/email-receiver/receiver.js +1 -1
  6. package/lib/saml-identity-provider/index.js +2 -2
  7. package/lib/slack-app/manifest.js +1 -1
  8. package/lib/slack-app/slack-app.js +2 -2
  9. package/lib/slack-events/index.js +1 -1
  10. package/lib/slack-textract/index.js +1 -1
  11. package/lib/ssl-server-test/index.js +1 -1
  12. package/lib/state-machine-cr-provider/index.js +1 -1
  13. package/lib/static-website/index.js +1 -1
  14. package/lib/toolkit-cleaner/index.js +1 -1
  15. package/lib/url-shortener/index.js +1 -1
  16. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  17. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +22 -22
  18. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +3 -3
  19. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +61 -61
  20. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +1 -1
  21. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +44 -1
  22. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +2 -2
  23. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +1 -0
  24. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +1 -1
  25. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +2 -2
  26. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +2 -2
  27. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +1 -1
  28. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  29. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +1 -1
  30. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1 -1
  31. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +3 -3
  32. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +31 -23
  33. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +3 -0
  34. package/node_modules/@slack/types/LICENSE +23 -0
  35. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +10 -9
  36. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  37. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +3 -7
  38. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  39. package/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts +38 -0
  40. package/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts.map +1 -1
  41. package/node_modules/@slack/types/package.json +10 -9
  42. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  43. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +22 -22
  44. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +3 -3
  45. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +61 -61
  46. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +1 -1
  47. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +44 -1
  48. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +2 -2
  49. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +1 -0
  50. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +1 -1
  51. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +2 -2
  52. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +2 -2
  53. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +1 -1
  54. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  55. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +1 -1
  56. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1 -1
  57. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +3 -3
  58. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +31 -23
  59. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +3 -0
  60. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  61. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +22 -22
  62. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +3 -3
  63. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +61 -61
  64. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +1 -1
  65. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +44 -1
  66. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2 -2
  67. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +1 -0
  68. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +1 -1
  69. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +2 -2
  70. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +2 -2
  71. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +1 -1
  72. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  73. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +1 -1
  74. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
  75. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +3 -3
  76. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +31 -23
  77. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +3 -0
  78. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  79. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +22 -22
  80. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +3 -3
  81. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +61 -61
  82. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +1 -1
  83. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +44 -1
  84. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +2 -2
  85. package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +1 -0
  86. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +1 -1
  87. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +2 -2
  88. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +2 -2
  89. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +1 -1
  90. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  91. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +1 -1
  92. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +1 -1
  93. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +3 -3
  94. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +31 -23
  95. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +3 -0
  96. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  97. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +22 -22
  98. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +3 -3
  99. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +61 -61
  100. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +1 -1
  101. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +44 -1
  102. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2 -2
  103. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +1 -0
  104. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +1 -1
  105. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +2 -2
  106. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +2 -2
  107. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +1 -1
  108. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  109. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +1 -1
  110. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
  111. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +3 -3
  112. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +31 -23
  113. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +3 -0
  114. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  115. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +22 -22
  116. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +3 -3
  117. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +61 -61
  118. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +1 -1
  119. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +44 -1
  120. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2 -2
  121. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +1 -0
  122. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +1 -1
  123. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +2 -2
  124. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +2 -2
  125. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +1 -1
  126. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  127. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +1 -1
  128. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
  129. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +3 -3
  130. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +31 -23
  131. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +3 -0
  132. package/package.json +19 -19
@@ -1242,7 +1242,7 @@ declare module "process" {
1242
1242
  title: string;
1243
1243
  /**
1244
1244
  * The operating system CPU architecture for which the Node.js binary was compiled.
1245
- * Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`.
1245
+ * Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`.
1246
1246
  *
1247
1247
  * ```js
1248
1248
  * import { arch } from 'node:process';
@@ -251,7 +251,7 @@ declare module "repl" {
251
251
  private constructor();
252
252
  /**
253
253
  * The `replServer.defineCommand()` method is used to add new `.`\-prefixed commands
254
- * to the REPL instance. Such commands are invoked by typing a `.` followed by the`keyword`. The `cmd` is either a `Function` or an `Object` with the following
254
+ * to the REPL instance. Such commands are invoked by typing a `.` followed by the `keyword`. The `cmd` is either a `Function` or an `Object` with the following
255
255
  * properties:
256
256
  *
257
257
  * The following example shows two new commands added to the REPL instance:
@@ -289,7 +289,7 @@ declare module "repl" {
289
289
  defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void;
290
290
  /**
291
291
  * The `replServer.displayPrompt()` method readies the REPL instance for input
292
- * from the user, printing the configured `prompt` to a new line in the `output`and resuming the `input` to accept new input.
292
+ * from the user, printing the configured `prompt` to a new line in the `output` and resuming the `input` to accept new input.
293
293
  *
294
294
  * When multi-line input is being entered, an ellipsis is printed rather than the
295
295
  * 'prompt'.
@@ -304,7 +304,7 @@ declare module "repl" {
304
304
  /**
305
305
  * The `replServer.clearBufferedCommand()` method clears any command that has been
306
306
  * buffered but not yet executed. This method is primarily intended to be
307
- * called from within the action function for commands registered using the`replServer.defineCommand()` method.
307
+ * called from within the action function for commands registered using the `replServer.defineCommand()` method.
308
308
  * @since v9.0.0
309
309
  */
310
310
  clearBufferedCommand(): void;
@@ -299,49 +299,57 @@ declare module "node:test" {
299
299
  }
300
300
  interface RunOptions {
301
301
  /**
302
- * If a number is provided, then that many files would run in parallel.
303
- * If truthy, it would run (number of cpu cores - 1) files in parallel.
304
- * If falsy, it would only run one file at a time.
305
- * If unspecified, subtests inherit this value from their parent.
306
- * @default true
302
+ * If a number is provided, then that many test processes would run in parallel, where each process corresponds to one test file.
303
+ * If `true`, it would run `os.availableParallelism() - 1` test files in parallel. If `false`, it would only run one test file at a time.
304
+ * @default false
307
305
  */
308
306
  concurrency?: number | boolean | undefined;
309
307
  /**
310
- * An array containing the list of files to run.
311
- * If unspecified, the test runner execution model will be used.
308
+ * An array containing the list of files to run. **Default** matching files from
309
+ * [test runner execution model](https://nodejs.org/docs/latest-v20.x/api/test.html#test-runner-execution-model).
312
310
  */
313
311
  files?: readonly string[] | undefined;
314
312
  /**
315
- * Allows aborting an in-progress test execution.
316
- * @default undefined
317
- */
318
- signal?: AbortSignal | undefined;
319
- /**
320
- * A number of milliseconds the test will fail after.
321
- * If unspecified, subtests inherit this value from their parent.
322
- * @default Infinity
313
+ * Configures the test runner to exit the process once all known
314
+ * tests have finished executing even if the event loop would
315
+ * otherwise remain active.
316
+ * @default false
323
317
  */
324
- timeout?: number | undefined;
318
+ forceExit?: boolean | undefined;
325
319
  /**
326
320
  * Sets inspector port of test child process.
327
321
  * If a nullish value is provided, each process gets its own port,
328
322
  * incremented from the primary's `process.debugPort`.
323
+ * @default undefined
329
324
  */
330
325
  inspectPort?: number | (() => number) | undefined;
331
- /**
332
- * That can be used to only run tests whose name matches the provided pattern.
333
- * Test name patterns are interpreted as JavaScript regular expressions.
334
- * For each test that is executed, any corresponding test hooks, such as `beforeEach()`, are also run.
335
- */
336
- testNamePatterns?: string | RegExp | string[] | RegExp[];
337
326
  /**
338
327
  * If truthy, the test context will only run tests that have the `only` option set
339
328
  */
340
329
  only?: boolean;
341
330
  /**
342
- * A function that accepts the TestsStream instance and can be used to setup listeners before any tests are run.
331
+ * A function that accepts the `TestsStream` instance and can be used to setup listeners before any tests are run.
332
+ * @default undefined
343
333
  */
344
334
  setup?: (root: Test) => void | Promise<void>;
335
+ /**
336
+ * Allows aborting an in-progress test execution.
337
+ */
338
+ signal?: AbortSignal | undefined;
339
+ /**
340
+ * A String, RegExp or a RegExp Array, that can be used to only run tests whose
341
+ * name matches the provided pattern. Test name patterns are interpreted as JavaScript
342
+ * regular expressions. For each test that is executed, any corresponding test hooks,
343
+ * such as `beforeEach()`, are also run.
344
+ * @default undefined
345
+ */
346
+ testNamePatterns?: string | RegExp | string[] | RegExp[];
347
+ /**
348
+ * A number of milliseconds the test execution will fail after.
349
+ * If unspecified, subtests inherit this value from their parent.
350
+ * @default Infinity
351
+ */
352
+ timeout?: number | undefined;
345
353
  /**
346
354
  * Whether to run in watch mode or not.
347
355
  * @default false
@@ -237,6 +237,9 @@ declare module "worker_threads" {
237
237
  off(event: "message", listener: (value: any) => void): this;
238
238
  off(event: "messageerror", listener: (error: Error) => void): this;
239
239
  off(event: string | symbol, listener: (...args: any[]) => void): this;
240
+ addEventListener: EventTarget["addEventListener"];
241
+ dispatchEvent: EventTarget["dispatchEvent"];
242
+ removeEventListener: EventTarget["removeEventListener"];
240
243
  }
241
244
  interface WorkerOptions {
242
245
  /**
package/package.json CHANGED
@@ -86,41 +86,41 @@
86
86
  "organization": false
87
87
  },
88
88
  "devDependencies": {
89
- "@aws-sdk/client-cloudformation": "^3.588.0",
90
- "@aws-sdk/client-dynamodb": "^3.588.0",
91
- "@aws-sdk/client-ecr": "^3.588.0",
92
- "@aws-sdk/client-ecs": "^3.588.0",
93
- "@aws-sdk/client-eventbridge": "^3.588.0",
94
- "@aws-sdk/client-iam": "^3.588.0",
95
- "@aws-sdk/client-s3": "^3.588.0",
96
- "@aws-sdk/client-secrets-manager": "^3.588.0",
97
- "@aws-sdk/client-sfn": "^3.588.0",
98
- "@aws-sdk/client-textract": "^3.588.0",
99
- "@aws-sdk/lib-dynamodb": "^3.588.0",
100
- "@types/aws-lambda": "^8.10.138",
89
+ "@aws-sdk/client-cloudformation": "^3.600.0",
90
+ "@aws-sdk/client-dynamodb": "^3.600.0",
91
+ "@aws-sdk/client-ecr": "^3.600.0",
92
+ "@aws-sdk/client-ecs": "^3.600.0",
93
+ "@aws-sdk/client-eventbridge": "^3.600.0",
94
+ "@aws-sdk/client-iam": "^3.600.0",
95
+ "@aws-sdk/client-s3": "^3.600.0",
96
+ "@aws-sdk/client-secrets-manager": "^3.600.0",
97
+ "@aws-sdk/client-sfn": "^3.600.0",
98
+ "@aws-sdk/client-textract": "^3.600.0",
99
+ "@aws-sdk/lib-dynamodb": "^3.600.0",
100
+ "@types/aws-lambda": "^8.10.140",
101
101
  "@types/jest": "^29",
102
102
  "@types/node": "^18",
103
103
  "@types/tsscmp": "^1.0.2",
104
- "@typescript-eslint/eslint-plugin": "^6",
105
- "@typescript-eslint/parser": "^6",
104
+ "@typescript-eslint/eslint-plugin": "^7",
105
+ "@typescript-eslint/parser": "^7",
106
106
  "aws-cdk": "^2",
107
107
  "aws-cdk-lib": "2.133.0",
108
108
  "aws-sdk-client-mock": "^2.2.0",
109
109
  "aws-sdk-client-mock-jest": "^2.2.0",
110
110
  "constructs": "10.0.5",
111
- "esbuild": "^0.21.4",
111
+ "esbuild": "^0.21.5",
112
112
  "eslint": "^8",
113
113
  "eslint-import-resolver-typescript": "^3.6.1",
114
114
  "eslint-plugin-import": "^2.29.1",
115
115
  "jest": "^29",
116
116
  "jest-junit": "^15",
117
117
  "jsii": "5.x",
118
- "jsii-diff": "^1.98.0",
118
+ "jsii-diff": "^1.100.0",
119
119
  "jsii-docgen": "^9.2.2",
120
- "jsii-pacmak": "^1.98.0",
120
+ "jsii-pacmak": "^1.100.0",
121
121
  "jsii-rosetta": "5.x",
122
122
  "nock": "^13.5.4",
123
- "projen": "^0.82.2",
123
+ "projen": "^0.82.6",
124
124
  "standard-version": "^9",
125
125
  "ts-jest": "^29",
126
126
  "ts-node": "^10.9.2",
@@ -146,7 +146,7 @@
146
146
  "publishConfig": {
147
147
  "access": "public"
148
148
  },
149
- "version": "0.9.8",
149
+ "version": "0.9.9",
150
150
  "jest": {
151
151
  "coverageProvider": "v8",
152
152
  "testMatch": [