cdk-common 2.0.937 → 2.0.939

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 (93) hide show
  1. package/.jsii +3 -3
  2. package/lib/main.js +1 -1
  3. package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
  4. package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +2 -2
  5. package/node_modules/@types/concat-stream/node_modules/@types/node/process.d.ts +20 -15
  6. package/node_modules/@types/concat-stream/node_modules/@types/node/test.d.ts +24 -8
  7. package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
  8. package/node_modules/@types/form-data/node_modules/@types/node/package.json +2 -2
  9. package/node_modules/@types/form-data/node_modules/@types/node/process.d.ts +20 -15
  10. package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +24 -8
  11. package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/package.json +1 -1
  12. package/package.json +2 -2
  13. package/node_modules/@types/form-data/node_modules/undici-types/LICENSE +0 -21
  14. package/node_modules/@types/form-data/node_modules/undici-types/README.md +0 -6
  15. package/node_modules/@types/form-data/node_modules/undici-types/agent.d.ts +0 -31
  16. package/node_modules/@types/form-data/node_modules/undici-types/api.d.ts +0 -43
  17. package/node_modules/@types/form-data/node_modules/undici-types/balanced-pool.d.ts +0 -29
  18. package/node_modules/@types/form-data/node_modules/undici-types/cache.d.ts +0 -36
  19. package/node_modules/@types/form-data/node_modules/undici-types/client.d.ts +0 -108
  20. package/node_modules/@types/form-data/node_modules/undici-types/connector.d.ts +0 -34
  21. package/node_modules/@types/form-data/node_modules/undici-types/content-type.d.ts +0 -21
  22. package/node_modules/@types/form-data/node_modules/undici-types/cookies.d.ts +0 -28
  23. package/node_modules/@types/form-data/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  24. package/node_modules/@types/form-data/node_modules/undici-types/dispatcher.d.ts +0 -255
  25. package/node_modules/@types/form-data/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  26. package/node_modules/@types/form-data/node_modules/undici-types/errors.d.ts +0 -149
  27. package/node_modules/@types/form-data/node_modules/undici-types/eventsource.d.ts +0 -63
  28. package/node_modules/@types/form-data/node_modules/undici-types/fetch.d.ts +0 -209
  29. package/node_modules/@types/form-data/node_modules/undici-types/file.d.ts +0 -39
  30. package/node_modules/@types/form-data/node_modules/undici-types/filereader.d.ts +0 -54
  31. package/node_modules/@types/form-data/node_modules/undici-types/formdata.d.ts +0 -108
  32. package/node_modules/@types/form-data/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  33. package/node_modules/@types/form-data/node_modules/undici-types/global-origin.d.ts +0 -7
  34. package/node_modules/@types/form-data/node_modules/undici-types/handlers.d.ts +0 -15
  35. package/node_modules/@types/form-data/node_modules/undici-types/header.d.ts +0 -4
  36. package/node_modules/@types/form-data/node_modules/undici-types/index.d.ts +0 -71
  37. package/node_modules/@types/form-data/node_modules/undici-types/interceptors.d.ts +0 -15
  38. package/node_modules/@types/form-data/node_modules/undici-types/mock-agent.d.ts +0 -50
  39. package/node_modules/@types/form-data/node_modules/undici-types/mock-client.d.ts +0 -25
  40. package/node_modules/@types/form-data/node_modules/undici-types/mock-errors.d.ts +0 -12
  41. package/node_modules/@types/form-data/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  42. package/node_modules/@types/form-data/node_modules/undici-types/mock-pool.d.ts +0 -25
  43. package/node_modules/@types/form-data/node_modules/undici-types/package.json +0 -55
  44. package/node_modules/@types/form-data/node_modules/undici-types/patch.d.ts +0 -71
  45. package/node_modules/@types/form-data/node_modules/undici-types/pool-stats.d.ts +0 -19
  46. package/node_modules/@types/form-data/node_modules/undici-types/pool.d.ts +0 -39
  47. package/node_modules/@types/form-data/node_modules/undici-types/proxy-agent.d.ts +0 -28
  48. package/node_modules/@types/form-data/node_modules/undici-types/readable.d.ts +0 -60
  49. package/node_modules/@types/form-data/node_modules/undici-types/retry-agent.d.ts +0 -8
  50. package/node_modules/@types/form-data/node_modules/undici-types/retry-handler.d.ts +0 -116
  51. package/node_modules/@types/form-data/node_modules/undici-types/util.d.ts +0 -18
  52. package/node_modules/@types/form-data/node_modules/undici-types/webidl.d.ts +0 -222
  53. package/node_modules/@types/form-data/node_modules/undici-types/websocket.d.ts +0 -152
  54. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/LICENSE +0 -0
  55. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/README.md +0 -0
  56. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/agent.d.ts +0 -0
  57. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/api.d.ts +0 -0
  58. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/balanced-pool.d.ts +0 -0
  59. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/cache.d.ts +0 -0
  60. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/client.d.ts +0 -0
  61. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/connector.d.ts +0 -0
  62. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/content-type.d.ts +0 -0
  63. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/cookies.d.ts +0 -0
  64. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/diagnostics-channel.d.ts +0 -0
  65. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/dispatcher.d.ts +0 -0
  66. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/env-http-proxy-agent.d.ts +0 -0
  67. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/errors.d.ts +0 -0
  68. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/eventsource.d.ts +0 -0
  69. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/fetch.d.ts +0 -0
  70. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/file.d.ts +0 -0
  71. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/filereader.d.ts +0 -0
  72. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/formdata.d.ts +0 -0
  73. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/global-dispatcher.d.ts +0 -0
  74. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/global-origin.d.ts +0 -0
  75. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/handlers.d.ts +0 -0
  76. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/header.d.ts +0 -0
  77. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/index.d.ts +0 -0
  78. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/interceptors.d.ts +0 -0
  79. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/mock-agent.d.ts +0 -0
  80. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/mock-client.d.ts +0 -0
  81. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/mock-errors.d.ts +0 -0
  82. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/mock-interceptor.d.ts +0 -0
  83. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/mock-pool.d.ts +0 -0
  84. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/patch.d.ts +0 -0
  85. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/pool-stats.d.ts +0 -0
  86. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/pool.d.ts +0 -0
  87. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/proxy-agent.d.ts +0 -0
  88. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/readable.d.ts +0 -0
  89. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/retry-agent.d.ts +0 -0
  90. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/retry-handler.d.ts +0 -0
  91. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/util.d.ts +0 -0
  92. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/webidl.d.ts +0 -0
  93. /package/node_modules/{@types/concat-stream/node_modules/undici-types → undici-types}/websocket.d.ts +0 -0
