@types/node 25.0.7 → 25.0.9

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 (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/process.d.ts +9 -0
node/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 13 Jan 2026 00:47:03 GMT
11
+ * Last updated: Thu, 15 Jan 2026 17:09:03 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "25.0.7",
3
+ "version": "25.0.9",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -150,6 +150,6 @@
150
150
  "undici-types": "~7.16.0"
151
151
  },
152
152
  "peerDependencies": {},
153
- "typesPublisherContentHash": "b29db59b02bc29b89f52e14291cc93b335804c36c7ab542cba8ddb151a3c9563",
153
+ "typesPublisherContentHash": "1122b0405703a8c7b9a40408f6b1401d45c2c6c13ee013c7ce558360f750f770",
154
154
  "typeScriptVersion": "5.2"
155
155
  }
node/process.d.ts CHANGED
@@ -1912,6 +1912,15 @@ declare module "node:process" {
1912
1912
  options?: MessageOptions,
1913
1913
  callback?: (error: Error | null) => void,
1914
1914
  ): boolean;
1915
+ send?(
1916
+ message: any,
1917
+ sendHandle: SendHandle,
1918
+ callback?: (error: Error | null) => void,
1919
+ ): boolean;
1920
+ send?(
1921
+ message: any,
1922
+ callback: (error: Error | null) => void,
1923
+ ): boolean;
1915
1924
  /**
1916
1925
  * If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.disconnect()` method will close the
1917
1926
  * IPC channel to the parent process, allowing the child process to exit gracefully