cdk-ecr-deployment 3.0.121 → 3.0.123

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 (60) hide show
  1. package/.jsii +2 -2
  2. package/lib/index.js +3 -3
  3. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  4. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  5. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/index.d.ts +9 -0
  6. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/indexable.d.ts +23 -0
  7. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  8. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +2 -2
  9. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +4 -4
  10. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +1 -1
  11. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +17 -48
  12. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +36 -0
  13. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +8 -10
  14. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  15. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -1
  16. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +5 -2
  17. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +2 -2
  18. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +8 -10
  19. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +7 -4
  20. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +4 -4
  21. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  22. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  23. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/index.d.ts +9 -0
  24. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/indexable.d.ts +23 -0
  25. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  26. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +2 -2
  27. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +4 -4
  28. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +1 -1
  29. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +17 -48
  30. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +36 -0
  31. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +8 -10
  32. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  33. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -1
  34. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +5 -2
  35. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +2 -2
  36. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +8 -10
  37. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +7 -4
  38. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +4 -4
  39. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  40. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  41. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/index.d.ts +9 -0
  42. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/indexable.d.ts +23 -0
  43. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  44. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +2 -2
  45. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +4 -4
  46. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +1 -1
  47. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +17 -48
  48. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +36 -0
  49. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +8 -10
  50. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  51. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -1
  52. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +5 -2
  53. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +2 -2
  54. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +8 -10
  55. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +7 -4
  56. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +4 -4
  57. package/package.json +1 -1
  58. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.global.d.ts +0 -1
  59. package/node_modules/@types/keyv/node_modules/@types/node/globals.global.d.ts +0 -1
  60. package/node_modules/@types/responselike/node_modules/@types/node/globals.global.d.ts +0 -1