package/.jsii CHANGED
@@ -3667,7 +3667,7 @@
3667
3667
  "stability": "experimental"
3668
3668
  },
3669
3669
  "homepage": "https://github.com/neilkuan/cdk-common.git",
3670
- "jsiiVersion": "5.3.50 (build fe5d70b)",
3670
+ "jsiiVersion": "5.3.51 (build 6e192ee)",
3671
3671
  "keywords": [
3672
3672
  "aws",
3673
3673
  "aws-cdk",
@@ -11142,6 +11142,6 @@
11142
11142
  "symbolId": "src/main:LambdaArmFunctionProps"
11143
11143
  }
11144
11144
  },
11145
- "version": "2.0.937",
11146
- "fingerprint": "9W6GmYxgQe2wWlMo9eeFA/iEuGTeQL8rwh029Efk//g="
11145
+ "version": "2.0.939",
11146
+ "fingerprint": "EPllImyNnkLH012zaMdrQBEqL5z1GWDXCFqqD136U8I="
11147
11147
  }
package/lib/main.js CHANGED
@@ -41,5 +41,5 @@ class LambdaArmFunction extends constructs_1.Construct {
41
41
  }
42
42
  exports.LambdaArmFunction = LambdaArmFunction;
43
43
  _a = JSII_RTTI_SYMBOL_1;
