undici-types
Advanced tools
Comparing version 6.3.0 to 6.4.0
@@ -134,2 +134,4 @@ import { URL } from 'url' | ||
maxRedirections?: number; | ||
/** Default: false */ | ||
redirectionLimitReached?: boolean; | ||
/** Default: `null` */ | ||
@@ -145,2 +147,4 @@ responseHeader?: 'raw' | null; | ||
maxRedirections?: number; | ||
/** Default: false */ | ||
redirectionLimitReached?: boolean; | ||
/** Default: `null` */ | ||
@@ -169,2 +173,4 @@ onInfo?: (info: { statusCode: number, headers: Record<string, string | string[]> }) => void; | ||
maxRedirections?: number; | ||
/** Default: false */ | ||
redirectionLimitReached?: boolean; | ||
/** Default: `null` */ | ||
@@ -235,3 +241,3 @@ responseHeader?: 'raw' | null; | ||
interface BodyMixin { | ||
readonly body?: never; // throws on node v16.6.0 | ||
readonly body?: never; | ||
readonly bodyUsed: boolean; | ||
@@ -238,0 +244,0 @@ arrayBuffer(): Promise<ArrayBuffer>; |
import Dispatcher from "./dispatcher"; | ||
export declare class RedirectHandler implements Dispatcher.DispatchHandlers{ | ||
constructor (dispatch: Dispatcher, maxRedirections: number, opts: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandlers) | ||
export declare class RedirectHandler implements Dispatcher.DispatchHandlers { | ||
constructor( | ||
dispatch: Dispatcher, | ||
maxRedirections: number, | ||
opts: Dispatcher.DispatchOptions, | ||
handler: Dispatcher.DispatchHandlers, | ||
redirectionLimitReached: boolean | ||
); | ||
} | ||
export declare class DecoratorHandler implements Dispatcher.DispatchHandlers{ | ||
constructor (handler: Dispatcher.DispatchHandlers) | ||
export declare class DecoratorHandler implements Dispatcher.DispatchHandlers { | ||
constructor(handler: Dispatcher.DispatchHandlers); | ||
} |
{ | ||
"name": "undici-types", | ||
"version": "6.3.0", | ||
"version": "6.4.0", | ||
"description": "A stand-alone types package for Undici", | ||
@@ -5,0 +5,0 @@ "homepage": "https://undici.nodejs.org", |
@@ -47,6 +47,5 @@ import { Readable } from "stream"; | ||
/** Throws on node 16.6.0 | ||
/** | ||
* If body is null, it should return null as the body | ||
* | ||
* If body is null, it should return null as the body | ||
* | ||
* If body is not null, should return the body as a ReadableStream | ||
@@ -53,0 +52,0 @@ * |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79719
1934