@types/node 16.18.70 → 16.18.71
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 v16.18/README.md +1 -1
- node v16.18/package.json +2 -2
- node v16.18/process.d.ts +17 -0
- node v16.18/ts4.8/process.d.ts +17 -0
node v16.18/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/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 15 Jan 2024 04:07:53 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v16.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.18.
|
|
3
|
+
"version": "16.18.71",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
},
|
|
223
223
|
"scripts": {},
|
|
224
224
|
"dependencies": {},
|
|
225
|
-
"typesPublisherContentHash": "
|
|
225
|
+
"typesPublisherContentHash": "408c5b0e2936344d0ce7cecbea35013d99c9c3831649e625c736a618136d4e69",
|
|
226
226
|
"typeScriptVersion": "4.6",
|
|
227
227
|
"nonNpm": true
|
|
228
228
|
}
|
node v16.18/process.d.ts
CHANGED
|
@@ -1280,6 +1280,23 @@ declare module "process" {
|
|
|
1280
1280
|
*/
|
|
1281
1281
|
uptime(): number;
|
|
1282
1282
|
hrtime: HRTime;
|
|
1283
|
+
/**
|
|
1284
|
+
* If the Node.js process was spawned with an IPC channel, the process.channel property is a reference to the IPC channel.
|
|
1285
|
+
* If no IPC channel exists, this property is undefined.
|
|
1286
|
+
* @since v7.1.0
|
|
1287
|
+
*/
|
|
1288
|
+
channel?: {
|
|
1289
|
+
/**
|
|
1290
|
+
* This method makes the IPC channel keep the event loop of the process running if .unref() has been called before.
|
|
1291
|
+
* @since v7.1.0
|
|
1292
|
+
*/
|
|
1293
|
+
ref(): void;
|
|
1294
|
+
/**
|
|
1295
|
+
* This method makes the IPC channel not keep the event loop of the process running, and lets it finish even while the channel is open.
|
|
1296
|
+
* @since v7.1.0
|
|
1297
|
+
*/
|
|
1298
|
+
unref(): void;
|
|
1299
|
+
};
|
|
1283
1300
|
/**
|
|
1284
1301
|
* If Node.js is spawned with an IPC channel, the `process.send()` method can be
|
|
1285
1302
|
* used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object.
|
node v16.18/ts4.8/process.d.ts
CHANGED
|
@@ -1280,6 +1280,23 @@ declare module "process" {
|
|
|
1280
1280
|
*/
|
|
1281
1281
|
uptime(): number;
|
|
1282
1282
|
hrtime: HRTime;
|
|
1283
|
+
/**
|
|
1284
|
+
* If the Node.js process was spawned with an IPC channel, the process.channel property is a reference to the IPC channel.
|
|
1285
|
+
* If no IPC channel exists, this property is undefined.
|
|
1286
|
+
* @since v7.1.0
|
|
1287
|
+
*/
|
|
1288
|
+
channel?: {
|
|
1289
|
+
/**
|
|
1290
|
+
* This method makes the IPC channel keep the event loop of the process running if .unref() has been called before.
|
|
1291
|
+
* @since v7.1.0
|
|
1292
|
+
*/
|
|
1293
|
+
ref(): void;
|
|
1294
|
+
/**
|
|
1295
|
+
* This method makes the IPC channel not keep the event loop of the process running, and lets it finish even while the channel is open.
|
|
1296
|
+
* @since v7.1.0
|
|
1297
|
+
*/
|
|
1298
|
+
unref(): void;
|
|
1299
|
+
};
|
|
1283
1300
|
/**
|
|
1284
1301
|
* If Node.js is spawned with an IPC channel, the `process.send()` method can be
|
|
1285
1302
|
* used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object.
|