@types/node 20.19.25 → 24.10.4

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 (79) hide show
  1. {node v20.19 → node v24.10}/README.md +3 -3
  2. node v24.10/assert/strict.d.ts +111 -0
  3. {node v20.19 → node v24.10}/assert.d.ts +150 -97
  4. {node v20.19 → node v24.10}/async_hooks.d.ts +27 -9
  5. {node v20.19 → node v24.10}/buffer.buffer.d.ts +2 -1
  6. {node v20.19 → node v24.10}/buffer.d.ts +6 -8
  7. {node v20.19 → node v24.10}/child_process.d.ts +11 -10
  8. {node v20.19 → node v24.10}/cluster.d.ts +16 -15
  9. {node v20.19 → node v24.10}/console.d.ts +19 -18
  10. {node v20.19 → node v24.10}/crypto.d.ts +1120 -293
  11. {node v20.19 → node v24.10}/dgram.d.ts +5 -2
  12. {node v20.19 → node v24.10}/diagnostics_channel.d.ts +1 -3
  13. {node v20.19 → node v24.10}/dns/promises.d.ts +30 -6
  14. {node v20.19 → node v24.10}/dns.d.ts +69 -17
  15. {node v20.19 → node v24.10}/domain.d.ts +1 -1
  16. {node v20.19 → node v24.10}/events.d.ts +1 -2
  17. {node v20.19 → node v24.10}/fs/promises.d.ts +85 -38
  18. {node v20.19 → node v24.10}/fs.d.ts +387 -48
  19. {node v20.19 → node v24.10}/globals.d.ts +2 -4
  20. {node v20.19 → node v24.10}/globals.typedarray.d.ts +3 -0
  21. {node v20.19 → node v24.10}/http.d.ts +90 -5
  22. {node v20.19 → node v24.10}/http2.d.ts +166 -41
  23. {node v20.19 → node v24.10}/https.d.ts +4 -3
  24. {node v20.19 → node v24.10}/index.d.ts +13 -5
  25. node v24.10/inspector.d.ts +277 -0
  26. {node v20.19 → node v24.10}/inspector.generated.d.ts +1096 -829
  27. {node v20.19 → node v24.10}/module.d.ts +403 -48
  28. {node v20.19 → node v24.10}/net.d.ts +62 -20
  29. {node v20.19 → node v24.10}/os.d.ts +8 -7
  30. {node v20.19 → node v24.10}/package.json +18 -3
  31. {node v20.19 → node v24.10}/path.d.ts +3 -3
  32. {node v20.19 → node v24.10}/perf_hooks.d.ts +37 -16
  33. {node v20.19 → node v24.10}/process.d.ts +138 -16
  34. {node v20.19 → node v24.10}/punycode.d.ts +1 -1
  35. {node v20.19 → node v24.10}/querystring.d.ts +1 -1
  36. {node v20.19 → node v24.10}/readline/promises.d.ts +0 -1
  37. {node v20.19 → node v24.10}/readline.d.ts +19 -14
  38. {node v20.19 → node v24.10}/repl.d.ts +25 -17
  39. {node v20.19 → node v24.10}/sea.d.ts +11 -2
  40. node v24.10/sqlite.d.ts +937 -0
  41. {node v20.19 → node v24.10}/stream/web.d.ts +85 -45
  42. {node v20.19 → node v24.10}/stream.d.ts +36 -28
  43. {node v20.19 → node v24.10}/string_decoder.d.ts +1 -1
  44. {node v20.19 → node v24.10}/test.d.ts +587 -35
  45. {node v20.19 → node v24.10}/timers/promises.d.ts +1 -1
  46. {node v20.19 → node v24.10}/timers.d.ts +4 -5
  47. {node v20.19 → node v24.10}/tls.d.ts +62 -48
  48. {node v20.19 → node v24.10}/trace_events.d.ts +6 -6
  49. node v24.10/ts5.6/compatibility/float16array.d.ts +71 -0
  50. {node v20.19 → node v24.10}/ts5.6/globals.typedarray.d.ts +2 -0
  51. {node v20.19 → node v24.10}/ts5.6/index.d.ts +15 -5
  52. node v24.10/ts5.7/compatibility/float16array.d.ts +72 -0
  53. node v24.10/ts5.7/index.d.ts +103 -0
  54. {node v20.19 → node v24.10}/tty.d.ts +1 -1
  55. {node v20.19 → node v24.10}/url.d.ts +128 -35
  56. {node v20.19 → node v24.10}/util.d.ts +384 -390
  57. {node v20.19 → node v24.10}/v8.d.ts +175 -32
  58. {node v20.19 → node v24.10}/vm.d.ts +246 -67
  59. {node v20.19 → node v24.10}/wasi.d.ts +23 -2
  60. node v24.10/web-globals/crypto.d.ts +32 -0
  61. {node v20.19 → node v24.10}/web-globals/fetch.d.ts +4 -0
  62. node v24.10/web-globals/navigator.d.ts +25 -0
  63. node v24.10/web-globals/storage.d.ts +24 -0
  64. node v24.10/web-globals/streams.d.ts +22 -0
  65. {node v20.19 → node v24.10}/worker_threads.d.ts +205 -24
  66. {node v20.19 → node v24.10}/zlib.d.ts +185 -44
  67. node v20.19/assert/strict.d.ts +0 -8
  68. node v20.19/compatibility/disposable.d.ts +0 -16
  69. node v20.19/compatibility/index.d.ts +0 -9
  70. node v20.19/compatibility/indexable.d.ts +0 -20
  71. {node v20.19 → node v24.10}/LICENSE +0 -0
  72. {node v20.19 → node v24.10}/compatibility/iterators.d.ts +0 -0
  73. {node v20.19 → node v24.10}/constants.d.ts +0 -0
  74. {node v20.19 → node v24.10}/stream/consumers.d.ts +0 -0
  75. {node v20.19 → node v24.10}/stream/promises.d.ts +0 -0
  76. {node v20.19 → node v24.10}/ts5.6/buffer.buffer.d.ts +0 -0
  77. {node v20.19 → node v24.10}/web-globals/abortcontroller.d.ts +0 -0
  78. {node v20.19 → node v24.10}/web-globals/domexception.d.ts +0 -0
  79. {node v20.19 → node v24.10}/web-globals/events.d.ts +0 -0
