Skip to content

Commit

Permalink
upgrade debug to 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed May 28, 2019
1 parent 4f7bde7 commit 298bc53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/index.d.ts
Expand Up @@ -2,7 +2,6 @@ import { IncomingMessage, Agent, OutgoingHttpHeaders } from "http";

export interface Options {
'method'?: string;
'headers'?: {[key: string]: string};
'readTimeout'?: number;
'connectTimeout'?: number;
'timeout'?: number;
Expand All @@ -14,6 +13,6 @@ export interface Options {
'data'?: string|Buffer|undefined;
}

export function request<T>(url: string, options: Options): Promise<IncomingMessage>;
export function request(url: string, options: Options): Promise<IncomingMessage>;

export function read(response: IncomingMessage, encoding: string): Promise<string|Buffer>;
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@types/node": "^12.0.2",
"debug": "^2.2.0"
"debug": "^4.1.1"
},
"files": [
"lib"
Expand Down

0 comments on commit 298bc53

Please sign in to comment.