cdk-ecr-deployment 2.5.1 → 2.5.4

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 (67) hide show
  1. package/.gitattributes +0 -1
  2. package/.jsii +2 -2
  3. package/changelog.md +1 -8
  4. package/lambda/Dockerfile +10 -3
  5. package/lambda/go.mod +2 -1
  6. package/lambda/go.sum +6 -4
  7. package/lib/index.js +3 -3
  8. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +3 -3
  9. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +1 -1
  10. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +93 -3
  11. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +42 -11
  12. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +19 -1
  13. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +31 -3
  14. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +48 -14
  15. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +12 -2
  16. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +1 -0
  17. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -1
  18. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +12 -0
  19. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +8 -8
  20. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
  21. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +2 -1
  22. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +13 -0
  23. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +3 -3
  24. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +1 -1
  25. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +31 -1
  26. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +1 -1
  27. package/node_modules/@types/keyv/node_modules/@types/node/README.md +3 -3
  28. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +1 -1
  29. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +93 -3
  30. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +42 -11
  31. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +19 -1
  32. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +31 -3
  33. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +48 -14
  34. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +12 -2
  35. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +1 -0
  36. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -1
  37. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +12 -0
  38. package/node_modules/@types/keyv/node_modules/@types/node/package.json +8 -8
  39. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
  40. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +2 -1
  41. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +13 -0
  42. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +3 -3
  43. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +1 -1
  44. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +31 -1
  45. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +1 -1
  46. package/node_modules/@types/responselike/node_modules/@types/node/README.md +3 -3
  47. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +1 -1
  48. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +93 -3
  49. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +42 -11
  50. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +19 -1
  51. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +31 -3
  52. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +48 -14
  53. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +12 -2
  54. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +1 -0
  55. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -1
  56. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +12 -0
  57. package/node_modules/@types/responselike/node_modules/@types/node/package.json +8 -8
  58. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
  59. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +2 -1
  60. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +13 -0
  61. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +3 -3
  62. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +1 -1
  63. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +31 -1
  64. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +1 -1
  65. package/package.json +9 -6
  66. package/releasetag.txt +1 -1
  67. package/version.txt +1 -1
@@ -50,7 +50,7 @@ declare module 'events' {
50
50
  listener: (...args: any[]) => void,
51
51
  opts?: {
52
52
  once: boolean;
53
- }
53
+ },
54
54
  ): any;
55
55
  }
