@types/node 22.15.11 → 22.15.12
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/http.d.ts +2 -1
- 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, 06 May 2025
|
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/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;
|
@@ -207,7 +208,7 @@ declare module "http" {
|
|
207
208
|
| undefined;
|
208
209
|
defaultPort?: number | string | undefined;
|
209
210
|
family?: number | undefined;
|
210
|
-
headers?: OutgoingHttpHeaders | undefined;
|
211
|
+
headers?: OutgoingHttpHeaders | readonly string[] | undefined;
|
211
212
|
hints?: LookupOptions["hints"];
|
212
213
|
host?: string | null | undefined;
|
213
214
|
hostname?: string | null | undefined;
|
node/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "22.15.
|
3
|
+
"version": "22.15.12",
|
4
4
|
"description": "TypeScript definitions for node",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
6
6
|
"license": "MIT",
|
@@ -220,6 +220,6 @@
|
|
220
220
|
"undici-types": "~6.21.0"
|
221
221
|
},
|
222
222
|
"peerDependencies": {},
|
223
|
-
"typesPublisherContentHash": "
|
223
|
+
"typesPublisherContentHash": "c9f3f5454909cfa9292b553ded11e058a827a023c65562d90da1c8bf0361477e",
|
224
224
|
"typeScriptVersion": "5.1"
|
225
225
|
}
|