aws-delivlib 15.4.0 → 15.4.2

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 (155) 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 +11361 -9248
  5. package/lib/publishing/github/node_modules/.yarn-integrity +5 -5
  6. package/lib/publishing/github/node_modules/@types/aws-lambda/README.md +1 -1
  7. package/lib/publishing/github/node_modules/@types/aws-lambda/package.json +2 -2
  8. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -2
  9. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +3 -3
  10. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert/strict.d.ts +13 -56
  11. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert.d.ts +189 -190
  12. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/async_hooks.d.ts +151 -43
  13. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.buffer.d.ts +12 -13
  14. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.d.ts +103 -237
  15. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/child_process.d.ts +40 -155
  16. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/cluster.d.ts +238 -384
  17. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/console.d.ts +45 -404
  18. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/constants.d.ts +3 -10
  19. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/crypto.d.ts +1019 -1600
  20. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dgram.d.ts +133 -81
  21. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/diagnostics_channel.d.ts +277 -59
  22. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns/promises.d.ts +9 -15
  23. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns.d.ts +136 -183
  24. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/domain.d.ts +12 -32
  25. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/events.d.ts +872 -840
  26. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ffi.d.ts +500 -0
  27. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +256 -85
  28. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs.d.ts +865 -525
  29. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.d.ts +12 -34
  30. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.typedarray.d.ts +63 -0
  31. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +433 -312
  32. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http2.d.ts +548 -893
  33. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/https.d.ts +64 -243
  34. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/index.d.ts +25 -7
  35. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector/promises.d.ts +35 -0
  36. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.d.ts +70 -58
  37. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.generated.d.ts +764 -410
  38. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/module.d.ts +54 -219
  39. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/net.d.ts +224 -226
  40. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/os.d.ts +41 -49
  41. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +13 -18
  42. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/path/posix.d.ts +8 -0
  43. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/path/win32.d.ts +8 -0
  44. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/path.d.ts +119 -141
  45. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/perf_hooks.d.ts +339 -690
  46. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/process.d.ts +390 -205
  47. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/punycode.d.ts +3 -31
  48. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/querystring.d.ts +3 -16
  49. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/quic.d.ts +2191 -0
  50. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline/promises.d.ts +3 -6
  51. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline.d.ts +66 -152
  52. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/repl.d.ts +101 -109
  53. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/sea.d.ts +1 -116
  54. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/sqlite.d.ts +486 -68
  55. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/consumers.d.ts +91 -15
  56. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/iter.d.ts +449 -0
  57. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/promises.d.ts +136 -15
  58. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/web.d.ts +197 -454
  59. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream.d.ts +603 -491
  60. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/string_decoder.d.ts +3 -43
  61. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/test/reporters.d.ts +60 -0
  62. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/test.d.ts +585 -292
  63. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers/promises.d.ts +3 -18
  64. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers.d.ts +3 -141
  65. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +180 -267
  66. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/trace_events.d.ts +3 -97
  67. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +7 -8
  68. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  69. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +2 -0
  70. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/index.d.ts +26 -6
  71. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  72. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.7/index.d.ts +118 -0
  73. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tty.d.ts +61 -43
  74. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/url.d.ts +156 -584
  75. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/util/types.d.ts +558 -0
  76. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +173 -1099
  77. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/v8.d.ts +175 -36
  78. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/vfs.d.ts +211 -0
  79. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/vm.d.ts +293 -209
  80. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/wasi.d.ts +24 -74
  81. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/abortcontroller.d.ts +27 -2
  82. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  83. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/console.d.ts +9 -0
  84. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
  85. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
  86. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  87. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/events.d.ts +9 -0
  88. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/fetch.d.ts +14 -0
  89. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  90. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  91. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/navigator.d.ts +3 -0
  92. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  93. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/streams.d.ts +97 -0
  94. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  95. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/url.d.ts +24 -0
  96. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/worker_threads.d.ts +260 -407
  97. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib/iter.d.ts +131 -0
  98. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib.d.ts +782 -165
  99. package/lib/publishing/github/node_modules/semver/classes/range.js +2 -2
  100. package/lib/publishing/github/node_modules/semver/internal/constants.js +30 -0
  101. package/lib/publishing/github/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  102. package/lib/publishing/github/node_modules/semver/package.json +1 -1
  103. package/lib/publishing/github/node_modules/undici-types/agent.d.ts +12 -13
  104. package/lib/publishing/github/node_modules/undici-types/api.d.ts +26 -26
  105. package/lib/publishing/github/node_modules/undici-types/balanced-pool.d.ts +13 -12
  106. package/lib/publishing/github/node_modules/undici-types/cache-interceptor.d.ts +179 -0
  107. package/lib/publishing/github/node_modules/undici-types/client-stats.d.ts +15 -0
  108. package/lib/publishing/github/node_modules/undici-types/client.d.ts +63 -37
  109. package/lib/publishing/github/node_modules/undici-types/connector.d.ts +5 -2
  110. package/lib/publishing/github/node_modules/undici-types/cookies.d.ts +3 -1
  111. package/lib/publishing/github/node_modules/undici-types/diagnostics-channel.d.ts +18 -10
  112. package/lib/publishing/github/node_modules/undici-types/dispatcher.d.ts +136 -139
  113. package/lib/publishing/github/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
  114. package/lib/publishing/github/node_modules/undici-types/env-http-proxy-agent.d.ts +4 -3
  115. package/lib/publishing/github/node_modules/undici-types/errors.d.ts +92 -54
  116. package/lib/publishing/github/node_modules/undici-types/eventsource.d.ts +9 -4
  117. package/lib/publishing/github/node_modules/undici-types/fetch.d.ts +51 -25
  118. package/lib/publishing/github/node_modules/undici-types/formdata.d.ts +7 -7
  119. package/lib/publishing/github/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  120. package/lib/publishing/github/node_modules/undici-types/global-origin.d.ts +5 -5
  121. package/lib/publishing/github/node_modules/undici-types/h2c-client.d.ts +73 -0
  122. package/lib/publishing/github/node_modules/undici-types/handlers.d.ts +10 -9
  123. package/lib/publishing/github/node_modules/undici-types/header.d.ts +162 -1
  124. package/lib/publishing/github/node_modules/undici-types/index.d.ts +69 -47
  125. package/lib/publishing/github/node_modules/undici-types/interceptors.d.ts +72 -9
  126. package/lib/publishing/github/node_modules/undici-types/mock-agent.d.ts +36 -18
  127. package/lib/publishing/github/node_modules/undici-types/mock-call-history.d.ts +111 -0
  128. package/lib/publishing/github/node_modules/undici-types/mock-client.d.ts +6 -4
  129. package/lib/publishing/github/node_modules/undici-types/mock-errors.d.ts +3 -3
  130. package/lib/publishing/github/node_modules/undici-types/mock-interceptor.d.ts +26 -21
  131. package/lib/publishing/github/node_modules/undici-types/mock-pool.d.ts +6 -4
  132. package/lib/publishing/github/node_modules/undici-types/package.json +1 -1
  133. package/lib/publishing/github/node_modules/undici-types/patch.d.ts +0 -4
  134. package/lib/publishing/github/node_modules/undici-types/pool-stats.d.ts +8 -8
  135. package/lib/publishing/github/node_modules/undici-types/pool.d.ts +14 -14
  136. package/lib/publishing/github/node_modules/undici-types/proxy-agent.d.ts +14 -6
  137. package/lib/publishing/github/node_modules/undici-types/readable.d.ts +19 -16
  138. package/lib/publishing/github/node_modules/undici-types/retry-agent.d.ts +1 -1
  139. package/lib/publishing/github/node_modules/undici-types/retry-handler.d.ts +19 -10
  140. package/lib/publishing/github/node_modules/undici-types/round-robin-pool.d.ts +39 -0
  141. package/lib/publishing/github/node_modules/undici-types/snapshot-agent.d.ts +113 -0
  142. package/lib/publishing/github/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
  143. package/lib/publishing/github/node_modules/undici-types/util.d.ts +3 -3
  144. package/lib/publishing/github/node_modules/undici-types/utility.d.ts +7 -0
  145. package/lib/publishing/github/node_modules/undici-types/webidl.d.ts +148 -30
  146. package/lib/publishing/github/node_modules/undici-types/websocket.d.ts +48 -10
  147. package/lib/shellable.d.ts +7 -3
  148. package/lib/shellable.js +44 -30
  149. package/package.json +11 -11
  150. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  151. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/compatibility/index.d.ts +0 -9
  152. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  153. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  154. package/lib/publishing/github/node_modules/undici-types/file.d.ts +0 -39
  155. package/lib/publishing/github/node_modules/undici-types/filereader.d.ts +0 -54
