Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

undici-types

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

undici-types - npm Package Compare versions

Comparing version 6.3.0 to 6.4.0

8

dispatcher.d.ts

@@ -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>;

14

handlers.d.ts
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 @@ *

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc