@types/node 18.19.6 → 18.19.7
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 +1 -1
- node v18.19/package.json +2 -2
- node v18.19/process.d.ts +17 -0
- node v18.19/ts4.8/process.d.ts +17 -0
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:
|
|
11
|
+
* Last updated: Mon, 15 Jan 2024 04:07:53 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v18.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.19.
|
|
3
|
+
"version": "18.19.7",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"dependencies": {
|
|
230
230
|
"undici-types": "~5.26.4"
|
|
231
231
|
},
|
|
232
|
-
"typesPublisherContentHash": "
|
|
232
|
+
"typesPublisherContentHash": "de019e2111104c10bd646408844bf205cf3101f87f43288874719dc55ec16e43",
|
|
233
233
|
"typeScriptVersion": "4.6",
|
|
234
234
|
"nonNpm": true
|
|
235
235
|
}
|
node v18.19/process.d.ts
CHANGED
|
@@ -1303,6 +1303,23 @@ declare module "process" {
|
|
|
1303
1303
|
*/
|
|
1304
1304
|
uptime(): number;
|
|
1305
1305
|
hrtime: HRTime;
|
|
1306
|
+
/**
|
|
1307
|
+
* If the Node.js process was spawned with an IPC channel, the process.channel property is a reference to the IPC channel.
|
|
1308
|
+
* If no IPC channel exists, this property is undefined.
|
|
1309
|
+
* @since v7.1.0
|
|
1310
|
+
*/
|
|
1311
|
+
channel?: {
|
|
1312
|
+
/**
|
|
1313
|
+
* This method makes the IPC channel keep the event loop of the process running if .unref() has been called before.
|
|
1314
|
+
* @since v7.1.0
|
|
1315
|
+
*/
|
|
1316
|
+
ref(): void;
|
|
1317
|
+
/**
|
|
1318
|
+
* 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.
|
|
1319
|
+
* @since v7.1.0
|
|
1320
|
+
*/
|
|
1321
|
+
unref(): void;
|
|
1322
|
+
};
|
|
1306
1323
|
/**
|
|
1307
1324
|
* If Node.js is spawned with an IPC channel, the `process.send()` method can be
|
|
1308
1325
|
* used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object.
|
node v18.19/ts4.8/process.d.ts
CHANGED
|
@@ -1303,6 +1303,23 @@ declare module "process" {
|
|
|
1303
1303
|
*/
|
|
1304
1304
|
uptime(): number;
|
|
1305
1305
|
hrtime: HRTime;
|
|
1306
|
+
/**
|
|
1307
|
+
* If the Node.js process was spawned with an IPC channel, the process.channel property is a reference to the IPC channel.
|
|
1308
|
+
* If no IPC channel exists, this property is undefined.
|
|
1309
|
+
* @since v7.1.0
|
|
1310
|
+
*/
|
|
1311
|
+
channel?: {
|
|
1312
|
+
/**
|
|
1313
|
+
* This method makes the IPC channel keep the event loop of the process running if .unref() has been called before.
|
|
1314
|
+
* @since v7.1.0
|
|
1315
|
+
*/
|
|
1316
|
+
ref(): void;
|
|
1317
|
+
/**
|
|
1318
|
+
* 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.
|
|
1319
|
+
* @since v7.1.0
|
|
1320
|
+
*/
|
|
1321
|
+
unref(): void;
|
|
1322
|
+
};
|
|
1306
1323
|
/**
|
|
1307
1324
|
* If Node.js is spawned with an IPC channel, the `process.send()` method can be
|
|
1308
1325
|
* used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object.
|