56
56
  interface StaticEventEmitterOptions {
@@ -154,7 +154,11 @@ declare module 'events' {
154
154
  * ```
155
155
  * @since v11.13.0, v10.16.0
156
156
  */
157
- static once(emitter: NodeEventTarget, eventName: string | symbol, options?: StaticEventEmitterOptions): Promise<any[]>;
157
+ static once(
158
+ emitter: NodeEventTarget,
159
+ eventName: string | symbol,
160
+ options?: StaticEventEmitterOptions,
161
+ ): Promise<any[]>;
158
162
  static once(emitter: DOMEventTarget, eventName: string, options?: StaticEventEmitterOptions): Promise<any[]>;
159
163
  /**
160
164
  * ```js
@@ -214,7 +218,11 @@ declare module 'events' {
214
218
  * @param eventName The name of the event being listened for
215
219
  * @return that iterates `eventName` events emitted by the `emitter`
216
220
  */
217
- static on(emitter: NodeJS.EventEmitter, eventName: string, options?: StaticEventEmitterOptions): AsyncIterableIterator<any>;
221
+ static on(
222
+ emitter: NodeJS.EventEmitter,
223
+ eventName: string,
224
+ options?: StaticEventEmitterOptions,
225
+ ): AsyncIterableIterator<any>;
218
226
  /**
219
227
  * A class method that returns the number of listeners for the given `eventName`registered on the given `emitter`.
220
228
  *
@@ -260,6 +268,26 @@ declare module 'events' {
260
268
  * @since v15.2.0, v14.17.0
261
269
  */
262
270
  static getEventListeners(emitter: DOMEventTarget | NodeJS.EventEmitter, name: string | symbol): Function[];
271
+ /**
272
+ * By default `EventEmitter`s will print a warning if more than `10` listeners are
273
+ * added for a particular event. This is a useful default that helps finding
274
+ * memory leaks. The `EventEmitter.setMaxListeners()` method allows the default limit to be
275
+ * modified (if eventTargets is empty) or modify the limit specified in every `EventTarget` | `EventEmitter` passed as arguments.
276
+ * The value can be set to`Infinity` (or `0`) to indicate an unlimited number of listeners.
277
+ *
278
+ * ```js
279
+ * EventEmitter.setMaxListeners(20);
280
+ * // Equivalent to
281
+ * EventEmitter.defaultMaxListeners = 20;
282
+ *
283
+ * const eventTarget = new EventTarget();
284
+ * // Only way to increase limit for `EventTarget` instances
285
+ * // as these doesn't expose its own `setMaxListeners` method
286
+ * EventEmitter.setMaxListeners(20, eventTarget);
287
+ * ```
288
+ * @since v15.3.0, v14.17.0
289
+ */
290
+ static setMaxListeners(n?: number, ...eventTargets: Array<DOMEventTarget | NodeJS.EventEmitter>): void;
263
291
  /**
264
292
  * This symbol shall be used to install a listener for only monitoring `'error'`
265
293
  * events. Listeners installed using this symbol are called before the regular
@@ -2233,6 +2233,23 @@ declare module 'fs' {
2233
2233
  */
2234
2234
  export function writeSync(fd: number, string: string, position?: number | null, encoding?: BufferEncoding | null): number;
2235
2235
  export type ReadPosition = number | bigint;
2236
+ export interface ReadSyncOptions {
2237
+ /**
2238
+ * @default 0
2239
+ */
2240
+ offset?: number | undefined;
2241
+ /**
2242
+ * @default `length of buffer`
2243
+ */
2244
+ length?: number | undefined;
2245
+ /**
2246
+ * @default null
2247
+ */
2248
+ position?: ReadPosition | null | undefined;
2249
+ }
2250
+ export interface ReadAsyncOptions<TBuffer extends NodeJS.ArrayBufferView> extends ReadSyncOptions {
2251
+ buffer?: TBuffer;
2252
+ }
2236
2253
  /**
2237
2254
  * Read data from the file specified by `fd`.
2238
2255
  *
@@ -2258,6 +2275,24 @@ declare module 'fs' {
2258
2275
  position: ReadPosition | null,
2259
2276
  callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void
2260
2277
  ): void;
2278
+ /**
2279
+ * Similar to the above `fs.read` function, this version takes an optional `options` object.
2280
+ * If not otherwise specified in an `options` object,
2281
+ * `buffer` defaults to `Buffer.alloc(16384)`,
2282
+ * `offset` defaults to `0`,
2283
+ * `length` defaults to `buffer.byteLength`, `- offset` as of Node 17.6.0
2284
+ * `position` defaults to `null`
2285
+ * @since v12.17.0, 13.11.0
2286
+ */
2287
+ export function read<TBuffer extends NodeJS.ArrayBufferView>(
2288
+ fd: number,
2289
+ options: ReadAsyncOptions<TBuffer>,
2290
+ callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void
2291
+ ): void;
2292
+ export function read(
2293
+ fd: number,
2294
+ callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NodeJS.ArrayBufferView) => void
2295
+ ): void;
2261
2296
  export namespace read {
2262
2297
  /**
2263
2298
  * @param fd A file descriptor.
@@ -2276,20 +2311,19 @@ declare module 'fs' {
2276
2311
  bytesRead: number;
2277
2312
  buffer: TBuffer;
2278
2313
  }>;
2279
- }
2280
- export interface ReadSyncOptions {
2281
- /**
2282
- * @default 0
2283
- */
2284
- offset?: number | undefined;
2285
- /**
2286
- * @default `length of buffer`
2287
- */
2288
- length?: number | undefined;
2289
- /**
2290
- * @default null
2291
- */
2292
- position?: ReadPosition | null | undefined;
2314
+ function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2315
+ fd: number,
2316
+ options: ReadAsyncOptions<TBuffer>
2317
+ ): Promise<{
2318
+ bytesRead: number;
2319
+ buffer: TBuffer;
2320
+ }>;
2321
+ function __promisify__(
2322
+ fd: number
2323
+ ): Promise<{
2324
+ bytesRead: number;
2325
+ buffer: NodeJS.ArrayBufferView;
2326
+ }>;
2293
2327
  }
2294
2328
  /**
2295
2329
  * Returns the number of `bytesRead`.
@@ -100,6 +100,16 @@ interface BigInt64Array extends RelativeIndexable<bigint> {}
100
100
  interface BigUint64Array extends RelativeIndexable<bigint> {}
101
101
  //#endregion ArrayLike.at() end
102
102
 
103
+ /**
104
+ * @since v17.0.0
105
+ *
106
+ * Creates a deep clone of an object.
107
+ */
108
+ declare function structuredClone<T>(
109
+ value: T,
110
+ transfer?: { transfer: ReadonlyArray<import('worker_threads').TransferListItem> },
111
+ ): T;
112
+
103
113
  /*----------------------------------------------*
104
114
  * *
105
115
  * GLOBAL INTERFACES *
@@ -262,11 +272,11 @@ declare namespace NodeJS {
262
272
  id: string;
263
273
  filename: string;
264
274
  loaded: boolean;
265
- /** @deprecated since 14.6.0 Please use `require.main` and `module.children` instead. */
275
+ /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */
266
276
  parent: Module | null | undefined;
267
277
  children: Module[];
268
278
  /**
269
- * @since 11.14.0
279
+ * @since v11.14.0
270
280
  *
271
281
  * The directory name of the module. This is usually the same as the path.dirname() of the module.id.
272
282
  */
@@ -580,6 +580,7 @@ declare module 'http2' {
580
580
  parent?: number | undefined;
581
581
  weight?: number | undefined;
582
582
  waitForTrailers?: boolean | undefined;
583
+ signal?: AbortSignal | undefined;
583
584
  }
584
585
  export interface SessionState {
585
586
  effectiveLocalWindowSize?: number | undefined;
@@ -21,7 +21,6 @@
21
21
  // Nikita Galkin <https://github.com/galkin>
22
22
  // Parambir Singh <https://github.com/parambirs>
23
23
  // Sebastian Silbermann <https://github.com/eps1lon>
24
- // Seth Westphal <https://github.com/westy92>
25
24
  // Simon Schick <https://github.com/SimonSchick>
26
25
  // Thomas den Hollander <https://github.com/ThomasdenH>
27
26
  // Wilco Bakker <https://github.com/WilcoBakker>
@@ -41,6 +40,7 @@
41
40
  // NodeJS Contributors <https://github.com/NodeJS>
42
41
  // Linus Unnebäck <https://github.com/LinusU>
43
42
  // wafuwafu13 <https://github.com/wafuwafu13>
43
+ // Matteo Collina <https://github.com/mcollina>
44
44
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
45
45
 
46
46
  /**
@@ -59,6 +59,7 @@ declare module 'net' {
59
59
  path: string;
60
60
  }
61
61
  type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
62
+ type SocketReadyState = 'opening' | 'open' | 'readOnly' | 'writeOnly' | 'closed';
62
63
  /**
63
64
  * This class is an abstraction of a TCP socket or a streaming `IPC` endpoint
64
65
  * (uses named pipes on Windows, and Unix domain sockets otherwise). It is also
@@ -262,6 +263,12 @@ declare module 'net' {
262
263
  * @since v0.9.6
263
264
  */
264
265
  readonly localPort?: number;
266
+ /**
267
+ * This property represents the state of the connection as a string.
268
+ * @see {https://nodejs.org/api/net.html#socketreadystate}
269
+ * @since v0.5.0
270
+ */
271
+ readonly readyState: SocketReadyState;
265
272
  /**
266
273
  * The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
267
274
  * the socket is destroyed (for example, if the client disconnected).
@@ -278,6 +285,11 @@ declare module 'net' {
278
285
  * @since v0.5.10
279
286
  */
280
287
  readonly remotePort?: number | undefined;
288
+ /**
289
+ * The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
290
+ * @since v10.7.0
291
+ */
292
+ readonly timeout?: number | undefined;
281
293
  /**
282
294
  * Half-closes the socket. i.e., it sends a FIN packet. It is possible the
283
295
  * server will still send some data.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.10",
3
+ "version": "17.0.35",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -110,11 +110,6 @@
110
110
  "url": "https://github.com/eps1lon",
111
111
  "githubUsername": "eps1lon"
112
112
  },
113
- {
114
- "name": "Seth Westphal",
115
- "url": "https://github.com/westy92",
116
- "githubUsername": "westy92"
117
- },
118
113
  {
119
114
  "name": "Simon Schick",
120
115
  "url": "https://github.com/SimonSchick",
@@ -209,6 +204,11 @@
209
204
  "name": "wafuwafu13",
210
205
  "url": "https://github.com/wafuwafu13",
211
206
  "githubUsername": "wafuwafu13"
207
+ },
208
+ {
209
+ "name": "Matteo Collina",
210
+ "url": "https://github.com/mcollina",
211
+ "githubUsername": "mcollina"
212
212
  }
213
213
  ],
214
214
  "main": "",
@@ -220,6 +220,6 @@
220
220
  },
221
221
  "scripts": {},
222
222
  "dependencies": {},
223
- "typesPublisherContentHash": "a2e243404f102a5fd5fbcaefab0a775ffcb1db4d09832612decbd69815f1890b",
224
- "typeScriptVersion": "3.8"
223
+ "typesPublisherContentHash": "6238ccaa7b50cbe1d37bc66eabdea21a4bfb4a7fd6bd780350e84241e2810a00",
224
+ "typeScriptVersion": "3.9"
225
225
  }
@@ -1405,7 +1405,7 @@ declare module 'process' {
1405
1405
  emit(event: 'unhandledRejection', reason: unknown, promise: Promise<unknown>): boolean;
1406
1406
  emit(event: 'warning', warning: Error): boolean;
1407
1407
  emit(event: 'message', message: unknown, sendHandle: unknown): this;
1408
- emit(event: Signals, signal: Signals): boolean;
1408
+ emit(event: Signals, signal?: Signals): boolean;
1409
1409
  emit(event: 'multipleResolves', type: MultipleResolveType, promise: Promise<unknown>, value: unknown): this;
1410
1410
  emit(event: 'worker', listener: WorkerListener): this;
1411
1411
  on(event: 'beforeExit', listener: BeforeExitListener): this;
@@ -139,7 +139,8 @@ declare module 'stream/web' {
139
139
  pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
140
140
  pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
141
141
  tee(): [ReadableStream<R>, ReadableStream<R>];
142
- [Symbol.asyncIterator](options?: { preventCancel?: boolean }): AsyncIterableIterator<R>;
142
+ values(options?: { preventCancel?: boolean }): AsyncIterableIterator<R>;
143
+ [Symbol.asyncIterator](): AsyncIterableIterator<R>;
143
144
  }
144
145
  const ReadableStream: {
145
146
  prototype: ReadableStream;
@@ -1238,6 +1238,19 @@ declare module 'stream' {
1238
1238
  ref(): void;
1239
1239
  unref(): void;
1240
1240
  }
1241
+
1242
+ /**
1243
+ * Returns whether the stream has encountered an error.
1244
+ * @since v17.3.0
1245
+ */
1246
+ function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean;
1247
+
1248
+ /**
1249
+ * Returns whether the stream is readable.
1250
+ * @since v17.4.0
1251
+ */
1252
+ function isReadable(stream: Readable | NodeJS.ReadableStream): boolean;
1253
+
1241
1254
  const promises: typeof streamPromises;
1242
1255
  const consumers: typeof streamConsumers;
1243
1256
  }
@@ -69,7 +69,7 @@ declare module 'timers' {
69
69
  namespace setTimeout {
70
70
  const __promisify__: typeof setTimeoutPromise;
71
71
  }
72
- function clearTimeout(timeoutId: NodeJS.Timeout): void;
72
+ function clearTimeout(timeoutId: NodeJS.Timeout | undefined): void;
73
73
  function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timer;
74
74
  // util.promisify no rest args compability
75
75
  // tslint:disable-next-line void-return
@@ -77,7 +77,7 @@ declare module 'timers' {
77
77
  namespace setInterval {
78
78
  const __promisify__: typeof setIntervalPromise;
79
79
  }
80
- function clearInterval(intervalId: NodeJS.Timeout): void;
80
+ function clearInterval(intervalId: NodeJS.Timeout | undefined): void;
81
81
  function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): NodeJS.Immediate;
82
82
  // util.promisify no rest args compability
83
83
  // tslint:disable-next-line void-return
@@ -85,7 +85,7 @@ declare module 'timers' {
85
85
  namespace setImmediate {
86
86
  const __promisify__: typeof setImmediatePromise;
87
87
  }
88
- function clearImmediate(immediateId: NodeJS.Immediate): void;
88
+ function clearImmediate(immediateId: NodeJS.Immediate | undefined): void;
89
89
  function queueMicrotask(callback: () => void): void;
90
90
  }
91
91
  }
@@ -723,7 +723,7 @@ declare module 'tls' {
723
723
  * object.passphrase is optional. Encrypted keys will be decrypted with
724
724
  * object.passphrase if provided, or options.passphrase if it is not.
725
725
  */
726
- key?: string | Buffer | Array<Buffer | KeyObject> | undefined;
726
+ key?: string | Buffer | Array<string | Buffer | KeyObject> | undefined;
727
727
  /**
728
728
  * Name of an OpenSSL engine to get private key from. Should be used
729
729
  * together with privateKeyIdentifier.
@@ -778,7 +778,7 @@ declare module 'url' {
778
778
  * @param fn Invoked for each name-value pair in the query
779
779
  * @param thisArg To be used as `this` value for when `fn` is called
780
780
  */
781
- forEach<TThis = this>(callback: (this: TThis, value: string, name: string, searchParams: this) => void, thisArg?: TThis): void;
781
+ forEach<TThis = this>(callback: (this: TThis, value: string, name: string, searchParams: URLSearchParams) => void, thisArg?: TThis): void;
782
782
  /**
783
783
  * Returns the value of the first name-value pair whose name is `name`. If there
784
784
  * are no such pairs, `null` is returned.
@@ -855,6 +855,36 @@ declare module 'url' {
855
855
  values(): IterableIterator<string>;
856
856
  [Symbol.iterator](): IterableIterator<[string, string]>;
857
857
  }
858
+
859
+ import { URL as _URL, URLSearchParams as _URLSearchParams } from 'url';
860
+ global {
861
+ interface URLSearchParams extends _URLSearchParams {}
862
+ interface URL extends _URL {}
863
+ interface Global {
864
+ URL: typeof _URL;
865
+ URLSearchParams: typeof _URLSearchParams;
866
+ }
867
+ /**
868
+ * `URL` class is a global reference for `require('url').URL`
869
+ * https://nodejs.org/api/url.html#the-whatwg-url-api
870
+ * @since v10.0.0
871
+ */
872
+ var URL:
873
+ // For compatibility with "dom" and "webworker" URL declarations
874
+ typeof globalThis extends { onmessage: any, URL: infer URL }
875
+ ? URL
876
+ : typeof _URL;
877
+ /**
878
+ * `URLSearchParams` class is a global reference for `require('url').URLSearchParams`
879
+ * https://nodejs.org/api/url.html#class-urlsearchparams
880
+ * @since v10.0.0
881
+ */
882
+ var URLSearchParams:
883
+ // For compatibility with "dom" and "webworker" URLSearchParams declarations
884
+ typeof globalThis extends { onmessage: any, URLSearchParams: infer URLSearchParams }
885
+ ? URLSearchParams
886
+ : typeof _URLSearchParams;
887
+ }
858
888
  }
