@types/node 25.3.0 → 25.3.1

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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/tls.d.ts +7 -7
node/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 19 Feb 2026 00:56:10 GMT
11
+ * Last updated: Thu, 26 Feb 2026 01:32:45 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "25.3.0",
3
+ "version": "25.3.1",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -150,6 +150,6 @@
150
150
  "undici-types": "~7.18.0"
151
151
  },
152
152
  "peerDependencies": {},
153
- "typesPublisherContentHash": "a19f9d8a20f4c05e503d3ed972a84b1b5aae749a0628d95d2aefe902cff79797",
153
+ "typesPublisherContentHash": "ddf1037c16ce8a727ec3bd3f6cba602caaef0a13ce985678d8874703c9a553a1",
154
154
  "typeScriptVersion": "5.2"
155
155
  }
node/tls.d.ts CHANGED
@@ -15,31 +15,31 @@ declare module "node:tls" {
15
15
  import * as stream from "stream";
16
16
  const CLIENT_RENEG_LIMIT: number;
17
17
  const CLIENT_RENEG_WINDOW: number;
18
- interface Certificate {
18
+ interface Certificate extends NodeJS.Dict<string | string[]> {
19
19
  /**
20
20
  * Country code.
21
21
  */
22
- C: string;
22
+ C?: string | string[];
23
23
  /**
24
24
  * Street.
25
25
  */
26
- ST: string;
26
+ ST?: string | string[];
27
27
  /**
28
28
  * Locality.
29
29
  */
30
- L: string;
30
+ L?: string | string[];
31
31
  /**
32
32
  * Organization.
33
33
  */
34
- O: string;
34
+ O?: string | string[];
35
35
  /**
36
36
  * Organizational unit.
37
37
  */
38
- OU: string;
38
+ OU?: string | string[];
39
39
  /**
40
40
  * Common name.
41
41
  */
42
- CN: string;
42
+ CN?: string | string[];
43
43
  }
44
44
  interface PeerCertificate {
45
45
  /**