aws-delivlib 14.14.0 → 14.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/lib/custom-resource-handlers/src/certificate-signing-request.tsbuildinfo +1 -1
  2. package/lib/custom-resource-handlers/src/pgp-secret.tsbuildinfo +1 -1
  3. package/lib/custom-resource-handlers/src/private-key.tsbuildinfo +1 -1
  4. package/lib/publishing/github/node_modules/.yarn-integrity +3 -3
  5. package/lib/publishing/github/node_modules/@types/aws-lambda/README.md +1 -1
  6. package/lib/publishing/github/node_modules/@types/aws-lambda/index.d.ts +1 -0
  7. package/lib/publishing/github/node_modules/@types/aws-lambda/package.json +4 -3
  8. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/guard-duty-event-notification.d.ts +36 -0
  9. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +1 -1
  10. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/crypto.d.ts +23 -0
  11. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +1 -1
  12. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +1 -1
  13. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http2.d.ts +4 -1
  14. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/module.d.ts +10 -0
  15. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +4 -4
  16. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/process.d.ts +61 -10
  17. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/test.d.ts +119 -0
  18. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/worker_threads.d.ts +33 -0
  19. package/lib/publishing/github/node_modules/undici-types/eventsource.d.ts +0 -2
  20. package/lib/publishing/github/node_modules/undici-types/filereader.d.ts +1 -1
  21. package/lib/publishing/github/node_modules/undici-types/interceptors.d.ts +3 -1
  22. package/lib/publishing/github/node_modules/undici-types/package.json +1 -1
  23. package/lib/publishing/github/node_modules/undici-types/patch.d.ts +0 -38
  24. package/lib/publishing/github/node_modules/undici-types/websocket.d.ts +0 -2
  25. package/package.json +4 -4
@@ -662,6 +662,19 @@ declare module "crypto" {
662
662
  * @since v11.6.0
663
663
  */
664
664
  symmetricKeySize?: number | undefined;
665
+ /**
666
+ * Converts a `KeyObject` instance to a `CryptoKey`.
667
+ * @since 22.10.0
668
+ */
669
+ toCryptoKey(
670
+ algorithm:
671
+ | webcrypto.AlgorithmIdentifier
672
+ | webcrypto.RsaHashedImportParams
673
+ | webcrypto.EcKeyImportParams
674
+ | webcrypto.HmacImportParams,
675
+ extractable: boolean,
676
+ keyUsages: readonly webcrypto.KeyUsage[],
677
+ ): webcrypto.CryptoKey;
665
678
  /**
666
679
  * Depending on the type of this `KeyObject`, this property is either`'secret'` for secret (symmetric) keys, `'public'` for public (asymmetric) keys
667
680
  * or `'private'` for private (asymmetric) keys.
@@ -3649,11 +3662,21 @@ declare module "crypto" {
3649
3662
  * @since v15.6.0
3650
3663
  */
3651
3664
  readonly validFrom: string;
3665
+ /**
3666
+ * The date/time from which this certificate is valid, encapsulated in a `Date` object.
3667
+ * @since v22.10.0
3668
+ */
3669
+ readonly validFromDate: Date;
3652
3670
  /**
3653
3671
  * The date/time until which this certificate is considered valid.
3654
3672
  * @since v15.6.0
3655
3673
  */
3656
3674
  readonly validTo: string;
3675
+ /**
3676
+ * The date/time until which this certificate is valid, encapsulated in a `Date` object.
3677
+ * @since v22.10.0
3678
+ */
3679
+ readonly validToDate: Date;
3657
3680
  constructor(buffer: BinaryLike);
3658
3681
  /**
3659
3682
  * Checks whether the certificate matches the given email address.
@@ -71,7 +71,7 @@ declare module "fs/promises" {
71
71
  length?: number | null;
72
72
  position?: number | null;
73
73
  }
74
- interface CreateReadStreamOptions {
74
+ interface CreateReadStreamOptions extends Abortable {
75
75
  encoding?: BufferEncoding | null | undefined;
76
76
  autoClose?: boolean | undefined;
77
77
  emitClose?: boolean | undefined;
@@ -162,7 +162,7 @@ declare module "http" {
162
162
  location?: string | undefined;
163
163
  "max-forwards"?: string | undefined;
164
164
  origin?: string | undefined;
165
- prgama?: string | string[] | undefined;
165
+ pragma?: string | string[] | undefined;
166
166
  "proxy-authenticate"?: string | string[] | undefined;
167
167
  "proxy-authorization"?: string | undefined;
168
168
  "public-key-pins"?: string | undefined;
@@ -1269,7 +1269,10 @@ declare module "http2" {
1269
1269
  Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
1270
1270
  Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1271
1271
  Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1272
- > extends ServerSessionOptions<Http1Request, Http1Response, Http2Request, Http2Response> {}
1272
+ > extends ServerSessionOptions<Http1Request, Http1Response, Http2Request, Http2Response> {
1273
+ streamResetBurst?: number | undefined;
1274
+ streamResetRate?: number | undefined;
1275
+ }
1273
1276
  export interface SecureServerOptions<
1274
1277
  Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
1275
1278
  Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
@@ -349,6 +349,16 @@ declare module "module" {
349
349
  * directory if it is enabled, or `undefined` otherwise.
350
350
  */
351
351
  static getCompileCacheDir(): string | undefined;
352
+ /**
353
+ * Flush the [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache)
354
+ * accumulated from modules already loaded
355
+ * in the current Node.js instance to disk. This returns after all the flushing
356
+ * file system operations come to an end, no matter they succeed or not. If there
357
+ * are any errors, this will fail silently, since compile cache misses should not
358
+ * interfere with the actual operation of the application.
359
+ * @since v22.10.0
360
+ */
361
+ static flushCompileCache(): void;
352
362
  constructor(id: string, parent?: Module);
353
363
  }