44
- LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.937" };
44
+ LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.939" };
45
45
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbUNBQW1DO0FBQ25DLGlEQUFpRDtBQUNqRCwyQ0FBdUM7QUFLdkMsTUFBYSxpQkFBa0IsU0FBUSxzQ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50aW1lICR7cHJvcHMucnVudGltZX0gYXQgQVJNLCBTZWUgaHR0cHM6Ly9kb2NzLmF3cy5hbWF6b24uY29tL2xhbWJkYS9sYXRlc3QvZGcvZm91bmRhdGlvbi1hcmNoLmh0bWw/aWNtcGlkPWRvY3NfbGFtYmRhX3Jzc2ApO1xuICAgIH1cblxuICAgIHRoaXMubGFtYmRhRnVuY3Rpb24gPSBuZXcgbGFtYmRhLkZ1bmN0aW9uKHRoaXMsICdMYW1iZGFGdW5jdGlvbicsIHsgYXJjaGl0ZWN0dXJlOiBsYW1iZGEuQXJjaGl0ZWN0dXJlLkFSTV82NCwgLi4ucHJvcHMgfSk7XG4gIH1cbn0iXX0=
@@ -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: Fri, 16 Aug 2024 18:09:07 GMT
11
+ * Last updated: Mon, 19 Aug 2024 02:45:10 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.4.0",
3
+ "version": "22.4.1",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -212,6 +212,6 @@
212
212
  "dependencies": {
213
213
  "undici-types": "~6.19.2"
214
214
  },
215
- "typesPublisherContentHash": "f22f2e87b11a05781ab2a2c4b7812aa834cf70e01e9db42c5288e6cc3f15fd47",
215
+ "typesPublisherContentHash": "ccc9f99822466307487be499b4c3c04a1a5f42f97b354a1afa5584dfa95e982d",
216
216
  "typeScriptVersion": "4.8"
217
217
  }
@@ -322,24 +322,28 @@ declare module "process" {
322
322
  has(scope: string, reference?: string): boolean;
323
323
  }
324
324
  interface ProcessReport {
325
+ /**
326
+ * Write reports in a compact format, single-line JSON, more easily consumable by log processing systems
327
+ * than the default multi-line format designed for human consumption.
328
+ * @since v13.12.0, v12.17.0
329
+ */
330
+ compact: boolean;
325
331
  /**
326
332
  * Directory where the report is written.
333
+ * The default value is the empty string, indicating that reports are written to the current
327
334
  * working directory of the Node.js process.
328
- * @default '' indicating that reports are written to the current
329
335
  */
330
336
  directory: string;
331
337
  /**
332
- * Filename where the report is written.
333
- * The default value is the empty string.
334
- * @default '' the output filename will be comprised of a timestamp,
335
- * PID, and sequence number.
338
+ * Filename where the report is written. If set to the empty string, the output filename will be comprised
339
+ * of a timestamp, PID, and sequence number. The default value is the empty string.
336
340
  */
337
341
  filename: string;
338
342
  /**
339
- * Returns a JSON-formatted diagnostic report for the running process.
340
- * The report's JavaScript stack trace is taken from err, if present.
343
+ * Returns a JavaScript Object representation of a diagnostic report for the running process.
344
+ * The report's JavaScript stack trace is taken from `err`, if present.
341
345
  */
342
- getReport(err?: Error): string;
346
+ getReport(err?: Error): object;
343
347
  /**
344
348
  * If true, a diagnostic report is generated on fatal errors,
345
349
  * such as out of memory errors or failed C++ assertions.
@@ -365,18 +369,19 @@ declare module "process" {
365
369
  /**
366
370
  * Writes a diagnostic report to a file. If filename is not provided, the default filename
367
371
  * includes the date, time, PID, and a sequence number.
368
- * The report's JavaScript stack trace is taken from err, if present.
372
+ * The report's JavaScript stack trace is taken from `err`, if present.
369
373
  *
374
+ * If the value of filename is set to `'stdout'` or `'stderr'`, the report is written
375
+ * to the stdout or stderr of the process respectively.
370
376
  * @param fileName Name of the file where the report is written.
371
377
  * This should be a relative path, that will be appended to the directory specified in
372
378
  * `process.report.directory`, or the current working directory of the Node.js process,
373
379
  * if unspecified.
374
- * @param error A custom error used for reporting the JavaScript stack.
380
+ * @param err A custom error used for reporting the JavaScript stack.
375
381
  * @return Filename of the generated report.
376
382
  */
377
- writeReport(fileName?: string): string;
378
- writeReport(error?: Error): string;
379
383
  writeReport(fileName?: string, err?: Error): string;
384
+ writeReport(err?: Error): string;
380
385
  }
