@types/node 18.19.95 → 18.19.97
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 v18.19/README.md +1 -1
- node v18.19/diagnostics_channel.d.ts +1 -1
- node v18.19/http.d.ts +2 -1
- node v18.19/package.json +2 -2
node v18.19/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/v18.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Tue, 06 May 2025 02:
|
|
11
|
+
* Last updated: Tue, 06 May 2025 18:02:39 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -260,7 +260,7 @@ declare module "diagnostics_channel" {
|
|
|
260
260
|
* @param store The store to unbind from the channel.
|
|
261
261
|
* @return `true` if the store was found, `false` otherwise.
|
|
262
262
|
*/
|
|
263
|
-
unbindStore(store:
|
|
263
|
+
unbindStore(store: AsyncLocalStorage<StoreType>): boolean;
|
|
264
264
|
/**
|
|
265
265
|
* Applies the given data to any AsyncLocalStorage instances bound to the channel
|
|
266
266
|
* for the duration of the given function, then publishes to the channel within
|
node v18.19/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;
|
node v18.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.19.
|
|
3
|
+
"version": "18.19.97",
|
|
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": "~5.26.4"
|
|
221
221
|
},
|
|
222
222
|
"peerDependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "83384eee91479b3188cf43b0cd87e534ef6d13bd5d830741b6d66bd7d8c26f6c",
|
|
224
224
|
"typeScriptVersion": "5.1"
|
|
225
225
|
}
|