@types/node 20.19.25 → 20.19.30
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 v20.19/README.md +1 -1
- node v20.19/package.json +2 -2
- node v20.19/path.d.ts +1 -1
- node v20.19/process.d.ts +14 -0
- node v20.19/tls.d.ts +4 -0
node v20.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/v20.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 15 Jan 2026 17:42:21 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v20.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.19.
|
|
3
|
+
"version": "20.19.30",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -135,6 +135,6 @@
|
|
|
135
135
|
"undici-types": "~6.21.0"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {},
|
|
138
|
-
"typesPublisherContentHash": "
|
|
138
|
+
"typesPublisherContentHash": "093a3c4b27603df5de19da8bd5fb6058917597fac6113ad8fb802154ae733638",
|
|
139
139
|
"typeScriptVersion": "5.2"
|
|
140
140
|
}
|
node v20.19/path.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ declare module "path" {
|
|
|
67
67
|
interface PlatformPath {
|
|
68
68
|
/**
|
|
69
69
|
* Normalize a string path, reducing '..' and '.' parts.
|
|
70
|
-
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
|
|
70
|
+
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. If the path is a zero-length string, '.' is returned, representing the current working directory.
|
|
71
71
|
*
|
|
72
72
|
* @param path string path to normalize.
|
|
73
73
|
* @throws {TypeError} if `path` is not a string.
|
node v20.19/process.d.ts
CHANGED
|
@@ -1637,6 +1637,11 @@ declare module "process" {
|
|
|
1637
1637
|
* @param args Additional arguments to pass when invoking the `callback`
|
|
1638
1638
|
*/
|
|
1639
1639
|
nextTick(callback: Function, ...args: any[]): void;
|
|
1640
|
+
/**
|
|
1641
|
+
* The process.noDeprecation property indicates whether the --no-deprecation flag is set on the current Node.js process.
|
|
1642
|
+
* See the documentation for the ['warning' event](https://nodejs.org/docs/latest/api/process.html#event-warning) and the [emitWarning()](https://nodejs.org/docs/latest/api/process.html#processemitwarningwarning-type-code-ctor) method for more information about this flag's behavior.
|
|
1643
|
+
*/
|
|
1644
|
+
noDeprecation?: boolean;
|
|
1640
1645
|
/**
|
|
1641
1646
|
* This API is available through the [--experimental-permission](https://nodejs.org/api/cli.html#--experimental-permission) flag.
|
|
1642
1647
|
*
|
|
@@ -1713,6 +1718,15 @@ declare module "process" {
|
|
|
1713
1718
|
options?: MessageOptions,
|
|
1714
1719
|
callback?: (error: Error | null) => void,
|
|
1715
1720
|
): boolean;
|
|
1721
|
+
send?(
|
|
1722
|
+
message: any,
|
|
1723
|
+
sendHandle: SendHandle,
|
|
1724
|
+
callback?: (error: Error | null) => void,
|
|
1725
|
+
): boolean;
|
|
1726
|
+
send?(
|
|
1727
|
+
message: any,
|
|
1728
|
+
callback: (error: Error | null) => void,
|
|
1729
|
+
): boolean;
|
|
1716
1730
|
/**
|
|
1717
1731
|
* 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
|
|
1718
1732
|
* IPC channel to the parent process, allowing the child process to exit gracefully
|
node v20.19/tls.d.ts
CHANGED
|
@@ -245,6 +245,10 @@ declare module "tls" {
|
|
|
245
245
|
* When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false.
|
|
246
246
|
*/
|
|
247
247
|
alpnProtocol: string | false | null;
|
|
248
|
+
/**
|
|
249
|
+
* String containing the server name requested via SNI (Server Name Indication) TLS extension.
|
|
250
|
+
*/
|
|
251
|
+
servername: string | false | null;
|
|
248
252
|
/**
|
|
249
253
|
* Returns an object representing the local certificate. The returned object has
|
|
250
254
|
* some properties corresponding to the fields of the certificate.
|