@types/node 20.2.5 → 20.2.6
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/cluster.d.ts +2 -0
- node/package.json +2 -2
- node/ts4.8/cluster.d.ts +2 -0
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (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: Sat, 10 Jun 2023 02:02:52 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
node/cluster.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ declare module 'cluster' {
|
|
|
56
56
|
import * as child from 'node:child_process';
|
|
57
57
|
import EventEmitter = require('node:events');
|
|
58
58
|
import * as net from 'node:net';
|
|
59
|
+
type SerializationType = 'json' | 'advanced';
|
|
59
60
|
export interface ClusterSettings {
|
|
60
61
|
execArgv?: string[] | undefined; // default: process.execArgv
|
|
61
62
|
exec?: string | undefined;
|
|
@@ -65,6 +66,7 @@ declare module 'cluster' {
|
|
|
65
66
|
uid?: number | undefined;
|
|
66
67
|
gid?: number | undefined;
|
|
67
68
|
inspectPort?: number | (() => number) | undefined;
|
|
69
|
+
serialization?: SerializationType | undefined;
|
|
68
70
|
}
|
|
69
71
|
export interface Address {
|
|
70
72
|
address: string;
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.2.
|
|
3
|
+
"version": "20.2.6",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -232,6 +232,6 @@
|
|
|
232
232
|
},
|
|
233
233
|
"scripts": {},
|
|
234
234
|
"dependencies": {},
|
|
235
|
-
"typesPublisherContentHash": "
|
|
235
|
+
"typesPublisherContentHash": "6564d8b4fd53b40adc2b69356c593a80fe9a2215e3d259e0e08a02c3621912e8",
|
|
236
236
|
"typeScriptVersion": "4.3"
|
|
237
237
|
}
|
node/ts4.8/cluster.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ declare module 'cluster' {
|
|
|
56
56
|
import * as child from 'node:child_process';
|
|
57
57
|
import EventEmitter = require('node:events');
|
|
58
58
|
import * as net from 'node:net';
|
|
59
|
+
type SerializationType = 'json' | 'advanced';
|
|
59
60
|
export interface ClusterSettings {
|
|
60
61
|
execArgv?: string[] | undefined; // default: process.execArgv
|
|
61
62
|
exec?: string | undefined;
|
|
@@ -65,6 +66,7 @@ declare module 'cluster' {
|
|
|
65
66
|
uid?: number | undefined;
|
|
66
67
|
gid?: number | undefined;
|
|
67
68
|
inspectPort?: number | (() => number) | undefined;
|
|
69
|
+
serialization?: SerializationType | undefined;
|
|
68
70
|
}
|
|
69
71
|
export interface Address {
|
|
70
72
|
address: string;
|