@@ -10,7 +10,7 @@
10
10
  * ```js
11
11
  * import net from 'node:net';
12
12
  * ```
13
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/net.js)
13
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/net.js)
14
14
  */
15
15
  declare module "net" {
16
16
  import { NonSharedBuffer } from "node:buffer";
@@ -30,6 +30,7 @@ declare module "net" {
30
30
  interface SocketConstructorOpts {
31
31
  fd?: number | undefined;
32
32
  allowHalfOpen?: boolean | undefined;
33
+ onread?: OnReadOpts | undefined;
33
34
  readable?: boolean | undefined;
34
35
  writable?: boolean | undefined;
35
36
  signal?: AbortSignal | undefined;
@@ -38,20 +39,12 @@ declare module "net" {
38
39
  buffer: Uint8Array | (() => Uint8Array);
39
40
  /**
40
41
  * This function is called for every chunk of incoming data.
41
- * Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer.
42
- * Return false from this function to implicitly pause() the socket.
42
+ * Two arguments are passed to it: the number of bytes written to `buffer` and a reference to `buffer`.
43
+ * Return `false` from this function to implicitly `pause()` the socket.
43
44
  */
44
- callback(bytesWritten: number, buf: Uint8Array): boolean;
45
+ callback(bytesWritten: number, buffer: Uint8Array): boolean;
45
46
  }
46
- interface ConnectOpts {
47
- /**
48
- * If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket.
49
- * Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will
50
- * still be emitted as normal and methods like pause() and resume() will also behave as expected.
51
- */
52
- onread?: OnReadOpts | undefined;
53
- }
54
- interface TcpSocketConnectOpts extends ConnectOpts {
47
+ interface TcpSocketConnectOpts {
55
48
  port: number;
56
49
  host?: string | undefined;
57
50
  localAddress?: string | undefined;
@@ -70,8 +63,9 @@ declare module "net" {
70
63
  * @since v18.13.0
71
64
  */
72
65
  autoSelectFamilyAttemptTimeout?: number | undefined;
66
+ blockList?: BlockList | undefined;
73
67
  }
74
- interface IpcSocketConnectOpts extends ConnectOpts {
68
+ interface IpcSocketConnectOpts {
75
69
  path: string;
76
70
  }
77
71
  type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
@@ -497,17 +491,18 @@ declare module "net" {
497
491
  prependOnceListener(event: "timeout", listener: () => void): this;
498
492
  }
499
493
  interface ListenOptions extends Abortable {
500
- port?: number | undefined;
501
- host?: string | undefined;
502
494
  backlog?: number | undefined;
503
- path?: string | undefined;
504
495
  exclusive?: boolean | undefined;
505
- readableAll?: boolean | undefined;
506
- writableAll?: boolean | undefined;
496
+ host?: string | undefined;
507
497
  /**
508
498
  * @default false
509
499
  */
510
500
  ipv6Only?: boolean | undefined;
501
+ reusePort?: boolean | undefined;
502
+ path?: string | undefined;
503
+ port?: number | undefined;
504
+ readableAll?: boolean | undefined;
505
+ writableAll?: boolean | undefined;
511
506
  }
512
507
  interface ServerOpts {
513
508
  /**
@@ -541,10 +536,19 @@ declare module "net" {
541
536
  keepAliveInitialDelay?: number | undefined;
542
537
  /**
543
538
  * Optionally overrides all `net.Socket`s' `readableHighWaterMark` and `writableHighWaterMark`.
544
- * @default See [stream.getDefaultHighWaterMark()](https://nodejs.org/docs/latest-v20.x/api/stream.html#streamgetdefaulthighwatermarkobjectmode).
539
+ * @default See [stream.getDefaultHighWaterMark()](https://nodejs.org/docs/latest-v24.x/api/stream.html#streamgetdefaulthighwatermarkobjectmode).
545
540
  * @since v18.17.0, v20.1.0
546
541
  */
547
542
  highWaterMark?: number | undefined;
543
+ /**
544
+ * `blockList` can be used for disabling inbound
545
+ * access to specific IP addresses, IP ranges, or IP subnets. This does not
546
+ * work if the server is behind a reverse proxy, NAT, etc. because the address
547
+ * checked against the block list is the address of the proxy, or the one
548
+ * specified by the NAT.
549
+ * @since v22.13.0
550
+ */
551
+ blockList?: BlockList | undefined;
548
552
  }
549
553
  interface DropArgument {
550
554
  localAddress?: string;
@@ -796,6 +800,33 @@ declare module "net" {
796
800
  * @since v15.0.0, v14.18.0
797
801
  */
798
802
  rules: readonly string[];
803
+ /**
804
+ * Returns `true` if the `value` is a `net.BlockList`.
805
+ * @since v22.13.0
806
+ * @param value Any JS value
807
+ */
808
+ static isBlockList(value: unknown): value is BlockList;
809
+ /**
810
+ * ```js
811
+ * const blockList = new net.BlockList();
812
+ * const data = [
813
+ * 'Subnet: IPv4 192.168.1.0/24',
814
+ * 'Address: IPv4 10.0.0.5',
815
+ * 'Range: IPv4 192.168.2.1-192.168.2.10',
816
+ * 'Range: IPv4 10.0.0.1-10.0.0.10',
817
+ * ];
818
+ * blockList.fromJSON(data);
819
+ * blockList.fromJSON(JSON.stringify(data));
820
+ * ```
821
+ * @since v24.5.0
822
+ * @experimental
823
+ */
824
+ fromJSON(data: string | readonly string[]): void;
825
+ /**
826
+ * @since v24.5.0
827
+ * @experimental
828
+ */
829
+ toJSON(): readonly string[];
799
830
  }
800
831
  interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
801
832
  timeout?: number | undefined;
@@ -907,6 +938,9 @@ declare module "net" {
907
938
  function getDefaultAutoSelectFamily(): boolean;
908
939
  /**
909
940
  * Sets the default value of the `autoSelectFamily` option of `socket.connect(options)`.
941
+ * @param value The new default value.
942
+ * The initial default value is `true`, unless the command line option
943
+ * `--no-network-family-autoselection` is provided.
910
944
  * @since v19.4.0
911
945
  */
912
946
  function setDefaultAutoSelectFamily(value: boolean): void;
@@ -1005,6 +1039,14 @@ declare module "net" {
1005
1039
  * @since v15.14.0, v14.18.0
1006
1040
  */
1007
1041
  readonly flowlabel: number;
1042
+ /**
1043
+ * @since v22.13.0
1044
+ * @param input An input string containing an IP address and optional port,
1045
+ * e.g. `123.1.2.3:1234` or `[1::1]:1234`.
1046
+ * @returns Returns a `SocketAddress` if parsing was successful.
1047
+ * Otherwise returns `undefined`.
1048
+ */
1049
+ static parse(input: string): SocketAddress | undefined;
1008
1050
  }
1009
1051
  }
1010
1052
  declare module "node:net" {
@@ -5,7 +5,7 @@
5
5
  * ```js
6
6
  * import os from 'node:os';
7
7
  * ```
8
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/os.js)
8
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/os.js)
9
9
  */
10
10
  declare module "os" {
11
11
  import { NonSharedBuffer } from "buffer";
@@ -251,7 +251,7 @@ declare module "os" {
251
251
  * environment variables for the home directory before falling back to the
252
252
  * operating system response.
253
253
  *
254
- * Throws a [`SystemError`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-systemerror) if a user has no `username` or `homedir`.
254
+ * Throws a [`SystemError`](https://nodejs.org/docs/latest-v24.x/api/errors.html#class-systemerror) if a user has no `username` or `homedir`.
255
255
  * @since v6.0.0
256
256
  */
257
257
  function userInfo(options?: UserInfoOptionsWithStringEncoding): UserInfo<string>;
@@ -428,13 +428,13 @@ declare module "os" {
428
428
  const EOL: string;
429
429
  /**
430
430
  * Returns the operating system CPU architecture for which the Node.js binary was
431
- * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`,
432
- * and `'x64'`.
431
+ * compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`,
432
+ * `'mips'`, `'mipsel'`, `'ppc64'`, `'riscv64'`, `'s390x'`, and `'x64'`.
433
433
  *
434
- * The return value is equivalent to [process.arch](https://nodejs.org/docs/latest-v20.x/api/process.html#processarch).
434
+ * The return value is equivalent to [process.arch](https://nodejs.org/docs/latest-v24.x/api/process.html#processarch).
435
435
  * @since v0.5.0
436
436
  */
437
- function arch(): string;
437
+ function arch(): NodeJS.Architecture;
438
438
  /**
439
439
  * Returns a string identifying the kernel version.
440
440
  *
@@ -456,7 +456,8 @@ declare module "os" {
456
456
  */
457
457
  function platform(): NodeJS.Platform;
458
458
  /**
459
- * Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`, `mips`, `mips64`, `ppc64`, `ppc64le`, `s390`, `s390x`, `i386`, `i686`, `x86_64`.
459
+ * Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`,
460
+ * `mips`, `mips64`, `ppc64`, `ppc64le`, `s390x`, `i386`, `i686`, `x86_64`.
460
461
  *
461
462
  * On POSIX systems, the machine type is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
462
463
  * available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.19.25",
3
+ "version": "24.10.4",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -114,6 +114,16 @@
114
114
  "name": "Dmitry Semigradsky",
115
115
  "githubUsername": "Semigradsky",
116
116
  "url": "https://github.com/Semigradsky"
117
+ },
118
+ {
119
+ "name": "René",
120
+ "githubUsername": "Renegade334",
121
+ "url": "https://github.com/Renegade334"
122
+ },
123
+ {
124
+ "name": "Yagiz Nizipli",
125
+ "githubUsername": "anonrig",
126
+ "url": "https://github.com/anonrig"
117
127
  }
118
128
  ],
119
129
  "main": "",
@@ -123,6 +133,11 @@
123
133
  "*": [
124
134
  "ts5.6/*"
125
135
  ]
136
+ },
137
+ "<=5.7": {
138
+ "*": [
139
+ "ts5.7/*"
140
+ ]
126
141
  }
127
142
  },
128
143
  "repository": {
@@ -132,9 +147,9 @@
132
147
  },
133
148
  "scripts": {},
134
149
  "dependencies": {
135
- "undici-types": "~6.21.0"
150
+ "undici-types": "~7.16.0"
136
151
  },
137
152
  "peerDependencies": {},
138
- "typesPublisherContentHash": "0ec557ab7cdbdee76964ef84ff1599c64e255facd49d8e83135e9183115ebc00",
153
+ "typesPublisherContentHash": "3a9013632111e49759d702b082ccfa1cce713feb78de09513919546221062945",
139
154
  "typeScriptVersion": "5.2"
140
155
  }
@@ -13,7 +13,7 @@ declare module "path/win32" {
13
13
  * ```js
14
14
  * import path from 'node:path';
15
15
  * ```
16
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/path.js)
16
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/path.js)
17
17
  */
18
18
  declare module "path" {
19
19
  namespace path {
@@ -67,7 +67,7 @@ declare module "path" {
67
67
  interface PlatformPath {
68
68
  /**
69
69
  * Normalize a string path, reducing '..' and '.' parts.
70
- * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
70
+ * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. If the path is a zero-length string, '.' is returned, representing the current working directory.
71
71
  *
72
72
  * @param path string path to normalize.
73
73
  * @throws {TypeError} if `path` is not a string.
@@ -100,7 +100,7 @@ declare module "path" {
100
100
  * @param pattern The glob to check the path against.
101
101
  * @returns Whether or not the `path` matched the `pattern`.
102
102
  * @throws {TypeError} if `path` or `pattern` are not strings.
103
- * @since v20.17.0
103
+ * @since v22.5.0
104
104
  */
105
105
  matchesGlob(path: string, pattern: string): boolean;
106
106
  /**
@@ -27,7 +27,7 @@
27
27
  * performance.measure('A to B', 'A', 'B');
28
28
  * });
29
29
  * ```
30
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/perf_hooks.js)
30
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/perf_hooks.js)
31
31
  */
32
32
  declare module "perf_hooks" {
33
33
  import { AsyncResource } from "node:async_hooks";
@@ -136,6 +136,7 @@ declare module "perf_hooks" {
136
136
  * @since v8.5.0
137
137
  */
138
138
  class PerformanceNodeTiming extends PerformanceEntry {
139
+ readonly entryType: "node";
139
140
  /**
140
141
  * The high resolution millisecond timestamp at which the Node.js process
141
142
  * completed bootstrapping. If bootstrapping has not yet finished, the property
@@ -184,7 +185,7 @@ declare module "perf_hooks" {
184
185
  * It is recommended to use this property inside a function whose execution was
185
186
  * scheduled using `setImmediate` to avoid collecting metrics before finishing all
186
187
  * operations scheduled during the current loop iteration.
187
- * @since v20.18.0
188
+ * @since v22.8.0, v20.18.0
188
189
  */
189
190
  readonly uvMetricsInfo: UVMetrics;
190
191
  /**
@@ -311,6 +312,9 @@ declare module "perf_hooks" {
311
312
  * @param initiatorType The initiator name, e.g: 'fetch'
312
313
  * @param global
313
314
  * @param cacheMode The cache mode must be an empty string ('') or 'local'
315
+ * @param bodyInfo [Fetch Response Body Info](https://fetch.spec.whatwg.org/#response-body-info)
316
+ * @param responseStatus The response's status code
317
+ * @param deliveryType The delivery type. Default: ''.
314
318
  * @since v18.2.0, v16.17.0
315
319
  */
316
320
  markResourceTiming(
@@ -319,6 +323,9 @@ declare module "perf_hooks" {
319
323
  initiatorType: string,
320
324
  global: object,
321
325
  cacheMode: "" | "local",
326
+ bodyInfo: object,
327
+ responseStatus: number,
328
+ deliveryType?: string,
322
329
  ): PerformanceResourceTiming;
323
330
  /**
324
331
  * Creates a new PerformanceMeasure entry in the Performance Timeline.
@@ -804,6 +811,20 @@ declare module "perf_hooks" {
804
811
  * @since v11.10.0
805
812
  */
806
813
  disable(): boolean;
814
+ /**
815
+ * Disables the update interval timer when the histogram is disposed.
816
+ *
817
+ * ```js
818
+ * const { monitorEventLoopDelay } = require('node:perf_hooks');
819
+ * {
820
+ * using hist = monitorEventLoopDelay({ resolution: 20 });
821
+ * hist.enable();
822
+ * // The histogram will be disabled when the block is exited.
823
+ * }
824
+ * ```
825
+ * @since v24.2.0
826
+ */
827
+ [Symbol.dispose](): void;
807
828
  }
808
829
  interface RecordableHistogram extends Histogram {
809
830
  /**
@@ -885,8 +906,8 @@ declare module "perf_hooks" {
885
906
  } from "perf_hooks";
886
907
  global {
887
908
  /**
888
- * `PerformanceEntry` is a global reference for `import { PerformanceEntry } from 'node:node:perf_hooks'`
889
- * @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performanceentry
909
+ * `PerformanceEntry` is a global reference for `import { PerformanceEntry } from 'node:perf_hooks'`
910
+ * @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceentry
890
911
  * @since v19.0.0
891
912
  */
892
913
  var PerformanceEntry: typeof globalThis extends {
@@ -895,8 +916,8 @@ declare module "perf_hooks" {
895
916
  } ? T
896
917
  : typeof _PerformanceEntry;
897
918
  /**
898
- * `PerformanceMark` is a global reference for `import { PerformanceMark } from 'node:node:perf_hooks'`
899
- * @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performancemark
919
+ * `PerformanceMark` is a global reference for `import { PerformanceMark } from 'node:perf_hooks'`
920
+ * @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performancemark
900
921
  * @since v19.0.0
901
922
  */
902
923
  var PerformanceMark: typeof globalThis extends {
@@ -905,8 +926,8 @@ declare module "perf_hooks" {
905
926
  } ? T
906
927
  : typeof _PerformanceMark;
907
928
  /**
908
- * `PerformanceMeasure` is a global reference for `import { PerformanceMeasure } from 'node:node:perf_hooks'`
909
- * @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performancemeasure
929
+ * `PerformanceMeasure` is a global reference for `import { PerformanceMeasure } from 'node:perf_hooks'`
930
+ * @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performancemeasure
910
931
  * @since v19.0.0
911
932
  */
912
933
  var PerformanceMeasure: typeof globalThis extends {
@@ -915,8 +936,8 @@ declare module "perf_hooks" {
915
936
  } ? T
916
937
  : typeof _PerformanceMeasure;
917
938
  /**
918
- * `PerformanceObserver` is a global reference for `import { PerformanceObserver } from 'node:node:perf_hooks'`
919
- * @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performanceobserver
939
+ * `PerformanceObserver` is a global reference for `import { PerformanceObserver } from 'node:perf_hooks'`
940
+ * @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceobserver
920
941
  * @since v19.0.0
921
942
  */
922
943
  var PerformanceObserver: typeof globalThis extends {
@@ -925,8 +946,8 @@ declare module "perf_hooks" {
925
946
  } ? T
926
947
  : typeof _PerformanceObserver;
927
948
  /**
928
- * `PerformanceObserverEntryList` is a global reference for `import { PerformanceObserverEntryList } from 'node:node:perf_hooks'`
929
- * @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performanceobserverentrylist
949
+ * `PerformanceObserverEntryList` is a global reference for `import { PerformanceObserverEntryList } from 'node:perf_hooks'`
950
+ * @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceobserverentrylist
930
951
  * @since v19.0.0
931
952
  */
932
953
  var PerformanceObserverEntryList: typeof globalThis extends {
@@ -935,8 +956,8 @@ declare module "perf_hooks" {
935
956
  } ? T
936
957
  : typeof _PerformanceObserverEntryList;
937
958
  /**
938
- * `PerformanceResourceTiming` is a global reference for `import { PerformanceResourceTiming } from 'node:node:perf_hooks'`
939
- * @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performanceresourcetiming
959
+ * `PerformanceResourceTiming` is a global reference for `import { PerformanceResourceTiming } from 'node:perf_hooks'`
960
+ * @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceresourcetiming
940
961
  * @since v19.0.0
941
962
  */
942
963
  var PerformanceResourceTiming: typeof globalThis extends {
@@ -945,8 +966,8 @@ declare module "perf_hooks" {
945
966
  } ? T
946
967
  : typeof _PerformanceResourceTiming;
947
968
  /**
948
- * `performance` is a global reference for `import { performance } from 'node:node:perf_hooks'`
949
- * @see https://nodejs.org/docs/latest-v20.x/api/globals.html#performance
969
+ * `performance` is a global reference for `import { performance } from 'node:perf_hooks'`
970
+ * @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performance
950
971
  * @since v16.0.0
951
972
  */
952
973
  var performance: typeof globalThis extends {