@types/node 22.13.15 → 22.13.16

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/https.d.ts +3 -1
  3. node/package.json +2 -2
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, 01 Apr 2025 05:35:48 GMT
11
+ * Last updated: Tue, 01 Apr 2025 09:35:22 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/https.d.ts CHANGED
@@ -16,7 +16,9 @@ declare module "https" {
16
16
  & http.RequestOptions
17
17
  & tls.SecureContextOptions
18
18
  & {
19
- checkServerIdentity?: typeof tls.checkServerIdentity | undefined;
19
+ checkServerIdentity?:
20
+ | ((hostname: string, cert: tls.DetailedPeerCertificate) => Error | undefined)
21
+ | undefined;
20
22
  rejectUnauthorized?: boolean | undefined; // Defaults to true
21
23
  servername?: string | undefined; // SNI TLS Extension
22
24
  };
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.13.15",
3
+ "version": "22.13.16",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  "undici-types": "~6.20.0"
216
216
  },
217
217
  "peerDependencies": {},
218
- "typesPublisherContentHash": "bebb465a142d7ca74c4dd73a79a8456f371a527c6339bc8a9d910d5872fefb50",
218
+ "typesPublisherContentHash": "1c6277312aa27c660c29e011fa67a77d661e6d8d6729d1688c051f664678c8df",
219
219
  "typeScriptVersion": "5.1"
220
220
  }