@types/node 16.18.8 → 16.18.10
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/crypto.d.ts +1 -1
- node v16.18/https.d.ts +1 -0
- node v16.18/package.json +2 -2
- node v16.18/ts4.8/crypto.d.ts +1 -1
- node v16.18/ts4.8/https.d.ts +1 -0
node v16.18/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (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: Fri, 16 Dec 2022 20:33:09 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node v16.18/crypto.d.ts
CHANGED
|
@@ -2325,7 +2325,7 @@ declare module 'crypto' {
|
|
|
2325
2325
|
/** @deprecated since v10.0.0 */
|
|
2326
2326
|
const DEFAULT_ENCODING: BufferEncoding;
|
|
2327
2327
|
type KeyType = 'rsa' | 'rsa-pss' | 'dsa' | 'ec' | 'ed25519' | 'ed448' | 'x25519' | 'x448';
|
|
2328
|
-
type KeyFormat = 'pem' | 'der';
|
|
2328
|
+
type KeyFormat = 'pem' | 'der' | 'jwk';
|
|
2329
2329
|
interface BasePrivateKeyEncodingOptions<T extends KeyFormat> {
|
|
2330
2330
|
format: T;
|
|
2331
2331
|
cipher?: string | undefined;
|
node v16.18/https.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ declare module 'https' {
|
|
|
14
14
|
> = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions<Request, Response>;
|
|
15
15
|
type RequestOptions = http.RequestOptions &
|
|
16
16
|
tls.SecureContextOptions & {
|
|
17
|
+
checkServerIdentity?: typeof tls.checkServerIdentity | undefined;
|
|
17
18
|
rejectUnauthorized?: boolean | undefined; // Defaults to true
|
|
18
19
|
servername?: string | undefined; // SNI TLS Extension
|
|
19
20
|
};
|
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.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -227,6 +227,6 @@
|
|
|
227
227
|
},
|
|
228
228
|
"scripts": {},
|
|
229
229
|
"dependencies": {},
|
|
230
|
-
"typesPublisherContentHash": "
|
|
230
|
+
"typesPublisherContentHash": "ba088db8aafd6bb078728430be57d23985597ed7a7c1afe7e11e06d3980886fe",
|
|
231
231
|
"typeScriptVersion": "4.2"
|
|
232
232
|
}
|
node v16.18/ts4.8/crypto.d.ts
CHANGED
|
@@ -2325,7 +2325,7 @@ declare module 'crypto' {
|
|
|
2325
2325
|
/** @deprecated since v10.0.0 */
|
|
2326
2326
|
const DEFAULT_ENCODING: BufferEncoding;
|
|
2327
2327
|
type KeyType = 'rsa' | 'rsa-pss' | 'dsa' | 'ec' | 'ed25519' | 'ed448' | 'x25519' | 'x448';
|
|
2328
|
-
type KeyFormat = 'pem' | 'der';
|
|
2328
|
+
type KeyFormat = 'pem' | 'der' | 'jwk';
|
|
2329
2329
|
interface BasePrivateKeyEncodingOptions<T extends KeyFormat> {
|
|
2330
2330
|
format: T;
|
|
2331
2331
|
cipher?: string | undefined;
|
node v16.18/ts4.8/https.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ declare module 'https' {
|
|
|
14
14
|
> = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions<Request, Response>;
|
|
15
15
|
type RequestOptions = http.RequestOptions &
|
|
16
16
|
tls.SecureContextOptions & {
|
|
17
|
+
checkServerIdentity?: typeof tls.checkServerIdentity | undefined;
|
|
17
18
|
rejectUnauthorized?: boolean | undefined; // Defaults to true
|
|
18
19
|
servername?: string | undefined; // SNI TLS Extension
|
|
19
20
|
};
|