undici-types 7.2.3 → 7.4.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.
@@ -70,7 +70,7 @@ declare namespace CacheHandler {
70
70
  statusCode: number
71
71
  statusMessage: string
72
72
  headers: Record<string, string | string[]>
73
- vary?: Record<string, string | string[]>
73
+ vary?: Record<string, string | string[] | null>
74
74
  etag?: string
75
75
  cacheControlDirectives?: CacheControlDirectives
76
76
  cachedAt: number
@@ -88,9 +88,9 @@ declare namespace CacheHandler {
88
88
  statusCode: number
89
89
  statusMessage: string
90
90
  headers: Record<string, string | string[]>
91
- vary?: Record<string, string | string[]>
91
+ vary?: Record<string, string | string[] | null>
92
92
  etag?: string
93
- body: null | Readable | Iterable<Buffer> | AsyncIterable<Buffer> | Buffer | Iterable<string> | AsyncIterable<string> | string
93
+ body?: Readable | Iterable<Buffer> | AsyncIterable<Buffer> | Buffer | Iterable<string> | AsyncIterable<string> | string
94
94
  cacheControlDirectives: CacheControlDirectives,
95
95
  cachedAt: number
96
96
  staleAt: number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undici-types",
3
- "version": "7.2.3",
3
+ "version": "7.4.0",
4
4
  "description": "A stand-alone types package for Undici",
5
5
  "homepage": "https://undici.nodejs.org",
6
6
  "bugs": {