aws-delivlib 14.15.95 → 14.15.97

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 (23) 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 +80 -71
  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/cluster.d.ts +1 -1
  11. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/diagnostics_channel.d.ts +20 -1
  12. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +5 -15
  13. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs.d.ts +51 -7
  14. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.d.ts +140 -280
  15. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +22 -1
  16. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/net.d.ts +12 -6
  17. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +2 -2
  18. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/querystring.d.ts +2 -3
  19. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/web.d.ts +3 -3
  20. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +1 -1
  21. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +2 -0
  22. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +13 -0
  23. package/package.json +8 -8
@@ -52,7 +52,7 @@
52
52
  "@types/changelog-parser@^2.8.1": "https://registry.yarnpkg.com/@types/changelog-parser/-/changelog-parser-2.8.4.tgz#45d70417e742ac3bc6bef3786aa453e1f1d63ecc",
53
53
  "@types/jsonwebtoken@^9.0.0": "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-9.0.9.tgz#a4c3a446c0ebaaf467a58398382616f416345fb3",
54
54
  "@types/ms@*": "https://registry.yarnpkg.com/@types/ms/-/ms-2.1.0.tgz#052aa67a48eccc4309d7f0191b7e41434b90bb78",
55
- "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-22.15.3.tgz#b7fb9396a8ec5b5dfb1345d8ac2502060e9af68b",
55
+ "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-22.15.14.tgz#889fd356a04d003a6d5650ccc003ef4d712430d7",
56
56
  "@types/node@^14": "https://registry.yarnpkg.com/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b",
57
57
  "aggregate-error@^3.1.0": "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a",
58
58
  "before-after-hook@^2.2.0": "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c",
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 28 Apr 2025 06:43:21 GMT
11
+ * Last updated: Tue, 06 May 2025 18:02:39 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -533,6 +533,70 @@ declare module "async_hooks" {
533
533
  */
534
534
  enterWith(store: T): void;
535
535
  }
536
+ /**
537
+ * @since v17.2.0, v16.14.0
538
+ * @return A map of provider types to the corresponding numeric id.
539
+ * This map contains all the event types that might be emitted by the `async_hooks.init()` event.
540
+ */
541
+ namespace asyncWrapProviders {
542
+ const NONE: number;
543
+ const DIRHANDLE: number;
544
+ const DNSCHANNEL: number;
545
+ const ELDHISTOGRAM: number;
546
+ const FILEHANDLE: number;
547
+ const FILEHANDLECLOSEREQ: number;
548
+ const FIXEDSIZEBLOBCOPY: number;
549
+ const FSEVENTWRAP: number;
550
+ const FSREQCALLBACK: number;
551
+ const FSREQPROMISE: number;
552
+ const GETADDRINFOREQWRAP: number;
553
+ const GETNAMEINFOREQWRAP: number;
554
+ const HEAPSNAPSHOT: number;
555
+ const HTTP2SESSION: number;
556
+ const HTTP2STREAM: number;
557
+ const HTTP2PING: number;
558
+ const HTTP2SETTINGS: number;
559
+ const HTTPINCOMINGMESSAGE: number;
560
+ const HTTPCLIENTREQUEST: number;
561
+ const JSSTREAM: number;
562
+ const JSUDPWRAP: number;
563
+ const MESSAGEPORT: number;
564
+ const PIPECONNECTWRAP: number;
565
+ const PIPESERVERWRAP: number;
566
+ const PIPEWRAP: number;
567
+ const PROCESSWRAP: number;
568
+ const PROMISE: number;
569
+ const QUERYWRAP: number;
570
+ const SHUTDOWNWRAP: number;
571
+ const SIGNALWRAP: number;
572
+ const STATWATCHER: number;
573
+ const STREAMPIPE: number;
574
+ const TCPCONNECTWRAP: number;
575
+ const TCPSERVERWRAP: number;
576
+ const TCPWRAP: number;
577
+ const TTYWRAP: number;
578
+ const UDPSENDWRAP: number;
579
+ const UDPWRAP: number;
580
+ const SIGINTWATCHDOG: number;
581
+ const WORKER: number;
582
+ const WORKERHEAPSNAPSHOT: number;
583
+ const WRITEWRAP: number;
584
+ const ZLIB: number;
585
+ const CHECKPRIMEREQUEST: number;
586
+ const PBKDF2REQUEST: number;
587
+ const KEYPAIRGENREQUEST: number;
588
+ const KEYGENREQUEST: number;
589
+ const KEYEXPORTREQUEST: number;
590
+ const CIPHERREQUEST: number;
591
+ const DERIVEBITSREQUEST: number;
592
+ const HASHREQUEST: number;
593
+ const RANDOMBYTESREQUEST: number;
594
+ const RANDOMPRIMEREQUEST: number;
595
+ const SCRYPTREQUEST: number;
596
+ const SIGNREQUEST: number;
597
+ const TLSWRAP: number;
598
+ const VERIFYREQUEST: number;
599
+ }
536
600
  }
