Socket
Socket
Sign inDemoInstall

builder-util-runtime

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builder-util-runtime - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

29

out/httpExecutor.d.ts
/// <reference types="node" />
import { EventEmitter } from "events";
import { OutgoingHttpHeaders, RequestOptions } from "http";
import { IncomingMessage, OutgoingHttpHeaders, RequestOptions } from "http";
import { Transform } from "stream";

@@ -10,8 +9,2 @@ import { CancellationToken } from "./CancellationToken";

}
export interface Response extends EventEmitter {
statusCode?: number;
statusMessage?: string;
headers: any;
setEncoding(encoding: string): void;
}
export interface DownloadOptions {

@@ -26,17 +19,5 @@ readonly headers?: OutgoingHttpHeaders | null;

export declare class HttpError extends Error {
readonly response: {
statusMessage?: string | undefined;
statusCode?: number | undefined;
headers?: {
[key: string]: Array<string>;
} | undefined;
};
readonly response: IncomingMessage;
description: any | null;
constructor(response: {
statusMessage?: string | undefined;
statusCode?: number | undefined;
headers?: {
[key: string]: Array<string>;
} | undefined;
}, description?: any | null);
constructor(response: IncomingMessage, description?: any | null);
}

@@ -51,3 +32,3 @@ export declare function parseJson(result: Promise<string | null>): Promise<any>;

addErrorAndTimeoutHandlers(request: any, reject: (error: Error) => void): void;
protected handleResponse(response: Response, options: RequestOptions, cancellationToken: CancellationToken, resolve: (data?: any) => void, reject: (error: Error) => void, redirectCount: number, requestProcessor: (request: REQUEST, reject: (error: Error) => void) => void): void;
protected handleResponse(response: IncomingMessage, options: RequestOptions, cancellationToken: CancellationToken, resolve: (data?: any) => void, reject: (error: Error) => void, redirectCount: number, requestProcessor: (request: REQUEST, reject: (error: Error) => void) => void): void;
abstract doRequest(options: any, callback: (response: any) => void): any;

@@ -67,3 +48,3 @@ protected doDownload(requestOptions: any, destination: string, redirectCount: number, options: DownloadOptions, callback: (error: Error | null) => void, onCancel: (callback: () => void) => void): void;

constructor(expected: string, algorithm?: string, encoding?: "hex" | "base64" | "latin1");
_transform(chunk: any, encoding: string, callback: any): void;
_transform(chunk: Buffer, encoding: string, callback: any): void;
_flush(callback: any): void;

@@ -70,0 +51,0 @@ validate(): null;

2

package.json
{
"name": "builder-util-runtime",
"version": "3.1.0",
"version": "3.2.0",
"main": "out/index.js",

@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev",

Sorry, the diff of this file is not supported yet

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