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
@@ -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.9.tgz#05a92409e7002356401df0b90267b296907937f7",
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: Mon, 05 May 2025 23:02:37 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
  */
@@ -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>;
@@ -2684,7 +2684,7 @@ declare module "fs" {
2684
2684
  } & Abortable)
2685
2685
  | undefined
2686
2686
  | null,
2687
- callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void,
2687
+ callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
2688
2688
  ): void;
2689
2689
  /**
2690
2690
  * Asynchronously reads the entire contents of a file.
@@ -2719,7 +2719,7 @@ declare module "fs" {
2719
2719
  | BufferEncoding
2720
2720
  | undefined
2721
2721
  | null,
2722
- callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void,
2722
+ callback: (err: NodeJS.ErrnoException | null, data: string | NonSharedBuffer) => void,
2723
2723
  ): void;
2724
2724
  /**
2725
2725
  * Asynchronously reads the entire contents of a file.
@@ -2728,7 +2728,7 @@ declare module "fs" {
2728
2728
  */
2729
2729
  export function readFile(
2730
2730
  path: PathOrFileDescriptor,
2731
- callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void,
2731
+ callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
2732
2732
  ): void;
2733
2733
  export namespace readFile {
2734
2734
  /**
@@ -2744,7 +2744,7 @@ declare module "fs" {
2744
2744
  encoding?: null | undefined;
2745
2745
  flag?: string | undefined;
2746
2746
  } | null,
2747
- ): Promise<Buffer>;
2747
+ ): Promise<NonSharedBuffer>;
2748
2748
  /**
2749
2749
  * Asynchronously reads the entire contents of a file.
2750
2750
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
@@ -2778,7 +2778,7 @@ declare module "fs" {
2778
2778
  })
2779
2779
  | BufferEncoding
2780
2780
  | null,
2781
- ): Promise<string | Buffer>;
2781
+ ): Promise<string | NonSharedBuffer>;
2782
2782
  }
2783
2783
  /**
2784
2784
  * Returns the contents of the `path`.
@@ -2810,7 +2810,7 @@ declare module "fs" {
2810
2810
  encoding?: null | undefined;
2811
2811
  flag?: string | undefined;
2812
2812
  } | null,
2813
- ): Buffer;
2813
+ ): NonSharedBuffer;
2814
2814
  /**
2815
2815
  * Synchronously reads the entire contents of a file.
2816
2816
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
@@ -2842,7 +2842,7 @@ declare module "fs" {
2842
2842
  })
2843
2843
  | BufferEncoding
2844
2844
  | null,
2845
- ): string | Buffer;
2845
+ ): string | NonSharedBuffer;
2846
2846
  export type WriteFileOptions =
2847
2847
  | (
2848
2848
  & ObjectEncodingOptions