@types/node 16.18.7 → 16.18.9

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 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: Thu, 08 Dec 2022 19:33:09 GMT
11
+ * Last updated: Tue, 13 Dec 2022 21:03:30 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;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.18.7",
3
+ "version": "16.18.9",
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": "75f9eec12915f4183d617e7217cb16b8a0bf693975515b00b59aba511b5aaa6b",
230
+ "typesPublisherContentHash": "f694bc3884a49036e69efc4d2869f3e63a512c45a3d92022d1cdade9f1dbb597",
231
231
  "typeScriptVersion": "4.2"
232
232
  }
@@ -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;
@@ -3099,23 +3099,23 @@ declare module 'crypto' {
3099
3099
  /**
3100
3100
  * @default 'always'
3101
3101
  */
3102
- subject: 'always' | 'never';
3102
+ subject?: 'always' | 'default' | 'never';
3103
3103
  /**
3104
3104
  * @default true
3105
3105
  */
3106
- wildcards: boolean;
3106
+ wildcards?: boolean;
3107
3107
  /**
3108
3108
  * @default true
3109
3109
  */
3110
- partialWildcards: boolean;
3110
+ partialWildcards?: boolean;
3111
3111
  /**
3112
3112
  * @default false
3113
3113
  */
3114
- multiLabelWildcards: boolean;
3114
+ multiLabelWildcards?: boolean;
3115
3115
  /**
3116
3116
  * @default false
3117
3117
  */
3118
- singleLabelSubdomains: boolean;
3118
+ singleLabelSubdomains?: boolean;
3119
3119
  }
3120
3120
  /**
3121
3121
  * Encapsulates an X509 certificate and provides read-only access to