aws-delivlib 14.15.85 → 14.15.86

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/package-integrity/handler/validate.bundle.js +14 -14
  2. package/lib/publishing/github/node_modules/.yarn-integrity +1 -1
  3. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +1 -1
  4. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert.d.ts +7 -48
  5. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/async_hooks.d.ts +0 -2
  6. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/crypto.d.ts +8 -9
  7. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +3 -9
  8. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http2.d.ts +3 -4
  9. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.d.ts +36 -0
  10. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/module.d.ts +25 -0
  11. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +2 -2
  12. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/process.d.ts +22 -0
  13. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline.d.ts +6 -1
  14. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/sqlite.d.ts +36 -13
  15. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/test.d.ts +54 -6
  16. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +25 -0
  17. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +207 -88
  18. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/v8.d.ts +81 -0
  19. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib.d.ts +167 -36
  20. package/package.json +6 -6
@@ -113,6 +113,87 @@ declare module "v8" {
113
113
  * @since v1.0.0
114
114
  */
115
115
  function getHeapStatistics(): HeapInfo;
116
+ /**
117
+ * It returns an object with a structure similar to the
118
+ * [`cppgc::HeapStatistics`](https://v8docs.nodesource.com/node-22.4/d7/d51/heap-statistics_8h_source.html)
119
+ * object. See the [V8 documentation](https://v8docs.nodesource.com/node-22.4/df/d2f/structcppgc_1_1_heap_statistics.html)
120
+ * for more information about the properties of the object.
121
+ *
122
+ * ```js
123
+ * // Detailed
124
+ * ({
125
+ * committed_size_bytes: 131072,
126
+ * resident_size_bytes: 131072,
127
+ * used_size_bytes: 152,
128
+ * space_statistics: [
129
+ * {
130
+ * name: 'NormalPageSpace0',
131
+ * committed_size_bytes: 0,
132
+ * resident_size_bytes: 0,
133
+ * used_size_bytes: 0,
134
+ * page_stats: [{}],
135
+ * free_list_stats: {},
136
+ * },
137
+ * {
138
+ * name: 'NormalPageSpace1',
139
+ * committed_size_bytes: 131072,
140
+ * resident_size_bytes: 131072,
141
+ * used_size_bytes: 152,
142
+ * page_stats: [{}],
143
+ * free_list_stats: {},
144
+ * },
145
+ * {
146
+ * name: 'NormalPageSpace2',
147
+ * committed_size_bytes: 0,
148
+ * resident_size_bytes: 0,
149
+ * used_size_bytes: 0,
150
+ * page_stats: [{}],
151
+ * free_list_stats: {},
152
+ * },
153
+ * {
154
+ * name: 'NormalPageSpace3',
155
+ * committed_size_bytes: 0,
156
+ * resident_size_bytes: 0,
157
+ * used_size_bytes: 0,
158
+ * page_stats: [{}],
159
+ * free_list_stats: {},
160
+ * },
161
+ * {
162
+ * name: 'LargePageSpace',
163
+ * committed_size_bytes: 0,
164
+ * resident_size_bytes: 0,
165
+ * used_size_bytes: 0,
166
+ * page_stats: [{}],
167
+ * free_list_stats: {},
168
+ * },
169
+ * ],
170
+ * type_names: [],
171
+ * detail_level: 'detailed',
172
+ * });
173
+ * ```
174
+ *
175
+ * ```js
176
+ * // Brief
177
+ * ({
178
+ * committed_size_bytes: 131072,
179
+ * resident_size_bytes: 131072,
180
+ * used_size_bytes: 128864,
181
+ * space_statistics: [],
182
+ * type_names: [],
183
+ * detail_level: 'brief',
184
+ * });
185
+ * ```
186
+ * @since v22.15.0
187
+ * @param detailLevel **Default:** `'detailed'`. Specifies the level of detail in the returned statistics.
188
+ * Accepted values are:
189
+ * * `'brief'`: Brief statistics contain only the top-level
190
+ * allocated and used
191
+ * memory statistics for the entire heap.
192
+ * * `'detailed'`: Detailed statistics also contain a break
193
+ * down per space and page, as well as freelist statistics
194
+ * and object type histograms.
195
+ */
196
+ function getCppHeapStatistics(detailLevel?: "brief" | "detailed"): object;
116
197
  /**
117
198
  * Returns statistics about the V8 heap spaces, i.e. the segments which make up
118
199
  * the V8 heap. Neither the ordering of heap spaces, nor the availability of a
@@ -148,6 +148,31 @@ declare module "zlib" {
148
148
  */
149
149
  maxOutputLength?: number | undefined;
150
150
  }
