@types/node 25.0.6 → 25.0.8
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/README.md +1 -1
- node/package.json +2 -2
- node/process.d.ts +11 -2
- node/worker_threads.d.ts +3 -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:
|
|
11
|
+
* Last updated: Tue, 13 Jan 2026 15:03:39 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.
|
|
3
|
+
"version": "25.0.8",
|
|
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": "
|
|
153
|
+
"typesPublisherContentHash": "820c198d7a6ad561df9391e735b701c290d0da9e75d68c4a7e817a6c7ba1dc4f",
|
|
154
154
|
"typeScriptVersion": "5.2"
|
|
155
155
|
}
|
node/process.d.ts
CHANGED
|
@@ -1908,8 +1908,17 @@ declare module "node:process" {
|
|
|
1908
1908
|
*/
|
|
1909
1909
|
send?(
|
|
1910
1910
|
message: any,
|
|
1911
|
-
|
|
1912
|
-
|
|
1911
|
+
callback?: (error: Error | null) => void,
|
|
1912
|
+
): boolean;
|
|
1913
|
+
send?(
|
|
1914
|
+
message: any,
|
|
1915
|
+
sendHandle: SendHandle,
|
|
1916
|
+
callback?: (error: Error | null) => void,
|
|
1917
|
+
): boolean;
|
|
1918
|
+
send?(
|
|
1919
|
+
message: any,
|
|
1920
|
+
sendHandle: SendHandle,
|
|
1921
|
+
options: MessageOptions,
|
|
1913
1922
|
callback?: (error: Error | null) => void,
|
|
1914
1923
|
): boolean;
|
|
1915
1924
|
/**
|
node/worker_threads.d.ts
CHANGED
|
@@ -654,6 +654,9 @@ declare module "node:worker_threads" {
|
|
|
654
654
|
postMessage(message: any, transfer: Transferable[]): void;
|
|
655
655
|
postMessage(message: any, options?: StructuredSerializeOptions): void;
|
|
656
656
|
start(): void;
|
|
657
|
+
hasRef(): boolean;
|
|
658
|
+
ref(): void;
|
|
659
|
+
unref(): void;
|
|
657
660
|
addEventListener<K extends keyof MessagePortEventMap>(
|
|
658
661
|
type: K,
|
|
659
662
|
listener: (ev: MessagePortEventMap[K]) => void,
|