@types/node 16.18.77 → 16.18.78
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/tls.d.ts +2 -1
- node v16.18/ts4.8/tls.d.ts +2 -1
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: Wed, 31 Jan 2024 19:35:04 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.78",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -222,6 +222,6 @@
|
|
|
222
222
|
},
|
|
223
223
|
"scripts": {},
|
|
224
224
|
"dependencies": {},
|
|
225
|
-
"typesPublisherContentHash": "
|
|
225
|
+
"typesPublisherContentHash": "22a2fa011bf9e331acc51df56038056b552f8b9da6edd88d5c123bc5952476ff",
|
|
226
226
|
"typeScriptVersion": "4.6"
|
|
227
227
|
}
|
node v16.18/tls.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
declare module "tls" {
|
|
12
12
|
import { X509Certificate } from "node:crypto";
|
|
13
13
|
import * as net from "node:net";
|
|
14
|
+
import * as stream from "stream";
|
|
14
15
|
const CLIENT_RENEG_LIMIT: number;
|
|
15
16
|
const CLIENT_RENEG_WINDOW: number;
|
|
16
17
|
interface Certificate {
|
|
@@ -140,7 +141,7 @@ declare module "tls" {
|
|
|
140
141
|
/**
|
|
141
142
|
* Construct a new tls.TLSSocket object from an existing TCP socket.
|
|
142
143
|
*/
|
|
143
|
-
constructor(socket: net.Socket, options?: TLSSocketOptions);
|
|
144
|
+
constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions);
|
|
144
145
|
/**
|
|
145
146
|
* Returns `true` if the peer certificate was signed by one of the CAs specified
|
|
146
147
|
* when creating the `tls.TLSSocket` instance, otherwise `false`.
|
node v16.18/ts4.8/tls.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
declare module "tls" {
|
|
12
12
|
import { X509Certificate } from "node:crypto";
|
|
13
13
|
import * as net from "node:net";
|
|
14
|
+
import * as stream from "stream";
|
|
14
15
|
const CLIENT_RENEG_LIMIT: number;
|
|
15
16
|
const CLIENT_RENEG_WINDOW: number;
|
|
16
17
|
interface Certificate {
|
|
@@ -140,7 +141,7 @@ declare module "tls" {
|
|
|
140
141
|
/**
|
|
141
142
|
* Construct a new tls.TLSSocket object from an existing TCP socket.
|
|
142
143
|
*/
|
|
143
|
-
constructor(socket: net.Socket, options?: TLSSocketOptions);
|
|
144
|
+
constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions);
|
|
144
145
|
/**
|
|
145
146
|
* Returns `true` if the peer certificate was signed by one of the CAs specified
|
|
146
147
|
* when creating the `tls.TLSSocket` instance, otherwise `false`.
|