@@ -156,6 +156,8 @@ declare global {
156
156
  interface RequireResolve extends NodeJS.RequireResolve {}
157
157
  interface NodeModule extends NodeJS.Module {}
158
158
 
159
+ var global: typeof globalThis;
160
+
159
161
  var process: NodeJS.Process;
160
162
  var console: Console;
161
163
 
@@ -265,53 +267,6 @@ declare global {
265
267
  var sessionStorage: Storage;
266
268
  // #endregion Storage
267
269
 
268
- // #region Disposable
269
- interface SymbolConstructor {
270
- /**
271
- * A method that is used to release resources held by an object. Called by the semantics of the `using` statement.
272
- */
273
- readonly dispose: unique symbol;
274
-
275
- /**
276
- * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement.
277
- */
278
- readonly asyncDispose: unique symbol;
279
- }
280
-
281
- interface Disposable {
282
- [Symbol.dispose](): void;
283
- }
284
-
285
- interface AsyncDisposable {
286
- [Symbol.asyncDispose](): PromiseLike<void>;
287
- }
288
- // #endregion Disposable
289
-
290
- // #region ArrayLike.at()
291
- interface RelativeIndexable<T> {
292
- /**
293
- * Takes an integer value and returns the item at that index,
294
- * allowing for positive and negative integers.
295
- * Negative integers count back from the last item in the array.
296
- */
297
- at(index: number): T | undefined;
298
- }
299
- interface String extends RelativeIndexable<string> {}
300
- interface Array<T> extends RelativeIndexable<T> {}
301
- interface ReadonlyArray<T> extends RelativeIndexable<T> {}
302
- interface Int8Array extends RelativeIndexable<number> {}
303
- interface Uint8Array extends RelativeIndexable<number> {}
304
- interface Uint8ClampedArray extends RelativeIndexable<number> {}
305
- interface Int16Array extends RelativeIndexable<number> {}
306
- interface Uint16Array extends RelativeIndexable<number> {}
307
- interface Int32Array extends RelativeIndexable<number> {}
308
- interface Uint32Array extends RelativeIndexable<number> {}
309
- interface Float32Array extends RelativeIndexable<number> {}
310
- interface Float64Array extends RelativeIndexable<number> {}
311
- interface BigInt64Array extends RelativeIndexable<bigint> {}
312
- interface BigUint64Array extends RelativeIndexable<bigint> {}
313
- // #endregion ArrayLike.at() end
314
-
315
270
  /**
316
271
  * @since v17.0.0
317
272
  *
@@ -464,7 +419,7 @@ declare global {
464
419
  unpipe(destination?: WritableStream): this;
465
420
  unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
466
421
  wrap(oldStream: ReadableStream): this;
467
- [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
422
+ [Symbol.asyncIterator](): NodeJS.AsyncIterator<string | Buffer>;
468
423
  }
469
424
 
470
425
  interface WritableStream extends EventEmitter {
@@ -533,6 +488,20 @@ declare global {
533
488
  interface ReadOnlyDict<T> {
534
489
  readonly [key: string]: T | undefined;
535
490
  }
491
+
492
+ /** An iterable iterator returned by the Node.js API. */
493
+ // Default TReturn/TNext in v22 is `any`, for compatibility with the previously-used IterableIterator.
494
+ // TODO: In next major @types/node version, change default TReturn to undefined.
495
+ interface Iterator<T, TReturn = any, TNext = any> extends IteratorObject<T, TReturn, TNext> {
496
+ [Symbol.iterator](): NodeJS.Iterator<T, TReturn, TNext>;
497
+ }
498
+
499
+ /** An async iterable iterator returned by the Node.js API. */
500
+ // Default TReturn/TNext in v22 is `any`, for compatibility with the previously-used AsyncIterableIterator.
501
+ // TODO: In next major @types/node version, change default TReturn to undefined.
502
+ interface AsyncIterator<T, TReturn = any, TNext = any> extends AsyncIteratorObject<T, TReturn, TNext> {
503
+ [Symbol.asyncIterator](): NodeJS.AsyncIterator<T, TReturn, TNext>;
504
+ }
536
505
  }
537
506
 
538
507
  interface RequestInit extends _RequestInit {}
@@ -588,6 +588,42 @@ declare module "http" {
588
588
  * @param value Header value
589
589
  */
590
590
  setHeader(name: string, value: number | string | readonly string[]): this;
591
+ /**
592
+ * Sets multiple header values for implicit headers. headers must be an instance of
593
+ * `Headers` or `Map`, if a header already exists in the to-be-sent headers, its
594
+ * value will be replaced.
595
+ *
596
+ * ```js
597
+ * const headers = new Headers({ foo: 'bar' });
598
+ * outgoingMessage.setHeaders(headers);
599
+ * ```
600
+ *
601
+ * or
602
+ *
603
+ * ```js
604
+ * const headers = new Map([['foo', 'bar']]);
605
+ * outgoingMessage.setHeaders(headers);
606
+ * ```
607
+ *
608
+ * When headers have been set with `outgoingMessage.setHeaders()`, they will be
609
+ * merged with any headers passed to `response.writeHead()`, with the headers passed
610
+ * to `response.writeHead()` given precedence.
611
+ *
612
+ * ```js
613
+ * // Returns content-type = text/plain
614
+ * const server = http.createServer((req, res) => {
615
+ * const headers = new Headers({ 'Content-Type': 'text/html' });
616
+ * res.setHeaders(headers);
617
+ * res.writeHead(200, { 'Content-Type': 'text/plain' });
618
+ * res.end('ok');
619
+ * });
620
+ * ```
621
+ *
622
+ * @since v19.6.0, v18.15.0
623
+ * @param name Header name
624
+ * @param value Header value
625
+ */
626
+ setHeaders(headers: Headers | Map<string, number | string | readonly string[]>): this;
591
627
  /**
592
628
  * Append a single header value to the header object.
593
629
  *
@@ -22,22 +22,22 @@
22
22
  * IN THE SOFTWARE.
23
23
  */
24
24
 
25
- // NOTE: These definitions support NodeJS and TypeScript 5.7+.
25
+ // NOTE: These definitions support Node.js and TypeScript 5.7+.
26
26
 
27
- // Reference required types from the default lib:
27
+ // Reference required TypeScript libs:
28
28
  /// <reference lib="es2020" />
29
- /// <reference lib="esnext.asynciterable" />
30
- /// <reference lib="esnext.intl" />
31
- /// <reference lib="esnext.bigint" />
32
29
 
33
- // Definitions specific to TypeScript 4.9 through 5.7+
30
+ // TypeScript backwards-compatibility definitions:
31
+ /// <reference path="compatibility/index.d.ts" />
32
+
33
+ // Definitions specific to TypeScript 5.7+:
34
34
  /// <reference path="globals.typedarray.d.ts" />
35
35
  /// <reference path="buffer.buffer.d.ts" />
36
36
 
37
- // Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
37
+ // Definitions for Node.js modules that are not specific to any version of TypeScript:
38
+ /// <reference path="globals.d.ts" />
38
39
  /// <reference path="assert.d.ts" />
39
40
  /// <reference path="assert/strict.d.ts" />
40
- /// <reference path="globals.d.ts" />
41
41
  /// <reference path="async_hooks.d.ts" />
42
42
  /// <reference path="buffer.d.ts" />
43
43
  /// <reference path="child_process.d.ts" />
@@ -90,5 +90,3 @@
90
90
  /// <reference path="wasi.d.ts" />
91
91
  /// <reference path="worker_threads.d.ts" />
92
92
  /// <reference path="zlib.d.ts" />
93
-
94
- /// <reference path="globals.global.d.ts" />
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.7.5",
3
+ "version": "22.7.7",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -219,6 +219,6 @@
219
219
  "dependencies": {
220
220
  "undici-types": "~6.19.2"
221
221
  },
222
- "typesPublisherContentHash": "09f00b18839b10dc7208a5ca277bf956cc26a57727a134678112fc8fc609127b",
222
+ "typesPublisherContentHash": "fa31e6c2802baba25cea51cc9964246c953fcbf22ed95a34bb888cea10a202c4",
223
223
  "typeScriptVersion": "4.8"
224
224
  }
@@ -304,7 +304,7 @@ declare module "readline" {
304
304
  prependOnceListener(event: "SIGINT", listener: () => void): this;
305
305
  prependOnceListener(event: "SIGTSTP", listener: () => void): this;
306
306
  prependOnceListener(event: "history", listener: (history: string[]) => void): this;
307
- [Symbol.asyncIterator](): AsyncIterableIterator<string>;
307
+ [Symbol.asyncIterator](): NodeJS.AsyncIterator<string>;
308
308
  }
309
309
  export type ReadLine = Interface; // type forwarded for backwards compatibility
310
310
  export type Completer = (line: string) => CompleterResult;
@@ -166,6 +166,9 @@ declare module "stream/web" {
166
166
  interface ReadableStreamErrorCallback {
167
167
  (reason: any): void | PromiseLike<void>;
168
168
  }
169
+ interface ReadableStreamAsyncIterator<T> extends NodeJS.AsyncIterator<T, NodeJS.BuiltinIteratorReturn, unknown> {
170
+ [Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
171
+ }
169
172
  /** This Streams API interface represents a readable stream of byte data. */
170
173
  interface ReadableStream<R = any> {
171
174
  readonly locked: boolean;
@@ -176,8 +179,8 @@ declare module "stream/web" {
176
179
  pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
177
180
  pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
178
181
  tee(): [ReadableStream<R>, ReadableStream<R>];
179
- values(options?: { preventCancel?: boolean }): AsyncIterableIterator<R>;
180
- [Symbol.asyncIterator](): AsyncIterableIterator<R>;
182
+ values(options?: { preventCancel?: boolean }): ReadableStreamAsyncIterator<R>;
183
+ [Symbol.asyncIterator](): ReadableStreamAsyncIterator<R>;
181
184
  }
182
185
  const ReadableStream: {
183
186
  prototype: ReadableStream;
@@ -422,7 +422,7 @@ declare module "stream" {
422
422
  * or exiting a `for await...of` iteration using a `break`, `return`, or `throw` will not destroy the stream.
423
423
  * **Default: `true`**.
424
424
  */
425
- iterator(options?: { destroyOnReturn?: boolean }): AsyncIterableIterator<any>;
425
+ iterator(options?: { destroyOnReturn?: boolean }): NodeJS.AsyncIterator<any>;
426
426
  /**
427
427
  * This method allows mapping over the stream. The *fn* function will be called for every chunk in the stream.
428
428
  * If the *fn* function returns a promise - that promise will be `await`ed before being passed to the result stream.
@@ -651,7 +651,7 @@ declare module "stream" {
651
651
  removeListener(event: "readable", listener: () => void): this;
652
652
  removeListener(event: "resume", listener: () => void): this;
653
653
  removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
654
- [Symbol.asyncIterator](): AsyncIterableIterator<any>;
654
+ [Symbol.asyncIterator](): NodeJS.AsyncIterator<any>;
655
655
  /**
656
656
  * Calls `readable.destroy()` with an `AbortError` and returns a promise that fulfills when the stream is finished.
657
657
  * @since v20.4.0
@@ -22,22 +22,22 @@
22
22
  * IN THE SOFTWARE.
23
23
  */
24
24
 
25
- // NOTE: These definitions support NodeJS and TypeScript 4.9 through 5.6.
25
+ // NOTE: These definitions support Node.js and TypeScript 4.9 through 5.6.
26
26
 
27
- // Reference required types from the default lib:
27
+ // Reference required TypeScript libs:
28
28
  /// <reference lib="es2020" />
29
- /// <reference lib="esnext.asynciterable" />
30
- /// <reference lib="esnext.intl" />
31
- /// <reference lib="esnext.bigint" />
32
29
 
33
- // Definitions specific to TypeScript 4.9 through 5.6
30
+ // TypeScript backwards-compatibility definitions:
31
+ /// <reference path="../compatibility/index.d.ts" />
32
+
33
+ // Definitions specific to TypeScript 4.9 through 5.6:
34
34
  /// <reference path="./globals.typedarray.d.ts" />
35
35
  /// <reference path="./buffer.buffer.d.ts" />
36
36
 
37
- // Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
37
+ // Definitions for Node.js modules that are not specific to any version of TypeScript:
38
+ /// <reference path="../globals.d.ts" />
38
39
  /// <reference path="../assert.d.ts" />
39
40
  /// <reference path="../assert/strict.d.ts" />
40
- /// <reference path="../globals.d.ts" />
41
41
  /// <reference path="../async_hooks.d.ts" />
42
42
  /// <reference path="../buffer.d.ts" />
43
43
  /// <reference path="../child_process.d.ts" />
@@ -90,5 +90,3 @@
90
90
  /// <reference path="../wasi.d.ts" />
91
91
  /// <reference path="../worker_threads.d.ts" />
92
92
  /// <reference path="../zlib.d.ts" />
93
-
94
- /// <reference path="../globals.global.d.ts" />
@@ -757,6 +757,9 @@ declare module "url" {
757
757
  */
758
758
  toJSON(): string;
759
759
  }
760
+ interface URLSearchParamsIterator<T> extends NodeJS.Iterator<T, NodeJS.BuiltinIteratorReturn, unknown> {
761
+ [Symbol.iterator](): URLSearchParamsIterator<T>;
762
+ }
760
763
  /**
761
764
  * The `URLSearchParams` API provides read and write access to the query of a `URL`. The `URLSearchParams` class can also be used standalone with one of the
762
765
  * four following constructors.
@@ -827,7 +830,7 @@ declare module "url" {
827
830
  *
828
831
  * Alias for `urlSearchParams[@@iterator]()`.
829
832
  */
830
- entries(): IterableIterator<[string, string]>;
833
+ entries(): URLSearchParamsIterator<[string, string]>;
831
834
  /**
832
835
  * Iterates over each name-value pair in the query and invokes the given function.
833
836
  *
@@ -881,7 +884,7 @@ declare module "url" {
881
884
  * // foo
882
885
  * ```
883
886
  */
884
- keys(): IterableIterator<string>;
887
+ keys(): URLSearchParamsIterator<string>;
885
888
  /**
886
889
  * Sets the value in the `URLSearchParams` object associated with `name` to `value`. If there are any pre-existing name-value pairs whose names are `name`,
887
890
  * set the first such pair's value to `value` and remove all others. If not,
@@ -931,8 +934,8 @@ declare module "url" {
931
934
  /**
932
935
  * Returns an ES6 `Iterator` over the values of each name-value pair.
933
936
  */
934
- values(): IterableIterator<string>;
935
- [Symbol.iterator](): IterableIterator<[string, string]>;
937
+ values(): URLSearchParamsIterator<string>;
938
+ [Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
936
939
  }
937
940
  import { URL as _URL, URLSearchParams as _URLSearchParams } from "url";
938
941
  global {
@@ -1720,7 +1720,7 @@ declare module "util" {
1720
1720
  * Each item of the iterator is a JavaScript `Array`. The first item of the array
1721
1721
  * is the `name`, the second item of the array is the `value`.
1722
1722
  */
1723
- entries(): IterableIterator<[name: string, value: string]>;
1723
+ entries(): NodeJS.Iterator<[name: string, value: string]>;
1724
1724
  /**
1725
1725
  * Returns the value of the first name-value pair whose name is `name`. If there
1726
1726
  * are no such pairs, `null` is returned.
@@ -1746,7 +1746,7 @@ declare module "util" {
1746
1746
  * // bar
1747
1747
  * ```
1748
1748
  */
1749
- keys(): IterableIterator<string>;
1749
+ keys(): NodeJS.Iterator<string>;
1750
1750
  /**
1751
1751
  * Sets the value in the `MIMEParams` object associated with `name` to `value`. If there are any pre-existing name-value pairs whose names are `name`,
1752
1752
  * set the first such pair's value to `value`.
@@ -1765,11 +1765,11 @@ declare module "util" {
1765
1765
  /**
1766
1766
  * Returns an iterator over the values of each name-value pair.
1767
1767
  */
1768
- values(): IterableIterator<string>;
1768
+ values(): NodeJS.Iterator<string>;
1769
1769
  /**
1770
1770
  * Returns an iterator over each of the name-value pairs in the parameters.
1771
1771
  */
1772
- [Symbol.iterator]: typeof MIMEParams.prototype.entries;
1772
+ [Symbol.iterator](): NodeJS.Iterator<[name: string, value: string]>;
1773
1773
  }
1774
1774
  }
1775
1775
  declare module "util/types" {
package/package.json CHANGED
@@ -93,7 +93,7 @@
93
93
  "publishConfig": {
94
94
  "access": "public"
95
95
  },
96
- "version": "3.0.121",
96
+ "version": "3.0.123",
97
97
  "jest": {
98
98
  "coverageProvider": "v8",
99
99
  "testMatch": [
@@ -1 +0,0 @@
1
- declare var global: typeof globalThis;
@@ -1 +0,0 @@
1
- declare var global: typeof globalThis;
@@ -1 +0,0 @@
1
- declare var global: typeof globalThis;