@types/node 18.19.11 → 18.19.13
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/net.d.ts +2 -2
- node v18.19/package.json +2 -2
- node v18.19/tls.d.ts +1 -1
- node v18.19/ts4.8/net.d.ts +2 -2
- node v18.19/ts4.8/tls.d.ts +1 -1
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: Thu, 01 Feb 2024 09:07:23 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v18.19/net.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ declare module "net" {
|
|
|
18
18
|
import * as dns from "node:dns";
|
|
19
19
|
type LookupFunction = (
|
|
20
20
|
hostname: string,
|
|
21
|
-
options: dns.
|
|
22
|
-
callback: (err: NodeJS.ErrnoException | null, address: string, family
|
|
21
|
+
options: dns.LookupOptions,
|
|
22
|
+
callback: (err: NodeJS.ErrnoException | null, address: string | dns.LookupAddress[], family?: number) => void,
|
|
23
23
|
) => void;
|
|
24
24
|
interface AddressInfo {
|
|
25
25
|
address: string;
|
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.13",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -229,6 +229,6 @@
|
|
|
229
229
|
"dependencies": {
|
|
230
230
|
"undici-types": "~5.26.4"
|
|
231
231
|
},
|
|
232
|
-
"typesPublisherContentHash": "
|
|
232
|
+
"typesPublisherContentHash": "f5779be3e9e21495114131cf9b6f2e3d214d5a79f005223dcb824f7899cc8a86",
|
|
233
233
|
"typeScriptVersion": "4.6"
|
|
234
234
|
}
|
node v18.19/tls.d.ts
CHANGED
|
@@ -220,7 +220,7 @@ declare module "tls" {
|
|
|
220
220
|
/**
|
|
221
221
|
* Construct a new tls.TLSSocket object from an existing TCP socket.
|
|
222
222
|
*/
|
|
223
|
-
constructor(socket: net.Socket, options?: TLSSocketOptions);
|
|
223
|
+
constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions);
|
|
224
224
|
/**
|
|
225
225
|
* This property is `true` if the peer certificate was signed by one of the CAs
|
|
226
226
|
* specified when creating the `tls.TLSSocket` instance, otherwise `false`.
|
node v18.19/ts4.8/net.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ declare module "net" {
|
|
|
18
18
|
import * as dns from "node:dns";
|
|
19
19
|
type LookupFunction = (
|
|
20
20
|
hostname: string,
|
|
21
|
-
options: dns.
|
|
22
|
-
callback: (err: NodeJS.ErrnoException | null, address: string, family
|
|
21
|
+
options: dns.LookupOptions,
|
|
22
|
+
callback: (err: NodeJS.ErrnoException | null, address: string | dns.LookupAddress[], family?: number) => void,
|
|
23
23
|
) => void;
|
|
24
24
|
interface AddressInfo {
|
|
25
25
|
address: string;
|
node v18.19/ts4.8/tls.d.ts
CHANGED
|
@@ -220,7 +220,7 @@ declare module "tls" {
|
|
|
220
220
|
/**
|
|
221
221
|
* Construct a new tls.TLSSocket object from an existing TCP socket.
|
|
222
222
|
*/
|
|
223
|
-
constructor(socket: net.Socket, options?: TLSSocketOptions);
|
|
223
|
+
constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions);
|
|
224
224
|
/**
|
|
225
225
|
* This property is `true` if the peer certificate was signed by one of the CAs
|
|
226
226
|
* specified when creating the `tls.TLSSocket` instance, otherwise `false`.
|