537
601
  declare module "node:async_hooks" {
538
602
  export * from "async_hooks";
@@ -451,6 +451,8 @@ declare module "buffer" {
451
451
  */
452
452
  subarray(start?: number, end?: number): Buffer<TArrayBuffer>;
453
453
  }
454
+ type NonSharedBuffer = Buffer<ArrayBuffer>;
455
+ type AllowSharedBuffer = Buffer<ArrayBufferLike>;
454
456
  }
455
457
  /** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
456
458
  var SlowBuffer: {
@@ -69,7 +69,7 @@ declare module "buffer" {
69
69
  * @param input The input to validate.
70
70
  */
71
71
  export function isAscii(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean;
72
- export const INSPECT_MAX_BYTES: number;
72
+ export let INSPECT_MAX_BYTES: number;
73
73
  export const kMaxLength: number;
74
74
  export const kStringMaxLength: number;
75
75
  export const constants: {
@@ -122,7 +122,7 @@ declare module "buffer" {
122
122
  * @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`.
123
123
  */
124
124
  export function resolveObjectURL(id: string): Blob | undefined;
125
- export { Buffer };
125
+ export { type AllowSharedBuffer, Buffer, type NonSharedBuffer };
126
126
  /**
127
127
  * @experimental
128
128
  */
@@ -266,7 +266,7 @@ declare module "cluster" {
266
266
  * @since v0.7.7
267
267
  * @return A reference to `worker`.
268
268
  */
269
- disconnect(): void;
269
+ disconnect(): this;
270
270
  /**
271
271
  * This function returns `true` if the worker is connected to its primary via its
272
272
  * IPC channel, `false` otherwise. A worker is connected to its primary after it
@@ -259,7 +259,7 @@ declare module "diagnostics_channel" {
259
259
  * @param store The store to unbind from the channel.
260
260
  * @return `true` if the store was found, `false` otherwise.
261
261
  */
262
- unbindStore(store: any): void;
262
+ unbindStore(store: AsyncLocalStorage<StoreType>): boolean;
263
263
  /**
264
264
  * Applies the given data to any AsyncLocalStorage instances bound to the channel
265
265
  * for the duration of the given function, then publishes to the channel within
@@ -547,6 +547,25 @@ declare module "diagnostics_channel" {
547
547
  thisArg?: any,
548
548
  ...args: Parameters<Fn>
549
549
  ): void;
550
+ /**
551
+ * `true` if any of the individual channels has a subscriber, `false` if not.
552
+ *
553
+ * This is a helper method available on a {@link TracingChannel} instance to check
554
+ * if any of the [TracingChannel Channels](https://nodejs.org/api/diagnostics_channel.html#tracingchannel-channels) have subscribers.
555
+ * A `true` is returned if any of them have at least one subscriber, a `false` is returned otherwise.
556
+ *
557
+ * ```js
558
+ * const diagnostics_channel = require('node:diagnostics_channel');
559
+ *
560
+ * const channels = diagnostics_channel.tracingChannel('my-channel');
561
+ *
562
+ * if (channels.hasSubscribers) {
563
+ * // Do something
564
+ * }
565
+ * ```
566
+ * @since v22.0.0, v20.13.0
567
+ */
568
+ readonly hasSubscribers: boolean;
550
569
  }
551
570
  }
552
571
  declare module "node:diagnostics_channel" {
@@ -277,36 +277,26 @@ declare module "fs/promises" {
277
277
  * data will be a string.
278
278
  */
279
279
  readFile(
280
- options?: {
281
- encoding?: null | undefined;
282
- flag?: OpenMode | undefined;
283
- } | null,
280
+ options?:
281
+ | ({ encoding?: null | undefined } & Abortable)
282
+ | null,
284
283
  ): Promise<Buffer>;
285
284
  /**
286
285
  * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
287
286
  * The `FileHandle` must have been opened for reading.
288
- * @param options An object that may contain an optional flag.
289
- * If a flag is not provided, it defaults to `'r'`.
290
287
  */
291
288
  readFile(
292
289
  options:
293
- | {
294
- encoding: BufferEncoding;
295
- flag?: OpenMode | undefined;
296
- }
290
+ | ({ encoding: BufferEncoding } & Abortable)
297
291
  | BufferEncoding,
298
292
  ): Promise<string>;
299
293
  /**
300
294
  * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
301
295
  * The `FileHandle` must have been opened for reading.
302
- * @param options An object that may contain an optional flag.
303
- * If a flag is not provided, it defaults to `'r'`.
304
296
  */
305
297
  readFile(
306
298
  options?:
307
- | (ObjectEncodingOptions & {
308
- flag?: OpenMode | undefined;
309
- })
299
+ | (ObjectEncodingOptions & Abortable)
310
300
  | BufferEncoding
311
301
  | null,
312
302
  ): Promise<string | Buffer>;
@@ -2319,6 +2319,20 @@ declare module "fs" {
2319
2319
  * @since v0.1.96
2320
2320
  */
2321
2321
  export function fsyncSync(fd: number): void;
2322
+ export interface WriteOptions {
2323
+ /**
2324
+ * @default 0
2325
+ */
2326
+ offset?: number | undefined;
2327
+ /**
2328
+ * @default `buffer.byteLength - offset`
2329
+ */
2330
+ length?: number | undefined;
2331
+ /**
2332
+ * @default null
2333
+ */
2334
+ position?: number | undefined | null;
2335
+ }
2322
2336
  /**
2323
2337
  * Write `buffer` to the file specified by `fd`.
2324
2338
  *
@@ -2387,6 +2401,20 @@ declare module "fs" {
2387
2401
  buffer: TBuffer,
2388
2402
  callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2389
2403
  ): void;
2404
+ /**
2405
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2406
+ * @param fd A file descriptor.
2407
+ * @param options An object with the following properties:
2408
+ * * `offset` The part of the buffer to be written. If not supplied, defaults to `0`.
2409
+ * * `length` The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2410
+ * * `position` The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2411
+ */
2412
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(
2413
+ fd: number,
2414
+ buffer: TBuffer,
2415
+ options: WriteOptions,
2416
+ callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2417
+ ): void;
2390
2418
  /**
2391
2419
  * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2392
2420
  * @param fd A file descriptor.
@@ -2441,6 +2469,22 @@ declare module "fs" {
2441
2469
  bytesWritten: number;
2442
2470
  buffer: TBuffer;
2443
2471
  }>;
2472
+ /**
2473
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2474
+ * @param fd A file descriptor.
2475
+ * @param options An object with the following properties:
2476
+ * * `offset` The part of the buffer to be written. If not supplied, defaults to `0`.
2477
+ * * `length` The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2478
+ * * `position` The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2479
+ */
2480
+ function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2481
+ fd: number,
2482
+ buffer?: TBuffer,
2483
+ options?: WriteOptions,
2484
+ ): Promise<{
2485
+ bytesWritten: number;
2486
+ buffer: TBuffer;
2487
+ }>;
2444
2488
  /**
2445
2489
  * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2446
2490
  * @param fd A file descriptor.
@@ -2684,7 +2728,7 @@ declare module "fs" {
2684
2728
  } & Abortable)
2685
2729
  | undefined
2686
2730
  | null,
2687
- callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void,
2731
+ callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
2688
2732
  ): void;
2689
2733
  /**
2690
2734
  * Asynchronously reads the entire contents of a file.
@@ -2719,7 +2763,7 @@ declare module "fs" {
2719
2763
  | BufferEncoding
2720
2764
  | undefined
2721
2765
  | null,
2722
- callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void,
2766
+ callback: (err: NodeJS.ErrnoException | null, data: string | NonSharedBuffer) => void,
2723
2767
  ): void;
2724
2768
  /**
2725
2769
  * Asynchronously reads the entire contents of a file.
@@ -2728,7 +2772,7 @@ declare module "fs" {
2728
2772
  */
2729
2773
  export function readFile(
2730
2774
  path: PathOrFileDescriptor,
2731
- callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void,
2775
+ callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
2732
2776
  ): void;
2733
2777
  export namespace readFile {
2734
2778
  /**
@@ -2744,7 +2788,7 @@ declare module "fs" {
2744
2788
  encoding?: null | undefined;
2745
2789
  flag?: string | undefined;
2746
2790
  } | null,
2747
- ): Promise<Buffer>;
2791
+ ): Promise<NonSharedBuffer>;
2748
2792
  /**
2749
2793
  * Asynchronously reads the entire contents of a file.
2750
2794
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
@@ -2778,7 +2822,7 @@ declare module "fs" {
2778
2822
  })
2779
2823
  | BufferEncoding
2780
2824
  | null,
2781
- ): Promise<string | Buffer>;
2825
+ ): Promise<string | NonSharedBuffer>;
2782
2826
  }
2783
2827
  /**
2784
2828
  * Returns the contents of the `path`.
@@ -2810,7 +2854,7 @@ declare module "fs" {
2810
2854
  encoding?: null | undefined;
2811
2855
  flag?: string | undefined;
2812
2856
  } | null,
2813
- ): Buffer;
2857
+ ): NonSharedBuffer;
2814
2858
  /**
2815
2859
  * Synchronously reads the entire contents of a file.
2816
2860
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
@@ -2842,7 +2886,7 @@ declare module "fs" {
2842
2886
  })
2843
2887
  | BufferEncoding
2844
2888
  | null,
2845
- ): string | Buffer;
2889
+ ): string | NonSharedBuffer;
2846
2890
  export type WriteFileOptions =
2847
2891
  | (
2848
2892
  & ObjectEncodingOptions