859
889
  declare module 'node:url' {
860
890
  export * from 'url';
@@ -317,7 +317,7 @@ declare module 'util' {
317
317
  * @return The representation of `object`.
318
318
  */
319
319
  export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
320
- export function inspect(object: any, options: InspectOptions): string;
320
+ export function inspect(object: any, options?: InspectOptions): string;
321
321
  export namespace inspect {
322
322
  let colors: NodeJS.Dict<[number, number]>;
323
323
  let styles: {
package/package.json CHANGED
@@ -13,12 +13,14 @@
13
13
  "compile": "npx projen compile",
14
14
  "default": "npx projen default",
15
15
  "docgen": "npx projen docgen",
16
+ "eject": "npx projen eject",
16
17
  "eslint": "npx projen eslint",
17
18
  "package": "npx projen package",
18
19
  "package-all": "npx projen package-all",
19
20
  "package:js": "npx projen package:js",
20
21
  "package:python": "npx projen package:python",
21
22
  "post-compile": "npx projen post-compile",
23
+ "post-upgrade": "npx projen post-upgrade",
22
24
  "pre-compile": "npx projen pre-compile",
23
25
  "release": "npx projen release",
24
26
  "release:v1-main": "npx projen release:v1-main",
@@ -27,7 +29,6 @@
27
29
  "test:watch": "npx projen test:watch",
28
30
  "unbump": "npx projen unbump",
29
31
  "upgrade": "npx projen upgrade",
30
- "upgrade-projen": "npx projen upgrade-projen",
31
32
  "watch": "npx projen watch",
32
33
  "projen": "npx projen"
33
34
  },
@@ -37,23 +38,24 @@
37
38
  },
38
39
  "devDependencies": {
39
40
  "@types/jest": "^27.4.0",
40
- "@types/node": "^12",
41
+ "@types/node": "^14",
41
42
  "@typescript-eslint/eslint-plugin": "^5",
42
43
  "@typescript-eslint/parser": "^5",
43
44
  "eslint": "^8",
44
45
  "eslint-import-resolver-node": "^0.3.6",
45
46
  "eslint-import-resolver-typescript": "^2.5.0",
46
47
  "eslint-plugin-import": "^2.25.4",
47
- "jest": "^27.4.7",
48
+ "jest": "^27",
48
49
  "jest-junit": "^13",
49
50
  "jsii": "^1.52.1",
50
51
  "jsii-diff": "^1.52.1",
51
52
  "jsii-docgen": "^1.8.110",
53
+ "jsii-pacmak": "^1.59.0",
52
54
  "json-schema": "^0.4.0",
53
55
  "npm-check-updates": "^12",
54
- "projen": "^0.50.18",
56
+ "projen": "^0.56.36",
55
57
  "standard-version": "^9",
56
- "ts-jest": "^27.1.3",
58
+ "ts-jest": "^27",
57
59
  "typescript": "^4.5.5"
58
60
  },
59
61
  "peerDependencies": {
@@ -75,7 +77,7 @@
75
77
  ],
76
78
  "main": "lib/index.js",
77
79
  "license": "Apache-2.0",
78
- "version": "2.5.1",
80
+ "version": "2.5.4",
79
81
  "jest": {
80
82
  "testMatch": [
81
83
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
@@ -87,6 +89,7 @@
87
89
  "json",
88
90
  "lcov",
89
91
  "clover",
92
+ "cobertura",
90
93
  "text"
91
94
  ],
92
95
  "coverageDirectory": "coverage",
package/releasetag.txt CHANGED
@@ -1 +1 @@
1
- v2.5.1
1
+ v2.5.4
package/version.txt CHANGED
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.5.4