@@ -1,44 +1,4 @@
1
- /**
2
- * The `node:string_decoder` module provides an API for decoding `Buffer` objects
3
- * into strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16
4
- * characters. It can be accessed using:
5
- *
6
- * ```js
7
- * import { StringDecoder } from 'node:string_decoder';
8
- * ```
9
- *
10
- * The following example shows the basic use of the `StringDecoder` class.
11
- *
12
- * ```js
13
- * import { StringDecoder } from 'node:string_decoder';
14
- * const decoder = new StringDecoder('utf8');
15
- *
16
- * const cent = Buffer.from([0xC2, 0xA2]);
17
- * console.log(decoder.write(cent)); // Prints: ¢
18
- *
19
- * const euro = Buffer.from([0xE2, 0x82, 0xAC]);
20
- * console.log(decoder.write(euro)); // Prints: €
21
- * ```
22
- *
23
- * When a `Buffer` instance is written to the `StringDecoder` instance, an
24
- * internal buffer is used to ensure that the decoded string does not contain
25
- * any incomplete multibyte characters. These are held in the buffer until the
26
- * next call to `stringDecoder.write()` or until `stringDecoder.end()` is called.
27
- *
28
- * In the following example, the three UTF-8 encoded bytes of the European Euro
29
- * symbol (`€`) are written over three separate operations:
30
- *
31
- * ```js
32
- * import { StringDecoder } from 'node:string_decoder';
33
- * const decoder = new StringDecoder('utf8');
34
- *
35
- * decoder.write(Buffer.from([0xE2]));
36
- * decoder.write(Buffer.from([0x82]));
37
- * console.log(decoder.end(Buffer.from([0xAC]))); // Prints: €
38
- * ```
39
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/string_decoder.js)
40
- */
41
- declare module "string_decoder" {
1
+ declare module "node:string_decoder" {
42
2
  class StringDecoder {
43
3
  constructor(encoding?: BufferEncoding);
44
4
  /**
@@ -62,6 +22,6 @@ declare module "string_decoder" {
62
22
  end(buffer?: string | NodeJS.ArrayBufferView): string;
63
23
  }
64
24
  }
65
- declare module "node:string_decoder" {
66
- export * from "string_decoder";
25
+ declare module "string_decoder" {
26
+ export * from "node:string_decoder";
67
27
  }
@@ -0,0 +1,60 @@
1
+ declare module "node:test/reporters" {
2
+ import { Transform, TransformOptions } from "node:stream";
3
+ import { EventData } from "node:test";
4
+ type TestEvent =
5
+ | { type: "test:coverage"; data: EventData.TestCoverage }
6
+ | { type: "test:complete"; data: EventData.TestComplete }
7
+ | { type: "test:dequeue"; data: EventData.TestDequeue }
8
+ | { type: "test:diagnostic"; data: EventData.TestDiagnostic }
9
+ | { type: "test:enqueue"; data: EventData.TestEnqueue }
10
+ | { type: "test:fail"; data: EventData.TestFail }
11
+ | { type: "test:interrupted"; data: EventData.TestInterrupted }
12
+ | { type: "test:log"; data: EventData.TestLog }
13
+ | { type: "test:pass"; data: EventData.TestPass }
14
+ | { type: "test:plan"; data: EventData.TestPlan }
15
+ | { type: "test:start"; data: EventData.TestStart }
16
+ | { type: "test:stderr"; data: EventData.TestStderr }
17
+ | { type: "test:stdout"; data: EventData.TestStdout }
18
+ | { type: "test:summary"; data: EventData.TestSummary }
19
+ | { type: "test:watch:drained"; data: undefined }
20
+ | { type: "test:watch:restarted"; data: undefined };
21
+ interface ReporterConstructorWrapper<T extends new(...args: any[]) => Transform> {
22
+ new(...args: ConstructorParameters<T>): InstanceType<T>;
23
+ (...args: ConstructorParameters<T>): InstanceType<T>;
24
+ }
25
+ /**
26
+ * The `dot` reporter outputs the test results in a compact format,
27
+ * where each passing test is represented by a `.`,
28
+ * and each failing test is represented by a `X`.
29
+ * @since v20.0.0
30
+ */
31
+ function dot(source: AsyncIterable<TestEvent>): NodeJS.AsyncIterator<string>;
32
+ /**
33
+ * The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format.
34
+ * @since v20.0.0
35
+ */
36
+ function tap(source: AsyncIterable<TestEvent>): NodeJS.AsyncIterator<string>;
37
+ class SpecReporter extends Transform {
38
+ constructor();
39
+ }
40
+ /**
41
+ * The `spec` reporter outputs the test results in a human-readable format.
42
+ * @since v20.0.0
43
+ */
44
+ const spec: ReporterConstructorWrapper<typeof SpecReporter>;
45
+ /**
46
+ * The `junit` reporter outputs test results in a jUnit XML format.
47
+ * @since v21.0.0
48
+ */
49
+ function junit(source: AsyncIterable<TestEvent>): NodeJS.AsyncIterator<string>;
50
+ class LcovReporter extends Transform {
51
+ constructor(options?: Omit<TransformOptions, "writableObjectMode">);
52
+ }
53
+ /**
54
+ * The `lcov` reporter outputs test coverage when used with the
55
+ * [`--experimental-test-coverage`](https://nodejs.org/docs/latest-v26.x/api/cli.html#--experimental-test-coverage) flag.
56
+ * @since v22.0.0
57
+ */
58
+ const lcov: ReporterConstructorWrapper<typeof LcovReporter>;
59
+ export { dot, junit, lcov, spec, tap, TestEvent };
60
+ }