381
386
  interface ResourceUsage {
382
387
  fsRead: number;
@@ -1704,11 +1709,11 @@ declare module "process" {
1704
1709
  */
1705
1710
  allowedNodeEnvironmentFlags: ReadonlySet<string>;
1706
1711
  /**
1707
- * `process.report` is an object whose methods are used to generate diagnostic
1708
- * reports for the current process. Additional documentation is available in the `report documentation`.
1712
+ * `process.report` is an object whose methods are used to generate diagnostic reports for the current process.
1713
+ * Additional documentation is available in the [report documentation](https://nodejs.org/docs/latest-v22.x/api/report.html).
1709
1714
  * @since v11.8.0
1710
1715
  */
1711
- report?: ProcessReport | undefined;
1716
+ report: ProcessReport;
1712
1717
  /**
1713
1718
  * ```js
1714
1719
  * import { resourceUsage } from 'node:process';
@@ -1960,31 +1960,47 @@ declare module "node:test/reporters" {
1960
1960
  | { type: "test:watch:drained"; data: undefined };
1961
1961
  type TestEventGenerator = AsyncGenerator<TestEvent, void>;
1962
1962
 
1963
+ interface ReporterConstructorWrapper<T extends new(...args: any[]) => Transform> {
1964
+ new(...args: ConstructorParameters<T>): InstanceType<T>;
1965
+ (...args: ConstructorParameters<T>): InstanceType<T>;
1966
+ }
1967
+
1963
1968
  /**
1964
1969
  * The `dot` reporter outputs the test results in a compact format,
1965
1970
  * where each passing test is represented by a `.`,
1966
1971
  * and each failing test is represented by a `X`.
1972
+ * @since v20.0.0
1967
1973
  */
1968
1974
  function dot(source: TestEventGenerator): AsyncGenerator<"\n" | "." | "X", void>;
1969
1975
  /**
1970
1976
  * The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format.
1977
+ * @since v20.0.0
1971
1978
  */
1972
1979
  function tap(source: TestEventGenerator): AsyncGenerator<string, void>;
1980
+ class SpecReporter extends Transform {
1981
+ constructor();
1982
+ }
1973
1983
  /**
1974
1984
  * The `spec` reporter outputs the test results in a human-readable format.
1985
+ * @since v20.0.0
1975
1986
  */
1976
- class Spec extends Transform {
1977
- constructor();
1978
- }
1987
+ const spec: ReporterConstructorWrapper<typeof SpecReporter>;
1979
1988
  /**
1980
1989
  * The `junit` reporter outputs test results in a jUnit XML format.
1990
+ * @since v21.0.0
1981
1991
  */
1982
1992
  function junit(source: TestEventGenerator): AsyncGenerator<string, void>;
1993
+ class LcovReporter extends Transform {
1994
+ constructor(opts?: Omit<TransformOptions, "writableObjectMode">);
1995
+ }
1983
1996
  /**
1984
- * The `lcov` reporter outputs test coverage when used with the [`--experimental-test-coverage`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--experimental-test-coverage) flag.
1997
+ * The `lcov` reporter outputs test coverage when used with the
1998
+ * [`--experimental-test-coverage`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--experimental-test-coverage) flag.
1999
+ * @since v22.0.0
1985
2000
  */
1986
- class Lcov extends Transform {
1987
- constructor(opts?: TransformOptions);
1988
- }
1989
- export { dot, junit, Lcov as lcov, Spec as spec, tap, TestEvent };
2001
+ // TODO: change the export to a wrapper function once node@0db38f0 is merged (breaking change)
2002
+ // const lcov: ReporterConstructorWrapper<typeof LcovReporter>;
2003
+ const lcov: LcovReporter;
2004
+
2005
+ export { dot, junit, lcov, spec, tap, TestEvent };
1990
2006
  }
@@ -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: Fri, 16 Aug 2024 18:09:07 GMT
11
+ * Last updated: Mon, 19 Aug 2024 02:45:10 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.4.0",
3
+ "version": "22.4.1",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -212,6 +212,6 @@
212
212
  "dependencies": {
213
213
  "undici-types": "~6.19.2"
214
214
  },
215
- "typesPublisherContentHash": "f22f2e87b11a05781ab2a2c4b7812aa834cf70e01e9db42c5288e6cc3f15fd47",
215
+ "typesPublisherContentHash": "ccc9f99822466307487be499b4c3c04a1a5f42f97b354a1afa5584dfa95e982d",
216
216
  "typeScriptVersion": "4.8"
217
217
  }
@@ -322,24 +322,28 @@ declare module "process" {
322
322
  has(scope: string, reference?: string): boolean;
323
323
  }
