@types/node 18.19.80 → 18.19.81

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.
node v18.19/README.md CHANGED
@@ -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/v18.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sat, 08 Mar 2025 07:02:57 GMT
11
+ * Last updated: Fri, 21 Mar 2025 09:02:30 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node v18.19/http.d.ts CHANGED
@@ -341,8 +341,8 @@ declare module "http" {
341
341
  * @since v0.9.12
342
342
  * @param [msecs=0 (no timeout)]
343
343
  */
344
- setTimeout(msecs?: number, callback?: () => void): this;
345
- setTimeout(callback: () => void): this;
344
+ setTimeout(msecs?: number, callback?: (socket: Socket) => void): this;
345
+ setTimeout(callback: (socket: Socket) => void): this;
346
346
  /**
347
347
  * Limits maximum incoming headers count. If set to 0, no limit will be applied.
348
348
  * @since v0.7.0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.80",
3
+ "version": "18.19.81",
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": "~5.26.4"
221
221
  },
222
222
  "peerDependencies": {},
223
- "typesPublisherContentHash": "cf2355d816bdd5dc52f4836db5e1e5423ca9a1770d2c74d03c51ce1dce8f9641",
223
+ "typesPublisherContentHash": "7167399ff531535bed98774412a3fe6f50b69c4aeb5beaccf1b156435cfa2581",
224
224
  "typeScriptVersion": "5.0"
225
225
  }