@types/node 25.0.3 → 25.0.4

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 +4 -0
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: Tue, 16 Dec 2025 21:35:18 GMT
11
+ * Last updated: Sat, 10 Jan 2026 00:47:09 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.0.3",
3
+ "version": "25.0.4",
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.16.0"
151
151
  },
152
152
  "peerDependencies": {},
153
- "typesPublisherContentHash": "f232fc4d25235ca95f233b42be2cfd08c384791f716e60e2c105ff6db6b0bdc4",
153
+ "typesPublisherContentHash": "b91f0fae6862f8129d8bc33e49f0da089a54f6fc50382d013b88d205b3e15980",
154
154
  "typeScriptVersion": "5.2"
155
155
  }
node/tls.d.ts CHANGED
@@ -251,6 +251,10 @@ declare module "node:tls" {
251
251
  * When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false.
252
252
  */
253
253
  alpnProtocol: string | false | null;
254
+ /**
255
+ * String containing the server name requested via SNI (Server Name Indication) TLS extension.
256
+ */
257
+ servername: string | false | null;
254
258
  /**
255
259
  * Returns an object representing the local certificate. The returned object has
256
260
  * some properties corresponding to the fields of the certificate.