aws-delivlib 14.13.18 → 14.13.20

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.
@@ -51,7 +51,7 @@
51
51
  "@types/btoa-lite@^1.0.0": "https://registry.yarnpkg.com/@types/btoa-lite/-/btoa-lite-1.0.2.tgz#82bb6aab00abf7cff3ca2825abe010c0cd536ae5",
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.7.tgz#e49b96c2b29356ed462e9708fc73b833014727d2",
54
- "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-22.8.7.tgz#04ab7a073d95b4a6ee899f235d43f3c320a976f4",
54
+ "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-22.9.0.tgz#b7f16e5c3384788542c72dc3d561a7ceae2c0365",
55
55
  "@types/node@^14": "https://registry.yarnpkg.com/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b",
56
56
  "aggregate-error@^3.1.0": "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a",
57
57
  "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: Sun, 03 Nov 2024 04:02:17 GMT
11
+ * Last updated: Tue, 05 Nov 2024 01:29:26 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.8.7",
3
+ "version": "22.9.0",
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.19.8"
221
221
  },
222
222
  "peerDependencies": {},
223
- "typesPublisherContentHash": "eb4a12d3db7d5c2f973b35f0ccc659d77637fdcdc340900124be3f5602cc29bc",
223
+ "typesPublisherContentHash": "9fd729e1c7f77c7e5ce00a1690558c1aa810d60c39e52aefa248f3c6c5fb5e7a",
224
224
  "typeScriptVersion": "4.8"
225
225
  }
@@ -1796,6 +1796,25 @@ interface TestCoverage {
1796
1796
  count: number;
1797
1797
  }>;
1798
1798
  }>;
1799
+ /**
1800
+ * An object containing whether or not the coverage for
1801
+ * each coverage type.
1802
+ * @since v22.9.0
1803
+ */
1804
+ thresholds: {
1805
+ /**
1806
+ * The function coverage threshold.
1807
+ */
1808
+ function: number;
1809
+ /**
1810
+ * The branch coverage threshold.
1811
+ */
1812
+ branch: number;
1813
+ /**
1814
+ * The line coverage threshold.
1815
+ */
1816
+ line: number;
1817
+ };
1799
1818
  /**
1800
1819
  * An object containing a summary of coverage for all files.
1801
1820
  */
@@ -80,7 +80,7 @@ declare module "timers/promises" {
80
80
  * @experimental
81
81
  * @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
82
82
  */
83
- wait: (delay?: number, options?: Pick<TimerOptions, "signal">) => Promise<void>;
83
+ wait: (delay?: number, options?: TimerOptions) => Promise<void>;
84
84
  /**
85
85
  * An experimental API defined by the [Scheduling APIs](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html#promise-execution-tracking) draft specification
86
86
  * being developed as a standard Web Platform API.
@@ -809,6 +809,12 @@ declare module "tls" {
809
809
  * This option cannot be used with the `ALPNProtocols` option, and setting both options will throw an error.
810
810
  */
811
811
  ALPNCallback?: ((arg: { servername: string; protocols: string[] }) => string | undefined) | undefined;
812
+ /**
813
+ * Treat intermediate (non-self-signed)
814
+ * certificates in the trust CA certificate list as trusted.
815
+ * @since v22.9.0, v20.18.0
816
+ */
817
+ allowPartialTrustChain?: boolean | undefined;
812
818
  /**
813
819
  * Optionally override the trusted CA certificates. Default is to trust
814
820
  * the well-known CAs curated by Mozilla. Mozilla's CAs are completely
@@ -108,6 +108,25 @@ declare module "util" {
108
108
  export interface InspectOptionsStylized extends InspectOptions {
109
109
  stylize(text: string, styleType: Style): string;
110
110
  }
111
+ export interface StacktraceObject {
112
+ /**
113
+ * Returns the name of the function associated with this stack frame.
114
+ */
115
+ functionName: string;
116
+ /**
117
+ * Returns the name of the resource that contains the script for the
118
+ * function for this StackFrame.
119
+ */
120
+ scriptName: string;
121
+ /**
122
+ * Returns the number, 1-based, of the line for the associate function call.
123
+ */
124
+ lineNumber: number;
125
+ /**
126
+ * Returns the 1-based column offset on the line for the associated function call.
127
+ */
128
+ column: number;
129
+ }
111
130
  /**
112
131
  * The `util.format()` method returns a formatted string using the first argument
113
132
  * as a `printf`-like format string which can contain zero or more format
@@ -166,6 +185,52 @@ declare module "util" {
166
185
  * @since v10.0.0
167
186
  */
168
187
  export function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
188
+ /**
189
+ * Returns an array of stacktrace objects containing the stack of
190
+ * the caller function.
191
+ *
192
+ * ```js
193
+ * const util = require('node:util');
194
+ *
195
+ * function exampleFunction() {
196
+ * const callSites = util.getCallSite();
197
+ *
198
+ * console.log('Call Sites:');
199
+ * callSites.forEach((callSite, index) => {
200
+ * console.log(`CallSite ${index + 1}:`);
201
+ * console.log(`Function Name: ${callSite.functionName}`);
202
+ * console.log(`Script Name: ${callSite.scriptName}`);
203
+ * console.log(`Line Number: ${callSite.lineNumber}`);
204
+ * console.log(`Column Number: ${callSite.column}`);
205
+ * });
206
+ * // CallSite 1:
207
+ * // Function Name: exampleFunction
208
+ * // Script Name: /home/example.js
209
+ * // Line Number: 5
210
+ * // Column Number: 26
211
+ *
212
+ * // CallSite 2:
213
+ * // Function Name: anotherFunction
214
+ * // Script Name: /home/example.js
215
+ * // Line Number: 22
216
+ * // Column Number: 3
217
+ *
218
+ * // ...
219
+ * }
220
+ *
221
+ * // A function to simulate another stack layer
222
+ * function anotherFunction() {
223
+ * exampleFunction();
224
+ * }
225
+ *
226
+ * anotherFunction();
227
+ * ```
228
+ * @param frames Number of frames returned in the stacktrace.
229
+ * **Default:** `10`. Allowable range is between 1 and 200.
230
+ * @return An array of stacktrace objects
231
+ * @since v22.9.0
232
+ */
233
+ export function getCallSite(frames?: number): StacktraceObject[];
169
234
  /**
170
235
  * Returns the string name for a numeric error code that comes from a Node.js API.
171
236
  * The mapping between error codes and error names is platform-dependent.
package/package.json CHANGED
@@ -96,7 +96,7 @@
96
96
  "publishConfig": {
97
97
  "access": "public"
98
98
  },
99
- "version": "14.13.18",
99
+ "version": "14.13.20",
100
100
  "jest": {
101
101
  "coverageProvider": "v8",
102
102
  "testMatch": [