324
324
  interface ProcessReport {
325
+ /**
326
+ * Write reports in a compact format, single-line JSON, more easily consumable by log processing systems
327
+ * than the default multi-line format designed for human consumption.
328
+ * @since v13.12.0, v12.17.0
329
+ */
330
+ compact: boolean;
325
331
  /**
326
332
  * Directory where the report is written.
333
+ * The default value is the empty string, indicating that reports are written to the current
327
334
  * working directory of the Node.js process.
328
- * @default '' indicating that reports are written to the current
329
335
  */
330
336
  directory: string;
331
337
  /**
332
- * Filename where the report is written.
333
- * The default value is the empty string.
334
- * @default '' the output filename will be comprised of a timestamp,
335
- * PID, and sequence number.
338
+ * Filename where the report is written. If set to the empty string, the output filename will be comprised
339
+ * of a timestamp, PID, and sequence number. The default value is the empty string.
336
340
  */
337
341
  filename: string;
338
342
  /**
339
- * Returns a JSON-formatted diagnostic report for the running process.
340
- * The report's JavaScript stack trace is taken from err, if present.
343
+ * Returns a JavaScript Object representation of a diagnostic report for the running process.
344
+ * The report's JavaScript stack trace is taken from `err`, if present.
341
345
  */
342
- getReport(err?: Error): string;
346
+ getReport(err?: Error): object;
343
347
  /**
344
348
  * If true, a diagnostic report is generated on fatal errors,
345
349
  * such as out of memory errors or failed C++ assertions.
@@ -365,18 +369,19 @@ declare module "process" {
365
369
  /**
366
370
  * Writes a diagnostic report to a file. If filename is not provided, the default filename
367
371
  * includes the date, time, PID, and a sequence number.
368
- * The report's JavaScript stack trace is taken from err, if present.
372
+ * The report's JavaScript stack trace is taken from `err`, if present.
369
373
  *
374
+ * If the value of filename is set to `'stdout'` or `'stderr'`, the report is written
375
+ * to the stdout or stderr of the process respectively.
370
376
  * @param fileName Name of the file where the report is written.
371
377
  * This should be a relative path, that will be appended to the directory specified in
372
378
  * `process.report.directory`, or the current working directory of the Node.js process,
373
379
  * if unspecified.
374
- * @param error A custom error used for reporting the JavaScript stack.
380
+ * @param err A custom error used for reporting the JavaScript stack.
375
381
  * @return Filename of the generated report.
376
382
  */
377
- writeReport(fileName?: string): string;
378
- writeReport(error?: Error): string;
379
383
  writeReport(fileName?: string, err?: Error): string;
384
+ writeReport(err?: Error): string;
380
385
  }
