cdk-common 2.1.39 → 2.1.41

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 (37) 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/events.d.ts +6 -9
  5. package/node_modules/@types/concat-stream/node_modules/@types/node/fs/promises.d.ts +24 -1
  6. package/node_modules/@types/concat-stream/node_modules/@types/node/fs.d.ts +126 -6
  7. package/node_modules/@types/concat-stream/node_modules/@types/node/http2.d.ts +12 -0
  8. package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +3 -3
  9. package/node_modules/@types/concat-stream/node_modules/@types/node/process.d.ts +29 -24
  10. package/node_modules/@types/concat-stream/node_modules/@types/node/stream.d.ts +1 -1
  11. package/node_modules/@types/concat-stream/node_modules/@types/node/test/reporters.d.ts +1 -0
  12. package/node_modules/@types/concat-stream/node_modules/@types/node/test.d.ts +9 -0
  13. package/node_modules/@types/concat-stream/node_modules/@types/node/url.d.ts +24 -2
  14. package/node_modules/@types/concat-stream/node_modules/@types/node/vm.d.ts +50 -85
  15. package/node_modules/@types/concat-stream/node_modules/undici-types/client.d.ts +5 -0
  16. package/node_modules/@types/concat-stream/node_modules/undici-types/dispatcher.d.ts +1 -0
  17. package/node_modules/@types/concat-stream/node_modules/undici-types/package.json +1 -1
  18. package/node_modules/@types/concat-stream/node_modules/undici-types/webidl.d.ts +6 -0
  19. package/node_modules/@types/concat-stream/node_modules/undici-types/websocket.d.ts +2 -0
  20. package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
  21. package/node_modules/@types/form-data/node_modules/@types/node/events.d.ts +6 -9
  22. package/node_modules/@types/form-data/node_modules/@types/node/fs/promises.d.ts +24 -1
  23. package/node_modules/@types/form-data/node_modules/@types/node/fs.d.ts +126 -6
  24. package/node_modules/@types/form-data/node_modules/@types/node/http2.d.ts +12 -0
  25. package/node_modules/@types/form-data/node_modules/@types/node/package.json +3 -3
  26. package/node_modules/@types/form-data/node_modules/@types/node/process.d.ts +29 -24
  27. package/node_modules/@types/form-data/node_modules/@types/node/stream.d.ts +1 -1
  28. package/node_modules/@types/form-data/node_modules/@types/node/test/reporters.d.ts +1 -0
  29. package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +9 -0
  30. package/node_modules/@types/form-data/node_modules/@types/node/url.d.ts +24 -2
  31. package/node_modules/@types/form-data/node_modules/@types/node/vm.d.ts +50 -85
  32. package/node_modules/@types/form-data/node_modules/undici-types/client.d.ts +5 -0
  33. package/node_modules/@types/form-data/node_modules/undici-types/dispatcher.d.ts +1 -0
  34. package/node_modules/@types/form-data/node_modules/undici-types/package.json +1 -1
  35. package/node_modules/@types/form-data/node_modules/undici-types/webidl.d.ts +6 -0
  36. package/node_modules/@types/form-data/node_modules/undici-types/websocket.d.ts +2 -0
  37. package/package.json +2 -2
package/.jsii CHANGED
@@ -3943,7 +3943,7 @@
3943
3943
  "stability": "experimental"
3944
3944
  },
3945
3945
  "homepage": "https://github.com/neilkuan/cdk-common.git",
3946
- "jsiiVersion": "5.9.39 (build cdf85b4)",
3946
+ "jsiiVersion": "5.9.40 (build 8be98bb)",
3947
3947
  "keywords": [
3948
3948
  "aws",
3949
3949
  "aws-cdk",
@@ -12996,6 +12996,6 @@
12996
12996
  "symbolId": "src/main:LambdaArmFunctionProps"
12997
12997
  }
12998
12998
  },
12999
- "version": "2.1.39",
13000
- "fingerprint": "+B3tDC005acO5+hDUWKsD6nX3Mk0StT/x9949iR+1i4="
12999
+ "version": "2.1.41",
13000
+ "fingerprint": "VVBE4iwED8a1XQZiqhUxumntSugmCE2tGtSZ1Jn27FQ="
13001
13001
  }