151
+ interface ZstdOptions {
152
+ /**
153
+ * @default constants.ZSTD_e_continue
154
+ */
155
+ flush?: number | undefined;
156
+ /**
157
+ * @default constants.ZSTD_e_end
158
+ */
159
+ finishFlush?: number | undefined;
160
+ /**
161
+ * @default 16 * 1024
162
+ */
163
+ chunkSize?: number | undefined;
164
+ /**
165
+ * Key-value object containing indexed
166
+ * [Zstd parameters](https://nodejs.org/docs/latest-v22.x/api/zlib.html#zstd-constants).
167
+ */
168
+ params?: { [key: number]: number | boolean } | undefined;
169
+ /**
170
+ * Limits output size when using
171
+ * [convenience methods](https://nodejs.org/docs/latest-v22.x/api/zlib.html#convenience-methods).
172
+ * @default buffer.kMaxLength
173
+ */
174
+ maxOutputLength?: number | undefined;
175
+ }
151
176
  interface Zlib {
152
177
  /** @deprecated Use bytesWritten instead. */
153
178
  readonly bytesRead: number;
@@ -172,6 +197,16 @@ declare module "zlib" {
172
197
  interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
173
198
  interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
174
199
  interface Unzip extends stream.Transform, Zlib {}
200
+ /**
201
+ * @since v22.15.0
202
+ * @experimental
203
+ */
204
+ interface ZstdCompress extends stream.Transform, Zlib {}
205
+ /**
206
+ * @since v22.15.0
207
+ * @experimental
208
+ */
209
+ interface ZstdDecompress extends stream.Transform, Zlib {}
175
210
  /**
176
211
  * Computes a 32-bit [Cyclic Redundancy Check](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksum of `data`.
177
212
  * If `value` is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
@@ -233,6 +268,16 @@ declare module "zlib" {
233
268
  * @since v0.5.8
234
269
  */
235
270
  function createUnzip(options?: ZlibOptions): Unzip;
271
+ /**
272
+ * Creates and returns a new `ZstdCompress` object.
273
+ * @since v22.15.0
274
+ */
275
+ function createZstdCompress(options?: ZstdOptions): ZstdCompress;
276
+ /**
277
+ * Creates and returns a new `ZstdDecompress` object.
278
+ * @since v22.15.0
279
+ */
280
+ function createZstdDecompress(options?: ZstdOptions): ZstdDecompress;
236
281
  type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView;
237
282
  type CompressCallback = (error: Error | null, result: Buffer) => void;
238
283
  /**
@@ -352,6 +397,36 @@ declare module "zlib" {
352
397
  * @since v0.11.12
353
398
  */
354
399
  function unzipSync(buf: InputType, options?: ZlibOptions): Buffer;
400
+ /**
401
+ * @since v22.15.0
402
+ * @experimental
403
+ */
404
+ function zstdCompress(buf: InputType, callback: CompressCallback): void;
405
+ function zstdCompress(buf: InputType, options: ZstdOptions, callback: CompressCallback): void;
406
+ namespace zstdCompress {
407
+ function __promisify__(buffer: InputType, options?: ZstdOptions): Promise<Buffer>;
408
+ }
409
+ /**
410
+ * Compress a chunk of data with `ZstdCompress`.
411
+ * @since v22.15.0
412
+ * @experimental
413
+ */
414
+ function zstdCompressSync(buf: InputType, options?: ZstdOptions): Buffer;
415
+ /**
416
+ * @since v22.15.0
417
+ * @experimental
418
+ */
419
+ function zstdDecompress(buf: InputType, callback: CompressCallback): void;
420
+ function zstdDecompress(buf: InputType, options: ZstdOptions, callback: CompressCallback): void;
421
+ namespace zstdDecompress {
422
+ function __promisify__(buffer: InputType, options?: ZstdOptions): Promise<Buffer>;
423
+ }
424
+ /**
425
+ * Decompress a chunk of data with `ZstdDecompress`.
426
+ * @since v22.15.0
427
+ * @experimental
428
+ */
429
+ function zstdDecompressSync(buf: InputType, options?: ZstdOptions): Buffer;
355
430
  namespace constants {
356
431
  const BROTLI_DECODE: number;
357
432
  const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number;
@@ -423,50 +498,106 @@ declare module "zlib" {
423
498
  const INFLATE: number;
424
499
  const INFLATERAW: number;
425
500
  const UNZIP: number;
426
- // Allowed flush values.
427
- const Z_NO_FLUSH: number;
428
- const Z_PARTIAL_FLUSH: number;
429
- const Z_SYNC_FLUSH: number;
430
- const Z_FULL_FLUSH: number;
431
- const Z_FINISH: number;
501
+ const ZLIB_VERNUM: number;
502
+ const ZSTD_CLEVEL_DEFAULT: number;
503
+ const ZSTD_COMPRESS: number;
504
+ const ZSTD_DECOMPRESS: number;
505
+ const ZSTD_btlazy2: number;
506
+ const ZSTD_btopt: number;
507
+ const ZSTD_btultra: number;
508
+ const ZSTD_btultra2: number;
509
+ const ZSTD_c_chainLog: number;
510
+ const ZSTD_c_checksumFlag: number;
511
+ const ZSTD_c_compressionLevel: number;
512
+ const ZSTD_c_contentSizeFlag: number;
513
+ const ZSTD_c_dictIDFlag: number;
514
+ const ZSTD_c_enableLongDistanceMatching: number;
515
+ const ZSTD_c_hashLog: number;
516
+ const ZSTD_c_jobSize: number;
517
+ const ZSTD_c_ldmBucketSizeLog: number;
518
+ const ZSTD_c_ldmHashLog: number;
519
+ const ZSTD_c_ldmHashRateLog: number;
520
+ const ZSTD_c_ldmMinMatch: number;
521
+ const ZSTD_c_minMatch: number;
522
+ const ZSTD_c_nbWorkers: number;
523
+ const ZSTD_c_overlapLog: number;
524
+ const ZSTD_c_searchLog: number;
525
+ const ZSTD_c_strategy: number;
526
+ const ZSTD_c_targetLength: number;
527
+ const ZSTD_c_windowLog: number;
528
+ const ZSTD_d_windowLogMax: number;
529
+ const ZSTD_dfast: number;
530
+ const ZSTD_e_continue: number;
531
+ const ZSTD_e_end: number;
532
+ const ZSTD_e_flush: number;
533
+ const ZSTD_error_GENERIC: number;
534
+ const ZSTD_error_checksum_wrong: number;
535
+ const ZSTD_error_corruption_detected: number;
536
+ const ZSTD_error_dictionaryCreation_failed: number;
537
+ const ZSTD_error_dictionary_corrupted: number;
538
+ const ZSTD_error_dictionary_wrong: number;
539
+ const ZSTD_error_dstBuffer_null: number;
540
+ const ZSTD_error_dstSize_tooSmall: number;
541
+ const ZSTD_error_frameParameter_unsupported: number;
542
+ const ZSTD_error_frameParameter_windowTooLarge: number;
543
+ const ZSTD_error_init_missing: number;
544
+ const ZSTD_error_literals_headerWrong: number;
545
+ const ZSTD_error_maxSymbolValue_tooLarge: number;
546
+ const ZSTD_error_maxSymbolValue_tooSmall: number;
547
+ const ZSTD_error_memory_allocation: number;
548
+ const ZSTD_error_noForwardProgress_destFull: number;
549
+ const ZSTD_error_noForwardProgress_inputEmpty: number;
550
+ const ZSTD_error_no_error: number;
551
+ const ZSTD_error_parameter_combination_unsupported: number;
552
+ const ZSTD_error_parameter_outOfBound: number;
553
+ const ZSTD_error_parameter_unsupported: number;
554
+ const ZSTD_error_prefix_unknown: number;
555
+ const ZSTD_error_srcSize_wrong: number;
556
+ const ZSTD_error_stabilityCondition_notRespected: number;
557
+ const ZSTD_error_stage_wrong: number;
558
+ const ZSTD_error_tableLog_tooLarge: number;
559
+ const ZSTD_error_version_unsupported: number;
560
+ const ZSTD_error_workSpace_tooSmall: number;
561
+ const ZSTD_fast: number;
562
+ const ZSTD_greedy: number;
563
+ const ZSTD_lazy: number;
564
+ const ZSTD_lazy2: number;
565
+ const Z_BEST_COMPRESSION: number;
566
+ const Z_BEST_SPEED: number;
432
567
  const Z_BLOCK: number;
433
- const Z_TREES: number;
434
- // Return codes for the compression/decompression functions.
435
- // Negative values are errors, positive values are used for special but normal events.
436
- const Z_OK: number;
437
- const Z_STREAM_END: number;
438
- const Z_NEED_DICT: number;
439
- const Z_ERRNO: number;
440
- const Z_STREAM_ERROR: number;
441
- const Z_DATA_ERROR: number;
442
- const Z_MEM_ERROR: number;
443
568
  const Z_BUF_ERROR: number;
444
- const Z_VERSION_ERROR: number;
445
- // Compression levels.
446
- const Z_NO_COMPRESSION: number;
447
- const Z_BEST_SPEED: number;
448
- const Z_BEST_COMPRESSION: number;
569
+ const Z_DATA_ERROR: number;
570
+ const Z_DEFAULT_CHUNK: number;
449
571
  const Z_DEFAULT_COMPRESSION: number;
450
- // Compression strategy.
451
- const Z_FILTERED: number;
452
- const Z_HUFFMAN_ONLY: number;
453
- const Z_RLE: number;
454
- const Z_FIXED: number;
572
+ const Z_DEFAULT_LEVEL: number;
573
+ const Z_DEFAULT_MEMLEVEL: number;
455
574
  const Z_DEFAULT_STRATEGY: number;
456
575
  const Z_DEFAULT_WINDOWBITS: number;
457
-
458
- const Z_MIN_WINDOWBITS: number;
459
- const Z_MAX_WINDOWBITS: number;
460
- const Z_MIN_CHUNK: number;
576
+ const Z_ERRNO: number;
577
+ const Z_FILTERED: number;
578
+ const Z_FINISH: number;
579
+ const Z_FIXED: number;
580
+ const Z_FULL_FLUSH: number;
581
+ const Z_HUFFMAN_ONLY: number;
461
582
  const Z_MAX_CHUNK: number;
462
- const Z_DEFAULT_CHUNK: number;
463
- const Z_MIN_MEMLEVEL: number;
583
+ const Z_MAX_LEVEL: number;
464
584
  const Z_MAX_MEMLEVEL: number;
465
- const Z_DEFAULT_MEMLEVEL: number;
585
+ const Z_MAX_WINDOWBITS: number;
586
+ const Z_MEM_ERROR: number;
587
+ const Z_MIN_CHUNK: number;
466
588
  const Z_MIN_LEVEL: number;
467
- const Z_MAX_LEVEL: number;
468
- const Z_DEFAULT_LEVEL: number;
469
- const ZLIB_VERNUM: number;
589
+ const Z_MIN_MEMLEVEL: number;
590
+ const Z_MIN_WINDOWBITS: number;
591
+ const Z_NEED_DICT: number;
592
+ const Z_NO_COMPRESSION: number;
593
+ const Z_NO_FLUSH: number;
594
+ const Z_OK: number;
595
+ const Z_PARTIAL_FLUSH: number;
596
+ const Z_RLE: number;
597
+ const Z_STREAM_END: number;
598
+ const Z_STREAM_ERROR: number;
599
+ const Z_SYNC_FLUSH: number;
600
+ const Z_VERSION_ERROR: number;
470
601
  }
471
602
  // Allowed flush values.
472
603
  /** @deprecated Use `constants.Z_NO_FLUSH` */
package/package.json CHANGED
@@ -37,11 +37,11 @@
37
37
  "organization": false
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-sdk/client-cloudwatch": "^3.787.0",
41
- "@aws-sdk/client-codepipeline": "^3.787.0",
42
- "@aws-sdk/client-s3": "^3.787.0",
43
- "@aws-sdk/client-secrets-manager": "^3.787.0",
44
- "@aws-sdk/client-ssm": "^3.787.0",
40
+ "@aws-sdk/client-cloudwatch": "^3.796.0",
41
+ "@aws-sdk/client-codepipeline": "^3.796.0",
42
+ "@aws-sdk/client-s3": "^3.796.0",
43
+ "@aws-sdk/client-secrets-manager": "^3.796.0",
44
+ "@aws-sdk/client-ssm": "^3.796.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.85",
100
+ "version": "14.15.86",
101
101
  "jest": {
102
102
  "coverageProvider": "v8",
103
103
  "testMatch": [