381
386
  interface ResourceUsage {
382
387
  fsRead: number;
@@ -1704,11 +1709,11 @@ declare module "process" {
1704
1709
  */
1705
1710
  allowedNodeEnvironmentFlags: ReadonlySet<string>;
1706
1711
  /**
1707
- * `process.report` is an object whose methods are used to generate diagnostic
1708
- * reports for the current process. Additional documentation is available in the `report documentation`.
1712
+ * `process.report` is an object whose methods are used to generate diagnostic reports for the current process.
1713
+ * Additional documentation is available in the [report documentation](https://nodejs.org/docs/latest-v22.x/api/report.html).
1709
1714
  * @since v11.8.0
1710
1715
  */
1711
- report?: ProcessReport | undefined;
1716
+ report: ProcessReport;
1712
1717
  /**
1713
1718
  * ```js
1714
1719
  * import { resourceUsage } from 'node:process';
@@ -1960,31 +1960,47 @@ declare module "node:test/reporters" {
1960
1960
  | { type: "test:watch:drained"; data: undefined };
1961
1961
  type TestEventGenerator = AsyncGenerator<TestEvent, void>;
1962
1962
 
1963
+ interface ReporterConstructorWrapper<T extends new(...args: any[]) => Transform> {
1964
+ new(...args: ConstructorParameters<T>): InstanceType<T>;
1965
+ (...args: ConstructorParameters<T>): InstanceType<T>;
1966
+ }
1967
+
1963
1968
  /**
1964
1969
  * The `dot` reporter outputs the test results in a compact format,
1965
1970
  * where each passing test is represented by a `.`,
1966
1971
  * and each failing test is represented by a `X`.
1972
+ * @since v20.0.0
1967
1973
  */
1968
1974
  function dot(source: TestEventGenerator): AsyncGenerator<"\n" | "." | "X", void>;
1969
1975
  /**
1970
1976
  * The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format.
1977
+ * @since v20.0.0
1971
1978
  */
1972
1979
  function tap(source: TestEventGenerator): AsyncGenerator<string, void>;
1980
+ class SpecReporter extends Transform {
1981
+ constructor();
1982
+ }
1973
1983
  /**
1974
1984
  * The `spec` reporter outputs the test results in a human-readable format.
1985
+ * @since v20.0.0
1975
1986
  */
1976
- class Spec extends Transform {
1977
- constructor();
1978
- }
1987
+ const spec: ReporterConstructorWrapper<typeof SpecReporter>;
1979
1988
  /**
1980
1989
  * The `junit` reporter outputs test results in a jUnit XML format.
1990
+ * @since v21.0.0
1981
1991
  */
1982
1992
  function junit(source: TestEventGenerator): AsyncGenerator<string, void>;
1993
+ class LcovReporter extends Transform {
1994
+ constructor(opts?: Omit<TransformOptions, "writableObjectMode">);
1995
+ }
1983
1996
  /**
1984
- * The `lcov` reporter outputs test coverage when used with the [`--experimental-test-coverage`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--experimental-test-coverage) flag.
1997
+ * The `lcov` reporter outputs test coverage when used with the
1998
+ * [`--experimental-test-coverage`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--experimental-test-coverage) flag.
1999
+ * @since v22.0.0
1985
2000
  */
1986
- class Lcov extends Transform {
1987
- constructor(opts?: TransformOptions);
1988
- }
1989
- export { dot, junit, Lcov as lcov, Spec as spec, tap, TestEvent };
2001
+ // TODO: change the export to a wrapper function once node@0db38f0 is merged (breaking change)
2002
+ // const lcov: ReporterConstructorWrapper<typeof LcovReporter>;
2003
+ const lcov: LcovReporter;
2004
+
2005
+ export { dot, junit, lcov, spec, tap, TestEvent };
1990
2006
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undici-types",
3
- "version": "6.19.6",
3
+ "version": "6.19.8",
4
4
  "description": "A stand-alone types package for Undici",
5
5
  "homepage": "https://undici.nodejs.org",
6
6
  "bugs": {
package/package.json CHANGED
@@ -53,7 +53,7 @@
53
53
  "jsii-docgen": "^3.8.31",
54
54
  "jsii-pacmak": "^1.102.0",
55
55
  "jsii-rosetta": "5.3.x",
56
- "projen": "0.85.0",
56
+ "projen": "0.85.2",
57
57
  "standard-version": "^9",
58
58
  "ts-jest": "^27",
59
59
  "typescript": "^5"
@@ -87,7 +87,7 @@
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  },
90
- "version": "2.0.937",
90
+ "version": "2.0.939",
91
91
  "jest": {
92
92
  "coverageProvider": "v8",
93
93
  "testMatch": [
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Matteo Collina and Undici contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,6 +0,0 @@
1
- # undici-types
2
-
3
- This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version.
4
-
5
- - [GitHub nodejs/undici](https://github.com/nodejs/undici)
6
- - [Undici Documentation](https://undici.nodejs.org/#/)
@@ -1,31 +0,0 @@
1
- import { URL } from 'url'
2
- import Pool from './pool'
3
- import Dispatcher from "./dispatcher";
4
-
5
- export default Agent
6
-
7
- declare class Agent extends Dispatcher{
8
- constructor(opts?: Agent.Options)
9
- /** `true` after `dispatcher.close()` has been called. */
10
- closed: boolean;
11
- /** `true` after `dispatcher.destroyed()` has been called or `dispatcher.close()` has been called and the dispatcher shutdown has completed. */
12
- destroyed: boolean;
13
- /** Dispatches a request. */
14
- dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean;
15
- }
16
-
17
- declare namespace Agent {
18
- export interface Options extends Pool.Options {
19
- /** Default: `(origin, opts) => new Pool(origin, opts)`. */
20
- factory?(origin: string | URL, opts: Object): Dispatcher;
21
- /** Integer. Default: `0` */
22
- maxRedirections?: number;
23
-
24
- interceptors?: { Agent?: readonly Dispatcher.DispatchInterceptor[] } & Pool.Options["interceptors"]
25
- }
26
-
27
- export interface DispatchOptions extends Dispatcher.DispatchOptions {
28
- /** Integer. */
29
- maxRedirections?: number;
30
- }
31
- }
@@ -1,43 +0,0 @@
1
- import { URL, UrlObject } from 'url'
2
- import { Duplex } from 'stream'
3
- import Dispatcher from './dispatcher'
4
-
5
- export {
6
- request,
7
- stream,
8
- pipeline,
9
- connect,
10
- upgrade,
11
- }
12
-
13
- /** Performs an HTTP request. */
14
- declare function request(
15
- url: string | URL | UrlObject,
16
- options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path' | 'method'> & Partial<Pick<Dispatcher.RequestOptions, 'method'>>,
17
- ): Promise<Dispatcher.ResponseData>;
18
-
19
- /** A faster version of `request`. */
20
- declare function stream(
21
- url: string | URL | UrlObject,
22
- options: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path'>,
23
- factory: Dispatcher.StreamFactory
24
- ): Promise<Dispatcher.StreamData>;
25
-
26
- /** For easy use with `stream.pipeline`. */
27
- declare function pipeline(
28
- url: string | URL | UrlObject,
29
- options: { dispatcher?: Dispatcher } & Omit<Dispatcher.PipelineOptions, 'origin' | 'path'>,
30
- handler: Dispatcher.PipelineHandler
31
- ): Duplex;
32
-
33
- /** Starts two-way communications with the requested resource. */
34
- declare function connect(
35
- url: string | URL | UrlObject,
36
- options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions, 'origin' | 'path'>
37
- ): Promise<Dispatcher.ConnectData>;
38
-
39
- /** Upgrade to a different protocol. */
40
- declare function upgrade(
41
- url: string | URL | UrlObject,
42
- options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.UpgradeOptions, 'origin' | 'path'>
43
- ): Promise<Dispatcher.UpgradeData>;
@@ -1,29 +0,0 @@
1
- import Pool from './pool'
2
- import Dispatcher from './dispatcher'
3
- import { URL } from 'url'
4
-
5
- export default BalancedPool
6
-
7
- type BalancedPoolConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
8
-
9
- declare class BalancedPool extends Dispatcher {
10
- constructor(url: string | string[] | URL | URL[], options?: Pool.Options);
11
-
12
- addUpstream(upstream: string | URL): BalancedPool;
13
- removeUpstream(upstream: string | URL): BalancedPool;
14
- upstreams: Array<string>;
15
-
16
- /** `true` after `pool.close()` has been called. */
17
- closed: boolean;
18
- /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */
19
- destroyed: boolean;
20
-
21
- // Override dispatcher APIs.
22
- override connect(
23
- options: BalancedPoolConnectOptions
24
- ): Promise<Dispatcher.ConnectData>;
25
- override connect(
26
- options: BalancedPoolConnectOptions,
27
- callback: (err: Error | null, data: Dispatcher.ConnectData) => void
28
- ): void;
29
- }
@@ -1,36 +0,0 @@
1
- import type { RequestInfo, Response, Request } from './fetch'
2
-
3
- export interface CacheStorage {
4
- match (request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>,
5
- has (cacheName: string): Promise<boolean>,
6
- open (cacheName: string): Promise<Cache>,
7
- delete (cacheName: string): Promise<boolean>,
8
- keys (): Promise<string[]>
9
- }
10
-
11
- declare const CacheStorage: {
12
- prototype: CacheStorage
13
- new(): CacheStorage
14
- }
15
-
16
- export interface Cache {
17
- match (request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>,
18
- matchAll (request?: RequestInfo, options?: CacheQueryOptions): Promise<readonly Response[]>,
19
- add (request: RequestInfo): Promise<undefined>,
20
- addAll (requests: RequestInfo[]): Promise<undefined>,
21
- put (request: RequestInfo, response: Response): Promise<undefined>,
22
- delete (request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>,
23
- keys (request?: RequestInfo, options?: CacheQueryOptions): Promise<readonly Request[]>
24
- }
25
-
26
- export interface CacheQueryOptions {
27
- ignoreSearch?: boolean,
28
- ignoreMethod?: boolean,
29
- ignoreVary?: boolean
30
- }
31
-
32
- export interface MultiCacheQueryOptions extends CacheQueryOptions {
33
- cacheName?: string
34
- }
35
-
36
- export declare const caches: CacheStorage