@types/node 24.10.12 → 24.10.14
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 v24.10/README.md +1 -1
- node v24.10/package.json +2 -2
- node v24.10/test.d.ts +2 -1
- node v24.10/tls.d.ts +7 -7
node v24.10/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/v24.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
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 v24.10/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.10.
|
|
3
|
+
"version": "24.10.14",
|
|
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": "
|
|
153
|
+
"typesPublisherContentHash": "ef8799adcc53e2366eff8fde8992d05cb039ea74c9e12d9dfccdb4841a9efdc7",
|
|
154
154
|
"typeScriptVersion": "5.2"
|
|
155
155
|
}
|
node v24.10/test.d.ts
CHANGED
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
declare module "node:test" {
|
|
82
82
|
import { AssertMethodNames } from "node:assert";
|
|
83
83
|
import { Readable } from "node:stream";
|
|
84
|
+
import { URL } from "node:url";
|
|
84
85
|
import TestFn = test.TestFn;
|
|
85
86
|
import TestOptions = test.TestOptions;
|
|
86
87
|
/**
|
|
@@ -1711,7 +1712,7 @@ declare module "node:test" {
|
|
|
1711
1712
|
* @param specifier A string identifying the module to mock.
|
|
1712
1713
|
* @param options Optional configuration options for the mock module.
|
|
1713
1714
|
*/
|
|
1714
|
-
module(specifier: string, options?: MockModuleOptions): MockModuleContext;
|
|
1715
|
+
module(specifier: string | URL, options?: MockModuleOptions): MockModuleContext;
|
|
1715
1716
|
/**
|
|
1716
1717
|
* Creates a mock for a property value on an object. This allows you to track and control access to a specific property,
|
|
1717
1718
|
* including how many times it is read (getter) or written (setter), and to restore the original value after mocking.
|
node v24.10/tls.d.ts
CHANGED
|
@@ -15,31 +15,31 @@ declare module "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
|
|
22
|
+
C?: string | string[];
|
|
23
23
|
/**
|
|
24
24
|
* Street.
|
|
25
25
|
*/
|
|
26
|
-
ST
|
|
26
|
+
ST?: string | string[];
|
|
27
27
|
/**
|
|
28
28
|
* Locality.
|
|
29
29
|
*/
|
|
30
|
-
L
|
|
30
|
+
L?: string | string[];
|
|
31
31
|
/**
|
|
32
32
|
* Organization.
|
|
33
33
|
*/
|
|
34
|
-
O
|
|
34
|
+
O?: string | string[];
|
|
35
35
|
/**
|
|
36
36
|
* Organizational unit.
|
|
37
37
|
*/
|
|
38
|
-
OU
|
|
38
|
+
OU?: string | string[];
|
|
39
39
|
/**
|
|
40
40
|
* Common name.
|
|
41
41
|
*/
|
|
42
|
-
CN
|
|
42
|
+
CN?: string | string[];
|
|
43
43
|
}
|
|
44
44
|
interface PeerCertificate {
|
|
45
45
|
/**
|