aws-delivlib 14.15.94 → 14.15.96

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 (20) 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/package-integrity/handler/validate.bundle.js +11 -11
  5. package/lib/publishing/github/node_modules/.yarn-integrity +1 -1
  6. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +1 -1
  7. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/async_hooks.d.ts +64 -0
  8. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.buffer.d.ts +2 -0
  9. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.d.ts +2 -2
  10. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +5 -15
  11. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs.d.ts +7 -7
  12. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.d.ts +140 -280
  13. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +20 -0
  14. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +2 -2
  15. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/querystring.d.ts +2 -3
  16. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/web.d.ts +3 -3
  17. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +1 -1
  18. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +2 -0
  19. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +13 -0
  20. package/package.json +6 -6
@@ -18,43 +18,11 @@ type _EventSource = typeof globalThis extends { onmessage: any } ? {} : import("
18
18
 
19
19
  // Conditional type definitions for webstorage interface, which conflicts with lib.dom otherwise.
20
20
  type _Storage = typeof globalThis extends { onabort: any } ? {} : {
21
- /**
22
- * Returns the number of key/value pairs.
23
- *
24
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/length)
25
- */
26
21
  readonly length: number;
27
- /**
28
- * Removes all key/value pairs, if there are any.
29
- *
30
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/clear)
31
- */
32
22
  clear(): void;
33
- /**
34
- * Returns the current value associated with the given key, or null if the given key does not exist.
35
- *
36
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/getItem)
37
- */
38
23
  getItem(key: string): string | null;
39
- /**
40
- * Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.
41
- *
42
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/key)
43
- */
44
24
  key(index: number): string | null;
45
- /**
46
- * Removes the key/value pair with the given key, if a key/value pair with the given key exists.
47
- *
48
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/removeItem)
49
- */
50
25
  removeItem(key: string): void;
51
- /**
52
- * Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.
53
- *
54
- * Throws a "QuotaExceededError" DOMException exception if the new value couldn't be set.
55
- *
56
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/setItem)
57
- */
58
26
  setItem(key: string, value: string): void;
59
27
  [key: string]: any;
60
28
  };
@@ -62,15 +30,8 @@ type _Storage = typeof globalThis extends { onabort: any } ? {} : {
62
30
  // #region DOMException
63
31
  type _DOMException = typeof globalThis extends { onmessage: any } ? {} : NodeDOMException;
64
32
  interface NodeDOMException extends Error {
65
- /**
66
- * @deprecated
67
- *
68
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
69
- */
70
33
  readonly code: number;
71
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message) */
72
34
  readonly message: string;
73
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name) */
74
35
  readonly name: string;
75
36
  readonly INDEX_SIZE_ERR: 1;
76
37
  readonly DOMSTRING_SIZE_ERR: 2;
@@ -130,263 +91,104 @@ interface NodeDOMExceptionConstructor {
130
91
  // #endregion DOMException
131
92
 
132
93
  declare global {
133
- // Declare "static" methods in Error
134
- interface ErrorConstructor {
135
- /** Create .stack property on a target object */
136
- captureStackTrace(targetObject: object, constructorOpt?: Function): void;
137
-
138
- /**
139
- * Optional override for formatting stack traces
140
- *
141
- * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
142
- */
143
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
144
-
145
- stackTraceLimit: number;
146
- }
147
-
148
- /*-----------------------------------------------*
149
- * *
150
- * GLOBAL *
151
- * *
152
- ------------------------------------------------*/
153
-
154
94
  var global: typeof globalThis;
155
95
 
156
96
  var process: NodeJS.Process;
157
97
  var console: Console;
158
98
 
159
- interface GCFunction {
160
- (options: {
161
- execution?: "sync";
162
- flavor?: "regular" | "last-resort";
163
- type?: "major-snapshot" | "major" | "minor";
164
- filename?: string;
165
- }): void;
166
- (options: {
167
- execution: "async";
168
- flavor?: "regular" | "last-resort";
169
- type?: "major-snapshot" | "major" | "minor";
170
- filename?: string;
171
- }): Promise<void>;
172
- (options?: boolean): void;
173
- }
174
-
175
- /**
176
- * Only available if `--expose-gc` is passed to the process.
177
- */
178
- var gc: undefined | GCFunction;
179
-
180
- // #region borrowed
181
- // from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
182
- /** A controller object that allows you to abort one or more DOM requests as and when desired. */
183
- interface AbortController {
99
+ interface ErrorConstructor {
184
100
  /**
185
- * Returns the AbortSignal object associated with this object.
101
+ * Creates a `.stack` property on `targetObject`, which when accessed returns
102
+ * a string representing the location in the code at which
103
+ * `Error.captureStackTrace()` was called.
104
+ *
105
+ * ```js
106
+ * const myObject = {};
107
+ * Error.captureStackTrace(myObject);
108
+ * myObject.stack; // Similar to `new Error().stack`
109
+ * ```
110
+ *
111
+ * The first line of the trace will be prefixed with
112
+ * `${myObject.name}: ${myObject.message}`.
113
+ *
114
+ * The optional `constructorOpt` argument accepts a function. If given, all frames
115
+ * above `constructorOpt`, including `constructorOpt`, will be omitted from the
116
+ * generated stack trace.
117
+ *
118
+ * The `constructorOpt` argument is useful for hiding implementation
119
+ * details of error generation from the user. For instance:
120
+ *
121
+ * ```js
122
+ * function a() {
123
+ * b();
124
+ * }
125
+ *
126
+ * function b() {
127
+ * c();
128
+ * }
129
+ *
130
+ * function c() {
131
+ * // Create an error without stack trace to avoid calculating the stack trace twice.
132
+ * const { stackTraceLimit } = Error;
133
+ * Error.stackTraceLimit = 0;
134
+ * const error = new Error();
135
+ * Error.stackTraceLimit = stackTraceLimit;
136
+ *
137
+ * // Capture the stack trace above function b
138
+ * Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
139
+ * throw error;
140
+ * }
141
+ *
142
+ * a();
143
+ * ```
186
144
  */
187
-
188
- readonly signal: AbortSignal;
145
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
189
146
  /**
190
- * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
147
+ * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
191
148
  */
192
- abort(reason?: any): void;
193
- }
194
-
195
- /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */
196
- interface AbortSignal extends EventTarget {
149
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
197
150
  /**
198
- * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
151
+ * The `Error.stackTraceLimit` property specifies the number of stack frames
152
+ * collected by a stack trace (whether generated by `new Error().stack` or
153
+ * `Error.captureStackTrace(obj)`).
154
+ *
155
+ * The default value is `10` but may be set to any valid JavaScript number. Changes
156
+ * will affect any stack trace captured _after_ the value has been changed.
157
+ *
158
+ * If set to a non-number value, or set to a negative number, stack traces will
159
+ * not capture any frames.
199
160
  */
200
- readonly aborted: boolean;
201
- readonly reason: any;
202
- onabort: null | ((this: AbortSignal, event: Event) => any);
203
- throwIfAborted(): void;
161
+ stackTraceLimit: number;
204
162
  }
205
163
 
206
- var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T
207
- : {
208
- prototype: AbortController;
209
- new(): AbortController;
210
- };
211
-
212
- var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T
213
- : {
214
- prototype: AbortSignal;
215
- new(): AbortSignal;
216
- abort(reason?: any): AbortSignal;
217
- timeout(milliseconds: number): AbortSignal;
218
- any(signals: AbortSignal[]): AbortSignal;
219
- };
220
- // #endregion borrowed
221
-
222
- // #region Storage
223
- /**
224
- * This Web Storage API interface provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items.
225
- *
226
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage)
227
- */
228
- interface Storage extends _Storage {}
229
-
230
- // Conditional on `onabort` rather than `onmessage`, in order to exclude lib.webworker
231
- var Storage: typeof globalThis extends { onabort: any; Storage: infer T } ? T
232
- : {
233
- prototype: Storage;
234
- new(): Storage;
235
- };
236
-
237
- /**
238
- * A browser-compatible implementation of [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). Data is stored
239
- * unencrypted in the file specified by the `--localstorage-file` CLI flag.
240
- * The maximum amount of data that can be stored is 10 MB.
241
- * Any modification of this data outside of the Web Storage API is not supported.
242
- * Enable this API with the `--experimental-webstorage` CLI flag.
243
- * `localStorage` data is not stored per user or per request when used in the context
244
- * of a server, it is shared across all users and requests.
245
- * @since v22.4.0
246
- */
247
- var localStorage: Storage;
248
-
249
- /**
250
- * A browser-compatible implementation of [`sessionStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage). Data is stored in
251
- * memory, with a storage quota of 10 MB. `sessionStorage` data persists only within
252
- * the currently running process, and is not shared between workers.
253
- * @since v22.4.0
254
- */
255
- var sessionStorage: Storage;
256
- // #endregion Storage
257
-
258
- /**
259
- * @since v17.0.0
260
- *
261
- * Creates a deep clone of an object.
262
- */
263
- function structuredClone<T>(
264
- value: T,
265
- transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> },
266
- ): T;
267
-
268
- // #region DOMException
269
- /**
270
- * @since v17.0.0
271
- * An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
272
- *
273
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)
274
- */
275
- interface DOMException extends _DOMException {}
276
-
277
164
  /**
278
- * @since v17.0.0
279
- *
280
- * The WHATWG `DOMException` class. See [DOMException](https://developer.mozilla.org/docs/Web/API/DOMException) for more details.
165
+ * Enable this API with the `--expose-gc` CLI flag.
281
166
  */
282
- var DOMException: typeof globalThis extends { onmessage: any; DOMException: infer T } ? T
283
- : NodeDOMExceptionConstructor;
284
- // #endregion DOMException
167
+ var gc: NodeJS.GCFunction | undefined;
285
168
 
286
- /*----------------------------------------------*
287
- * *
288
- * GLOBAL INTERFACES *
289
- * *
290
- *-----------------------------------------------*/
291
169
  namespace NodeJS {
292
170
  interface CallSite {
293
- /**
294
- * Value of "this"
295
- */
296
- getThis(): unknown;
297
-
298
- /**
299
- * Type of "this" as a string.
300
- * This is the name of the function stored in the constructor field of
301
- * "this", if available. Otherwise the object's [[Class]] internal
302
- * property.
303
- */
304
- getTypeName(): string | null;
305
-
306
- /**
307
- * Current function
308
- */
171
+ getColumnNumber(): number | null;
172
+ getEnclosingColumnNumber(): number | null;
173
+ getEnclosingLineNumber(): number | null;
174
+ getEvalOrigin(): string | undefined;
175
+ getFileName(): string | null;
309
176
  getFunction(): Function | undefined;
310
-
311
- /**
312
- * Name of the current function, typically its name property.
313
- * If a name property is not available an attempt will be made to try
314
- * to infer a name from the function's context.
315
- */
316
177
  getFunctionName(): string | null;
317
-
318
- /**
319
- * Name of the property [of "this" or one of its prototypes] that holds
320
- * the current function
321
- */
322
- getMethodName(): string | null;
323
-
324
- /**
325
- * Name of the script [if this function was defined in a script]
326
- */
327
- getFileName(): string | undefined;
328
-
329
- /**
330
- * Current line number [if this function was defined in a script]
331
- */
332
178
  getLineNumber(): number | null;
333
-
334
- /**
335
- * Current column number [if this function was defined in a script]
336
- */
337
- getColumnNumber(): number | null;
338
-
339
- /**
340
- * A call site object representing the location where eval was called
341
- * [if this function was created using a call to eval]
342
- */
343
- getEvalOrigin(): string | undefined;
344
-
345
- /**
346
- * Is this a toplevel invocation, that is, is "this" the global object?
347
- */
348
- isToplevel(): boolean;
349
-
350
- /**
351
- * Does this call take place in code defined by a call to eval?
352
- */
179
+ getMethodName(): string | null;
180
+ getPosition(): number;
181
+ getPromiseIndex(): number | null;
182
+ getScriptHash(): string;
183
+ getScriptNameOrSourceURL(): string | null;
184
+ getThis(): unknown;
185
+ getTypeName(): string | null;
186
+ isAsync(): boolean;
187
+ isConstructor(): boolean;
353
188
  isEval(): boolean;
354
-
355
- /**
356
- * Is this call in native V8 code?
357
- */
358
189
  isNative(): boolean;
359
-
360
- /**
361
- * Is this a constructor call?
362
- */
363
- isConstructor(): boolean;
364
-
365
- /**
366
- * is this an async call (i.e. await, Promise.all(), or Promise.any())?
367
- */
368
- isAsync(): boolean;
369
-
370
- /**
371
- * is this an async call to Promise.all()?
372
- */
373
190
  isPromiseAll(): boolean;
374
-
375
- /**
376
- * returns the index of the promise element that was followed in
377
- * Promise.all() or Promise.any() for async stack traces, or null
378
- * if the CallSite is not an async
379
- */
380
- getPromiseIndex(): number | null;
381
-
382
- getScriptNameOrSourceURL(): string;
383
- getScriptHash(): string;
384
-
385
- getEnclosingColumnNumber(): number;
386
- getEnclosingLineNumber(): number;
387
- getPosition(): number;
388
-
389
- toString(): string;
191
+ isToplevel(): boolean;
390
192
  }
391
193
 
392
194
  interface ErrnoException extends Error {
@@ -434,6 +236,19 @@ declare global {
434
236
  readonly [key: string]: T | undefined;
435
237
  }
436
238
 
239
+ interface GCFunction {
240
+ (minor?: boolean): void;
241
+ (options: NodeJS.GCOptions & { execution: "async" }): Promise<void>;
242
+ (options: NodeJS.GCOptions): void;
243
+ }
244
+
245
+ interface GCOptions {
246
+ execution?: "sync" | "async" | undefined;
247
+ flavor?: "regular" | "last-resort" | undefined;
248
+ type?: "major-snapshot" | "major" | "minor" | undefined;
249
+ filename?: string | undefined;
250
+ }
251
+
437
252
  /** An iterable iterator returned by the Node.js API. */
438
253
  // Default TReturn/TNext in v22 is `any`, for compatibility with the previously-used IterableIterator.
439
254
  // TODO: In next major @types/node version, change default TReturn to undefined.
@@ -449,6 +264,58 @@ declare global {
449
264
  }
450
265
  }
451
266
 
267
+ // Global DOM types
268
+
269
+ function structuredClone<T>(
270
+ value: T,
271
+ transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> },
272
+ ): T;
273
+
274
+ interface DOMException extends _DOMException {}
275
+ var DOMException: typeof globalThis extends { onmessage: any; DOMException: infer T } ? T
276
+ : NodeDOMExceptionConstructor;
277
+
278
+ // #region AbortController
279
+ interface AbortController {
280
+ readonly signal: AbortSignal;
281
+ abort(reason?: any): void;
282
+ }
283
+ var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T
284
+ : {
285
+ prototype: AbortController;
286
+ new(): AbortController;
287
+ };
288
+
289
+ interface AbortSignal extends EventTarget {
290
+ readonly aborted: boolean;
291
+ onabort: ((this: AbortSignal, ev: Event) => any) | null;
292
+ readonly reason: any;
293
+ throwIfAborted(): void;
294
+ }
295
+ var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T
296
+ : {
297
+ prototype: AbortSignal;
298
+ new(): AbortSignal;
299
+ abort(reason?: any): AbortSignal;
300
+ any(signals: AbortSignal[]): AbortSignal;
301
+ timeout(milliseconds: number): AbortSignal;
302
+ };
303
+ // #endregion AbortController
304
+
305
+ // #region Storage
306
+ interface Storage extends _Storage {}
307
+ // Conditional on `onabort` rather than `onmessage`, in order to exclude lib.webworker
308
+ var Storage: typeof globalThis extends { onabort: any; Storage: infer T } ? T
309
+ : {
310
+ prototype: Storage;
311
+ new(): Storage;
312
+ };
313
+
314
+ var localStorage: Storage;
315
+ var sessionStorage: Storage;
316
+ // #endregion Storage
317
+
318
+ // #region fetch
452
319
  interface RequestInit extends _RequestInit {}
453
320
 
454
321
  function fetch(
@@ -487,9 +354,6 @@ declare global {
487
354
  : typeof import("undici-types").Headers;
488
355
 
489
356
  interface MessageEvent extends _MessageEvent {}
490
- /**
491
- * @since v15.0.0
492
- */
493
357
  var MessageEvent: typeof globalThis extends {
494
358
  onmessage: any;
495
359
  MessageEvent: infer T;
@@ -501,11 +365,7 @@ declare global {
501
365
  : typeof import("undici-types").WebSocket;
502
366
 
503
367
  interface EventSource extends _EventSource {}
504
- /**
505
- * Only available through the [--experimental-eventsource](https://nodejs.org/api/cli.html#--experimental-eventsource) flag.
506
- *
507
- * @since v22.3.0
508
- */
509
368
  var EventSource: typeof globalThis extends { onmessage: any; EventSource: infer T } ? T
510
369
  : typeof import("undici-types").EventSource;
370
+ // #endregion fetch
511
371
  }
@@ -269,6 +269,13 @@ declare module "http" {
269
269
  * @default 30000
270
270
  */
271
271
  connectionsCheckingInterval?: number | undefined;
272
+ /**
273
+ * Sets the timeout value in milliseconds for receiving the complete HTTP headers from the client.
274
+ * See {@link Server.headersTimeout} for more information.
275
+ * @default 60000
276
+ * @since 18.0.0
277
+ */
278
+ headersTimeout?: number | undefined;
272
279
  /**
273
280
  * Optionally overrides all `socket`s' `readableHighWaterMark` and `writableHighWaterMark`.
274
281
  * This affects `highWaterMark` property of both `IncomingMessage` and `ServerResponse`.
@@ -296,6 +303,13 @@ declare module "http" {
296
303
  * @since v16.5.0
297
304
  */
298
305
  noDelay?: boolean | undefined;
306
+ /**
307
+ * If set to `true`, it forces the server to respond with a 400 (Bad Request) status code
308
+ * to any HTTP/1.1 request message that lacks a Host header (as mandated by the specification).
309
+ * @default true
310
+ * @since 20.0.0
311
+ */
312
+ requireHostHeader?: boolean | undefined;
299
313
  /**
300
314
  * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received,
301
315
  * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`.
@@ -314,6 +328,12 @@ declare module "http" {
314
328
  * If the header's value is an array, the items will be joined using `; `.
315
329
  */
316
330
  uniqueHeaders?: Array<string | string[]> | undefined;
331
+ /**
332
+ * If set to `true`, an error is thrown when writing to an HTTP response which does not have a body.
333
+ * @default false
334
+ * @since v18.17.0, v20.2.0
335
+ */
336
+ rejectNonStandardBodyWrites?: boolean | undefined;
317
337
  }
318
338
  type RequestListener<
319
339
  Request extends typeof IncomingMessage = typeof IncomingMessage,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.15.3",
3
+ "version": "22.15.9",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -220,6 +220,6 @@
220
220
  "undici-types": "~6.21.0"
221
221
  },
222
222
  "peerDependencies": {},
223
- "typesPublisherContentHash": "2aecc93ec4fa0fcbf62f8df1fe665ab3615d3005c7b01703781b7e8c26655911",
223
+ "typesPublisherContentHash": "6720be548d81d07c3915ff0ebadbd30c285033cb6e37cad29fb87a1a782ae142",
224
224
  "typeScriptVersion": "5.1"
225
225
  }
@@ -37,9 +37,8 @@ declare module "querystring" {
37
37
  | string
38
38
  | number
39
39
  | boolean
40
- | readonly string[]
41
- | readonly number[]
42
- | readonly boolean[]
40
+ | bigint
41
+ | ReadonlyArray<string | number | boolean | bigint>
43
42
  | null
44
43
  >
45
44
  {}
@@ -97,7 +97,7 @@ declare module "stream/web" {
97
97
  signal?: AbortSignal;
98
98
  }
99
99
  interface ReadableStreamGenericReader {
100
- readonly closed: Promise<undefined>;
100
+ readonly closed: Promise<void>;
101
101
  cancel(reason?: any): Promise<void>;
102
102
  }
103
103
  type ReadableStreamController<T> = ReadableStreamDefaultController<T>;
@@ -307,9 +307,9 @@ declare module "stream/web" {
307
307
  * sink.
308
308
  */
309
309
  interface WritableStreamDefaultWriter<W = any> {
310
- readonly closed: Promise<undefined>;
310
+ readonly closed: Promise<void>;
311
311
  readonly desiredSize: number | null;
312
- readonly ready: Promise<undefined>;
312
+ readonly ready: Promise<void>;
313
313
  abort(reason?: any): Promise<void>;
314
314
  close(): Promise<void>;
315
315
  releaseLock(): void;
@@ -647,7 +647,7 @@ declare module "tls" {
647
647
  * @param context An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc), or a TLS context object created
648
648
  * with {@link createSecureContext} itself.
649
649
  */
650
- addContext(hostname: string, context: SecureContextOptions): void;
650
+ addContext(hostname: string, context: SecureContextOptions | SecureContext): void;
651
651
  /**
652
652
  * Returns the session ticket keys.
653
653
  *
@@ -448,6 +448,8 @@ declare module "buffer" {
448
448
  */
449
449
  subarray(start?: number, end?: number): Buffer;
450
450
  }
451
+ type NonSharedBuffer = Buffer;
452
+ type AllowSharedBuffer = Buffer;
451
453
  }
452
454
  /** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
453
455
  var SlowBuffer: {
@@ -1466,6 +1466,18 @@ declare module "util" {
1466
1466
  | "reset"
1467
1467
  | "strikethrough"
1468
1468
  | "underline";
1469
+ export interface StyleTextOptions {
1470
+ /**
1471
+ * When true, `stream` is checked to see if it can handle colors.
1472
+ * @default true
1473
+ */
1474
+ validateStream?: boolean | undefined;
1475
+ /**
1476
+ * A stream that will be validated if it can be colored.
1477
+ * @default process.stdout
1478
+ */
1479
+ stream?: NodeJS.WritableStream | undefined;
1480
+ }
1469
1481
  /**
1470
1482
  * This function returns a formatted text considering the `format` passed
1471
1483
  * for printing in a terminal. It is aware of the terminal's capabilities
@@ -1518,6 +1530,7 @@ declare module "util" {
1518
1530
  | Modifiers
1519
1531
  | Array<ForegroundColors | BackgroundColors | Modifiers>,
1520
1532
  text: string,
1533
+ options?: StyleTextOptions,
1521
1534
  ): string;
1522
1535
  /**
1523
1536
  * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextDecoder` API.
package/package.json CHANGED
@@ -37,11 +37,11 @@
37
37
  "organization": false
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-sdk/client-cloudwatch": "^3.799.0",
41
- "@aws-sdk/client-codepipeline": "^3.799.0",
42
- "@aws-sdk/client-s3": "^3.802.0",
43
- "@aws-sdk/client-secrets-manager": "^3.799.0",
44
- "@aws-sdk/client-ssm": "^3.799.0",
40
+ "@aws-sdk/client-cloudwatch": "^3.803.0",
41
+ "@aws-sdk/client-codepipeline": "^3.803.0",
42
+ "@aws-sdk/client-s3": "^3.803.0",
43
+ "@aws-sdk/client-secrets-manager": "^3.803.0",
44
+ "@aws-sdk/client-ssm": "^3.803.0",
45
45
  "@stylistic/eslint-plugin": "^2",
46
46
  "@types/adm-zip": "^0.5.7",
47
47
  "@types/aws-lambda": "^8.10.149",
@@ -97,7 +97,7 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "version": "14.15.94",
100
+ "version": "14.15.96",
101
101
  "jest": {
102
102
  "coverageProvider": "v8",
103
103
  "testMatch": [