@types/node 20.17.40 → 20.17.41

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 v20.17/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/v20.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 06 May 2025 02:14:23 GMT
11
+ * Last updated: Tue, 06 May 2025 06:03:40 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node v20.17/http.d.ts CHANGED
@@ -48,6 +48,7 @@ declare module "http" {
48
48
  // incoming headers will never contain number
49
49
  interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
50
50
  accept?: string | undefined;
51
+ "accept-encoding"?: string | undefined;
51
52
  "accept-language"?: string | undefined;
52
53
  "accept-patch"?: string | undefined;
53
54
  "accept-ranges"?: string | undefined;
@@ -206,7 +207,7 @@ declare module "http" {
206
207
  | undefined;
207
208
  defaultPort?: number | string | undefined;
208
209
  family?: number | undefined;
209
- headers?: OutgoingHttpHeaders | undefined;
210
+ headers?: OutgoingHttpHeaders | readonly string[] | undefined;
210
211
  hints?: LookupOptions["hints"];
211
212
  host?: string | null | undefined;
212
213
  hostname?: string | null | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.17.40",
3
+ "version": "20.17.41",
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.19.2"
216
216
  },
217
217
  "peerDependencies": {},
218
- "typesPublisherContentHash": "c446d225ba395160537169319ad5d5dc21e62fe91a3075ffbe9971c6c4a7e325",
218
+ "typesPublisherContentHash": "24279a289e020b8b96026edda2c1646e549388e0c1ab01ec9d6fff3817312aa9",
219
219
  "typeScriptVersion": "5.1"
220
220
  }