@types/node 24.4.0 → 24.5.0
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/README.md +1 -1
- node/dns.d.ts +5 -0
- node/http.d.ts +24 -0
- node/index.d.ts +1 -1
- node/inspector.d.ts +187 -4145
- node/inspector.generated.d.ts +4052 -0
- node/net.d.ts +21 -0
- node/package.json +3 -3
- node/sqlite.d.ts +7 -0
- node/tls.d.ts +32 -0
- node/ts5.6/index.d.ts +1 -1
- node/ts5.7/index.d.ts +1 -1
- node/url.d.ts +8 -5
- node/util.d.ts +6 -4
- node/web-globals/navigator.d.ts +3 -0
- node/worker_threads.d.ts +29 -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:
|
11
|
+
* Last updated: Mon, 15 Sep 2025 20:02:30 GMT
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
13
13
|
|
14
14
|
# Credits
|
node/dns.d.ts
CHANGED
node/http.d.ts
CHANGED
@@ -1419,6 +1419,14 @@ declare module "http" {
|
|
1419
1419
|
*/
|
1420
1420
|
destroy(error?: Error): this;
|
1421
1421
|
}
|
1422
|
+
interface ProxyEnv extends NodeJS.ProcessEnv {
|
1423
|
+
HTTP_PROXY?: string | undefined;
|
1424
|
+
HTTPS_PROXY?: string | undefined;
|
1425
|
+
NO_PROXY?: string | undefined;
|
1426
|
+
http_proxy?: string | undefined;
|
1427
|
+
https_proxy?: string | undefined;
|
1428
|
+
no_proxy?: string | undefined;
|
1429
|
+
}
|
1422
1430
|
interface AgentOptions extends Partial<TcpSocketConnectOpts> {
|
1423
1431
|
/**
|
1424
1432
|
* Keep sockets around in a pool to be used by other requests in the future. Default = false
|
@@ -1450,6 +1458,22 @@ declare module "http" {
|
|
1450
1458
|
* @default `lifo`
|
1451
1459
|
*/
|
1452
1460
|
scheduling?: "fifo" | "lifo" | undefined;
|
1461
|
+
/**
|
1462
|
+
* Environment variables for proxy configuration. See
|
1463
|
+
* [Built-in Proxy Support](https://nodejs.org/docs/latest-v24.x/api/http.html#built-in-proxy-support) for details.
|
1464
|
+
* @since v24.5.0
|
1465
|
+
*/
|
1466
|
+
proxyEnv?: ProxyEnv | undefined;
|
1467
|
+
/**
|
1468
|
+
* Default port to use when the port is not specified in requests.
|
1469
|
+
* @since v24.5.0
|
1470
|
+
*/
|
1471
|
+
defaultPort?: number | undefined;
|
1472
|
+
/**
|
1473
|
+
* The protocol to use for the agent.
|
1474
|
+
* @since v24.5.0
|
1475
|
+
*/
|
1476
|
+
protocol?: string | undefined;
|
1453
1477
|
}
|
1454
1478
|
/**
|
1455
1479
|
* An `Agent` is responsible for managing connection persistence
|
node/index.d.ts
CHANGED
@@ -57,7 +57,6 @@
|
|
57
57
|
/// <reference path="diagnostics_channel.d.ts" />
|
58
58
|
/// <reference path="dns.d.ts" />
|
59
59
|
/// <reference path="dns/promises.d.ts" />
|
60
|
-
/// <reference path="dns/promises.d.ts" />
|
61
60
|
/// <reference path="domain.d.ts" />
|
62
61
|
/// <reference path="events.d.ts" />
|
63
62
|
/// <reference path="fs.d.ts" />
|
@@ -66,6 +65,7 @@
|
|
66
65
|
/// <reference path="http2.d.ts" />
|
67
66
|
/// <reference path="https.d.ts" />
|
68
67
|
/// <reference path="inspector.d.ts" />
|
68
|
+
/// <reference path="inspector.generated.d.ts" />
|
69
69
|
/// <reference path="module.d.ts" />
|
70
70
|
/// <reference path="net.d.ts" />
|
71
71
|
/// <reference path="os.d.ts" />
|