354
364
  global {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.9.3",
3
+ "version": "22.10.0",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -217,9 +217,9 @@
217
217
  },
218
218
  "scripts": {},
219
219
  "dependencies": {
220
- "undici-types": "~6.19.8"
220
+ "undici-types": "~6.20.0"
221
221
  },
222
222
  "peerDependencies": {},
223
- "typesPublisherContentHash": "b6aac29bd05fd45bf1e413969174cab33920f03b086f10916dba01864e150462",
224
- "typeScriptVersion": "4.9"
223
+ "typesPublisherContentHash": "ce362bea3fcf1e354f4dc2b40d8779a88c8b89b200fed59ec53f508677acde75",
224
+ "typeScriptVersion": "5.0"
225
225
  }
@@ -168,6 +168,66 @@ declare module "process" {
168
168
  libUrl?: string | undefined;
169
169
  lts?: string | undefined;
170
170
  }
171
+ interface ProcessFeatures {
172
+ /**
173
+ * A boolean value that is `true` if the current Node.js build is caching builtin modules.
174
+ * @since v12.0.0
175
+ */
176
+ readonly cached_builtins: boolean;
177
+ /**
178
+ * A boolean value that is `true` if the current Node.js build is a debug build.
179
+ * @since v0.5.5
180
+ */
181
+ readonly debug: boolean;
182
+ /**
183
+ * A boolean value that is `true` if the current Node.js build includes the inspector.
184
+ * @since v11.10.0
185
+ */
186
+ readonly inspector: boolean;
187
+ /**
188
+ * A boolean value that is `true` if the current Node.js build includes support for IPv6.
189
+ * @since v0.5.3
190
+ */
191
+ readonly ipv6: boolean;
192
+ /**
193
+ * A boolean value that is `true` if the current Node.js build supports
194
+ * [loading ECMAScript modules using `require()`](https://nodejs.org/docs/latest-v22.x/api/modules.md#loading-ecmascript-modules-using-require).
195
+ * @since v22.10.0
196
+ */
197
+ readonly require_module: boolean;
198
+ /**
199
+ * A boolean value that is `true` if the current Node.js build includes support for TLS.
200
+ * @since v0.5.3
201
+ */
202
+ readonly tls: boolean;
203
+ /**
204
+ * A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS.
205
+ * @since v4.8.0
206
+ */
207
+ readonly tls_alpn: boolean;
208
+ /**
209
+ * A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS.
210
+ * @since v0.11.13
211
+ */
212
+ readonly tls_ocsp: boolean;
213
+ /**
214
+ * A boolean value that is `true` if the current Node.js build includes support for SNI in TLS.
215
+ * @since v0.5.3
216
+ */
217
+ readonly tls_sni: boolean;
218
+ /**
219
+ * A value that is `"strip"` if Node.js is run with `--experimental-strip-types`,
220
+ * `"transform"` if Node.js is run with `--experimental-transform-types`, and `false` otherwise.
221
+ * @since v22.10.0
222
+ */
223
+ readonly typescript: "strip" | "transform" | false;
224
+ /**
225
+ * A boolean value that is `true` if the current Node.js build includes support for libuv.
226
+ * Since it's currently not possible to build Node.js without libuv, this value is always `true`.
227
+ * @since v0.5.3
228
+ */
229
+ readonly uv: boolean;
230
+ }
171
231
  interface ProcessVersions extends Dict<string> {
172
232
  http_parser: string;
173
233
  node: string;
@@ -1612,16 +1672,7 @@ declare module "process" {
1612
1672
  * @since v3.0.0
1613
1673
  */
1614
1674
  readonly release: ProcessRelease;
1615
- features: {
1616
- inspector: boolean;
1617
- debug: boolean;
1618
- uv: boolean;
1619
- ipv6: boolean;
1620
- tls_alpn: boolean;
1621
- tls_sni: boolean;
1622
- tls_ocsp: boolean;
1623
- tls: boolean;
1624
- };
1675
+ readonly features: ProcessFeatures;
1625
1676
  /**
1626
1677
  * `process.umask()` returns the Node.js process's file mode creation mask. Child
1627
1678
  * processes inherit the mask from the parent process.
@@ -365,6 +365,20 @@ declare module "node:test" {
365
365
  * @default undefined
366
366
  */
367
367
  setup?: ((reporter: TestsStream) => void | Promise<void>) | undefined;
368
+ /**
369
+ * An array of CLI flags to pass to the `node` executable when
370
+ * spawning the subprocesses. This option has no effect when `isolation` is `'none`'.
371
+ * @since v22.10.0
372
+ * @default []
373
+ */
374
+ execArgv?: readonly string[] | undefined;
375
+ /**
376
+ * An array of CLI flags to pass to each test file when spawning the
377
+ * subprocesses. This option has no effect when `isolation` is `'none'`.
378
+ * @since v22.10.0
379
+ * @default []
380
+ */
381
+ argv?: readonly string[] | undefined;
368
382
  /**
369
383
  * Allows aborting an in-progress test execution.
370
384
  */
@@ -400,6 +414,53 @@ declare module "node:test" {
400
414
  * @default undefined
401
415
  */
402
416
  shard?: TestShard | undefined;
417
+ /**
418
+ * enable [code coverage](https://nodejs.org/docs/latest-v22.x/api/test.html#collecting-code-coverage) collection.
419
+ * @since v22.10.0
420
+ * @default false
421
+ */
422
+ coverage?: boolean | undefined;
423
+ /**
424
+ * Excludes specific files from code coverage
425
+ * using a glob pattern, which can match both absolute and relative file paths.
426
+ * This property is only applicable when `coverage` was set to `true`.
427
+ * If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
428
+ * files must meet **both** criteria to be included in the coverage report.
429
+ * @since v22.10.0
430
+ * @default undefined
431
+ */
432
+ coverageExcludeGlobs?: string | readonly string[] | undefined;
433
+ /**
434
+ * Includes specific files in code coverage
435
+ * using a glob pattern, which can match both absolute and relative file paths.
436
+ * This property is only applicable when `coverage` was set to `true`.
437
+ * If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
438
+ * files must meet **both** criteria to be included in the coverage report.
439
+ * @since v22.10.0
440
+ * @default undefined
441
+ */
442
+ coverageIncludeGlobs?: string | readonly string[] | undefined;
443
+ /**
444
+ * Require a minimum percent of covered lines. If code
445
+ * coverage does not reach the threshold specified, the process will exit with code `1`.
446
+ * @since v22.10.0
447
+ * @default 0
448
+ */
449
+ lineCoverage?: number | undefined;
450
+ /**
451
+ * Require a minimum percent of covered branches. If code
452
+ * coverage does not reach the threshold specified, the process will exit with code `1`.
453
+ * @since v22.10.0
454
+ * @default 0
455
+ */
456
+ branchCoverage?: number | undefined;
457
+ /**
458
+ * Require a minimum percent of covered functions. If code
459
+ * coverage does not reach the threshold specified, the process will exit with code `1`.
460
+ * @since v22.10.0
461
+ * @default 0
462
+ */
463
+ functionCoverage?: number | undefined;
403
464
  }
404
465
  /**
405
466
  * A successful call to `run()` will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.
@@ -419,6 +480,7 @@ declare module "node:test" {
419
480
  addListener(event: "test:start", listener: (data: TestStart) => void): this;
420
481
  addListener(event: "test:stderr", listener: (data: TestStderr) => void): this;
421
482
  addListener(event: "test:stdout", listener: (data: TestStdout) => void): this;
483
+ addListener(event: "test:summary", listener: (data: TestSummary) => void): this;
422
484
  addListener(event: "test:watch:drained", listener: () => void): this;
423
485
  addListener(event: string, listener: (...args: any[]) => void): this;
424
486
  emit(event: "test:coverage", data: TestCoverage): boolean;
@@ -432,6 +494,7 @@ declare module "node:test" {
432
494
  emit(event: "test:start", data: TestStart): boolean;
433
495
  emit(event: "test:stderr", data: TestStderr): boolean;
434
496
  emit(event: "test:stdout", data: TestStdout): boolean;
497
+ emit(event: "test:summary", data: TestSummary): boolean;
435
498
  emit(event: "test:watch:drained"): boolean;
436
499
  emit(event: string | symbol, ...args: any[]): boolean;
437
500
  on(event: "test:coverage", listener: (data: TestCoverage) => void): this;
@@ -445,6 +508,7 @@ declare module "node:test" {
445
508
  on(event: "test:start", listener: (data: TestStart) => void): this;
446
509
  on(event: "test:stderr", listener: (data: TestStderr) => void): this;
447
510
  on(event: "test:stdout", listener: (data: TestStdout) => void): this;
511
+ on(event: "test:summary", listener: (data: TestSummary) => void): this;
448
512
  on(event: "test:watch:drained", listener: () => void): this;
449
513
  on(event: string, listener: (...args: any[]) => void): this;
450
514
  once(event: "test:coverage", listener: (data: TestCoverage) => void): this;
@@ -458,6 +522,7 @@ declare module "node:test" {
458
522
  once(event: "test:start", listener: (data: TestStart) => void): this;
459
523
  once(event: "test:stderr", listener: (data: TestStderr) => void): this;
460
524
  once(event: "test:stdout", listener: (data: TestStdout) => void): this;
525
+ once(event: "test:summary", listener: (data: TestSummary) => void): this;
461
526
  once(event: "test:watch:drained", listener: () => void): this;
462
527
  once(event: string, listener: (...args: any[]) => void): this;
463
528
  prependListener(event: "test:coverage", listener: (data: TestCoverage) => void): this;
@@ -471,6 +536,7 @@ declare module "node:test" {
471
536
  prependListener(event: "test:start", listener: (data: TestStart) => void): this;
472
537
  prependListener(event: "test:stderr", listener: (data: TestStderr) => void): this;
473
538
  prependListener(event: "test:stdout", listener: (data: TestStdout) => void): this;
539
+ prependListener(event: "test:summary", listener: (data: TestSummary) => void): this;
474
540
  prependListener(event: "test:watch:drained", listener: () => void): this;
475
541
  prependListener(event: string, listener: (...args: any[]) => void): this;
476
542
  prependOnceListener(event: "test:coverage", listener: (data: TestCoverage) => void): this;
@@ -484,6 +550,7 @@ declare module "node:test" {
484
550
  prependOnceListener(event: "test:start", listener: (data: TestStart) => void): this;
485
551
  prependOnceListener(event: "test:stderr", listener: (data: TestStderr) => void): this;
486
552
  prependOnceListener(event: "test:stdout", listener: (data: TestStdout) => void): this;
553
+ prependOnceListener(event: "test:summary", listener: (data: TestSummary) => void): this;
487
554
  prependOnceListener(event: "test:watch:drained", listener: () => void): this;
488
555
  prependOnceListener(event: string, listener: (...args: any[]) => void): this;
489
556
  }
@@ -2047,6 +2114,57 @@ interface TestStdout {
2047
2114
  */
2048
2115
  message: string;
2049
2116
  }
2117
+ interface TestSummary {
2118
+ /**
2119
+ * An object containing the counts of various test results.
2120
+ */
2121
+ counts: {
2122
+ /**
2123
+ * The total number of cancelled tests.
2124
+ */
2125
+ cancelled: number;
2126
+ /**
2127
+ * The total number of passed tests.
2128
+ */
2129
+ passed: number;
2130
+ /**
2131
+ * The total number of skipped tests.
2132
+ */
2133
+ skipped: number;
2134
+ /**
2135
+ * The total number of suites run.
2136
+ */
2137
+ suites: number;
2138
+ /**
2139
+ * The total number of tests run, excluding suites.
2140
+ */
2141
+ tests: number;
2142
+ /**
2143
+ * The total number of TODO tests.
2144
+ */
2145
+ todo: number;
2146
+ /**
2147
+ * The total number of top level tests and suites.
2148
+ */
2149
+ topLevel: number;
2150
+ };
2151
+ /**
2152
+ * The duration of the test run in milliseconds.
2153
+ */
2154
+ duration_ms: number;
2155
+ /**
2156
+ * The path of the test file that generated the
2157
+ * summary. If the summary corresponds to multiple files, this value is
2158
+ * `undefined`.
2159
+ */
2160
+ file: string | undefined;
2161
+ /**
2162
+ * Indicates whether or not the test run is considered
2163
+ * successful or not. If any error condition occurs, such as a failing test or
2164
+ * unmet coverage threshold, this value will be set to `false`.
2165
+ */
2166
+ success: boolean;
2167
+ }
2050
2168
 
2051
2169
  /**
2052
2170
  * The `node:test/reporters` module exposes the builtin-reporters for `node:test`.
@@ -2080,6 +2198,7 @@ declare module "node:test/reporters" {
2080
2198
  | { type: "test:start"; data: TestStart }
2081
2199
  | { type: "test:stderr"; data: TestStderr }
2082
2200
  | { type: "test:stdout"; data: TestStdout }
2201
+ | { type: "test:summary"; data: TestSummary }
2083
2202
  | { type: "test:watch:drained"; data: undefined };
2084
2203
  type TestEventGenerator = AsyncGenerator<TestEvent, void>;
2085
2204
 
@@ -594,6 +594,39 @@ declare module "worker_threads" {
594
594
  * @since v14.5.0, v12.19.0
595
595
  */
596
596
  function markAsUntransferable(object: object): void;
597
+ /**
598
+ * Check if an object is marked as not transferable with
599
+ * {@link markAsUntransferable}.
600
+ * @since v21.0.0
601
+ */
602
+ function isMarkedAsUntransferable(object: object): boolean;
603
+ /**
604
+ * Mark an object as not cloneable. If `object` is used as `message` in
605
+ * a `port.postMessage()` call, an error is thrown. This is a no-op if `object` is a
606
+ * primitive value.
607
+ *
608
+ * This has no effect on `ArrayBuffer`, or any `Buffer` like objects.
609
+ *
610
+ * This operation cannot be undone.
611
+ *
612
+ * ```js
613
+ * const { markAsUncloneable } = require('node:worker_threads');
614
+ *
615
+ * const anyObject = { foo: 'bar' };
616
+ * markAsUncloneable(anyObject);
617
+ * const { port1 } = new MessageChannel();
618
+ * try {
619
+ * // This will throw an error, because anyObject is not cloneable.
620
+ * port1.postMessage(anyObject)
621
+ * } catch (error) {
622
+ * // error.name === 'DataCloneError'
623
+ * }
624
+ * ```
625
+ *
626
+ * There is no equivalent to this API in browsers.
627
+ * @since v22.10.0
628
+ */
629
+ function markAsUncloneable(object: object): void;
597
630
  /**
598
631
  * Transfer a `MessagePort` to a different `vm` Context. The original `port` object is rendered unusable, and the returned `MessagePort` instance
599
632
  * takes its place.
@@ -2,8 +2,6 @@ import { MessageEvent, ErrorEvent } from './websocket'
2
2
  import Dispatcher from './dispatcher'
3
3
 
4
4
  import {
5
- EventTarget,
6
- Event,
7
5
  EventListenerOptions,
8
6
  AddEventListenerOptions,
9
7
  EventListenerOrEventListenerObject
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
 
3
3
  import { Blob } from 'buffer'
4
- import { DOMException, Event, EventInit, EventTarget } from './patch'
4
+ import { DOMException, EventInit } from './patch'
5
5
 
6
6
  export declare class FileReader {
7
7
  __proto__: EventTarget & FileReader
@@ -7,9 +7,11 @@ declare namespace Interceptors {
7
7
  export type DumpInterceptorOpts = { maxSize?: number }
8
8
  export type RetryInterceptorOpts = RetryHandler.RetryOptions
9
9
  export type RedirectInterceptorOpts = { maxRedirections?: number }
10
-
10
+ export type ResponseErrorInterceptorOpts = { throwOnError: boolean }
11
+
11
12
  export function createRedirectInterceptor(opts: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
12
13
  export function dump(opts?: DumpInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
13
14
  export function retry(opts?: RetryInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
14
15
  export function redirect(opts?: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
16
+ export function responseError(opts?: ResponseErrorInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
15
17
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undici-types",
3
- "version": "6.19.8",
3
+ "version": "6.20.0",
4
4
  "description": "A stand-alone types package for Undici",
5
5
  "homepage": "https://undici.nodejs.org",
6
6
  "bugs": {
@@ -6,44 +6,6 @@ export type DOMException = typeof globalThis extends { DOMException: infer T }
6
6
  ? T
7
7
  : any
8
8
 
9
- export type EventTarget = typeof globalThis extends { EventTarget: infer T }
10
- ? T
11
- : {
12
- addEventListener(
13
- type: string,
14
- listener: any,
15
- options?: any,
16
- ): void
17
- dispatchEvent(event: Event): boolean
18
- removeEventListener(
19
- type: string,
20
- listener: any,
21
- options?: any | boolean,
22
- ): void
23
- }
24
-
25
- export type Event = typeof globalThis extends { Event: infer T }
26
- ? T
27
- : {
28
- readonly bubbles: boolean
29
- cancelBubble: () => void
30
- readonly cancelable: boolean
31
- readonly composed: boolean
32
- composedPath(): [EventTarget?]
33
- readonly currentTarget: EventTarget | null
34
- readonly defaultPrevented: boolean
35
- readonly eventPhase: 0 | 2
36
- readonly isTrusted: boolean
37
- preventDefault(): void
38
- returnValue: boolean
39
- readonly srcElement: EventTarget | null
40
- stopImmediatePropagation(): void
41
- stopPropagation(): void
42
- readonly target: EventTarget | null
43
- readonly timeStamp: number
44
- readonly type: string
45
- }
46
-
47
9
  export interface EventInit {
48
10
  bubbles?: boolean
49
11
  cancelable?: boolean
@@ -3,8 +3,6 @@
3
3
  import type { Blob } from 'buffer'
4
4
  import type { MessagePort } from 'worker_threads'
5
5
  import {
6
- EventTarget,
7
- Event,
8
6
  EventInit,
9
7
  EventListenerOptions,
10
8
  AddEventListenerOptions,
package/package.json CHANGED
@@ -39,12 +39,12 @@
39
39
  "devDependencies": {
40
40
  "@aws-sdk/client-cloudwatch": "^3.699.0",
41
41
  "@aws-sdk/client-codepipeline": "^3.699.0",
42
- "@aws-sdk/client-s3": "^3.699.0",
42
+ "@aws-sdk/client-s3": "^3.701.0",
43
43
  "@aws-sdk/client-secrets-manager": "^3.699.0",
44
44
  "@aws-sdk/client-ssm": "^3.699.0",
45
45
  "@stylistic/eslint-plugin": "^2",
46
46
  "@types/adm-zip": "^0.5.6",
47
- "@types/aws-lambda": "^8.10.145",
47
+ "@types/aws-lambda": "^8.10.146",
48
48
  "@types/follow-redirects": "^1.14.4",
49
49
  "@types/fs-extra": "^9.0.13",
50
50
  "@types/jest": "^29.5.14",
@@ -53,7 +53,7 @@
53
53
  "@typescript-eslint/eslint-plugin": "^8",
54
54
  "@typescript-eslint/parser": "^8",
55
55
  "adm-zip": "^0.5.16",
56
- "aws-cdk": "2.170.0",
56
+ "aws-cdk": "2.171.0",
57
57
  "aws-cdk-lib": "^2.150.0",
58
58
  "commit-and-tag-version": "^12",
59
59
  "constructs": "10.1.31",
@@ -97,7 +97,7 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "version": "14.14.0",
100
+ "version": "14.14.2",
101
101
  "jest": {
102
102
  "coverageProvider": "v8",
103
103
  "testMatch": [