package/lib/main.js CHANGED
@@ -38,5 +38,5 @@ class LambdaArmFunction extends constructs_1.Construct {
38
38
  }
39
39
  exports.LambdaArmFunction = LambdaArmFunction;
40
40
  _a = JSII_RTTI_SYMBOL_1;
41
- LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.1.39" };
41
+ LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.1.41" };
42
42
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbUNBQW1DO0FBQ25DLGlEQUFpRDtBQUNqRCwyQ0FBdUM7QUFLdkMsTUFBYSxpQkFBa0IsU0FBUSxzQkFBUztJQUU5QyxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQTRCO1FBQ3BFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsTUFBTSxlQUFlLEdBQUcsSUFBSSxHQUFHLENBQXlCO1lBQ3RELENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsbUNBQW1DLENBQUM7WUFDakUsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLFdBQVcsRUFBRSxtQ0FBbUMsQ0FBQztZQUNqRSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFLG1DQUFtQyxDQUFDO1lBQ2pFLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsa0NBQWtDLENBQUM7WUFDaEUsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLFdBQVcsRUFBRSxrQ0FBa0MsQ0FBQztZQUNoRSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFLGtDQUFrQyxDQUFDO1lBQ2hFLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsa0NBQWtDLENBQUM7WUFDaEUsQ0FBQyxNQU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IG5ldyBsYW1iZGEuRnVuY3Rpb24odGhpcywgJ0xhbWJkYUZ1bmN0aW9uJywge1xuICAgICAgYXJjaGl0ZWN0dXJlOiBwcm9wcy5hcmNoaXRlY3R1cmUgPz8gbGFtYmRhLkFyY2hpdGVjdHVyZS5BUk1fNjQsXG4gICAgICAuLi5wcm9wcyxcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -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: Thu, 07 May 2026 22:21:35 GMT
11
+ * Last updated: Mon, 11 May 2026 20:06:09 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -528,15 +528,12 @@ declare module "node:events" {
528
528
  * import { addAbortListener } from 'node:events';
529
529
  *
530
530
  * function example(signal) {
531
- * let disposable;
532
- * try {
533
- * signal.addEventListener('abort', (e) => e.stopImmediatePropagation());
534
- * disposable = addAbortListener(signal, (e) => {
535
- * // Do something when signal is aborted.
536
- * });
537
- * } finally {
538
- * disposable?.[Symbol.dispose]();
539
- * }
531
+ * signal.addEventListener('abort', (e) => e.stopImmediatePropagation());
532
+ * // addAbortListener() returns a disposable, so the `using` keyword ensures
533
+ * // the abort listener is automatically removed when this scope exits.
534
+ * using _ = addAbortListener(signal, (e) => {
535
+ * // Do something when signal is aborted.
536
+ * });
540
537
  * }
541
538
  * ```
542
539
  * @since v20.5.0
@@ -802,19 +802,42 @@ declare module "node:fs/promises" {
802
802
  * @since v10.0.0
803
803
  * @return Fulfills with the {fs.Stats} object for the given `path`.
804
804
  */
805
+ function stat(path: PathLike): Promise<Stats>;
805
806
  function stat(
806
807
  path: PathLike,
807
808
  opts?: StatOptions & {
808
809
  bigint?: false | undefined;
810
+ throwIfNoEntry?: true | undefined;
809
811
  },
810
812
  ): Promise<Stats>;
811
813
  function stat(
812
814
  path: PathLike,
813
815
  opts: StatOptions & {
814
816
  bigint: true;
817
+ throwIfNoEntry?: true | undefined;
815
818
  },
816
819
  ): Promise<BigIntStats>;
817
- function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
820
+ function stat(
821
+ path: PathLike,
822
+ opts: StatOptions & {
823
+ bigint?: false | undefined;
824
+ throwIfNoEntry: false;
825
+ },
826
+ ): Promise<Stats | undefined>;
827
+ function stat(
828
+ path: PathLike,
829
+ opts: StatOptions & {
830
+ bigint: true;
831
+ throwIfNoEntry: false;
832
+ },
833
+ ): Promise<BigIntStats | undefined>;
834
+ function stat(
835
+ path: PathLike,
836
+ opts: StatOptions & {
837
+ throwIfNoEntry?: true | undefined;
838
+ },
839
+ ): Promise<Stats | BigIntStats>;
840
+ function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats | undefined>;
818
841
  /**
819
842
  * @since v19.6.0, v18.15.0
820
843
  * @return Fulfills with the {fs.StatFs} object for the given `path`.
@@ -1144,6 +1144,7 @@ declare module "node:fs" {
1144
1144
  options:
1145
1145
  | (StatOptions & {
1146
1146
  bigint?: false | undefined;
1147
+ throwIfNoEntry?: true | undefined;
1147
1148
  })
1148
1149
  | undefined,
1149
1150
  callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
@@ -1152,33 +1153,82 @@ declare module "node:fs" {
1152
1153
  path: PathLike,
1153
1154
  options: StatOptions & {
1154
1155
  bigint: true;
1156
+ throwIfNoEntry?: true | undefined;
1155
1157
  },
1156
1158
  callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
1157
1159
  ): void;
1158
1160
  function stat(
1159
1161
  path: PathLike,
1160
- options: StatOptions | undefined,
1162
+ options: StatOptions & {
1163
+ bigint?: false | undefined;
1164
+ throwIfNoEntry: false;
1165
+ },
1166
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats | undefined) => void,
1167
+ ): void;
1168
+ function stat(
1169
+ path: PathLike,
1170
+ options: StatOptions & {
1171
+ bigint: true;
1172
+ throwIfNoEntry: false;
1173
+ },
1174
+ callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats | undefined) => void,
1175
+ ): void;
1176
+ function stat(
1177
+ path: PathLike,
1178
+ options: StatOptions & {
1179
+ throwIfNoEntry?: true | undefined;
1180
+ },
1161
1181
  callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
1162
1182
  ): void;
1183
+ function stat(
1184
+ path: PathLike,
1185
+ options: StatOptions | undefined,
1186
+ callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats | undefined) => void,
1187
+ ): void;
1163
1188
  namespace stat {
1189
+ // TODO: aliased promisify signatures
1164
1190
  /**
1165
1191
  * Asynchronous stat(2) - Get file status.
1166
1192
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1167
1193
  */
1194
+ function __promisify__(path: PathLike): Promise<Stats>;
1168
1195
  function __promisify__(
1169
1196
  path: PathLike,
1170
1197
  options?: StatOptions & {
1171
1198
  bigint?: false | undefined;
1199
+ throwIfNoEntry?: true | undefined;
1172
1200
  },
1173
1201
  ): Promise<Stats>;
1174
1202
  function __promisify__(
1175
1203
  path: PathLike,
1176
1204
  options: StatOptions & {
1177
1205
  bigint: true;
1206
+ throwIfNoEntry?: true | undefined;
1178
1207
  },
1179
1208
  ): Promise<BigIntStats>;
1180
- function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
1209
+ function __promisify__(
1210
+ path: PathLike,
1211
+ options: StatOptions & {
1212
+ bigint?: false | undefined;
1213
+ throwIfNoEntry: false;
1214
+ },
1215
+ ): Promise<Stats | undefined>;
1216
+ function __promisify__(
1217
+ path: PathLike,
1218
+ options: StatOptions & {
1219
+ bigint: true;
1220
+ throwIfNoEntry: false;
1221
+ },
1222
+ ): Promise<BigIntStats | undefined>;
1223
+ function __promisify__(
1224
+ path: PathLike,
1225
+ options: StatOptions & {
1226
+ throwIfNoEntry?: true | undefined;
1227
+ },
1228
+ ): Promise<Stats | BigIntStats>;
1229
+ function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats | undefined>;
1181
1230
  }
1231
+ /** @deprecated This orphaned interface will be removed in a future version. */
1182
1232
  interface StatSyncFn extends Function {
1183
1233
  (path: PathLike, options?: undefined): Stats;
1184
1234
  (
@@ -1220,7 +1270,42 @@ declare module "node:fs" {
1220
1270
  * Synchronous stat(2) - Get file status.
1221
1271
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1222
1272
  */
1223
- const statSync: StatSyncFn;
1273
+ function statSync(path: PathLike): Stats;
1274
+ function statSync(
1275
+ path: PathLike,
1276
+ options?: StatOptions & {
1277
+ bigint?: false | undefined;
1278
+ throwIfNoEntry?: true | undefined;
1279
+ },
1280
+ ): Stats;
1281
+ function statSync(
1282
+ path: PathLike,
1283
+ options: StatOptions & {
1284
+ bigint: true;
1285
+ throwIfNoEntry?: true | undefined;
1286
+ },
1287
+ ): BigIntStats;
1288
+ function statSync(
1289
+ path: PathLike,
1290
+ options: StatOptions & {
1291
+ bigint?: false | undefined;
1292
+ throwIfNoEntry: false;
1293
+ },
1294
+ ): Stats | undefined;
1295
+ function statSync(
1296
+ path: PathLike,
1297
+ options: StatOptions & {
1298
+ bigint: true;
1299
+ throwIfNoEntry: false;
1300
+ },
1301
+ ): BigIntStats | undefined;
1302
+ function statSync(
1303
+ path: PathLike,
1304
+ options: StatOptions & {
1305
+ throwIfNoEntry?: true | undefined;
1306
+ },
1307
+ ): Stats | BigIntStats;
1308
+ function statSync(path: PathLike, options?: StatOptions): Stats | BigIntStats | undefined;
1224
1309
  /**
1225
1310
  * Invokes the callback with the `fs.Stats` for the file descriptor.
1226
1311
  *
@@ -1410,7 +1495,42 @@ declare module "node:fs" {
1410
1495
  * Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
1411
1496
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
1412
1497
  */
1413
- const lstatSync: StatSyncFn;
1498
+ function lstatSync(path: PathLike): Stats;
1499
+ function lstatSync(
1500
+ path: PathLike,
1501
+ options?: StatOptions & {
1502
+ bigint?: false | undefined;
1503
+ throwIfNoEntry?: true | undefined;
1504
+ },
1505
+ ): Stats;
1506
+ function lstatSync(
1507
+ path: PathLike,
1508
+ options: StatOptions & {
1509
+ bigint: true;
1510
+ throwIfNoEntry?: true | undefined;
1511
+ },
1512
+ ): BigIntStats;
1513
+ function lstatSync(
1514
+ path: PathLike,
1515
+ options: StatOptions & {
1516
+ bigint?: false | undefined;
1517
+ throwIfNoEntry: false;
1518
+ },
1519
+ ): Stats | undefined;
1520
+ function lstatSync(
1521
+ path: PathLike,
1522
+ options: StatOptions & {
1523
+ bigint: true;
1524
+ throwIfNoEntry: false;
1525
+ },
1526
+ ): BigIntStats | undefined;
1527
+ function lstatSync(
1528
+ path: PathLike,
1529
+ options: StatOptions & {
1530
+ throwIfNoEntry?: true | undefined;
1531
+ },
1532
+ ): Stats | BigIntStats;
1533
+ function lstatSync(path: PathLike, options?: StatOptions): Stats | BigIntStats | undefined;
1414
1534
  /**
1415
1535
  * Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. No arguments other than
1416
1536
  * a possible
@@ -4461,10 +4581,10 @@ declare module "node:fs" {
4461
4581
  }
4462
4582
  interface StatOptions {
4463
4583
  bigint?: boolean | undefined;
4464
- }
4465
- interface StatSyncOptions extends StatOptions {
4466
4584
  throwIfNoEntry?: boolean | undefined;
4467
4585
  }
4586
+ /** @deprecated This orphaned interface will be removed in a future version. Use `StatOptions` instead. */
4587
+ interface StatSyncOptions extends StatOptions {}
4468
4588
  interface CopyOptionsBase {
4469
4589
  /**
4470
4590
  * Dereference symlinks
@@ -1242,10 +1242,14 @@ declare module "node:http2" {
1242
1242
  > extends SessionOptions {
1243
1243
  streamResetBurst?: number | undefined;
1244
1244
  streamResetRate?: number | undefined;
1245
+ /** @deprecated Use `http1Options.IncomingMessage` instead. */
1245
1246
  Http1IncomingMessage?: Http1Request | undefined;
1247
+ /** @deprecated Use `http1Options.ServerResponse` instead. */
1246
1248
  Http1ServerResponse?: Http1Response | undefined;
1249
+ http1Options?: Http1Options<Http1Request, Http1Response> | undefined;
1247
1250
  Http2ServerRequest?: Http2Request | undefined;
1248
1251
  Http2ServerResponse?: Http2Response | undefined;
1252
+ strictSingleValueFields?: boolean | undefined;
1249
1253
  }
1250
1254
  interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions {}
1251
1255
  interface SecureServerSessionOptions<
@@ -1269,6 +1273,14 @@ declare module "node:http2" {
1269
1273
  allowHTTP1?: boolean | undefined;
1270
1274
  origins?: string[] | undefined;
1271
1275
  }
1276
+ interface Http1Options<
1277
+ Request extends typeof IncomingMessage,
1278
+ Response extends typeof ServerResponse<InstanceType<Request>>,
1279
+ > {
1280
+ IncomingMessage?: Request | undefined;
1281
+ ServerResponse?: Response | undefined;
1282
+ keepAliveTimeout?: number | undefined;
1283
+ }
1272
1284
  interface Http2ServerCommon {
1273
1285
  setTimeout(msec?: number, callback?: () => void): this;
1274
1286
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "25.6.2",
3
+ "version": "25.7.0",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -147,9 +147,9 @@
147
147
  },
148
148
  "scripts": {},
149
149
  "dependencies": {
150
- "undici-types": "~7.19.0"
150
+ "undici-types": "~7.21.0"
151
151
  },
152
152
  "peerDependencies": {},
153
- "typesPublisherContentHash": "89af6b1f98f4dcf78863724bff751d6099486220dae09983e7b6430b0be61ac2",
153
+ "typesPublisherContentHash": "eddf50137d03f63ae7f6e4766ed9b825cc70a85ef2f7d5c89290fba06040ceed",
154
154
  "typeScriptVersion": "5.3"
155
155
  }
@@ -1474,30 +1474,35 @@ declare module "node:process" {
1474
1474
  * Will generate an object similar to:
1475
1475
  *
1476
1476
  * ```console
1477
- * { node: '20.2.0',
1478
- * acorn: '8.8.2',
1479
- * ada: '2.4.0',
1480
- * ares: '1.19.0',
1481
- * base64: '0.5.0',
1482
- * brotli: '1.0.9',
1483
- * cjs_module_lexer: '1.2.2',
1484
- * cldr: '43.0',
1485
- * icu: '73.1',
1486
- * llhttp: '8.1.0',
1487
- * modules: '115',
1488
- * napi: '8',
1489
- * nghttp2: '1.52.0',
1490
- * nghttp3: '0.7.0',
1491
- * ngtcp2: '0.8.1',
1492
- * openssl: '3.0.8+quic',
1493
- * simdutf: '3.2.9',
1494
- * tz: '2023c',
1495
- * undici: '5.22.0',
1496
- * unicode: '15.0',
1497
- * uv: '1.44.2',
1498
- * uvwasi: '0.0.16',
1499
- * v8: '11.3.244.8-node.9',
1500
- * zlib: '1.2.13' }
1477
+ * { node: '26.0.0-pre',
1478
+ * acorn: '8.15.0',
1479
+ * ada: '3.4.1',
1480
+ * amaro: '1.1.5',
1481
+ * ares: '1.34.6',
1482
+ * brotli: '1.2.0',
1483
+ * merve: '1.0.0',
1484
+ * cldr: '48.0',
1485
+ * icu: '78.2',
1486
+ * llhttp: '9.3.0',
1487
+ * modules: '144',
1488
+ * napi: '10',
1489
+ * nbytes: '0.1.1',
1490
+ * ncrypto: '0.0.1',
1491
+ * nghttp2: '1.68.0',
1492
+ * nghttp3: '',
1493
+ * ngtcp2: '',
1494
+ * openssl: '3.5.4',
1495
+ * simdjson: '4.2.4',
1496
+ * simdutf: '7.3.3',
1497
+ * sqlite: '3.51.2',
1498
+ * tz: '2025c',
1499
+ * undici: '7.18.2',
1500
+ * unicode: '17.0',
1501
+ * uv: '1.51.0',
1502
+ * uvwasi: '0.0.23',
1503
+ * v8: '14.3.127.18-node.10',
1504
+ * zlib: '1.3.1-e00f703',
1505
+ * zstd: '1.5.7' }
1501
1506
  * ```
1502
1507
  * @since v0.2.0
1503
1508
  */
@@ -1067,7 +1067,7 @@ declare module "node:stream" {
1067
1067
  writableCorked?: number | undefined;
1068
1068
  }
1069
1069
  interface DuplexToWebOptions {
1070
- type?: web.ReadableStreamType | undefined;
1070
+ readableType?: web.ReadableStreamType | undefined;
1071
1071
  }
1072
1072
  interface DuplexEventMap extends ReadableEventMap, WritableEventMap {}
1073
1073
  /**
@@ -8,6 +8,7 @@ declare module "node:test/reporters" {
8
8
  | { type: "test:diagnostic"; data: EventData.TestDiagnostic }
9
9
  | { type: "test:enqueue"; data: EventData.TestEnqueue }
10
10
  | { type: "test:fail"; data: EventData.TestFail }
11
+ | { type: "test:interrupted"; data: EventData.TestInterrupted }
11
12
  | { type: "test:pass"; data: EventData.TestPass }
12
13
  | { type: "test:plan"; data: EventData.TestPlan }
13
14
  | { type: "test:start"; data: EventData.TestStart }
@@ -334,6 +334,7 @@ declare module "node:test" {
334
334
  * This options is not compatible with `isolation='none'`. These variables will override
335
335
  * those from the main process, and are not merged with `process.env`.
336
336
  * @since v25.6.0
337
+ * @default process.env
337
338
  */
338
339
  env?: NodeJS.ProcessEnv | undefined;
339
340
  }
@@ -345,6 +346,7 @@ declare module "node:test" {
345
346
  "test:diagnostic": [data: EventData.TestDiagnostic];
346
347
  "test:enqueue": [data: EventData.TestEnqueue];
347
348
  "test:fail": [data: EventData.TestFail];
349
+ "test:interrupted": [data: EventData.TestInterrupted];
348
350
  "test:pass": [data: EventData.TestPass];
349
351
  "test:plan": [data: EventData.TestPlan];
350
352
  "test:start": [data: EventData.TestStart];
@@ -736,6 +738,13 @@ declare module "node:test" {
736
738
  */
737
739
  skip?: string | boolean;
738
740
  }
741
+ interface TestInterrupted {
742
+ /**
743
+ * An array of objects containing information about the
744
+ * interrupted tests.
745
+ */
746
+ tests: TestStart[];
747
+ }
739
748
  interface TestPass extends LocationInfo {
740
749
  /**
741
750
  * Additional execution metadata.
@@ -229,9 +229,31 @@ declare module "node:url" {
229
229
  * * `result` is returned.
230
230
  * @since v0.1.25
231
231
  * @legacy Use the WHATWG URL API instead.
232
- * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
232
+ * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise).
233
+ */
234
+ function format(urlObject: UrlObject): string;
235
+ /**
236
+ * `url.format(urlString)` is shorthand for `url.format(url.parse(urlString))`.
237
+ *
238
+ * Because it invokes the deprecated `url.parse()`, passing a string argument
239
+ * to `url.format()` is itself deprecated.
240
+ *
241
+ * Canonicalizing a URL string can be performed using the WHATWG URL API, by
242
+ * constructing a new URL object and calling `url.toString()`.
243
+ *
244
+ * ```js
245
+ * import { URL } from 'node:url';
246
+ *
247
+ * const unformatted = 'http://[fe80:0:0:0:0:0:0:1]:/a/b?a=b#abc';
248
+ * const formatted = new URL(unformatted).toString();
249
+ *
250
+ * console.log(formatted); // Prints: http://[fe80::1]/a/b?a=b#abc
251
+ * ```
252
+ * @since v0.1.25
253
+ * @deprecated Use the WHATWG URL API instead.
254
+ * @param urlString A string that will be passed to `url.parse()` and then formatted.
233
255
  */
234
- function format(urlObject: UrlObject | string): string;
256
+ function format(urlString: string): string;
235
257
  /**
236
258
  * The `url.resolve()` method resolves a target URL relative to a base URL in a
237
259
  * manner similar to that of a web browser resolving an anchor tag.